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

body {
    font-family: 'Rubik', sans-serif;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* Fix for mobile Safari */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #6a62be 0%, #3951a2 100%);
    color: white;
    text-align: right;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

/* Fix for mobile Safari */
html {
    height: -webkit-fill-available;
}

.container {
    max-width: 42rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Support for Safari */
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

.logo-icon {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
}

h2 {
    font-size: 1.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 500;
}

.description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.coming-soon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); /* Support for Safari */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0;
}

.timer-icon {
    color: #fde047;
}

.beta-section {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.beta-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fde047;
}

.beta-section p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.beta-button {
    display: inline-block;
    background: #fde047;
    color: #1e40af;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    touch-action: manipulation; /* Optimize for touch */
    -webkit-touch-callout: none; /* Prevent callout on tap */
    user-select: none; /* Prevent text selection */
}

.beta-button:hover {
    background: transparent;
    color: #fde047;
    border-color: #fde047;
}

/* Active state for touch devices */
.beta-button:active {
    transform: scale(0.98);
}

.enamad {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.enamad img {
    width: 6rem;
    height: 6rem;
}

/* Tablet breakpoint */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Mobile breakpoint */
@media (max-width: 640px) {
    .container {
        padding: 1.25rem;
        margin: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .coming-soon-badge {
        font-size: 1.25rem;
        padding: 0.5rem 1.25rem;
    }

    .beta-section {
        padding: 1.25rem;
    }

    .beta-section h3 {
        font-size: 1.25rem;
    }

    .beta-section p {
        font-size: 1rem;
    }

    .beta-button {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        width: 100%; /* Full width on mobile */
        text-align: center;
    }

    .enamad img {
        width: 5rem;
        height: 5rem;
    }
}

/* Small mobile breakpoint */
@media (max-width: 360px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }
}