﻿:root {
            --primary-blue: #1a237e; --primary-pink: #d81b60; --accent-pink: #ec407a;
            --bg-light: #f4f7f9; --text-dark: #333; --text-muted: #666; --white: #ffffff;
            --shadow: 0 10px 30px rgba(0,0,0,0.08); --radius: 12px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background:
                radial-gradient(38rem 38rem at 8% 10%, rgba(236, 64, 122, 0.16), transparent 60%),
                radial-gradient(34rem 34rem at 92% 8%, rgba(26, 35, 126, 0.15), transparent 58%),
                radial-gradient(28rem 28rem at 14% 78%, rgba(63, 81, 181, 0.11), transparent 56%),
                radial-gradient(24rem 24rem at 88% 68%, rgba(216, 27, 96, 0.08), transparent 54%),
                linear-gradient(180deg, #ffffff 0%, #eef3fb 55%, #f4f7f9 100%);
            background-attachment: fixed;
            position: relative;
            overflow-x: hidden;
            isolation: isolate;
            color: var(--text-dark);
            line-height: 1.6;
        }
        body::before,
        body::after {
            content: '';
            position: fixed;
            border-radius: 999px;
            pointer-events: none;
            filter: blur(4px);
            z-index: 0;
        }
        body::before {
            width: 260px;
            height: 260px;
            top: -90px;
            right: -70px;
            background: linear-gradient(135deg, rgba(216, 27, 96, 0.18), rgba(236, 64, 122, 0.02));
        }
        body::after {
            width: 220px;
            height: 220px;
            left: -60px;
            bottom: -80px;
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.14), rgba(63, 81, 181, 0.02));
        }
        body > * { position: relative; z-index: 1; }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
        header { background: var(--white); padding: 12px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
        .header-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
        .logo { font-size: 28px; font-weight: 900; color: var(--primary-blue); text-decoration: none; letter-spacing: -1px; }
        .logo span { color: var(--primary-pink); }
        .btn-alert { background-color: var(--primary-pink); color: white; border: none; padding: 0 16px; border-radius: 8px; font-weight: bold; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background 0.2s; white-space: nowrap; text-decoration: none; }
        .btn-alert:hover { background-color: #ad1457; }
        .hero {
            position: relative;
            overflow: hidden;
            padding: 44px 0 56px;
            background: transparent;
        }
        .hero-shell {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
            align-items: center;
            gap: 34px;
            padding: 22px;
            border-radius: 32px;
            background: rgba(255,255,255,0.8);
            border: 1px solid rgba(255,255,255,0.88);
            box-shadow: 0 24px 60px rgba(33, 46, 89, 0.12);
            backdrop-filter: blur(12px);
        }
        .hero-copy {
            text-align: left;
            padding: 10px 8px 10px 6px;
        }
        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            margin-bottom: 18px;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--primary-pink);
            background: rgba(216, 27, 96, 0.08);
            border: 1px solid rgba(216, 27, 96, 0.14);
        }
        .hero h1 {
            font-size: clamp(2.5rem, 4.8vw, 4.2rem);
            line-height: 1.02;
            color: var(--primary-blue);
            margin-bottom: 14px;
            letter-spacing: -0.03em;
            max-width: 10ch;
        }
        .hero p {
            font-size: 1.12rem;
            color: var(--text-muted);
            max-width: 560px;
            margin: 0;
        }
        .hero-points {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 22px;
        }
        .hero-point {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 14px;
            border-radius: 14px;
            background: rgba(255,255,255,0.88);
            border: 1px solid rgba(26, 35, 126, 0.08);
            box-shadow: 0 10px 24px rgba(26, 35, 126, 0.08);
            color: #31405f;
            font-size: 0.94rem;
            font-weight: 700;
        }
        .hero-visual {
            position: relative;
            min-height: 100%;
        }
        .hero-frame {
            position: relative;
            border-radius: 28px;
            padding: 14px;
            background: linear-gradient(145deg, rgba(26, 35, 126, 0.96), rgba(64, 91, 197, 0.86));
            box-shadow: 0 24px 48px rgba(26, 35, 126, 0.22);
            transform: rotate(-1.5deg);
        }
        .hero-frame::before {
            content: '';
            position: absolute;
            inset: -14px 18px auto auto;
            width: 96px;
            height: 96px;
            border-radius: 24px;
            background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
            z-index: 0;
        }
        .hero-image-wrap {
            position: relative;
            z-index: 1;
            overflow: hidden;
            border-radius: 22px;
            background: #dfe8fb;
        }
        .hero-image-wrap img {
            display: block;
            width: 100%;
            object-fit: cover;
        }
        .hero-badge {
            position: absolute;
            left: -10px;
            bottom: 22px;
            z-index: 2;
            max-width: 220px;
            padding: 14px 16px;
            border-radius: 18px;
            background: rgba(255,255,255,0.94);
            box-shadow: 0 20px 40px rgba(21, 32, 74, 0.18);
        }
        .hero-badge strong {
            display: block;
            color: var(--primary-blue);
            font-size: 1rem;
            line-height: 1.2;
        }
        .hero-badge span {
            display: block;
            margin-top: 4px;
            color: #60708b;
            font-size: 0.9rem;
            line-height: 1.45;
        }
        .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 50px; }
        .cat-card { background: var(--white); padding: 25px 20px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.3s; border: 1px solid rgba(0,0,0,0.03); }
        .cat-card:hover { transform: translateY(-5px); }
        .cat-icon { margin-bottom: 12px; display: flex; align-items: center; justify-content: center; min-height: 150px; }
        .cat-icon-image { display: block; max-width: 200px; max-height: 200px; width: auto; height: auto; object-fit: contain; }
        .cat-icon-fallback {
            --homepage-icon-color: #c89b5a;
            position: relative;
            display: inline-flex;
            width: 120px;
            height: 110px;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--homepage-icon-color), rgba(255,255,255,0.92));
            clip-path: polygon(50% 0%, 90% 20%, 85% 75%, 50% 100%, 15% 75%, 10% 20%);
            box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
        }
        .cat-icon-fallback::before {
            content: '';
            position: absolute;
            inset: 8px;
            border: 2px solid rgba(255,255,255,0.92);
            clip-path: inherit;
        }
        .cat-icon-fallback i { position: relative; z-index: 1; color: white; font-size: 42px; }
        .cat-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
        .badge { display: inline-block; padding: 5px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: bold; }
        .badge-pink { background: #fce4ec; color: var(--primary-pink); }
        .badge-green { background: #e8f5e9; color: #2e7d32; }
        .badge-blue { background: #e3f2fd; color: #1565c0; }
        .section-title { font-size: 1.4rem; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
        .deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; margin-bottom: 40px; }
        .deal-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
        .deal-card-premium { border: 1px solid #e8cc79; box-shadow: 0 14px 36px rgba(143, 107, 22, 0.16); }
        .deal-card-expired {
            filter: grayscale(1);
            opacity: 0.72;
            box-shadow: 0 10px 24px rgba(60, 66, 87, 0.1);
        }
        .deal-card-expired:hover { transform: none; }
        .deal-card-expired .deal-header,
        .deal-card-expired .deal-header-premium { background: #f3f4f7; }
        .deal-card-expired .btn-main,
        .deal-card-expired .btn-pink {
            background: linear-gradient(135deg, #a7afbf, #c5cad4);
            box-shadow: none;
        }
        .deal-header { padding: 15px 20px; border-bottom: 1px solid #f0f0f0; background: #fafafa; }
        .deal-header-premium { background: linear-gradient(135deg, #fffaf0, #f7edd0); }
        .deal-header-inner { display: flex; align-items: center; gap: 12px; }
        .deal-bank-logo { width: 48px; height: 48px; object-fit: contain; background: rgba(255,255,255,0.8); border-radius: 12px; padding: 6px; border: 1px solid rgba(0,0,0,0.05); }
        .deal-header h3 { color: var(--primary-blue); font-size: 1.3rem; }
        .premium-badge { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #8f6b16, #f4d57a); color: #3f2f06; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
        .deal-content { padding: 20px; flex-grow: 1; }
        .deal-tag { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
        .tag-promo { background: #4caf50; color: white; }
        .tag-exclusive { background: var(--primary-pink); color: white; }
        .deal-price { font-size: 2.6rem; font-weight: 800; text-align: right; margin: 8px 0; line-height: 1; }
        .deal-price span { font-size: 1.1rem; font-weight: 600; }
        .old-price { text-align: right; text-decoration: line-through; color: #bbb; font-size: 1.1rem; margin-bottom: -5px; }
        .deal-info { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }
        .timer { color: var(--primary-pink); font-weight: bold; }
        .deal-footer { padding: 20px; }
        .btn-main { width: 100%; padding: 14px; border: none; border-radius: 8px; background: linear-gradient(135deg, var(--primary-blue), #3f51b5); color: white; font-size: 1rem; font-weight: bold; cursor: pointer; transition: transform 0.1s, box-shadow 0.2s; box-shadow: 0 4px 10px rgba(26, 35, 126, 0.2); }
        .btn-pink { background: linear-gradient(45deg, var(--primary-pink), var(--accent-pink)); box-shadow: 0 4px 10px rgba(216, 27, 96, 0.2); }
        .btn-main:hover { box-shadow: 0 6px 15px rgba(26, 35, 126, 0.3); transform: translateY(-2px); }
        .btn-pink:hover { box-shadow: 0 6px 15px rgba(216, 27, 96, 0.3); }
        .search-empty { background: var(--white); padding: 24px; border-radius: var(--radius); text-align: center; color: var(--text-muted); box-shadow: var(--shadow); grid-column: 1 / -1; }
        @media (max-width: 900px) {
            .hero-shell { grid-template-columns: 1fr; gap: 26px; }
            .hero-copy { text-align: center; padding: 8px 0 0; }
            .hero-kicker { margin-left: auto; margin-right: auto; }
            .hero h1 { max-width: none; }
            .hero p { margin: 0 auto; }
            .hero-points { justify-content: center; }
            .hero-frame { max-width: 620px; margin: 0 auto; transform: none; }
            .hero-badge { left: 16px; bottom: 16px; }
        }
        @media (max-width: 768px) {
            .header-content { flex-direction: column; }
            .hero { padding: 28px 0 42px; }
            .hero-shell { padding: 18px; border-radius: 24px; }
            .hero h1 { font-size: 2.1rem; }
            .hero p { font-size: 1rem; }
            .hero-point { width: 100%; justify-content: center; }
        }
        @media (max-width: 540px) {
            .hero-badge {
                position: static;
                max-width: none;
                margin-top: 14px;
            }
            .hero-frame::before { display: none; }
        }
