
/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #FAF4E1; color: #2C2C2C; line-height: 1.7;
    min-height: 100vh; display: flex; flex-direction: column;
}
a { color: #C84B31; text-decoration: none; transition: color .2s; }
a:hover { color: #F4A261; }
img { max-width: 100%; height: auto; display: block; }

/* === NAV === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #2D4221; color: #FAF4E1;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 64px;
}
.nav-logo { font-size: 1.4rem; font-weight: 800; color: #F4A261; letter-spacing: 1px; }
.nav-logo span { color: #FAF4E1; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #FAF4E1; font-weight: 500; font-size: .95rem; padding: 6px 0; position: relative; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: #F4A261; transition: width .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: #F4A261; }
.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span {
    display: block; width: 26px; height: 3px; background: #FAF4E1;
    border-radius: 2px; transition: transform .3s, opacity .3s;
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 64px; right: -100%; width: 260px; height: calc(100vh - 64px);
        background: #2D4221; flex-direction: column; gap: 0;
        padding: 16px 0; transition: right .35s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,.3);
    }
    .nav-links.open { right: 0; }
    .nav-links a { padding: 14px 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
main { flex: 1; margin-top: 64px; }

/* === HERO === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero {
    position: relative; overflow: hidden;
    color: #FAF4E1; padding: 72px 24px 72px; text-align: center;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(45, 66, 33, 0.8), rgba(45, 66, 33, 0.95)); z-index: 2;
}
.hero .container { position: relative; z-index: 3; }
.hero .container > * { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; animation-delay: 0.1s; }
.hero h1 span { color: #F4A261; }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto; opacity: .92; line-height: 1.8; animation-delay: 0.3s; }
.hero-btn { display: inline-block; padding: 14px 32px; background: #C84B31; color: #fff; font-size: 1.1rem; font-weight: 700; border-radius: 30px; margin-top: 24px; text-decoration: none; transition: transform 0.2s, background 0.2s; box-shadow: 0 4px 12px rgba(200, 75, 49, 0.4); animation-delay: 0.5s; }
.hero-btn:hover { transform: translateY(-2px); background: #a63d27; color: #fff; }
@media (max-width: 600px) {
    .hero { padding: 48px 16px 56px; }
    .hero h1 { font-size: 1.8rem; }
}

/* === FILTERS === */
.filter-bar {
    background: #fff; border-radius: 12px; padding: 20px 24px;
    margin: -28px auto 32px; max-width: 1280px; position: relative; z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.filter-bar label { font-weight: 600; font-size: .85rem; color: #2D4221; }
.filter-bar select, .filter-bar input[type="text"] {
    padding: 10px 14px; border: 2px solid #e6dcc6; border-radius: 8px;
    background: #FAF4E1; font-size: .92rem; color: #2C2C2C;
    transition: border-color .2s; outline: none; min-width: 150px;
}
.filter-bar select:focus, .filter-bar input[type="text"]:focus { border-color: #C84B31; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 600px) {
    .filter-bar { margin: -20px 12px 24px; padding: 16px; }
    .filter-group { width: 100%; }
    .filter-bar select, .filter-bar input[type="text"] { width: 100%; min-width: 0; }
}

/* === SLOT GRID === */
.slot-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px; margin-bottom: 40px;
}
.slot-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.slot-card:hover {
    transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.slot-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #e6dcc6; }
.slot-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.slot-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #2C2C2C; }
.slot-card-title a { color: inherit; }
.slot-card-title a:hover { color: #C84B31; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.badge-provider { background: #2D4221; color: #FAF4E1; }
.badge-rtp { background: #F4A261; color: #2C2C2C; }
.badge-vol-LOW { background: #a8d8a8; color: #1a3a1a; }
.badge-vol-LOW-MED { background: #c4e0a4; color: #2a4a1a; }
.badge-vol-MED { background: #F4E285; color: #5a4800; }
.badge-vol-MED-HIGH { background: #f4c084; color: #5a3000; }
.badge-vol-HIGH { background: #e88080; color: #4a0000; }

/* === NO RESULTS === */
.no-results { display: none; text-align: center; padding: 60px 20px; color: #888; font-size: 1.1rem; }
.no-results.visible { display: block; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px 0 48px; flex-wrap: wrap; }
.pagination button {
    background: #fff; border: 2px solid #e6dcc6; border-radius: 8px;
    padding: 10px 18px; font-size: .92rem; font-weight: 600;
    color: #2C2C2C; cursor: pointer; transition: all .2s;
}
.pagination button:hover { border-color: #C84B31; color: #C84B31; }
.pagination button.active { background: #C84B31; color: #fff; border-color: #C84B31; }
.pagination button:disabled { opacity: .4; cursor: default; }

/* === SEO SECTION === */
.seo-section {
    background: #fff; border-radius: 14px; padding: 40px 36px;
    margin: 20px auto 48px; max-width: 1280px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.seo-section h2 { color: #2D4221; font-size: 1.6rem; margin-bottom: 18px; text-align: center; }
.seo-section h3 { color: #C84B31; font-size: 1.2rem; margin: 24px 0 10px; }
.seo-section p { margin-bottom: 14px; line-height: 1.8; }

/* === OFFERS TABLE === */
.offers-section {
    background: #fff; border-radius: 14px; padding: 32px; margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.offers-section h2 { color: #2D4221; font-size: 1.4rem; margin-bottom: 8px; }
.offers-section > p { color: #666; margin-bottom: 20px; font-size: .95rem; }
.offers-table { display: flex; flex-direction: column; gap: 12px; }
.offer-row {
    display: flex; align-items: center; gap: 16px;
    background: #FAF4E1; border-radius: 10px; padding: 16px 20px;
    border: 2px solid #e6dcc6; transition: border-color .2s;
}
.offer-row:hover { border-color: #F4A261; }
.offer-rank {
    width: 100px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.offer-rank img {
    max-width: 100%; height: auto; max-height: 40px;
}
.offer-info { flex: 1; }
.offer-name { font-weight: 700; font-size: 1.05rem; color: #2D4221; }
.offer-bonus { font-size: 1rem; color: #C84B31; font-weight: 800; margin-top: 6px; display: inline-block; background: #fff; padding: 4px 10px; border-radius: 6px; border: 1px dashed #C84B31; box-shadow: 0 2px 4px rgba(200,75,49,.1); }
.btn-offer {
    display: inline-block; padding: 10px 24px; background: #C84B31; color: #fff;
    border-radius: 8px; font-weight: 700; font-size: .9rem; transition: background .2s;
    white-space: nowrap;
}
.btn-offer:hover { background: #a63d27; color: #fff; }
@media (max-width: 600px) {
    .offer-row { flex-wrap: wrap; }
    .offer-cta { width: 100%; }
    .btn-offer { width: 100%; text-align: center; }
}

/* === DETAIL PAGE === */
.breadcrumb { padding: 20px 0 10px; font-size: .9rem; color: #888; }
.breadcrumb a { color: #C84B31; }
.breadcrumb span { margin: 0 6px; }
.detail-header { margin-bottom: 24px; text-align: center; }
.detail-header h1 { font-size: 2.2rem; font-weight: 800; color: #2D4221; }
.slot-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.detail-img { width: 100%; border-radius: 12px; height: auto; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.specs-table-wrapper { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td { padding: 14px 20px; border-bottom: 1px solid #eee; text-align: left; }
.specs-table th { background: #C84B31; color: #fff; font-weight: 700; width: 40%; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.article-content { line-height: 1.7; color: #444; font-size: 1.05rem; }
.article-content h2 { color: #2D4221; margin: 32px 0 16px; font-size: 1.6rem; }
.article-content h3 { color: #3a5a2c; margin: 24px 0 12px; font-size: 1.3rem; }
.article-content p { margin-bottom: 16px; }
.btn-back {
    display: inline-block; padding: 12px 28px; background: #C84B31; color: #fff;
    border-radius: 8px; font-weight: 600; font-size: .95rem; transition: background .2s; margin-bottom: 40px;
}
.btn-back:hover { background: #a63d27; color: #fff; }
@media (max-width: 600px) {
    .slot-info-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* === STATIC PAGES === */
.page-hero {
    background: linear-gradient(135deg, #2D4221 0%, #3a5a2c 100%);
    color: #FAF4E1; padding: 64px 24px 48px; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; }
.page-content {
    background: #fff; border-radius: 14px; padding: 40px;
    margin: 32px auto 48px; max-width: 900px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); line-height: 1.85;
}
.page-content h2 { color: #2D4221; font-size: 1.5rem; margin: 28px 0 12px; }
.page-content h3 { color: #C84B31; font-size: 1.15rem; margin: 20px 0 8px; }
.page-content p { margin-bottom: 14px; }
.page-content ul { margin: 10px 0 16px 24px; }
.page-content li { margin-bottom: 8px; }
.hotline-box {
    background: #FFF3E0; border-left: 4px solid #F4A261; padding: 20px 24px;
    border-radius: 8px; margin: 20px 0;
}
.hotline-box strong { color: #C84B31; }
.warning-box {
    background: #FBE9E7; border-left: 4px solid #C84B31; padding: 20px 24px;
    border-radius: 8px; margin: 20px 0; font-weight: 600;
}
@media (max-width: 600px) {
    .page-content { padding: 24px 20px; margin: 20px 12px 36px; }
}

/* === FOOTER === */
.footer {
    background: #2D4221; color: #c0d4b0; padding: 40px 24px 24px; margin-top: auto;
}
.footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.footer h4 { color: #F4A261; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #c0d4b0; display: block; padding: 4px 0; font-size: .9rem; }
.footer a:hover { color: #F4A261; }
.footer-bottom {
    max-width: 1280px; margin: 28px auto 0;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
    text-align: center; font-size: .85rem;
}
.footer-warning {
    background: rgba(200,75,49,.15); border-radius: 8px;
    padding: 12px 20px; margin-bottom: 12px; font-weight: 600;
    color: #F4A261; display: inline-block;
}
