/* ========================================
   Design System - Premium Light Mode
   ======================================== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/inter-latin-300-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/inter-latin-800-normal.woff2') format('woff2');
}

:root {
    --bg-primary: #f5f7fb;
    --bg-secondary: #eef1f8;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --border-accent: rgba(99, 102, 241, 0.3);

    --text-primary: #1e1e2e;
    --text-secondary: #5b5b78;
    --text-muted: #8e8ea8;

    --accent-purple: #6366f1;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-teal: #14b8a6;

    --grade-a-bg: linear-gradient(135deg, #f59e0b, #e67e22);
    --grade-a-glow: rgba(245, 158, 11, 0.2);
    --grade-b-bg: linear-gradient(135deg, #ec4899, #db2777);
    --grade-b-glow: rgba(236, 72, 153, 0.2);
    --grade-c-bg: linear-gradient(135deg, #10b981, #059669);
    --grade-c-glow: rgba(16, 185, 129, 0.2);

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

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.1);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: rgba(99, 102, 241, 0.2);
    color: #1e1e2e;
}

/* ========================================
   Background Particles
   ======================================== */

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 600px at 15% 15%, rgba(99, 102, 241, 0.07), transparent),
        radial-gradient(ellipse 500px 500px at 85% 25%, rgba(59, 130, 246, 0.05), transparent),
        radial-gradient(ellipse 400px 400px at 50% 85%, rgba(6, 182, 212, 0.04), transparent);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(1deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-1deg);
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    z-index: 1;
    padding: 60px 20px 30px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-purple);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.gradient-text {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.2;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Main Container
   ======================================== */

.main-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ========================================
   Search Section
   ======================================== */

.search-section {
    margin-bottom: 24px;
}

.search-box {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    padding: 4px 8px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), var(--shadow-md);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 14px 12px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: inherit;
}

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

.search-clear {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-right: 4px;
}

.search-clear svg {
    width: 16px;
    height: 16px;
}

.search-clear:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

.search-stats {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Tabs
   ======================================== */

.tabs-container {
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab svg {
    width: 16px;
    height: 16px;
}

.tab:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.08));
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--accent-purple);
    font-weight: 600;
}

.tab-count {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.tab.active .tab-count {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-purple);
}

/* ========================================
   Filters
   ======================================== */

.filters-container {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Custom Select */
.custom-select {
    position: relative;
}

.select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.select-btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.select-btn:hover {
    border-color: var(--border-medium);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.custom-select.open .select-btn {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.custom-select.open .select-btn svg {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    animation: dropdownIn 0.2s ease;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select.open .select-dropdown {
    display: block;
}

.select-option {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-option:hover {
    background: rgba(99, 102, 241, 0.06);
    color: var(--text-primary);
}

.select-option.active {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-purple);
    font-weight: 600;
}

.select-option .count {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
}

/* Scrollbar for dropdown */
.select-dropdown::-webkit-scrollbar {
    width: 4px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Grade filter buttons */
.grade-btns {
    display: flex;
    gap: 6px;
}

.grade-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.grade-btn:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.grade-btn.active {
    color: #fff;
}

.grade-btn.active[data-grade="all"] {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
}

.grade-btn.active[data-grade="A"],
.grade-btn.grade-a.active {
    background: var(--grade-a-bg);
    border-color: transparent;
    box-shadow: 0 2px 10px var(--grade-a-glow);
}

.grade-btn.active[data-grade="B"],
.grade-btn.grade-b.active {
    background: var(--grade-b-bg);
    border-color: transparent;
    box-shadow: 0 2px 10px var(--grade-b-glow);
}

.grade-btn.active[data-grade="C"],
.grade-btn.grade-c.active {
    background: var(--grade-c-bg);
    border-color: transparent;
    box-shadow: 0 2px 10px var(--grade-c-glow);
}

/* ========================================
   Results Grid
   ======================================== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
}

/* ========================================
   Result Card
   ======================================== */

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.4s ease forwards;
    opacity: 0;
    box-shadow: var(--shadow-sm);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.result-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.result-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.card-abbr {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.card-grade {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    color: #fff;
}

.card-grade.grade-A {
    background: var(--grade-a-bg);
    box-shadow: 0 2px 8px var(--grade-a-glow);
}

.card-grade.grade-B {
    background: var(--grade-b-bg);
    box-shadow: 0 2px 8px var(--grade-b-glow);
}

.card-grade.grade-C {
    background: var(--grade-c-bg);
    box-shadow: 0 2px 8px var(--grade-c-glow);
}

.card-fullname {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-tag svg {
    width: 12px;
    height: 12px;
}

.card-tag.tag-type {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.15);
}

.card-tag.tag-publisher {
    background: rgba(59, 130, 246, 0.06);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.12);
}

.card-tag.tag-category {
    background: rgba(6, 182, 212, 0.06);
    color: #0891b2;
    border-color: rgba(6, 182, 212, 0.12);
}

.card-tag.tag-if {
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.15);
}

.card-tag.tag-top {
    background: rgba(239, 68, 68, 0.06);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.12);
}

.conference-deadline {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.14);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(6, 182, 212, 0.08));
}

.conference-deadline-modal {
    margin-top: 8px;
}

.deadline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.deadline-row + .deadline-row {
    margin-top: 6px;
}

.deadline-label {
    color: var(--text-muted);
    white-space: nowrap;
}

.deadline-value {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.deadline-value.deadline-open {
    color: #059669;
}

.deadline-value.deadline-closed {
    color: #dc2626;
}

.deadline-extension {
    border-top: 1px dashed rgba(59, 130, 246, 0.18);
    padding-top: 6px;
}

.deadline-refresh-btn {
    margin-top: 10px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.deadline-refresh-btn:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.55);
}

.deadline-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   Empty State
   ======================================== */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

/* ========================================
   Load More
   ======================================== */

.load-more {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    padding: 12px 32px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-medium);
    background: #fff;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.load-more-btn:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Modal
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalOverlayIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes modalOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.modal-content {
    padding: 24px 32px 32px;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.modal-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-fullname {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-section {
    margin-top: 24px;
}

.modal-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.info-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: all var(--transition-fast);
}

.info-item:hover {
    background: rgba(99, 102, 241, 0.04);
    border-color: rgba(99, 102, 241, 0.15);
}

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.info-value.highlight {
    color: #6366f1;
}

.info-value.success {
    color: #059669;
}

.info-value.warning {
    color: #d97706;
}

.info-value.danger {
    color: #dc2626;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.modal-tag {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.modal-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.modal-link svg {
    width: 14px;
    height: 14px;
}

/* No data placeholder */
.no-extra-data {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-medium);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hero {
        padding: 40px 16px 20px;
    }

    .gradient-text {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .main-container {
        padding: 0 16px 40px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .filters-container {
        flex-direction: column;
        gap: 12px;
    }

    .filter-group {
        min-width: auto;
    }

    .modal {
        max-height: 90vh;
        border-radius: var(--radius-lg);
    }

    .modal-content {
        padding: 20px;
    }

    .modal-title h2 {
        font-size: 22px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tabs {
        gap: 6px;
    }

    .tab {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .gradient-text {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* ========================================
   Scrollbar
   ======================================== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.18);
}

/* ========================================
   Animations
   ======================================== */

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f5 25%, #e8e8f0 50%, #f0f0f5 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}