/* Totogaming RO site-1 | CSS prefix: ttg- | Font: Nunito | Layout: dark theme, 16px radius, gradient hero */
/* Mobile-first | Breakpoints: 320, 768, 1024, 1440 */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', sans-serif; background: #111111; color: #F0F0F0; line-height: 1.65; padding-bottom: 68px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== CONTAINER ===== */
.ttg-container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.ttg-header { position: sticky; top: 0; z-index: 100; background: #0D0D0D; border-bottom: 2px solid #E8420A; }
.ttg-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.ttg-logo img { height: 36px; width: auto; }
.ttg-nav { display: none; list-style: none; gap: 4px; }
.ttg-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 8px; transition: all .2s; }
.ttg-nav a:hover { background: #E8420A; color: #fff; }
.ttg-header-cta { background: #E8420A; color: #fff; padding: 9px 22px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 14px; transition: background .2s; white-space: nowrap; box-shadow: 0 2px 10px rgba(232,66,10,.35); }
.ttg-header-cta:hover { background: #C73508; }
.ttg-burger { background: none; border: none; cursor: pointer; padding: 4px; display: flex; flex-direction: column; gap: 5px; }
.ttg-burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ===== PROMO BAR ===== */
.ttg-promo-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: linear-gradient(90deg, #E8420A, #C73508); color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
.ttg-promo-bar strong { font-size: 14px; font-weight: 800; }
.ttg-promo-bar a { background: #fff; color: #E8420A; padding: 7px 20px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 13px; white-space: nowrap; }
.ttg-promo-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; flex-shrink: 0; }

/* ===== HERO ===== */
.ttg-hero { background: linear-gradient(160deg, #1A0F08 0%, #111111 50%, #0D0D0D 100%); padding: 48px 16px; position: relative; overflow: hidden; }
.ttg-hero::before { content: ''; position: absolute; top: -40%; left: -10%; width: 60%; height: 180%; background: radial-gradient(ellipse, rgba(232,66,10,.15) 0%, transparent 70%); pointer-events: none; }
.ttg-hero-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.ttg-hero-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ttg-hero-dot { width: 10px; height: 10px; background: #E8420A; border-radius: 50%; flex-shrink: 0; }
.ttg-hero-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #E8420A; }
.ttg-hero h1 { font-size: 1.9rem; font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.ttg-hero h1 span { color: #E8420A; }
.ttg-hero-text p { color: rgba(255,255,255,.8); margin-bottom: 14px; }
.ttg-hero-img img { border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.6); width: 100%; }

/* ===== CTA BUTTON ===== */
.ttg-cta-btn { display: inline-block; background: #E8420A; color: #fff; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 1rem; transition: all .2s; box-shadow: 0 4px 20px rgba(232,66,10,.35); }
.ttg-cta-btn:hover { background: #C73508; transform: translateY(-1px); }

/* ===== TOC ===== */
.ttg-toc { background: #181818; border-top: 3px solid #E8420A; padding: 16px; }
.ttg-toc-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ttg-toc-title { font-size: 13px; font-weight: 800; text-transform: uppercase; color: #E8420A; letter-spacing: .05em; white-space: nowrap; }
.ttg-toc-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ttg-toc-nav a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; font-weight: 600; padding: 4px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; transition: all .2s; }
.ttg-toc-nav a:hover { border-color: #E8420A; color: #E8420A; }

/* ===== BLOCKS ===== */
.ttg-block { padding: 52px 16px; }
.ttg-block-accent { background: #181818; }
.ttg-block-dark { background: #0A0A0A; }
.ttg-block h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; }
.ttg-block h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.ttg-block p { margin-bottom: 14px; color: rgba(255,255,255,.85); }

/* ===== SPLIT LAYOUT ===== */
.ttg-layout-split { display: flex; flex-direction: column; gap: 28px; }
.ttg-layout-split-rev { flex-direction: column-reverse; }
.ttg-split-visual img { border-radius: 16px; width: 100%; box-shadow: 0 8px 32px rgba(0,0,0,.5); }

/* ===== SPORT BADGES ===== */
.ttg-sport-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ttg-sport-badge { display: flex; align-items: center; gap: 6px; background: rgba(232,66,10,.12); color: #E8420A; border: 1px solid rgba(232,66,10,.3); padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; transition: all .2s; }
.ttg-sport-badge:hover { background: rgba(232,66,10,.2); }

/* ===== STEPS GRID ===== */
.ttg-steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.ttg-step-box { background: #1E1E1E; border-radius: 16px; padding: 20px 20px 20px 22px; border-left: 4px solid #E8420A; box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.ttg-step-ico { display: block; font-size: 1.8rem; font-weight: 900; color: #E8420A; line-height: 1; margin-bottom: 8px; }
.ttg-step-box h3 { font-size: .95rem; font-weight: 800; margin-bottom: 4px; color: #fff; }
.ttg-step-box p { font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 0; }

/* ===== CATEGORY ROW ===== */
.ttg-cat-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
.ttg-cat-box { position: relative; border-radius: 16px; overflow: hidden; }
.ttg-cat-box img { width: 100%; height: 200px; object-fit: cover; }
.ttg-cat-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; padding: 20px 16px 12px; font-size: 1rem; font-weight: 800; }

/* ===== SUB SECTIONS ===== */
.ttg-sub { margin-top: 36px; }

/* ===== SLOTS MESH ===== */
.ttg-slots-mesh { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.ttg-slot-item { background: #1E1E1E; border-radius: 12px; overflow: hidden; text-align: center; transition: transform .2s; }
.ttg-slot-item:hover { transform: translateY(-3px); }
.ttg-slot-item img { width: 100%; height: 130px; object-fit: cover; }
.ttg-slot-item span { display: block; padding: 8px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.8); }

/* ===== QUAD GRID ===== */
.ttg-quad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.ttg-quad-item { background: #1E1E1E; border-radius: 12px; overflow: hidden; text-align: center; transition: transform .2s; }
.ttg-quad-item:hover { transform: translateY(-3px); }
.ttg-quad-item img { width: 100%; height: 160px; object-fit: cover; }
.ttg-quad-item span { display: block; padding: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }

/* ===== PAYMENTS ===== */
.ttg-payment-icons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 28px; align-items: center; }
.ttg-payment-icons img { height: 36px; max-width: 80px; background: #fff; padding: 4px 8px; border-radius: 6px; object-fit: contain; }
.ttg-tables-wrap { display: flex; flex-direction: column; gap: 24px; }
.ttg-table-col h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.ttg-info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ttg-info-table th { background: #E8420A; color: #fff; padding: 10px 14px; text-align: left; font-weight: 800; }
.ttg-info-table td { padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.ttg-info-table tr:nth-child(even) td { background: rgba(255,255,255,.04); }

/* ===== REQ LIST ===== */
.ttg-req-list { list-style: none; margin: 14px 0 20px; }
.ttg-req-list li { padding: 7px 0 7px 28px; position: relative; font-size: .95rem; color: rgba(255,255,255,.85); }
.ttg-req-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 14px; height: 14px; background: #E8420A; border-radius: 3px; }
.ttg-req-list li::after { content: '✓'; position: absolute; left: 2px; top: 10px; color: #fff; font-size: 9px; font-weight: 900; }

/* ===== BONUSES ===== */
.ttg-bonus-sec { margin-top: 36px; }
.ttg-bonus-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.ttg-bonus-card { background: #1E1E1E; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.4); transition: transform .2s; }
.ttg-bonus-card:hover { transform: translateY(-3px); }
.ttg-bonus-card img { width: 100%; height: 170px; object-fit: cover; }
.ttg-bonus-desc { padding: 16px; }
.ttg-bonus-desc h4 { font-size: 1rem; font-weight: 800; color: #E8420A; margin-bottom: 6px; }
.ttg-bonus-desc p { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 0; }
.ttg-single-offer { display: flex; flex-direction: column; margin-top: 16px; background: #1E1E1E; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.ttg-single-offer img { width: 100%; height: 200px; object-fit: cover; }
.ttg-offer-text { padding: 20px; }
.ttg-offer-text p { font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 16px; }

/* ===== EXPERT / AUTHOR ===== */
.ttg-expert-box { display: flex; flex-direction: column; gap: 16px; background: #1E1E1E; border-radius: 16px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.4); border-top: 4px solid #E8420A; }
.ttg-expert-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ttg-expert-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.ttg-expert-role { font-size: .9rem; color: #E8420A; margin-bottom: 8px; font-weight: 700; }

/* ===== FAQ ===== */
.ttg-faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.ttg-faq-entry { background: #1A1A1A; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.ttg-faq-trigger { width: 100%; background: none; border: none; cursor: pointer; padding: 16px 20px; text-align: left; font-size: .95rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #F0F0F0; font-family: 'Nunito', sans-serif; transition: background .2s; }
.ttg-faq-trigger:hover { background: rgba(232,66,10,.08); }
.ttg-faq-trigger[aria-expanded="true"] { color: #E8420A; }
.ttg-faq-trigger svg { flex-shrink: 0; transition: transform .3s; }
.ttg-faq-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.ttg-faq-answer { padding: 0 20px 16px; }
.ttg-faq-answer p { font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 0; }

/* ===== FOOTER ===== */
.ttg-footer { background: #080808; color: #fff; padding: 40px 16px 24px; border-top: 2px solid #E8420A; }
.ttg-footer-grid { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.ttg-footer-logo { filter: brightness(10); margin-bottom: 10px; }
.ttg-footer-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }
.ttg-footer-menu { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ttg-footer-menu a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s; }
.ttg-footer-menu a:hover { color: #E8420A; }
.ttg-footer-lic { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; margin-bottom: 16px; }
.ttg-footer-lic p { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.7; }
.ttg-footer-bottom p { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.ttg-footer-copy { color: rgba(255,255,255,.3) !important; font-size: 11px !important; }

/* ===== BREAKPOINT: 768px ===== */
@media (min-width: 768px) {
  .ttg-hero { padding: 64px 20px; }
  .ttg-hero-inner { flex-direction: row; align-items: center; gap: 48px; }
  .ttg-hero h1 { font-size: 2.4rem; }
  .ttg-hero-text, .ttg-hero-img { flex: 1; }

  .ttg-nav { display: flex; }
  .ttg-burger { display: none; }

  .ttg-layout-split { flex-direction: row; align-items: center; gap: 48px; }
  .ttg-layout-split-rev { flex-direction: row; }
  .ttg-split-content, .ttg-split-visual { flex: 1; }

  .ttg-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ttg-cat-row { grid-template-columns: repeat(3, 1fr); }
  .ttg-slots-mesh { grid-template-columns: repeat(4, 1fr); }
  .ttg-quad-grid { grid-template-columns: repeat(4, 1fr); }
  .ttg-bonus-cards { grid-template-columns: repeat(3, 1fr); }
  .ttg-single-offer { flex-direction: row; }
  .ttg-single-offer img { width: 320px; height: auto; flex-shrink: 0; }

  .ttg-expert-box { flex-direction: row; align-items: flex-start; }
  .ttg-tables-wrap { flex-direction: row; gap: 32px; }
  .ttg-table-col { flex: 1; }
  .ttg-footer-grid { flex-direction: row; justify-content: space-between; }
  .ttg-footer-menu { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
}

/* ===== BREAKPOINT: 1024px ===== */
@media (min-width: 1024px) {
  .ttg-block { padding: 64px 20px; }
  .ttg-hero { padding: 80px 20px; }
  .ttg-hero h1 { font-size: 2.9rem; }
  .ttg-block h2 { font-size: 1.9rem; }
  .ttg-steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== BREAKPOINT: 1440px ===== */
@media (min-width: 1440px) {
  .ttg-container { max-width: 1360px; }
  .ttg-hero h1 { font-size: 3.2rem; }
  .ttg-block h2 { font-size: 2.1rem; }
  .ttg-slots-mesh { grid-template-columns: repeat(6, 1fr); }
  .ttg-steps-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ===== MOBILE MENU ===== */
@media (max-width: 767px) {
  .ttg-nav { position: fixed; top: 64px; left: 0; right: 0; background: #0D0D0D; border-top: 2px solid #E8420A; flex-direction: column; padding: 12px 16px; gap: 4px; z-index: 99; box-shadow: 0 6px 16px rgba(0,0,0,.5); }
  .ttg-nav.ttg-nav-open { display: flex; }
  .ttg-nav a { padding: 10px 16px; font-size: 15px; border-radius: 8px; }
}
