    :root {
        --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        --secondary-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
        --text-primary: #1e293b;
        --text-secondary: #475569;
        --accent-color: #6366f1;
    }

    body {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        min-height: 100vh;
        margin: 0;
        background: var(--secondary-gradient);
        padding: 0;
        padding-top: calc(env(safe-area-inset-top) + 80px);
        color: var(--text-primary);
    }

    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .logo {
        font-size: 2rem;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        padding: 0.5rem;
    }

    .container {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 24px;
        box-shadow: 
            0 4px 6px -1px rgba(0, 0, 0, 0.05),
            0 10px 15px -3px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        max-width: 600px;
        width: calc(100% - 2rem);
        margin: 1rem auto;
        position: relative;
        overflow: hidden;
    }

    h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        font-weight: 700;
        text-align: center;
        margin-bottom: 2rem;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

h2 {
    font-size: clamp(1rem, 3vw, 1.5rem); /* Adjusted clamp values for smaller font size */
    font-weight: 500; /* Slightly reduced font weight */
    text-align: center;
    margin-bottom: 1.5rem; /* Reduced margin for better spacing */
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

    .timer {
        font-size: clamp(4rem, 15vw, 8rem);
        font-weight: 700;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin: 2rem 0;
        text-align: center;
        line-height: 1;
    }

    .countdown {
        font-size: clamp(3rem, 10vw, 6rem);
        font-weight: 700;
        text-align: center;
        margin: 2rem 0;
        color: var(--accent-color);
    }

    .message {
        font-size: 1.25rem;
        text-align: center;
        margin: 1.5rem 0;
        color: var(--text-secondary);
    }

    .button-group {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-top: 2rem;
    }

    button {
        background: var(--primary-gradient);
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 120px;
        box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
    }

    button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 10px -1px rgba(99, 102, 241, 0.3);
    }

    button:disabled {
        background: #e2e8f0;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .icon-container {
        display: flex;
        gap: 15px;
    }

.icon-button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
    color: var(--accent-color);
    padding: 0;
    box-sizing: border-box;
}

.icon-button svg {
    width: 20px; /* Adjust for uniform scaling */
    height: 20px;
    stroke: currentColor;
}

 
    .icon-button:hover {
        transform: translateY(-2px);
        border-color: var(--accent-color);
        box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
    }

    .icon-button svg {
        stroke: currentColor;
    }

    .icon-button:hover {
        transform: scale(1.05);
    }

    .share-options {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 8px;
        margin-top: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        min-width: 200px;
    }

    .share-options.active {
        display: block;
    }

    .share-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        cursor: pointer;
        transition: background-color 0.3s;
        border-radius: 6px;
        color: black;
        text-decoration: none;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        font-family: inherit;
        font-size: 1rem;
    }

    .share-options {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        min-width: 200px;
        display: none;
        z-index: 1000;
    }

    .share-option:hover {
        background: #f5f5f5;
    }

    @media (max-width: 480px) {
        body {
            padding-top: calc(env(safe-area-inset-top) + 90px);
        }

        .container {
            padding: 1.5rem;
            border-radius: 20px;
            margin: 0.5rem;
            width: calc(100% - 1rem);
        }

        .button-group {
            flex-direction: column;
        }

        button {
            width: 100%;
        }

        .top-bar {
            padding: 1rem;
        }
    }