/*
Theme Name: GeneratePress Child — Casino Landing
Theme URI: https://example.com/
Description: Child-тема для уникального лендинга «Casino uden ROFUS».
Author: Your Name
Author URI: https://example.com/
Template: generatepress
Version: 1.0.0
Text Domain: gp-child-casino
*/

:root {
  --container-max: 1160px;
  --radius-xxl: 24px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;

  --bg-page: linear-gradient(180deg, #f7f9fc 0%, #ffffff 60%, #f8fafc 100%);
  --bg-card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 14px 40px rgba(15, 23, 42, .14);

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;

  --brand-1: #2563eb;
  --brand-2: #7c3aed;
  --brand-3: #0ea5e9;
  --brand-4: #10b981;
  --brand-5: #f59e0b;
  --brand-6: #ef4444;
  --brand-7: #14b8a6;
  --brand-8: #a855f7;

  --muted-1: #eef2ff;
  --muted-2: #f0f9ff;
  --muted-3: #ecfeff;
  --muted-4: #ecfdf5;
  --muted-5: #fff7ed;
  --muted-6: #fef2f2;

  --ring: 2px solid rgba(37, 99, 235, .2);
}

/* ===== ROFUS HEADER ===== */
.rofus-header{
  position: sticky; top: 0; z-index: 9999;
  backdrop-filter: saturate(120%) blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.78));
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.rofus-header__inner{
  width: min(var(--container-max, 1200px), 94vw);
  margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(10px, 2vw, 16px);
}

/* Logo */
.rofus-logo{
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.rofus-logo img{
  width: 36px; height: 36px; border-radius: 10px;
  background: #0b1220;
  box-shadow: 0 4px 10px rgba(2,6,23,.15), inset 0 0 0 1px rgba(255,255,255,.06);
}
.rofus-logo span{
  font-weight: 800; letter-spacing: -.01em;
  color: var(--ink-900, #0f172a);
}

/* Nav */
.rofus-nav{ margin-left: auto; }
.rofus-nav__list{
  display: flex; align-items: center; gap: clamp(8px, 1.6vw, 14px);
  list-style: none; margin: 0; padding: 0;
}
.rofus-nav__item{ position: relative; }

/* Big pill link */
.rofus-pill{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-weight: 700; text-decoration: none;
  color: var(--ink-900, #0f172a);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  box-shadow: var(--shadow-sm, 0 6px 16px rgba(2,132,199,.08));
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rofus-pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37,99,235,.12);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

/* Dropdown */
.has-dropdown:hover > .rofus-dropdown{ opacity: 1; visibility: visible; transform: translateY(0); }
.rofus-dropdown{
  position: absolute; left: 0; top: calc(100% + 10px);
  min-width: 320px; padding: 10px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(2,6,23,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.rofus-dropdown a{
  display: block; text-decoration: none;
  padding: 10px 12px; margin: 2px 0;
  color: var(--ink-700, #334155); font-weight: 600; border-radius: 10px;
}
.rofus-dropdown a:hover{
  background: linear-gradient(180deg, #f5f9ff, #eef4ff);
  color: var(--ink-900, #0f172a);
  box-shadow: inset 0 -2px 0 rgba(37,99,235,.10);
}

/* Mobile */
.rofus-nav__toggle{
  display: none; margin-left: auto;
  border: 1px solid rgba(15,23,42,.08); background: #fff;
  border-radius: 12px; padding: 10px 12px; font-weight: 700; color: #0f172a;
}
.rofus-nav__bar{ display:block; width:18px; height:2px; background:#0f172a; margin:3px 0; border-radius:2px; }

@media (max-width: 980px){
  .rofus-nav__toggle{ display: inline-flex; align-items:center; gap:8px; }
  .rofus-nav{ position: fixed; inset: 64px 0 auto 0; background: rgba(255,255,255,.98);
              border-bottom:1px solid rgba(15,23,42,.06); transform: translateY(-120%); transition: transform .2s ease; }
  .rofus-nav.is-open{ transform: translateY(0); }
  .rofus-nav__list{ flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 12px 18px; }
  .rofus-pill{ width: 100%; justify-content: space-between; }
  .rofus-dropdown{ position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 12px; margin-top: 8px; }
}

/* Small polish so header mates with existing landing style */
body.landing-casino .rofus-header{
  background: linear-gradient(180deg, rgba(248,250,252,.92), rgba(255,255,255,.82));
}

/* ===== Footer (ROFUS) ===== */
body.landing-casino .rofus-footer{ display:block !important; }

.rofus-footer{
  margin-top: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(59,130,246,.15), transparent 60%),
    radial-gradient(700px 280px at 0% 100%, rgba(124,58,237,.12), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0d1324 100%);
  color: #e6ecff;
  border-top: 1px solid rgba(148,163,184,.15);
}

.rofus-footer a{ color: #cbd5ff; text-decoration: underline; text-underline-offset: 3px; }
.rofus-footer a:hover{ color: #ffffff; }

.rofus-footer__inner{
  width: min(var(--container-max, 1200px), 92vw);
  margin-inline: auto;
  padding: clamp(22px, 3.2vw, 36px);
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: clamp(16px, 3vw, 32px);
}

@media (max-width: 980px){
  .rofus-footer__inner{ grid-template-columns: 1fr; }
}

.rofus-footer h3, .rofus-footer h4{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #ffffff;
}

.rofus-footer__brand p{ margin: 6px 0 10px; color: #c8d0e4; }
.rofus-footer__email a{
  background: rgba(99, 102, 241, .18);
  border: 1px solid rgba(99,102,241,.35);
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,.15));
  text-decoration: none;
}

.rofus-footer__nav h4{ font-size: 16px; }
.rofus-footer__nav ul{ list-style: none; margin: 0; padding: 0; }
.rofus-footer__nav li{ margin: 8px 0; }
.rofus-footer__nav a{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.18);
  text-decoration: none;
}

.rofus-footer__nav a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(148,163,184,.35);
}

.rofus-footer__rg{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
}
.rofus-footer__rg h4{ font-size: 16px; margin-top: 2px; }
.rofus-footer__rg p{ margin: 0; color: #c8d0e4; }

.rofus-footer__rg .rg-badge{
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--brand-6, #ef4444), #b91c1c);
  box-shadow: 0 10px 20px rgba(239,68,68,.25);
}

.rofus-footer__bar{
  border-top: 1px solid rgba(148,163,184,.15);
  background: rgba(255,255,255,.02);
}
.rofus-footer__bar p{
  width: min(var(--container-max, 1200px), 92vw);
  margin: 0 auto;
  padding: 12px 0 14px;
  color: #b8c1d9;
  font-size: 14px;
}

/* === AUTHOR BIO — контейнер выровнен как у секций === */
body.landing-casino .landing-article > #author-bio{
  box-sizing: border-box;

  /* Ключевые 3 строки — возвращают нормальное центрирование секции */
  max-width: var(--content-width, 1120px) !important; /* подставь своё, если другое */
  margin-inline: auto !important;                     /* центрируем как все блоки */
  padding-inline: var(--page-gutter, 24px) !important;/* тот же внутренний отступ */

  margin-top: 14px;
  padding-block: clamp(18px, 2.6vw, 24px);
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(2,132,199,.08);
  position: relative;
  overflow: hidden;
}

/* Если сразу после FAQ — плотнее сверху */
body.landing-casino .landing-article #faq + #author-bio{
  margin-top: 10px !important;
}

/* === Внутренности === */
body.landing-casino .landing-article #author-bio .author-inner{
  display: flex;
  gap: 18px;
  align-items: center;
}

body.landing-casino .landing-article #author-bio .author-photo img{
  width: 88px; height: 88px;
  border-radius: 18px; object-fit: cover;
  background: #0b1220;
  box-shadow: 0 8px 20px rgba(2,132,199,.15);
}

body.landing-casino .landing-article #author-bio .author-text{ flex: 1; min-width: 0; }
body.landing-casino .landing-article #author-bio .author-name{ margin:0 0 4px; font-weight:800; font-size:20px; color:var(--ink-900,#0f172a); }
body.landing-casino .landing-article #author-bio .author-role{ margin:0 0 8px; color:var(--ink-700,#334155); font-weight:600; }
body.landing-casino .landing-article #author-bio .author-desc{ margin:0 0 12px; color:var(--ink-600,#475569); }

body.landing-casino .landing-article #author-bio .author-meta{
  display:flex; gap:8px; flex-wrap:wrap;
}
body.landing-casino .landing-article #author-bio .chip{
  display:inline-block; padding:6px 12px;
  border-radius:999px; font-size:.9rem; font-weight:600; line-height:1;
  white-space:nowrap;
}
body.landing-casino .landing-article #author-bio .chip-updated{
  background: linear-gradient(180deg,#f9fbff,#eef5ff);
  border:1px solid rgba(37,99,235,.2);
  color:#1e293b;
}
body.landing-casino .landing-article #author-bio .chip-contact{
  background: linear-gradient(180deg,#eef6ff,#e0e7ff);
  border:1px solid rgba(37,99,235,.25);
  color:#2563eb; text-decoration:none;
}
body.landing-casino .landing-article #author-bio .chip-contact:hover{
  background: linear-gradient(180deg,#e0e7ff,#dbeafe);
  border-color: rgba(37,99,235,.4);
}

/* === Мобилка === */
@media (max-width: 600px){
  body.landing-casino .landing-article #author-bio .author-inner{
    flex-direction:column; align-items:flex-start;
  }
  body.landing-casino .landing-article #author-bio .author-photo img{
    width:74px; height:74px;
  }
}

