/* Mega Casino ES – Site 2 | Prefix: intro-block / main-header / container */
/* Font: Oswald + Open Sans | Theme: Dark Purple-Gold */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    background: #121212;
    color: #e8e8e8;
    line-height: 1.65;
    padding-bottom: 64px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #C9A227; text-decoration: none; }

.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.action-btn {
    display: inline-block;
    background: #C9A227;
    color: #111;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .5px;
    padding: 12px 32px;
    border-radius: 3px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.action-btn:hover { background: #D4AF37; transform: translateY(-2px); }

.outline-btn {
    display: inline-block;
    border: 2px solid #C9A227;
    color: #C9A227;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 9px 24px;
    border-radius: 3px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.outline-btn:hover { background: #C9A227; color: #111; }

/* Promo bar */
.sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #C9A227; color: #111; z-index: 9999;
    padding: 11px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-weight: 700; font-size: 13px;
}
.sticky-bar a {
    background: #111; color: #C9A227;
    padding: 7px 18px; border-radius: 3px;
    text-decoration: none; font-weight: 800; font-size: 13px; white-space: nowrap;
}
.close-bar { cursor: pointer; background: none; border: none; font-size: 18px; color: #111; }

/* Header */
.main-header { position: sticky; top: 0; background: #0e0e0e; border-bottom: 2px solid #C9A227; z-index: 999; }
.main-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.logo-link img { height: 40px; width: auto; }
.site-nav ul { display: flex; gap: 24px; list-style: none; }
.site-nav a { color: #bbb; text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .5px; transition: color .2s; }
.site-nav a:hover { color: #C9A227; }
.header-btn a {
    background: #C9A227; color: #111;
    padding: 8px 20px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px;
    border-radius: 3px; text-decoration: none; transition: background .2s;
}
.header-btn a:hover { background: #D4AF37; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #C9A227; }

/* TOC */
.quick-nav { background: #1a1a1a; border-bottom: 1px solid #2a2a2a; padding: 9px 0; overflow-x: auto; }
.quick-links { display: flex; gap: 4px; list-style: none; white-space: nowrap; }
.quick-links a { display: inline-block; color: #999; font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 2px; transition: background .2s, color .2s; text-decoration: none; }
.quick-links a:hover { background: #C9A227; color: #111; }

/* Hero / intro */
.intro-block { padding: 64px 0; background: linear-gradient(135deg, #121212 0%, #1c1c1c 100%); }
.intro-block__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.intro-block__media img { border-radius: 6px; box-shadow: 0 10px 48px rgba(0,0,0,.7); }
.intro-block__copy h1 { font-family: 'Oswald', sans-serif; font-size: 40px; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.intro-block__copy p { font-size: 15px; color: #bbb; margin-bottom: 28px; }

/* Process */
.process-block { padding: 64px 0; background: #0f0f0f; }
.process-block h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 14px; }
.process-block > .container > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 36px; }
.process-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.process-step { display: flex; align-items: flex-start; gap: 18px; background: #1a1a1a; border-radius: 6px; padding: 18px 22px; border: 1px solid #2a2a2a; transition: border-color .2s; }
.process-step:hover { border-color: #C9A227; }
.ps-icon { min-width: 38px; height: 38px; background: #C9A227; color: #111; font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 3px; flex-shrink: 0; }
.ps-content strong { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ps-content p { font-size: 13px; color: #999; }

/* Games hub */
.games-hub { padding: 64px 0; background: #121212; }
.games-hub h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 12px; }
.games-hub > .container > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 32px; }
.categories-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 52px; }
.cat-tile { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; transition: border-color .2s, transform .2s; }
.cat-tile:hover { border-color: #C9A227; transform: translateY(-4px); }
.cat-tile img { width: 100%; height: 170px; object-fit: cover; }
.cat-tile h3 { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; color: #fff; padding: 12px 14px 4px; }
.cat-tile p { font-size: 13px; color: #888; padding: 0 14px 14px; }

.game-group { margin-top: 52px; }
.game-group h3 { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600; color: #D4AF37; margin-bottom: 10px; }
.game-group > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 22px; }

.slots-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot-tile { background: #1a1a1a; border-radius: 6px; overflow: hidden; border: 1px solid #242424; transition: border-color .2s; }
.slot-tile:hover { border-color: #C9A227; }
.slot-tile img { width: 100%; height: 100px; object-fit: cover; }
.slot-tile p { font-size: 11px; color: #ccc; font-weight: 600; text-align: center; padding: 6px 4px; }

.live-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.live-tile { background: #151515; border: 1px solid #242424; border-radius: 8px; overflow: hidden; transition: border-color .2s, transform .2s; text-align: center; }
.live-tile:hover { border-color: #C9A227; transform: translateY(-3px); }
.live-tile img { width: 100%; height: 135px; object-fit: cover; }
.live-tile span { display: block; font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600; color: #ddd; padding: 8px; }

/* Signup */
.signup-block { padding: 64px 0; background: #0f0f0f; }
.signup-block__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.signup-block__shot img { border-radius: 8px; box-shadow: 0 8px 36px rgba(0,0,0,.6); }
.signup-block__copy h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 16px; }
.signup-block__copy p { font-size: 14px; color: #bbb; margin-bottom: 14px; }
.signup-block__copy .action-btn { margin-top: 10px; }

/* Payments */
.pay-block { padding: 64px 0; background: #121212; }
.pay-block h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 12px; }
.pay-block > .container > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 24px; }
.pay-icons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.pay-icons img { height: 36px; max-width: 80px; background: #fff; padding: 4px 8px; border-radius: 6px; object-fit: contain; }
.bizum-badge { display: inline-flex; align-items: center; height: 36px; background: #fff; color: #111; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 6px; }
.pay-tables-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pay-col h3 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; color: #D4AF37; margin-bottom: 10px; }
.pay-col > p { font-size: 13px; color: #aaa; margin-bottom: 14px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: #1a1a1a; color: #C9A227; font-weight: 700; padding: 9px 12px; text-align: left; border-bottom: 2px solid #C9A227; }
.data-table td { padding: 9px 12px; border-bottom: 1px solid #222222; color: #ddd; }
.data-table tr:hover td { background: #1a1a1a; }

/* Guide */
.guide-block { padding: 64px 0; background: #0f0f0f; }
.guide-block h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 12px; }
.guide-block > .container > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 28px; }
.guide-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.guide-item { display: flex; gap: 18px; align-items: flex-start; background: #1a1a1a; border-radius: 6px; padding: 16px 20px; border-left: 4px solid #C9A227; }
.gi-num { font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 700; color: #C9A227; min-width: 40px; line-height: 1.2; }
.gi-body { font-size: 14px; color: #bbb; line-height: 1.6; }
.gi-body strong { color: #fff; }

/* Promos / bonuses */
.promo-block { padding: 64px 0; background: #121212; }
.promo-block h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 12px; }
.promo-block > .container > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 36px; }
.promo-group { margin-top: 44px; }
.promo-group h3 { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; color: #D4AF37; margin-bottom: 10px; }
.promo-group > p { font-size: 14px; color: #aaa; max-width: 700px; margin-bottom: 20px; }
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promo-item { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; transition: border-color .2s, transform .2s; }
.promo-item:hover { border-color: #C9A227; transform: translateY(-3px); }
.promo-item img { width: 100%; height: 130px; object-fit: cover; }
.promo-item__text { padding: 12px 14px; }
.promo-item__text strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.promo-item__text p { font-size: 12px; color: #999; }

.flat-promo { display: flex; align-items: center; gap: 24px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; padding: 20px; }
.flat-promo img { border-radius: 6px; flex-shrink: 0; max-width: 260px; }
.flat-promo__info strong { display: block; font-size: 18px; font-family: 'Oswald', sans-serif; font-weight: 600; color: #fff; margin-bottom: 8px; }
.flat-promo__info p { font-size: 13px; color: #aaa; margin-bottom: 16px; }

/* Strategy */
.strategy-block { padding: 64px 0; background: #0f0f0f; }
.strategy-block h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 12px; }
.strategy-block > .container > p { color: #aaa; font-size: 14px; max-width: 760px; margin-bottom: 28px; }
.strategy-list { display: flex; flex-direction: column; gap: 12px; }
.strategy-item { display: flex; gap: 14px; align-items: flex-start; background: #1a1a1a; border-radius: 6px; padding: 14px 18px; border: 1px solid #222222; transition: border-color .2s; }
.strategy-item:hover { border-color: #C9A227; }
.si-marker { flex-shrink: 0; padding-top: 2px; }
.si-text { font-size: 14px; color: #bbb; line-height: 1.6; }
.si-text strong { color: #fff; }

/* FAQ */
.qa-section { padding: 64px 0; background: #121212; }
.qa-section h2 { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: #C9A227; margin-bottom: 26px; }
.qa-list { display: flex; flex-direction: column; gap: 8px; max-width: 840px; }
.qa-item { background: #1a1a1a; border: 1px solid #242424; border-radius: 6px; overflow: hidden; transition: border-color .2s; }
.qa-item[open] { border-color: #C9A227; }
.qa-item summary { cursor: pointer; padding: 15px 18px; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary h3 { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin: 0; }
.qa-item summary::after { content: '+'; font-size: 20px; color: #C9A227; font-weight: 700; }
.qa-item[open] summary::after { content: '−'; }
.qa-item p { padding: 0 18px 14px; font-size: 13px; color: #999; line-height: 1.65; }

/* Author */
.byline-section { padding: 36px 0; background: #0f0f0f; border-top: 1px solid #222222; }
.byline-card { display: flex; align-items: center; gap: 18px; }
.byline-card img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2px solid #C9A227; flex-shrink: 0; }
.byline-text strong { display: block; font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.byline-text span { font-size: 13px; color: #888; }

/* Footer */
.page-footer { background: #090909; border-top: 2px solid #C9A227; padding: 32px 0; }
.footer-wrap { display: flex; gap: 32px; align-items: flex-start; }
.footer-logo { flex-shrink: 0; }
.footer-text p { font-size: 12px; color: #555; margin-bottom: 6px; line-height: 1.5; }
.footer-text strong { color: #C9A227; }

/* Responsive */
@media (max-width: 767px) {
    .site-nav { display: none; }
    .site-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: #0e0e0e; padding: 16px 24px; border-top: 1px solid #2a2a2a; }
    .site-nav.open ul { flex-direction: column; gap: 12px; }
    .nav-toggle { display: flex; }
    .header-btn { display: none; }
    .intro-block { padding: 36px 0; }
    .intro-block__layout { grid-template-columns: 1fr; }
    .intro-block__media { display: none; }
    .intro-block__copy h1 { font-size: 28px; }
    .categories-row { grid-template-columns: 1fr; }
    .slots-mosaic { grid-template-columns: repeat(2, 1fr); }
    .live-row { grid-template-columns: repeat(2, 1fr); }
    .signup-block__layout { grid-template-columns: 1fr; }
    .signup-block__shot { display: none; }
    .pay-tables-wrap { grid-template-columns: 1fr; }
    .promo-row { grid-template-columns: 1fr; }
    .flat-promo { flex-direction: column; }
    .flat-promo img { max-width: 100%; }
    .footer-wrap { flex-direction: column; }
    .byline-card { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .categories-row { grid-template-columns: repeat(2, 1fr); }
    .slots-mosaic { grid-template-columns: repeat(3, 1fr); }
    .live-row { grid-template-columns: repeat(2, 1fr); }
    .promo-row { grid-template-columns: repeat(2, 1fr); }
    .intro-block__copy h1 { font-size: 30px; }
}
@media (min-width: 1024px) {
    .intro-block__copy h1 { font-size: 38px; }
}
@media (min-width: 1440px) {
    .intro-block__copy h1 { font-size: 44px; }
}
