/* ============================================
   Kino Sifatli — Components Module
   Liquid Glass 3.0
   ============================================ */

/* ============ MOVIE CARDS ============ */
.movie-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--t-smooth);
    cursor: pointer;
    height: 100%;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--glass-border-active);
    background: var(--glass-bg-hover);
    box-shadow: 0 20px 44px -10px rgba(0, 0, 0, 0.55);
}

/* Apple Frosted Glass Poster */
.card-poster {
    aspect-ratio: 2/3;
    position: relative;
    background: hsla(240, 12%, 8%, 0.6);
    overflow: hidden;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
}

.poster-blur-bg {
    position: absolute;
    inset: -20%;
    opacity: 0.55;
    transform: scale(1.0);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
    will-change: transform, opacity;
    filter: blur(40px) saturate(180%);
}

.movie-card:hover .poster-blur-bg {
    transform: scale(1.15) rotate(2deg);
    opacity: 0.75;
}

/* Apple-style glass frost layer */
.card-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg,
            hsla(0, 0%, 100%, 0.08) 0%,
            hsla(0, 0%, 100%, 0.02) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: 3;
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, hsla(240, 15%, 4%, 0.7) 100%);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.movie-badge {
    background: hsla(272, 95%, 68%, 0.2);
    color: var(--accent);
}

.series-badge {
    background: hsla(188, 90%, 55%, 0.2);
    color: var(--accent-2);
}

.card-icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(0, 0%, 0%, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    opacity: 0.7;
    transition: all var(--t-fast);
}

.movie-card:hover .card-icon-wrap {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Card Info */
.card-info {
    padding: 14px 16px;
    background: linear-gradient(to bottom, rgba(6, 6, 12, 0.3), rgba(6, 6, 12, 0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-title {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-meta-item.accent {
    color: var(--accent-2);
}

/* ============ SEARCH OVERLAY ============ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(1, 1, 3, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.search-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.search-panel {
    max-width: 560px;
    width: 92%;
    padding: 24px;
    background: hsla(240, 10%, 6%, 0.8);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    animation: scaleIn 0.3s var(--ease-spring);
}

.search-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.search-cancel-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 12px;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-cancel-btn:hover {
    opacity: 0.8;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.search-input-wrap:focus-within {
    border-color: var(--accent);
}

.search-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--ff-body);
}

.search-input-wrap input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.search-clear:hover {
    background: hsla(0, 0%, 100%, 0.06);
}

.search-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--t-fast);
}

.filter-tab:hover {
    background: var(--glass-bg-hover);
}

.filter-tab.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: hsla(272, 95%, 68%, 0.2);
}

.search-sort {
    margin-left: auto;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    outline: none;
    cursor: pointer;
}

.search-sort option {
    background: #0a0a0f;
}

.search-results-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.live-results {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.live-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
}

.live-result-item:hover {
    background: var(--glass-bg-hover);
}

.live-result-info {
    flex: 1;
    min-width: 0;
}

.live-result-title {
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-result-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.live-result-bot-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-2-soft);
    transition: all var(--t-fast);
    text-decoration: none;
    flex-shrink: 0;
}

.live-result-bot-btn:hover {
    background: hsla(188, 90%, 55%, 0.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .search-overlay {
        padding-top: 0;
        align-items: flex-start;
    }

    .search-panel {
        width: 100%;
        height: 100%;
        max-height: 100dvh;
        border-radius: 0;
        padding: 16px 14px;
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 20px));
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .search-header-actions {
        margin-bottom: 12px;
        gap: 8px;
    }

    .search-input-wrap {
        padding: 12px 16px;
        margin-bottom: 12px;
        gap: 8px;
    }

    .search-input-wrap input {
        font-size: 0.9rem;
    }

    .search-filters {
        margin-bottom: 10px;
        gap: 6px;
    }

    .filter-tab {
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    .search-sort {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .search-results-count {
        margin-bottom: 8px;
        font-size: 0.72rem;
    }

    .live-results {
        max-height: none;
        flex: 1;
    }

    .live-result-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .live-result-title {
        font-size: 0.84rem;
    }

    .live-result-meta {
        font-size: 0.7rem;
    }

    .live-result-bot-btn {
        width: 32px;
        height: 32px;
    }
}

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(1, 1, 3, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    max-width: 520px;
    width: 94%;
    max-height: 85vh;
    overflow-y: auto;
    background: hsla(240, 10%, 6%, 0.85);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 0 28px;
    position: relative;
    animation: scaleIn 0.35s var(--ease-spring);
    scrollbar-width: none;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg-hover);
    transition: all var(--t-fast);
    z-index: 10;
}

.modal-close:hover {
    background: hsla(350, 89%, 60%, 0.15);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-right: 40px;
}

.modal-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.modal-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--glass-bg);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.modal-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-seasons {
    margin-bottom: 20px;
}

.modal-seasons h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.season-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.season-tag {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--glass-bg-hover);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: sticky;
    bottom: 0;
    padding: 16px 28px 28px 28px;
    margin: 20px -28px 0 -28px;
    background: linear-gradient(to top, hsla(240, 10%, 6%, 1) 60%, hsla(240, 10%, 6%, 0.8) 85%, transparent);
    z-index: 20;
}

.modal-cta {
    flex: 1;
    text-decoration: none;
    justify-content: center;
    padding: 14px 24px;
}

.modal-fav {
    padding: 14px 20px;
}

.modal-fav.favorited {
    background: hsla(350, 89%, 60%, 0.12);
    border-color: hsla(350, 89%, 60%, 0.25);
    color: var(--danger);
}

@media (max-width: 768px) {
    .modal-overlay.show {
        align-items: flex-end;
    }

    .modal {
        width: 100%;
        max-width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 82vh;
        animation: slideUp 0.4s var(--ease-spring);
    }

    .modal-actions {
        padding-bottom: max(36px, env(safe-area-inset-bottom));
    }
}

/* ============ LANGUAGE SHEET (Premium Liquid Glass) ============ */
.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 1, 3, 0.55);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s var(--ease-spring);
}

.sheet-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.sheet {
    width: 92%;
    max-width: 420px;
    background: linear-gradient(165deg, hsla(240, 12%, 8%, 0.88) 0%, hsla(260, 15%, 5%, 0.92) 100%);
    backdrop-filter: blur(var(--blur-ultra)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-ultra)) saturate(200%);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    position: relative;
    overflow: hidden;
    transform: scale(1) translateY(0);
    transition: transform 0.5s var(--ease-spring), opacity 0.4s ease;
    box-shadow:
        0 24px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px hsla(0, 0%, 100%, 0.05),
        inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
}

/* Top reflection highlight */
.sheet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsla(272, 90%, 70%, 0.25), hsla(188, 90%, 65%, 0.2), transparent);
    pointer-events: none;
}

/* Subtle mesh glow behind sheet */
.sheet::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    right: -30%;
    bottom: -50%;
    background: radial-gradient(circle at 50% 0%, hsla(272, 90%, 60%, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.sheet-overlay.hidden .sheet {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
    margin: -10px auto 24px;
    opacity: 0.6;
}

.sheet-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-heading);
    color: var(--text-primary);
}

.sheet-title .icon {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 8px var(--accent-2-glow));
}

.lang-options {
    display: grid;
    gap: 12px;
}

.lang-option {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid hsla(0, 0%, 100%, 0.06);
    border-radius: var(--radius-md);
    background: hsla(0, 0%, 100%, 0.02);
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
    position: relative;
    overflow: hidden;
    /* Stagger animation */
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    animation: langItemIn 0.45s var(--ease-spring) forwards;
}

.lang-option:nth-child(1) {
    animation-delay: 0.08s;
}

.lang-option:nth-child(2) {
    animation-delay: 0.15s;
}

.lang-option:nth-child(3) {
    animation-delay: 0.22s;
}

@keyframes langItemIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Inner glow on hover */
.lang-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(272, 90%, 60%, 0.05), transparent, hsla(188, 90%, 60%, 0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lang-option:hover {
    background: hsla(0, 0%, 100%, 0.05);
    border-color: hsla(272, 90%, 68%, 0.2);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 24px -8px rgba(139, 92, 246, 0.12);
}

.lang-option:hover::before {
    opacity: 1;
}

.lang-option.active {
    background: linear-gradient(135deg, hsla(272, 90%, 60%, 0.1), hsla(188, 90%, 55%, 0.06));
    border-color: hsla(272, 90%, 68%, 0.3);
    box-shadow:
        0 0 20px -8px hsla(272, 90%, 60%, 0.2),
        inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
}

.lang-flag {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s var(--ease-spring);
}

.lang-option:hover .lang-flag {
    transform: scale(1.12) rotate(-3deg);
}

.lang-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    flex: 1;
    letter-spacing: -0.01em;
}

.lang-native {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

.lang-check {
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 2px solid hsla(0, 0%, 100%, 0.1);
    color: transparent;
    font-size: 0.75rem;
    font-weight: 800;
    transition: all 0.35s var(--ease-spring);
}

.lang-option.active .lang-check {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 12px hsla(272, 90%, 60%, 0.3);
    transform: scale(1.1);
}

/* ============ USER AUTH ============ */
.tg-auth {
    position: relative;
    pointer-events: all;
}

.tg-login-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.tg-user-info {
    display: flex;
    align-items: center;
}

.tg-user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--t-fast);
}

.tg-user-profile:hover {
    background: var(--glass-bg-hover);
}

.tg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.tg-name {
    font-weight: 600;
    font-size: 0.85rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ PROFILE SECTION ============ */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(145deg, hsla(272, 90%, 60%, 0.1), transparent);
    border-bottom: 1px solid var(--glass-border);
}

.profile-avatar-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin-bottom: 16px;
    box-shadow: 0 0 24px -6px var(--accent-glow);
}

.profile-fullname {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.profile-username {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.profile-stats {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.profile-stat-box {
    flex: 1;
    background: var(--glass-bg-hover);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all var(--t-fast);
}

.profile-stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: hsla(0, 0%, 100%, 0.05);
}

.profile-stat-box span {
    font-size: 1.5rem;
    font-weight: 800;
}

.profile-stat-box .stat-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.profile-actions {
    padding: 24px;
}

.tg-logout {
    width: 100%;
    justify-content: center;
    background: hsla(350, 89%, 60%, 0.08);
    color: var(--danger);
    border-color: hsla(350, 89%, 60%, 0.15);
    padding: 12px 20px;
}

.tg-logout:hover {
    background: hsla(350, 89%, 60%, 0.15);
}

/* ============ LOGIN MODAL ============ */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3500;
    background: rgba(1, 1, 3, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.login-modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.login-modal {
    max-width: 400px;
    width: 92%;
    padding: 32px;
    background: hsla(240, 10%, 6%, 0.9);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    animation: scaleIn 0.35s var(--ease-spring);
}

.login-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-2-soft);
    border-radius: 50%;
    border: 1px solid hsla(188, 90%, 55%, 0.15);
}

.login-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.login-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.login-input-wrap:focus-within {
    border-color: var(--accent-2);
}

.login-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--ff-body);
    text-align: center;
}

.login-input-wrap input::placeholder {
    color: var(--text-muted);
}

.login-submit {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--accent-2), hsl(200, 85%, 50%));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all var(--t-fast);
    margin-bottom: 12px;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-2-glow);
}

.login-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-get-id {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.login-get-id:hover {
    color: var(--accent-2);
}

.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg-hover);
    cursor: pointer;
    transition: all var(--t-fast);
}

.login-close:hover {
    background: hsla(350, 89%, 60%, 0.15);
}

.login-error {
    font-size: 0.82rem;
    color: var(--danger);
    margin-bottom: 12px;
    min-height: 20px;
}

/* ============ COMING SOON ============ */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.cs-card {
    padding: 20px;
    border-radius: var(--radius-md);
}

.cs-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.cs-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cs-countdown {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.cs-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============ BACK BUTTON ============ */
.back-btn {
    margin-bottom: 20px;
    font-size: 0.88rem;
}