* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Touch device optimizations */
button, input, .social-link, .time-unit {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="email"] {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f1f3f4 100%);
    color: #2c3e50;
    position: relative;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    z-index: 2;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 60%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 40px;
    height: 40px;
    left: 80%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 90%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
    z-index: 3;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.logo-container {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #D4AF37, #FFD700, #F4C430);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    position: relative;
}

.brand-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    border-radius: 2px;
}

.brand-tagline {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #B8860B;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #5a6c7d;
    text-transform: uppercase;
}

.main-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #34495e;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.8;
    color: #7f8c8d;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.time-unit {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    min-width: 80px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.time-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-label {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    color: #5a6c7d;
}

.notify-section {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.notify-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.8;
    color: #5a6c7d;
}

.notify-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #2c3e50;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(90, 108, 125, 0.6);
}

.email-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.notify-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #FFD700, #F4C430);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 1s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.6);
    color: #B8860B;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Premium Effects */
.content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.05;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content {
        max-width: 500px;
        padding: 35px;
    }
    
    .brand-title {
        font-size: 3rem;
        letter-spacing: 6px;
    }
    
    .brand-tagline {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
    
    .brand-subtitle {
        font-size: 0.95rem;
        letter-spacing: 2.5px;
    }
    
    .main-title {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .content {
        max-width: 400px;
        padding: 30px 25px;
        margin: 20px;
        border-radius: 25px;
    }
    
    .logo {
        max-width: 130px;
        margin-bottom: 15px;
    }
    
    .brand-section {
        margin-bottom: 30px;
    }
    
    .brand-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
        margin-bottom: 12px;
    }
    
    .brand-title::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .brand-tagline {
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }
    
    .brand-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .main-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .countdown {
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 35px;
        justify-content: center;
    }
    
    .time-unit {
        min-width: 65px;
        padding: 15px 10px;
        border-radius: 12px;
    }
    
    .time-number {
        font-size: 1.8rem;
        margin-bottom: 3px;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .notify-section {
        margin-bottom: 30px;
    }
    
    .notify-text {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    .notify-form {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }
    
    .email-input {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .notify-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .particle {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .content {
        padding: 25px 20px;
        margin: 10px;
        border-radius: 20px;
        max-width: 350px;
    }
    
    .logo {
        max-width: 110px;
        margin-bottom: 12px;
    }
    
    .brand-section {
        margin-bottom: 25px;
    }
    
    .brand-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .brand-title::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }
    
    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .countdown {
        gap: 8px;
        margin-bottom: 30px;
        justify-content: center;
    }
    
    .time-unit {
        min-width: 55px;
        padding: 12px 8px;
        border-radius: 10px;
    }
    
    .time-number {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    
    .time-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .notify-section {
        margin-bottom: 25px;
    }
    
    .notify-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .notify-form {
        gap: 12px;
    }
    
    .email-input {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    .notify-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .content {
        padding: 20px 15px;
        margin: 5px;
        max-width: 320px;
    }
    
    .brand-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .countdown {
        gap: 6px;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 10px 6px;
    }
    
    .time-number {
        font-size: 1.2rem;
    }
    
    .time-label {
        font-size: 0.65rem;
    }
    
    .notify-text {
        font-size: 0.85rem;
    }
    
    .email-input, .notify-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    body {
        overflow-y: auto;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .content {
        margin: 20px auto;
        padding: 25px;
    }
    
    .logo {
        max-width: 100px;
        margin-bottom: 10px;
    }
    
    .brand-section {
        margin-bottom: 20px;
    }
    
    .brand-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .brand-tagline {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .countdown {
        margin-bottom: 25px;
        gap: 10px;
    }
    
    .time-unit {
        padding: 10px;
        min-width: 60px;
    }
    
    .time-number {
        font-size: 1.5rem;
    }
    
    .notify-section {
        margin-bottom: 20px;
    }
    
    .notify-form {
        flex-direction: row;
        gap: 10px;
    }
    
    .notify-btn {
        white-space: nowrap;
        padding: 10px 15px;
    }
}

/* iPad and larger tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        max-width: 550px;
        padding: 40px;
    }
    
    .logo {
        max-width: 140px;
    }
    
    .brand-title {
        font-size: 3.2rem;
        letter-spacing: 7px;
    }
    
    .main-title {
        font-size: 2.6rem;
        letter-spacing: 3px;
    }
    
    .countdown {
        gap: 20px;
    }
    
    .time-unit {
        min-width: 75px;
        padding: 18px;
    }
    
    .time-number {
        font-size: 2.2rem;
    }
    
    .notify-form {
        flex-direction: row;
        gap: 12px;
    }
    
    .notify-btn {
        white-space: nowrap;
        min-width: 140px;
    }
}

/* Large screens optimization */
@media (min-width: 1440px) {
    .content {
        max-width: 700px;
        padding: 50px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .brand-title {
        font-size: 4rem;
        letter-spacing: 10px;
    }
    
    .brand-tagline {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .brand-subtitle {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }
    
    .main-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .countdown {
        gap: 35px;
        margin-bottom: 60px;
    }
    
    .time-unit {
        min-width: 90px;
        padding: 25px;
        border-radius: 18px;
    }
    
    .time-number {
        font-size: 3rem;
    }
    
    .time-label {
        font-size: 1rem;
    }
    
    .notify-text {
        font-size: 1.2rem;
    }
    
    .email-input {
        padding: 18px 25px;
        font-size: 1.1rem;
    }
    
    .notify-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
    }
    
    .social-link svg {
        width: 26px;
        height: 26px;
    }
}
