/*
Theme Name: 7700bet Editorial
Theme URI: https://7700bet.bond/
Author: 7700bet Editorial
Description: Tema editorial independente em português do Brasil sobre a marca 7700bet.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bet7700
*/

:root {
  --bg: #105917;
  --header: #0c4306;
  --nav: #148400;
  --deep: #0a4710;
  --panel: #f5f9ef;
  --panel-soft: #eaf4df;
  --ink: #153218;
  --white: #fff;
  --muted: #d5e8c4;
  --lime: #e9ff19;
  --green: #5cf10f;
  --orange: #ff6d2d;
  --aqua: #09eaa1;
  --border: #4fba34;
  --focus: #f4ff76;
  --shadow: 0 20px 45px rgba(0, 0, 0, .28);
  --wide: 1040px;
  --reading: 820px;
  --radius: 10px;
  --hero-radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--white); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button, input, textarea { font: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { transform: none; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-shell { width: min(calc(100% - 32px), var(--wide)); margin-inline: auto; }
.site-header { background: var(--header); border-bottom: 1px solid rgba(233,255,25,.24); }
.brand-row { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}
.brand-logo img { width: clamp(220px, 28vw, 300px); height: auto; }
.site-tagline { max-width: 370px; margin: 0; color: var(--muted); font-size: .94rem; text-align: right; }
.nav-bar { background: var(--nav); }
.primary-nav ul { display: flex; justify-content: center; gap: clamp(20px, 3vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: flex; min-height: 50px; align-items: center; color: var(--white); font-size: .94rem; font-weight: 800; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--lime); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--white); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; content: ""; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
main { min-height: 55vh; }
.home-main { padding: 30px 0 64px; }
.hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(233,255,25,.25);
  border-radius: var(--hero-radius);
  background: var(--deep);
  box-shadow: var(--shadow);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,36,7,.96) 0%, rgba(3,36,7,.78) 44%, rgba(3,36,7,.1) 78%); content: ""; }
.hero-copy { position: relative; z-index: 1; width: min(58%, 620px); padding: clamp(30px, 5vw, 62px); }
.hero h1 { margin: 0 0 18px; color: var(--white); font-size: clamp(2.25rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.04em; }
.hero p { margin: 0; color: #eefbe5; font-size: 1.05rem; }
.article-wrap { width: min(calc(100% - 32px), var(--reading)); margin-inline: auto; }
.home-article { padding-top: 46px; }
.content-section { scroll-margin-top: 24px; margin: 0 0 48px; }
.content-section h2 { margin: 0 0 18px; color: var(--aqua); font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.2; letter-spacing: -.025em; }
.content-section h3 { margin: 30px 0 10px; color: var(--lime); font-size: clamp(1.2rem, 3vw, 1.55rem); line-height: 1.28; }
.content-section p, .content-section ul, .content-section ol { margin-top: 0; }
.content-section li + li { margin-top: 8px; }
.section-image { margin: 26px 0 30px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.section-image img { width: 100%; }
.lede { color: #eefbe5; font-size: 1.08rem; }
.inline-cta { display: inline-flex; min-height: 48px; align-items: center; margin-top: 8px; padding: 10px 17px; border: 2px solid var(--lime); border-radius: 7px; color: var(--lime); font-weight: 800; text-decoration: none; }
.inline-cta:hover { background: var(--lime); color: var(--ink); }
.table-scroll { max-width: 100%; margin: 24px 0; overflow-x: auto; border-radius: var(--radius); background: var(--panel); }
table { width: 100%; min-width: 680px; border-collapse: collapse; color: var(--ink); font-size: .92rem; line-height: 1.45; }
th, td { padding: 15px 16px; border-bottom: 1px solid #cdddc5; text-align: left; vertical-align: top; }
th { background: #dcefcf; color: #103d15; font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.notice { margin: 26px 0; padding: 20px 22px; border-left: 5px solid var(--lime); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(10,71,16,.72); }
.notice p:last-child { margin-bottom: 0; }
.task-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.task-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(10,71,16,.68); }
.task-card h3 { margin-top: 0; }
.faq-list { margin: 22px 0; }
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; color: var(--white); font-weight: 800; }
.faq-list summary::after { color: var(--lime); font-size: 1.4rem; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 0 18px; color: var(--muted); }
.page-header { padding: 54px 0 34px; background: linear-gradient(180deg, rgba(10,71,16,.98), rgba(16,89,23,.35)); border-bottom: 1px solid rgba(233,255,25,.2); }
.page-header .article-wrap { margin-inline: auto; }
.page-header h1 { margin: 0 0 16px; font-size: clamp(2.25rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.04em; }
.page-header p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.reviewed { display: block; margin-top: 14px; color: #b8d6a5; font-size: .82rem; }
.page-content { padding: 42px 0 70px; }
.correction-form { margin-top: 28px; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: rgba(10,71,16,.78); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: block; margin-bottom: 14px; color: var(--white); font-weight: 700; }
input, textarea { width: 100%; margin-top: 5px; padding: 12px 13px; border: 1px solid #8acb6e; border-radius: 7px; background: #f8fff4; color: #133218; }
textarea { min-height: 150px; resize: vertical; }
.form-submit { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 7px; background: var(--lime); color: var(--ink); font-weight: 900; cursor: pointer; }
.form-submit:hover { background: var(--white); }
.form-status { padding: 15px 18px; border-radius: 8px; background: var(--panel-soft); color: var(--ink); }
.site-footer { padding: 42px 0 28px; border-top: 1px solid var(--border); background: #073708; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; }
.footer-brand { margin: 0 0 14px; font-size: 2rem; font-weight: 900; letter-spacing: -.05em; }
.footer-copy { margin: 0 0 12px; color: var(--muted); font-size: .88rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; align-content: start; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; color: var(--white); font-weight: 700; }
.footer-contact { margin-top: 8px; color: var(--muted); font-size: .86rem; }
.copyright { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(79,186,52,.45); color: #aecd9d; font-size: .78rem; }
.bottom-enter-wrap {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  gap: 12px;
  align-items: center;
  transform: translateX(-50%);
}
.bottom-enter-btn {
  display: inline-flex;
  min-width: 120px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,0,0,.3);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.login-btn { background: #075985; }
.register-btn { background: #dc2626; }
.bottom-enter-btn:hover { color: #fff; opacity: .9; transform: translateY(-2px); }

@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-shell, .article-wrap { width: min(calc(100% - 28px), var(--wide)); }
  .brand-row { min-height: 82px; }
  .brand-logo img { width: min(215px, calc(100vw - 100px)); }
  .site-tagline { display: none; }
  .menu-toggle { display: block; }
  .nav-bar { position: relative; }
  .primary-nav { display: none; padding: 10px 14px 18px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .primary-nav a { justify-content: center; min-height: 48px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; }
  .home-main { padding-top: 18px; }
  .hero { min-height: 350px; border-radius: 18px; align-items: end; }
  .hero-media img { object-position: 62% center; }
  .hero::after { background: linear-gradient(180deg, rgba(3,36,7,.12) 0%, rgba(3,36,7,.9) 55%, rgba(3,36,7,.98) 100%); }
  .hero-copy { width: 100%; padding: 24px 20px; }
  .hero h1 { font-size: clamp(2.08rem, 10vw, 2.75rem); }
  .hero p { font-size: 1rem; }
  .home-article { padding-top: 34px; }
  .content-section { margin-bottom: 38px; }
  .content-section h2 { font-size: 1.7rem; }
  .task-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .task-grid { gap: 12px; }
  .page-header { padding: 38px 0 28px; }
  .page-header h1 { font-size: 2.25rem; }
  .page-content { padding: 34px 0 54px; }
  .footer-grid { gap: 25px; }
  .bottom-enter-wrap { bottom: 16px; gap: 10px; }
  .bottom-enter-btn { min-width: 105px; height: 42px; padding: 0 18px; font-size: 15px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .menu-toggle { display: block; }
  .site-tagline { max-width: 320px; }
  .nav-bar { position: relative; }
  .primary-nav { display: none; padding: 12px 0 18px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .primary-nav a { justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
