/* ==================== CSS Reset & Base ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f5f6fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f1f5;
    --bg-glass: rgba(0, 0, 0, 0.03);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-active: rgba(99, 102, 241, 0.4);

    --text-primary: #1e1e2e;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --accent-purple: #6366f1;
    --accent-purple-glow: rgba(99, 102, 241, 0.18);
    --accent-blue: #4f46e5;
    --accent-green: #16a34a;
    --accent-green-bg: rgba(22, 163, 74, 0.1);
    --accent-red: #dc2626;
    --accent-red-bg: rgba(220, 38, 38, 0.08);
    --accent-gold: #d97706;
    --accent-gold-bg: rgba(217, 119, 6, 0.1);
    --accent-neutral: #64748b;
    --accent-neutral-bg: rgba(100, 116, 139, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ==================== Login Page ==================== */
.login-body {
    background: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(79, 70, 229, 0.04) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 48px 36px 40px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.login-icon {
    margin-bottom: 20px;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 28px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    position: relative;
}

.login-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.login-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px var(--accent-purple-glow);
}

.login-input::placeholder {
    color: var(--text-muted);
}

.error-message {
    color: var(--accent-red);
    font-size: 0.825rem;
    text-align: left;
    animation: fadeIn 0.3s;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-purple-glow);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-footer {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
}

/* ==================== Header ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
}

.header-title {
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.last-update {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.icon-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-active);
}

/* ==================== Main ==================== */
.main {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

/* ==================== Tabs ==================== */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 4px;
    position: relative;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--text-primary);
}

.tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(33.333% - 4px);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* ==================== Panel ==================== */
.panel {
    animation: fadeIn 0.3s ease-out;
}

/* ==================== Time Bar ==================== */
.time-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.time-label {
    color: var(--text-secondary);
    font-size: 0.825rem;
    font-weight: 500;
    white-space: nowrap;
}

.time-select {
    flex: 0 1 auto;
    min-width: 220px;
    padding: 9px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font);
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.time-select:focus {
    border-color: var(--accent-purple);
}

.stats-bar {
    display: flex;
    gap: 16px;
    margin-left: auto;
    font-size: 0.775rem;
    color: var(--text-muted);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.stat-dot.new { background: var(--accent-gold); }
.stat-dot.up { background: var(--accent-red); }
.stat-dot.down { background: var(--accent-green); }

/* ==================== Ranking List ==================== */
.ranking-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ranking-header {
    display: grid;
    grid-template-columns: 56px 1fr 90px;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.02);
}

.delist-header {
    grid-template-columns: 56px 1fr 150px 100px;
}

.col-name-wrapper {
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: center;
}

.delist-header .col-name-wrapper,
.delist-row .col-name-wrapper {
    grid-template-columns: 1fr 160px;
}

.ranking-list {
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-glass) transparent;
}

.ranking-list::-webkit-scrollbar {
    width: 6px;
}

.ranking-list::-webkit-scrollbar-track {
    background: transparent;
}

.ranking-list::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 3px;
}

/* ==================== Ranking Row ==================== */
.ranking-row {
    display: grid;
    grid-template-columns: 56px 1fr 90px;
    padding: 13px 20px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background var(--transition);
    animation: slideIn 0.35s ease-out both;
}

.ranking-row:hover {
    background: var(--bg-card-hover);
}

.ranking-row:last-child {
    border-bottom: none;
}

.delist-row {
    grid-template-columns: 56px 1fr 150px 100px;
}

.rank-num {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rank-num.top1 { color: #d97706; }
.rank-num.top2 { color: #64748b; }
.rank-num.top3 { color: #b45309; }

.drama-name {
    font-weight: 500;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}

.drama-id {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Cascadia Code', monospace;
}

.delist-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.manager {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==================== Change Badge ==================== */
.change-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.775rem;
    font-weight: 600;
    white-space: nowrap;
}

.change-badge.new {
    background: var(--accent-gold-bg);
    color: var(--accent-gold);
}

.change-badge.up {
    background: var(--accent-red-bg);
    color: var(--accent-red);
}

.change-badge.down {
    background: var(--accent-green-bg);
    color: var(--accent-green);
}

.change-badge.same {
    background: var(--accent-neutral-bg);
    color: var(--accent-neutral);
}

/* ==================== Empty State ==================== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
    gap: 12px;
}

.empty-state p {
    font-size: 0.9rem;
}

.empty-hint {
    font-size: 0.8rem !important;
    color: var(--text-muted);
}

/* ==================== Modal ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeIn 0.2s;
}

.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 90%;
    max-width: 440px;
    animation: fadeInUp 0.3s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.825rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.file-drop:hover, .file-drop.dragover {
    border-color: var(--accent-purple);
    background: var(--accent-purple-glow);
}

.file-name {
    color: var(--accent-purple);
    font-weight: 500;
    font-size: 0.85rem;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-purple-glow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Staggered animation for rows */
.ranking-row:nth-child(1)  { animation-delay: 0.02s; }
.ranking-row:nth-child(2)  { animation-delay: 0.04s; }
.ranking-row:nth-child(3)  { animation-delay: 0.06s; }
.ranking-row:nth-child(4)  { animation-delay: 0.08s; }
.ranking-row:nth-child(5)  { animation-delay: 0.10s; }
.ranking-row:nth-child(6)  { animation-delay: 0.12s; }
.ranking-row:nth-child(7)  { animation-delay: 0.14s; }
.ranking-row:nth-child(8)  { animation-delay: 0.16s; }
.ranking-row:nth-child(9)  { animation-delay: 0.18s; }
.ranking-row:nth-child(10) { animation-delay: 0.20s; }

/* ==================== Responsive ==================== */
@media (max-width: 640px) {
    html { font-size: 14px; }

    .header-inner { padding: 12px 16px; }
    .header-title { font-size: 1rem; }
    .last-update { display: none; }

    .main { padding: 16px 12px 32px; }

    .tab { padding: 9px 8px; font-size: 0.8rem; gap: 4px; }
    .tab svg { display: none; }

    .ranking-header {
        grid-template-columns: 40px 1fr 90px;
        padding: 10px 14px;
    }
    .ranking-header .col-id { display: none; }

    .ranking-row {
        grid-template-columns: 40px 1fr 90px;
        padding: 11px 14px;
    }

    .delist-header {
        grid-template-columns: 40px 1fr 110px;
    }
    .delist-header .col-id,
    .delist-header .col-manager { display: none; }

    .delist-row {
        grid-template-columns: 40px 1fr 110px;
    }
    .delist-row .drama-id,
    .delist-row .manager { display: none; }

    /* Stacking Name and ID on Mobile for priority display */
    .col-name-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        overflow: hidden;
        width: 100%;
    }
    .ranking-row .drama-id,
    .delist-row .drama-id {
        display: block;
        font-size: 0.75rem;
        color: var(--text-secondary);
        margin-top: 1px;
    }
    .ranking-row .drama-name,
    .delist-row .drama-name {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
        padding-right: 0;
    }

    /* Show symbols and text in change badges on Mobile */
    .badge-text {
        display: inline;
    }
    .change-badge {
        padding: 3px 8px;
    }

    .time-bar { flex-direction: column; align-items: stretch; gap: 8px; }
    .time-select { min-width: unset; width: 100%; }
    .stats-bar { margin-left: 0; justify-content: center; }

    .modal-card { padding: 24px 20px; }
}

/* ==================== Copy to Clipboard & Toast ==================== */
.drama-name, .drama-id {
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}
.drama-name:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}
.drama-name.delisted {
    color: var(--accent-red) !important;
}
.drama-name.delisted:hover {
    color: var(--accent-red) !important;
    text-decoration: underline;
}
.modal-title.delisted {
    color: var(--accent-red) !important;
}
.drama-id:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 1rem);
    background: rgba(30, 30, 46, 0.95);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-size: 0.825rem;
    font-weight: 500;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}
.toast-notification.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ==================== History Modal Styles ==================== */
.history-modal-overlay {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.history-modal-card {
    max-width: 500px;
    width: 90%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    padding: 0;
    overflow: hidden;
}

.history-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.01);
}

.history-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 85%;
}

.history-title-group .modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-subtitle {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Cascadia Code', monospace;
}

.close-history-btn {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition);
    padding: 0;
    margin-top: -4px;
}

.close-history-btn:hover {
    color: var(--accent-purple);
}

.history-modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto;
    flex: 1;
}

.history-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Timeline Layout */
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: background var(--transition), transform var(--transition);
}

.timeline-row:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.timeline-rank-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-rank-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-purple);
    background: var(--accent-purple-glow);
    padding: 3px 10px;
    border-radius: 12px;
    min-width: 48px;
    text-align: center;
}

/* Clickable change badges */
.change-badge {
    cursor: pointer;
    transition: all var(--transition);
}

.change-badge:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px var(--accent-purple-glow);
}

/* ==================== Notification Banner ==================== */
.notification-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    animation: fadeInDown 0.4s ease-out;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-icon {
    font-size: 1.2rem;
}

.banner-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.banner-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-sm.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
}

.btn-sm.btn-primary:hover {
    box-shadow: 0 3px 8px var(--accent-purple-glow);
}

.btn-sm.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.btn-sm.btn-secondary:hover {
    background: var(--bg-card-hover);
}

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