:root {
    /* Color Palette - "Golden Harvest" */
    --primary-dark: #0a192f;
    /* Deep Royal Blue */
    --primary-light: #112240;
    /* Lighter Blue for gradients */
    --gold-main: #d4af37;
    /* Classic Gold */
    --gold-hover: #f1c40f;
    /* Bright Gold */
    --text-white: #e6f1ff;
    /* Soft White */
    --text-muted: #8892b0;
    /* Muted Blue-Grey */
    --glass-bg: rgba(17, 34, 64, 0.75);
    /* Glass Effect */
    --card-border: rgba(212, 175, 55, 0.15);
    /* Subtle Gold Border */

    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-dark);
    background-image: radial-gradient(circle at 50% 50%, #1a3055 0%, #0a192f 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-main);
    border-radius: 5px;
    border: 2px solid var(--primary-dark);
}

/* === Header === */
.main-header {
    background: rgba(10, 25, 47, 0.9);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition);
}

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

.logo i {
    color: var(--gold-main);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.logo span {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--gold-main);
    margin-right: 8px;
    font-weight: 400;
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--gold-main);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--gold-main);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* === Hero Section === */
.hero-section {
    height: 90vh;
    background: url('images/hero_banner.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.6), var(--primary-dark));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-content h2 {
    font-family: var(--font-primary);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--text-white), var(--gold-main));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: transparent;
    color: var(--gold-main);
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--gold-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gold-main);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.cta-button:hover::before {
    width: 100%;
}

/* === Stats Section (Glassmorphism) === */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 4rem 5%;
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-main);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.stat-card i {
    color: var(--gold-main);
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.stat-card h3 {
    color: var(--text-white);
    font-size: 2rem;
    font-family: var(--font-secondary);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === Calendar Section === */
.calendar-section {
    padding: 6rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-white);
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold-main);
    margin: 15px auto 0;
    border-radius: 2px;
}


.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 25px;
    color: var(--gold-main);
    font-size: 1.2rem;
    z-index: 2;
}

#search-input {
    width: 100%;
    padding: 15px 60px 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--text-muted);
    background: rgba(17, 34, 64, 0.4);
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

#search-input:focus {
    border-color: var(--gold-main);
    background: rgba(17, 34, 64, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

#search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* === Product Cards (The Masterpiece) === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
    gap: 40px;
}

.product-card {
    background: var(--primary-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--card-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Card Image & Badge */
.card-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.9);
}

.product-card:hover .card-image img {
    transform: scale(1.15);
    filter: brightness(1);
}

.status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 25, 47, 0.85);
    color: var(--text-white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: var(--gold-main);
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    border: none;
}

/* Card Content */
.card-content {
    padding: 30px;
}

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

.card-content h3 {
    color: var(--text-white);
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

.en-name {
    color: var(--gold-main);
    font-family: var(--font-secondary);
    font-size: 1rem;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Interactive Timeline */
.season-timeline {
    margin: 20px 0;
    position: relative;
    padding: 10px 0;
}

.timeline-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-month {
    width: 8px;
    height: 8px;
    background: #334;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.timeline-month.active {
    background: var(--gold-main);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.timeline-active-bar {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-main), #fce68a);
    border-radius: 2px;
    top: 0;
    z-index: 0;
    opacity: 0.8;
}

.season-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.season-labels span.highlight {
    color: var(--gold-main);
    font-weight: bold;
}

/* Data Rows */
.data-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row i {
    color: var(--gold-main);
    font-size: 1rem;
}

.data-row strong {
    color: var(--text-white);
    min-width: 100px;
    font-size: 0.9rem;
}

.data-row p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Notes & Source */
.notes-row {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: block;
    margin-top: 20px;
}

.notes-row strong {
    color: var(--gold-main);
    display: block;
    margin-bottom: 5px;
}

.notes-collapsible {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    position: relative;
}

.notes-collapsible.expanded {
    max-height: 500px;
}

.notes-collapsible::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(16, 33, 62, 0.95));
    pointer-events: none;
    transition: opacity 0.3s;
}

.notes-collapsible.expanded::after {
    opacity: 0;
}

.expand-btn {
    background: transparent;
    border: none;
    color: var(--gold-main);
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 8px;
    padding: 0;
    font-weight: 600;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.expand-btn:hover {
    text-decoration: underline;
}

.source-row {
    margin-top: 15px;
    padding: 10px;
    background: transparent;
    border-right: 2px solid var(--text-muted);
    display: block;
}

.source-row p {
    font-size: 0.85rem !important;
    font-style: italic;
    opacity: 0.7;
}

/* === Sources Section === */
.sources-section {
    padding: 6rem 5%;
    background: var(--primary-light);
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.source-card {
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
}

.source-card:hover {
    border-color: var(--gold-main);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.source-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.source-card h4 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.source-card ul {
    list-style: none;
    padding: 0;
}

.source-card li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 10px 0;
    font-size: 0.95rem;
}

.source-card li:last-child {
    border-bottom: none;
}

.source-card.official .source-icon {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.source-card.trade .source-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-main);
}

.source-card.media .source-icon {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.source-card a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.source-card a:hover {
    color: var(--gold-main);
}

.sources-disclaimer {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--gold-main);
    color: var(--gold-main);
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 2rem;
}

.sources-disclaimer i {
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.sources-disclaimer p {
    color: var(--text-white);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* === About Section === */
.about-section {
    background: var(--primary-dark);
    padding: 6rem 5%;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--text-white);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text h3 i {
    color: var(--gold-main);
    font-size: 1.2rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 10px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    margin-bottom: 15px;
}

.about-text li {
    background: var(--primary-light);
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 10px;
    border-right: 3px solid var(--gold-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.about-text li:hover {
    background: rgba(17, 34, 64, 0.9);
    transform: translateX(-5px);
}

/* === Footer === */
/* === Social Links === */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--gold-main);
    color: var(--primary-dark);
    border-color: var(--gold-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* === Footer Logo === */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-logo i {
    color: var(--gold-main);
    font-size: 1.5rem;
}

.footer-logo h3 {
    color: var(--text-white);
    font-size: 1.3rem;
}

/* === Mobile Nav Overlay === */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* === Footer === */
.main-footer {
    background: linear-gradient(to right, #0a192f, #112240);
    padding-top: 5rem;
    color: var(--text-white);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-main);
    border-radius: 2px;
}

/* Brand Col */
.brand-col p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 15px;
    max-width: 350px;
}

/* Links Col */
.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col li {
    margin-bottom: 12px;
}

.links-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.links-col a:hover {
    color: var(--gold-main);
    transform: translateX(-5px);
}

/* Contact Col */
.contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-list i {
    color: var(--gold-main);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background: #050c18;
    padding: 20px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.designer-credit span {
    font-family: var(--font-secondary);
    font-weight: 700;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* === Responsive === */
/* === Mobile Menu Button === */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--gold-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--gold-hover);
    transform: scale(1.1);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.8rem 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        right: auto;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        border-left: 1px solid var(--card-border);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    nav a {
        font-size: 1.2rem;
    }

    .hero-section {
        height: auto;
        min-height: 70vh;
        padding: 100px 20px 60px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .stats-section {
        margin-top: -30px;
        padding: 2rem 5%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card {
        border-radius: 15px;
    }

    .card-content {
        padding: 20px;
    }

    .card-image {
        height: 200px;
    }

    .search-container {
        margin-bottom: 2rem;
    }

    #search-input {
        padding: 12px 50px 12px 20px;
        font-size: 0.95rem;
    }

    .search-icon {
        right: 18px;
    }

    .filters {
        gap: 10px;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .brand-col p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .contact-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card h3 {
        font-size: 1.6rem;
    }

    /* #4 Filters: horizontal scroll instead of wrapping */
    .filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 8px;
        scrollbar-width: none;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* #9 Timeline labels responsive */
    .season-labels {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    /* #11 Bigger timeline dots */
    .timeline-month {
        width: 10px;
        height: 10px;
    }
}

/* #10 Touch targets — min 44px */
@media (max-width: 768px) {

    .links-col a,
    .source-card a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .contact-list li {
        min-height: 44px;
    }

    .filter-btn {
        min-height: 44px;
    }
}

/* #15 Sticky search bar */
@media (max-width: 768px) {
    .search-container {
        position: sticky;
        top: 60px;
        z-index: 100;
        background: var(--primary-dark);
        padding: 15px 0;
        margin-left: -5%;
        margin-right: -5%;
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* #17 Touch-friendly hover effects */
@media (hover: none) {
    .product-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }

    .stat-card:hover {
        transform: none;
    }

    .stat-card:active {
        transform: scale(0.97);
        transition: transform 0.1s;
    }

    .source-card:hover {
        transform: none;
    }
}

/* #18 iPhone safe areas */
@supports (padding: env(safe-area-inset-top)) {
    .main-header {
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .footer-bottom {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* #16 Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-main);
    color: var(--primary-dark);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* === Source Styling === */
.source-text {
    display: inline-block;
    margin: 0;
}

.source-label {
    color: var(--gold-main);
    font-weight: 700;
}

.source-value {
    color: var(--text-white);
    font-weight: 400;
}

.source-value a {
    color: #4da6ff;
    /* Light Blue for links */
    text-decoration: underline;
    transition: var(--transition);
}

.source-value a:hover {
    color: var(--gold-main);
}

/* === Scroll Reveal Animation === */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* === Sources Section Links === */
.sources-grid a {
    color: #4da6ff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.sources-grid a:hover {
    color: var(--gold-main);
    border-bottom: 1px solid var(--gold-main);
}