:root {
            --bg-primary: #0a0a0a;
            --bg-card: #141414;
            --bg-card-hover: #1a1a1a;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --text-muted: #666666;
            --accent-green: #00ff88;
            --accent-pink: #ff2d7b;
            --accent-gold: #ffd700;
            --accent-blue: #4d9fff;
            --accent-purple: #b44dff;
            --border: #222222;
            --gradient-hot: linear-gradient(135deg, #ff2d7b, #ff6b35);
            --gradient-free: linear-gradient(135deg, #00ff88, #00d4aa);
            --gradient-tech: linear-gradient(135deg, #4d9fff, #b44dff);
            --gradient-daily: linear-gradient(135deg, #ffd700, #ff8c00);
        }

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

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

        /* Animated background grain */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.03;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
            position: relative;
            z-index: 1;
        }

        /* MASTHEAD */
        .masthead {
            text-align: center;
            padding: 60px 0 40px;
            border-bottom: 1px solid var(--border);
            position: relative;
        }

        .masthead::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 3px;
            background: var(--gradient-hot);
            border-radius: 2px;
        }

        .edition-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--accent-green);
            margin-bottom: 16px;
            display: inline-block;
            padding: 4px 12px;
            border: 1px solid var(--accent-green);
            border-radius: 2px;
        }

        .masthead h1 {
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            font-size: clamp(2.5rem, 8vw, 5.5rem);
            letter-spacing: -2px;
            line-height: 1;
            margin-bottom: 16px;
            background: linear-gradient(180deg, #ffffff 0%, #cccccc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .masthead .tagline {
            font-size: 1.1rem;
            color: var(--text-secondary);
            font-weight: 300;
            letter-spacing: 0.5px;
        }

        .masthead .date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 12px;
        }

        /* FILTER BAR */
        .filter-bar {
            display: flex;
            justify-content: center;
            gap: 12px;
            padding: 32px 0;
            flex-wrap: wrap;
        }

        .filter-btn {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 10px 20px;
            border: 1px solid var(--border);
            border-radius: 100px;
            background: transparent;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 100px;
        }

        .filter-btn[data-filter="all"]::before { background: var(--gradient-hot); }
        .filter-btn[data-filter="hot"]::before { background: var(--gradient-hot); }
        .filter-btn[data-filter="free"]::before { background: var(--gradient-free); }
        .filter-btn[data-filter="tech"]::before { background: var(--gradient-tech); }
        .filter-btn[data-filter="daily"]::before { background: var(--gradient-daily); }

        .filter-btn:hover, .filter-btn.active {
            color: var(--text-primary);
            border-color: transparent;
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(255, 45, 123, 0.2);
        }

        .filter-btn:hover::before, .filter-btn.active::before {
            opacity: 0.15;
        }

        .filter-btn.active {
            border-color: var(--accent-pink);
        }

        /* SECTION HEADERS */
        .section {
            margin-bottom: 60px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 32px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }

        .section-emoji {
            font-size: 2rem;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
        }

        .section-count {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: var(--text-muted);
            background: var(--bg-card);
            padding: 4px 10px;
            border-radius: 4px;
            margin-left: auto;
        }

        /* DEAL CARDS GRID */
        .deals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 24px;
        }

        .deal-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        .deal-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .deal-card[data-category="hot"]::before { background: var(--gradient-hot); }
        .deal-card[data-category="free"]::before { background: var(--gradient-free); }
        .deal-card[data-category="tech"]::before { background: var(--gradient-tech); }
        .deal-card[data-category="daily"]::before { background: var(--gradient-daily); }

        .deal-card:hover {
            transform: translateY(-8px);
            border-color: #333;
            background: var(--bg-card-hover);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
        }

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

        .deal-card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }

        .deal-category {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 4px 10px;
            border-radius: 4px;
            font-weight: 700;
        }

        .deal-category.hot { background: rgba(255, 45, 123, 0.15); color: var(--accent-pink); }
        .deal-category.free { background: rgba(0, 255, 136, 0.15); color: var(--accent-green); }
        .deal-category.tech { background: rgba(77, 159, 255, 0.15); color: var(--accent-blue); }
        .deal-category.daily { background: rgba(255, 215, 0, 0.15); color: var(--accent-gold); }

        .deal-score {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .deal-score-label {
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
        }

        .deal-score-meter {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            font-weight: 700;
            position: relative;
        }

        .deal-score-meter::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 2px solid var(--border);
        }

        .deal-score-meter.score-high { color: var(--accent-green); border-color: var(--accent-green); }
        .deal-score-meter.score-high::before { border-color: var(--accent-green); box-shadow: 0 0 12px rgba(0, 255, 136, 0.3); }
        .deal-score-meter.score-mid { color: var(--accent-gold); }
        .deal-score-meter.score-mid::before { border-color: var(--accent-gold); box-shadow: 0 0 12px rgba(255, 215, 0, 0.2); }
        .deal-score-meter.score-low { color: var(--accent-blue); }
        .deal-score-meter.score-low::before { border-color: var(--accent-blue); }

        .deal-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .deal-editorial {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-style: italic;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .deal-price-row {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        .deal-price {
            font-family: 'JetBrains Mono', monospace;
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-green);
            text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
        }

        .deal-price.free-price {
            background: var(--gradient-free);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .deal-original-price {
            font-family: 'JetBrains Mono', monospace;
            font-size: 1rem;
            color: var(--text-muted);
            text-decoration: line-through;
        }

        .deal-savings {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 6px;
            background: rgba(0, 255, 136, 0.1);
            color: var(--accent-green);
            animation: savings-glow 2s ease-in-out infinite alternate;
        }

        @keyframes savings-glow {
            0% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.1); }
            100% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }
        }

        .deal-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .deal-source {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .deal-source:hover {
            color: var(--text-secondary);
        }

        .deal-link {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent-pink);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }

        .deal-link:hover {
            color: #ff5a9e;
            gap: 10px;
        }

        .deal-link::after {
            content: '\2192';
            transition: transform 0.2s ease;
        }

        .deal-card:hover .deal-link::after {
            transform: translateX(4px);
        }

        /* STATS BAR */
        .stats-bar {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            padding: 40px 0;
            border-bottom: 1px solid var(--border);
            margin-bottom: 48px;
        }

        .stat-item {
            text-align: center;
            padding: 20px;
            background: var(--bg-card);
            border-radius: 12px;
            border: 1px solid var(--border);
        }

        .stat-number {
            font-family: 'JetBrains Mono', monospace;
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-green);
        }

        .stat-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* FOOTER */
        .site-footer {
            text-align: center;
            padding: 60px 0;
            border-top: 1px solid var(--border);
            margin-top: 60px;
        }

        .footer-tagline {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            background: var(--gradient-hot);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

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

        .footer-bot {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: var(--text-muted);
            margin-top: 24px;
            padding: 8px 16px;
            border: 1px solid var(--border);
            display: inline-block;
            border-radius: 4px;
        }

        /* ANIMATIONS */
        .deal-card {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .deal-card:nth-child(1) { animation-delay: 0.05s; }
        .deal-card:nth-child(2) { animation-delay: 0.1s; }
        .deal-card:nth-child(3) { animation-delay: 0.15s; }
        .deal-card:nth-child(4) { animation-delay: 0.2s; }
        .deal-card:nth-child(5) { animation-delay: 0.25s; }
        .deal-card:nth-child(6) { animation-delay: 0.3s; }

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

        /* SCROLLBAR */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-primary); }
        ::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #444; }

        /* PRINT STYLES */
        @media print {
            body { background: white; color: black; }
            body::before { display: none; }
            .filter-bar { display: none; }
            .deal-card { 
                border: 1px solid #ddd; 
                break-inside: avoid;
                background: white;
                opacity: 1;
                transform: none;
                animation: none;
            }
            .deal-card::before { display: none; }
            .masthead h1 { -webkit-text-fill-color: black; background: none; }
            .deal-price { color: #006644; text-shadow: none; }
            .deal-category { border: 1px solid currentColor; }
            .footer-tagline { -webkit-text-fill-color: #333; background: none; }
            .stats-bar { border: 1px solid #ddd; }
            .stat-number { color: #006644; }
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .masthead { padding: 40px 0 30px; }
            .masthead h1 { letter-spacing: -1px; }
            .deals-grid { grid-template-columns: 1fr; gap: 16px; }
            .deal-card { padding: 20px; }
            .deal-price { font-size: 1.6rem; }
            .section-header { flex-wrap: wrap; }
            .stats-bar { grid-template-columns: repeat(2, 1fr); }
            .filter-bar { gap: 8px; }
            .filter-btn { padding: 8px 14px; font-size: 0.8rem; }
        }

        @media (max-width: 480px) {
            .container { padding: 0 16px; }
            .stats-bar { grid-template-columns: 1fr; }
            .deal-price-row { flex-wrap: wrap; gap: 8px; }
        }