        :root {
            --bg-light: #F2F5FD;
            --card-bg: #ffffff;
            --border-color: rgba(19, 26, 56, 0.14);

            --text-main: #171E3E;
            --text-muted: #5A6288;
            --text-secondary: #838BA8;

            --primary-color: #FFD23F;
            --primary-hover: #F4C520;
            --primary-ink: #1A1204;
            --mark-soft: rgba(255, 210, 63, 0.30);

            --accent-blue: #7C93FF;

            --ink: #131A38;
            --on-ink: #E9ECF9;
            --on-ink-dim: #9FA7CC;
            --ink-border: rgba(231, 234, 247, 0.16);
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --bg-light: #131A38;
                --card-bg: #1B2350;
                --border-color: rgba(231, 234, 247, 0.16);
                --text-main: #E9ECF9;
                --text-muted: #9FA7CC;
                --text-secondary: #7C86AD;
                --mark-soft: rgba(255, 210, 63, 0.22);
            }
        }

       *:where(:not(.ts-shell, .ts-shell *)) {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        header {
            border-bottom: 1px solid var(--ink-border);
            background: var(--ink);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: auto;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .logo {
            font-size: 1.35rem;
            font-weight: 800;
            text-decoration: none;
            color: var(--on-ink);
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-dot {
            width: 8px;
            height: 8px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: inline-block;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.25rem;
        }

        .nav-link {
            color: var(--on-ink-dim);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-link:hover {
            color: var(--on-ink);
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: var(--primary-ink);
            padding: 0.55rem 1.15rem;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 600;
            border: 1px solid transparent;
            cursor: pointer;
            transition: background-color 0.2s;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
        }

        .btn-secondary {
            background-color: var(--card-bg);
            color: var(--text-main);
            padding: 0.55rem 1.15rem;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 600;
            border: 1px solid var(--border-color);
            transition: background-color 0.2s, border-color 0.2s;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .btn-secondary:hover {
            background-color: var(--bg-light);
            border-color: var(--text-secondary);
        }

        main {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3rem 1rem;
        }

        .glass-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 2.75rem;
            max-width: 580px;
            width: 100%;
            text-align: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.02);
            position: relative;
        }

        .status-badge {
            display: inline-block;
            background-color: var(--mark-soft);
            color: var(--text-main);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1.25rem;
        }

        .hero-title {
            font-size: 2.25rem;
            font-weight: 800;
            line-height: 1.25;
            color: var(--text-main);
            margin-bottom: 0.85rem;
            letter-spacing: -0.75px;
        }

        .hero-title span {
            background: var(--mark-soft);
            padding: 0 0.2em;
            border-radius: 4px;
        }

        .hero-subtitle {
            font-size: 0.975rem;
            color: var(--text-muted);
            line-height: 1.55;
            margin-bottom: 1.75rem;
        }

        .subscribe-form {
            display: flex;
            gap: 0.5rem;
            margin-top: 1.25rem;
            width: 100%;
        }

        .form-input {
            flex-grow: 1;
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            padding: 0.65rem 0.85rem;
            border-radius: 6px;
            color: var(--text-main);
            font-size: 0.9rem;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .form-input::placeholder {
            color: var(--text-secondary);
        }

        .form-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px var(--mark-soft);
        }

        footer {
            border-top: 1px solid var(--ink-border);
            padding: 1.25rem;
            text-align: center;
            font-size: 0.825rem;
            color: var(--on-ink-dim);
            background-color: var(--ink);
            box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.02);
        }

        @media (max-width: 600px) {
            .glass-card {
                padding: 2rem 1.25rem;
            }
            .hero-title {
                font-size: 1.75rem;
            }
            .subscribe-form {
                flex-direction: column;
            }
        }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: var(--on-ink-dim);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-btn:hover {
    color: var(--on-ink);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 210px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 7px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--text-main);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 4px;
}

.dropdown-logout {
    color: #dc3545;
}

.dropdown-logout:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
}

@media (max-width: 600px) {
    .nav-links {
        gap: 0.75rem;
    }

    .nav-dropdown-menu {
        right: 0;
        min-width: 190px;
    }
}
