        /* ============================================
           CSS Variables - Dark Theme with Gold Accents
           ============================================ */
        :root {
            --bg-primary: #0d0d0d;
            --bg-secondary: #1a1a1a;
            --bg-surface: #1e1e1e;
            --bg-surface-hover: #252525;
            --gold-primary: #d4af37;
            --gold-light: #f5d061;
            --gold-dark: #b8960c;
            --gold-glow: rgba(212, 175, 55, 0.3);
            --text-primary: #f0f0f0;
            --text-secondary: #a0a0a0;
            --text-muted: #666666;
            --border-color: #2a2a2a;
            --border-gold: rgba(212, 175, 55, 0.3);
            --success: #4ade80;
            --danger: #f87171;
            --font-heading: 'Playfair Display', Georgia, serif;
            --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
        }

        /* ============================================
           Light Theme Variables
           ============================================ */
        :root.light-theme {
            --bg-primary: #faf8f5;
            --bg-secondary: #f5f2ed;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f0ebe3;
            --gold-primary: #b8960c;
            --gold-light: #d4af37;
            --gold-dark: #8b7208;
            --gold-glow: rgba(184, 150, 12, 0.2);
            --text-primary: #1a1a1a;
            --text-secondary: #555555;
            --text-muted: #888888;
            --border-color: #e0ddd6;
            --border-gold: rgba(184, 150, 12, 0.3);
            --success: #16a34a;
            --danger: #dc2626;
        }

        /* ============================================
           Base Styles & Animations
           ============================================ */
        * { 
            box-sizing: border-box; 
            margin: 0;
            padding: 0;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        
        @keyframes glow {
            0%, 100% { box-shadow: 0 0 5px var(--gold-glow); }
            50% { box-shadow: 0 0 20px var(--gold-glow), 0 0 30px var(--gold-glow); }
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes ticker-scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* ============================================
           Ticker Bar Styles
           ============================================ */
        .ticker-container {
            background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-secondary) 100%);
            border-bottom: 1px solid var(--border-color);
            overflow: hidden;
            position: relative;
            height: 48px;
            display: flex;
            align-items: center;
        }
        
        .ticker-wrapper {
            display: flex;
            white-space: nowrap;
            will-change: transform;
        }
        
        .ticker-content {
            display: inline-flex;
            align-items: center;
            animation: ticker-scroll 90s linear infinite;
            gap: 0;
            padding: 0;
        }
        
        .ticker-container:hover .ticker-content {
            animation-play-state: paused;
        }
        
        .ticker-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            font-family: var(--font-body);
            font-size: 0.85em;
            white-space: nowrap;
            text-decoration: none;
            color: inherit;
            transition: background 0.2s ease;
        }
        
        .ticker-item:hover {
            background: var(--bg-surface-hover);
        }
        
        .ticker-news {
            max-width: 400px;
        }
        
        .ticker-news .ticker-source {
            background: var(--gold-primary);
            color: var(--bg-primary);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75em;
            font-weight: 600;
            text-transform: uppercase;
            flex-shrink: 0;
        }
        
        .ticker-news .ticker-title {
            color: var(--text-secondary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .ticker-news:hover .ticker-title {
            color: var(--text-primary);
        }
        
        .ticker-coin {
            gap: 10px;
        }
        
        .ticker-coin .ticker-flag {
            font-size: 1.4em;
            line-height: 1;
            flex-shrink: 0;
        }
        
        .ticker-coin .ticker-coin-name {
            color: var(--text-primary);
            font-weight: 500;
        }
        
        .ticker-coin .ticker-price {
            color: var(--gold-primary);
            font-weight: 600;
            font-family: var(--font-mono);
        }
        
        .ticker-separator {
            color: var(--border-color);
            padding: 0 5px;
            font-size: 0.8em;
        }
        
        /* Light theme adjustments for ticker */
        :root.light-theme .ticker-container {
            background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-secondary) 100%);
        }
        
        :root.light-theme .ticker-news .ticker-source {
            background: var(--gold-dark);
            color: #ffffff;
        }
        
        /* Mobile ticker adjustments */
        @media (max-width: 768px) {
            .ticker-container {
                height: 42px;
            }
            
            .ticker-item {
                padding: 6px 15px;
                font-size: 0.8em;
            }
            
            .ticker-news {
                max-width: 280px;
            }
        }

        body {
            font-family: var(--font-body);
            background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
            background-attachment: fixed;
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ============================================
           Header & Navigation
           ============================================ */
        header {
            background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .logo {
            font-family: var(--font-heading);
            font-size: 1.5em;
            font-weight: 700;
            color: var(--gold-primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .logo-icon {
            width: 32px;
            height: 32px;
            object-fit: contain;
            display: block;
        }
        
        .desktop-nav {
            display: flex;
            gap: 8px;
        }
        
        .desktop-nav a {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            padding: 10px 18px;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
            font-size: 0.95em;
        }
        
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: var(--gold-primary);
            transition: width 0.3s ease;
        }
        
        .desktop-nav a:hover {
            color: var(--text-primary);
        }
        
        .desktop-nav a:hover::after {
            width: 60%;
        }
        
        .desktop-nav a.active {
            color: var(--gold-primary);
            background: rgba(212, 175, 55, 0.1);
        }
        
        .desktop-nav a.active::after {
            width: 60%;
        }
        
        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 10px;
            z-index: 1001;
        }
        
        .hamburger span {
            width: 25px;
            height: 2px;
            background: var(--gold-primary);
            transition: all 0.3s ease;
            border-radius: 2px;
        }
        
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        
        /* Mobile Navigation Drawer */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: var(--bg-surface);
            padding: 80px 30px 30px;
            transition: right 0.3s ease;
            z-index: 999;
            border-left: 1px solid var(--border-color);
        }
        
        .mobile-nav.active {
            right: 0;
        }
        
        .mobile-nav a {
            display: block;
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }
        
        .mobile-nav a:hover,
        .mobile-nav a.active {
            color: var(--gold-primary);
            padding-left: 10px;
        }
        
        .nav-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .nav-overlay.active {
            opacity: 1;
        }

        /* ============================================
           Typography
           ============================================ */
        h1 {
            font-family: var(--font-heading);
            text-align: center;
            color: var(--text-primary);
            font-size: 2.5em;
            font-weight: 600;
            margin: 40px 0 20px;
            animation: fadeInUp 0.6s ease;
        }
        
        h1 .gold {
            color: var(--gold-primary);
        }
        
        h2 {
            font-family: var(--font-heading);
            color: var(--text-primary);
            font-size: 1.6em;
            font-weight: 600;
            margin: 40px 0 20px;
            text-align: center;
            position: relative;
        }
        
        h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
            margin: 12px auto 0;
            border-radius: 2px;
        }
        
        .subtitle {
            text-align: center;
            color: var(--text-secondary);
            font-size: 1.1em;
            margin: -10px 0 30px;
            animation: fadeInUp 0.6s ease 0.1s backwards;
        }

        /* ============================================
           Country Hero Banner
           ============================================ */
        .country-hero {
            position: relative;
            height: 200px;
            margin: -20px -20px 30px -20px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .country-hero .flag-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            filter: blur(2px);
            opacity: 0.3;
            transform: scale(1.1);
        }
        
        .country-hero .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, 
                rgba(13, 13, 13, 0.7) 0%, 
                rgba(13, 13, 13, 0.9) 100%
            );
        }
        
        .country-hero h1 {
            position: relative;
            z-index: 1;
            font-size: 3em;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5),
                         0 0 40px var(--gold-glow);
            margin: 0;
            letter-spacing: 0.02em;
        }

        /* ============================================
           Country Grid
           ============================================ */
        .country-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .country-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            animation: fadeInUp 0.5s ease backwards;
        }
        
        .country-card:hover {
            transform: translateY(-5px);
            border-color: var(--gold-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                        0 0 20px var(--gold-glow);
        }
        
        .country-card img {
            width: 80px;
            height: 53px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        .country-card h3 {
            font-family: var(--font-heading);
            font-size: 1.1em;
            color: var(--text-primary);
            margin: 0 0 8px;
        }
        
        .country-card .coin-count {
            font-size: 0.85em;
            color: var(--gold-primary);
            font-weight: 500;
        }

        /* ============================================
           Tables - Sortable
           ============================================ */
        .table-wrapper {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 25px 0;
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            animation: fadeInUp 0.6s ease 0.2s backwards;
        }
        
        /* Purity tables (2-column) - no horizontal scroll needed */
        .purity-table-wrapper {
            width: 100%;
            margin: 25px 0;
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            animation: fadeInUp 0.6s ease 0.2s backwards;
            overflow-x: visible;
        }
        
        .purity-table-wrapper table {
            width: 100%;
            min-width: 0;
            table-layout: fixed;
        }
        
        .purity-table-wrapper th,
        .purity-table-wrapper td {
            width: 50%;
        }
        
        .purity-table-wrapper thead tr:first-child th:first-child {
            border-top-left-radius: 11px;
        }
        
        .purity-table-wrapper thead tr:first-child th:last-child {
            border-top-right-radius: 11px;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }
        
        thead {
            background: linear-gradient(180deg, #252525 0%, #1e1e1e 100%);
        }
        
        th {
            position: sticky;
            top: 0;
            background: #252525;
            color: var(--gold-primary);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 0.8em;
            font-weight: 600;
            padding: 16px 18px;
            text-align: center;
            border-bottom: 2px solid var(--gold-dark);
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }
        
        th:hover {
            background: #2a2a2a;
            color: var(--gold-light);
        }
        
        th .sort-icon {
            margin-left: 6px;
            opacity: 0.5;
            transition: opacity 0.3s ease;
        }
        
        th.sorted .sort-icon {
            opacity: 1;
        }
        
        th.sorted-asc .sort-icon::after {
            content: '▲';
        }
        
        th.sorted-desc .sort-icon::after {
            content: '▼';
        }
        
        td {
            padding: 14px 18px;
            text-align: center;
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }
        
        td:first-child {
            text-align: left;
            font-weight: 500;
        }
        
        .price-value {
            font-family: var(--font-mono);
            font-weight: 500;
            color: var(--gold-light);
        }
        
        tbody tr {
            transition: all 0.3s ease;
        }
        
        tbody tr:nth-child(even) {
            background: rgba(255, 255, 255, 0.02);
        }
        
        tbody tr:hover {
            background: rgba(212, 175, 55, 0.08);
        }
        
        tbody tr:hover td:first-child {
            color: var(--gold-primary);
        }
        
        .change-positive {
            color: var(--success);
        }
        
        .change-negative {
            color: var(--danger);
        }

        /* ============================================
           Cards & Surfaces
           ============================================ */
        .card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 25px;
            margin: 20px 0;
            transition: all 0.3s ease;
            animation: fadeInUp 0.5s ease backwards;
        }
        
        .card:hover {
            border-color: rgba(212, 175, 55, 0.3);
        }
        
        .card-gold {
            border-color: var(--gold-dark);
            background: linear-gradient(135deg, 
                var(--bg-surface) 0%, 
                rgba(212, 175, 55, 0.05) 100%
            );
        }

        /* ============================================
           Chart Container - Dark Theme
           ============================================ */
        .chart-container {
            background: var(--bg-surface);
            padding: 25px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            margin: 25px 0;
            animation: fadeInUp 0.6s ease 0.2s backwards;
        }

        /* ============================================
           Calculator
           ============================================ */
        .calculator {
            background: var(--bg-surface);
            padding: 30px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            margin: 25px 0;
            animation: fadeInUp 0.6s ease 0.3s backwards;
        }
        
        .calculator h2 {
            margin-top: 0;
        }
        
        .calculator label {
            display: block;
            color: var(--text-secondary);
            font-size: 0.9em;
            margin-bottom: 6px;
            font-weight: 500;
        }
        
        .calculator input,
        .calculator select {
            width: 100%;
            padding: 14px 16px;
            margin-bottom: 20px;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-primary);
            font-family: var(--font-body);
            font-size: 1em;
            transition: all 0.3s ease;
        }
        
        .calculator input:focus,
        .calculator select:focus {
            outline: none;
            border-color: var(--gold-primary);
            box-shadow: 0 0 0 3px var(--gold-glow);
        }
        
        .calculator input::placeholder {
            color: var(--text-muted);
        }
        
        .calculator select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
        }
        
        .calculator select option {
            background: var(--bg-surface);
            color: var(--text-primary);
        }
        
        .calculator button {
            background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
            color: #000;
            padding: 14px 28px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-family: var(--font-body);
            font-size: 1em;
            font-weight: 600;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .calculator button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px var(--gold-glow);
        }
        
        .calculator button:active {
            transform: translateY(0);
        }
        
        .result {
            background: linear-gradient(135deg, 
                rgba(74, 222, 128, 0.1) 0%, 
                rgba(74, 222, 128, 0.05) 100%
            );
            border: 1px solid rgba(74, 222, 128, 0.3);
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
            color: var(--text-primary);
            animation: slideDown 0.3s ease;
        }
        
        .result strong {
            font-family: var(--font-mono);
            font-size: 1.4em;
            color: var(--success);
        }

        /* ============================================
           Country Selector (Dropdown)
           ============================================ */
        .country-selector {
            text-align: center;
            margin: 20px 0;
        }
        
        .country-selector label {
            color: var(--text-secondary);
            margin-right: 10px;
        }
        
        .country-selector select {
            padding: 12px 40px 12px 20px;
            font-size: 1em;
            font-family: var(--font-body);
            background: var(--bg-surface);
            border: 1px solid var(--gold-dark);
            border-radius: 8px;
            color: var(--text-primary);
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            transition: all 0.3s ease;
        }
        
        .country-selector select:hover {
            border-color: var(--gold-primary);
        }
        
        .country-selector select:focus {
            outline: none;
            border-color: var(--gold-primary);
            box-shadow: 0 0 0 3px var(--gold-glow);
        }

        /* ============================================
           Price Cards (for index page)
           ============================================ */
        .price-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .price-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 24px;
            transition: all 0.3s ease;
            animation: fadeInUp 0.5s ease backwards;
        }
        
        .price-card:hover {
            border-color: var(--gold-primary);
            transform: translateY(-3px);
        }
        
        .price-card.gold {
            border-left: 3px solid #ffd700;
        }
        
        .price-card.silver {
            border-left: 3px solid #c0c0c0;
        }
        
        .price-card.platinum {
            border-left: 3px solid #e5e4e2;
        }
        
        .price-card.palladium {
            border-left: 3px solid #ced0dd;
        }
        
        .price-card h3 {
            font-family: var(--font-heading);
            font-size: 1.1em;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }
        
        .price-card .price {
            font-family: var(--font-mono);
            font-size: 2em;
            font-weight: 600;
            color: var(--gold-light);
            margin-bottom: 8px;
        }
        
        .price-card .change {
            font-family: var(--font-mono);
            font-size: 0.95em;
        }
        
        .price-card .chart-hint {
            margin-top: 8px;
            font-size: 0.75em;
            color: var(--text-muted);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .price-card:hover .chart-hint {
            opacity: 1;
        }

        /* ============================================
           Chart Modal
           ============================================ */
        .chart-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .chart-modal-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
        }
        
        .chart-modal {
            background: var(--bg-surface);
            border: 1px solid var(--border-gold);
            border-radius: 16px;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow: hidden;
            transform: scale(0.9);
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 40px var(--gold-glow);
        }
        
        .chart-modal-overlay.active .chart-modal {
            transform: scale(1);
            opacity: 1;
        }
        
        .chart-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .chart-modal-header h3 {
            font-family: var(--font-heading);
            font-size: 1.4em;
            color: var(--gold-light);
            margin: 0;
        }
        
        .chart-modal-close {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.8em;
            cursor: pointer;
            padding: 0 8px;
            transition: color 0.3s ease;
            line-height: 1;
        }
        
        .chart-modal-close:hover {
            color: var(--text-primary);
        }
        
        .chart-modal-body {
            padding: 24px;
            height: 400px;
        }
        
        .chart-modal-body canvas {
            width: 100% !important;
            height: 100% !important;
        }
        
        @media (max-width: 768px) {
            .chart-modal {
                width: 95%;
                max-height: 80vh;
            }
            
            .chart-modal-header {
                padding: 16px 20px;
            }
            
            .chart-modal-header h3 {
                font-size: 1.2em;
            }
            
            .chart-modal-body {
                padding: 16px;
                height: 300px;
            }
        }

        /* ============================================
           Footer / Disclaimer
           ============================================ */
        .disclaimer {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85em;
            margin: 50px 0 30px;
            padding: 20px;
            background: var(--bg-surface);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        
        .disclaimer strong {
            color: var(--text-secondary);
        }

        /* ============================================
           Responsive Styles
           ============================================ */
        @media (max-width: 992px) {
            .nav-actions .desktop-nav {
                display: none !important;
            }
            
            .hamburger {
                display: flex !important;
            }
            
            .mobile-nav {
                display: block;
            }
            
            h1 {
                font-size: 1.8em;
            }
            
            .country-hero h1 {
                font-size: 2em;
            }
            
            .country-hero {
                height: 160px;
                margin: 0 -20px 20px;
            }
            
            .table-wrapper {
                margin: 15px 0;
                border-radius: 8px;
            }
            
            table {
                font-size: 0.9em;
            }
            
            th, td {
                padding: 10px 12px;
            }
            
            .calculator {
                padding: 20px;
            }
            
            .price-cards {
                grid-template-columns: 1fr;
            }
            
            .country-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            
            .country-card {
                padding: 15px;
            }
            
            .country-card img {
                width: 60px;
                height: 40px;
            }
        }

        /* ============================================
           News Section
           ============================================ */
        .news-section {
            margin: 40px 0;
        }
        
        .news-section h2 {
            margin-bottom: 24px;
        }
        
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 16px;
        }
        
        .news-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 18px 20px;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .news-card:hover {
            border-color: var(--gold-primary);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }
        
        .news-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }
        
        .news-source {
            font-size: 0.7em;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--gold-primary);
            background: rgba(212, 175, 55, 0.1);
            padding: 4px 8px;
            border-radius: 4px;
            white-space: nowrap;
        }
        
        .news-source.yahoo {
            color: #6001d2;
            background: rgba(96, 1, 210, 0.1);
        }
        
        :root.light-theme .news-source.yahoo {
            color: #5000b0;
            background: rgba(96, 1, 210, 0.1);
        }
        
        .news-card h3 {
            font-family: var(--font-body);
            font-size: 0.95em;
            font-weight: 500;
            line-height: 1.4;
            color: var(--text-primary);
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-card:hover h3 {
            color: var(--gold-light);
        }
        
        .news-summary {
            font-size: 0.85em;
            color: var(--text-secondary);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-empty {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-muted);
            background: var(--bg-surface);
            border: 1px dashed var(--border-color);
            border-radius: 12px;
        }
        
        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .news-card {
                padding: 14px 16px;
            }
        }

        /* ============================================
           Utility Classes
           ============================================ */
        .text-gold { color: var(--gold-primary); }
        .text-success { color: var(--success); }
        .text-danger { color: var(--danger); }
        .text-muted { color: var(--text-muted); }
        .font-mono { font-family: var(--font-mono); }
        .text-center { text-align: center; }
        
        .animate-delay-1 { animation-delay: 0.1s; }
        .animate-delay-2 { animation-delay: 0.2s; }
        .animate-delay-3 { animation-delay: 0.3s; }
        .animate-delay-4 { animation-delay: 0.4s; }
        .animate-delay-5 { animation-delay: 0.5s; }

        /* ============================================
           Nav Actions (toggle + nav + hamburger wrapper)
           ============================================ */
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* ============================================
           Theme Toggle Button
           ============================================ */
        .theme-toggle {
            background: none;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 8px 10px;
            cursor: pointer;
            color: var(--gold-primary);
            font-size: 1.1em;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .theme-toggle:hover {
            border-color: var(--gold-primary);
            background: var(--gold-glow);
        }
        
        .theme-toggle .icon-sun,
        .theme-toggle .icon-moon {
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
        
        :root:not(.light-theme) .theme-toggle .icon-sun { display: none; }
        :root.light-theme .theme-toggle .icon-moon { display: none; }

        /* ============================================
           Light Theme Specific Overrides
           ============================================ */
        :root.light-theme header {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 245, 0.95) 100%);
        }
        
        :root.light-theme .price-card.silver {
            border-left-color: #888888;
        }
        
        :root.light-theme .price-card.platinum {
            border-left-color: #666666;
        }
        
        :root.light-theme .price-card.palladium {
            border-left-color: #555555;
        }

        /* ============================================
           eBay Partner Network Smart Tools
           ============================================ */
        .ebay-ad-container {
            width: 900px;
            max-width: 100%;
            margin: 32px auto 24px auto;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 220px;
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            overflow: hidden;
        }

        .ebay-ad-container ins.epn-placement,
        .ebay-ad-container iframe {
            width: 900px !important;
            max-width: 100%;
            height: 220px !important;
            display: block;
            border: 0;
        }

        @media (max-width: 950px) {
            .ebay-ad-container,
            .ebay-ad-container ins.epn-placement,
            .ebay-ad-container iframe {
                width: 100% !important;
                min-width: 0;
                height: auto !important;
            }
        }
