/*
Theme Name: subarashi_sekai
Description: description
Version: 1.0.0.4
*/

.matches h2 {
  color: var(--text-primary)!important;
}

/* images-styles.css — WM Wettbasis image layout */

.sport-slider-wrapper h2 {
  color: #272525;
}

article figure {
  margin: 1.5rem 0;
  padding: 0;
}

article figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

article figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 600px) {
  article figure {
    margin: 1rem -0.25rem;
  }

  article figure img {
    border-radius: 4px;
  }
}


/*  */

:root {
  --accent: #2BAD3F;
  --accent-hover: #34C94A;
  --secondary: #C9A84C;
  --bg-primary: #0F0F0F;
  --bg-secondary: #1A1A1A;
  --bg-header: #131313;
  --bg-elevated: #242424;
  --text-primary: #E8E8E8;
  --text-secondary: #B0B0B0;
  --text-muted: #8A8A8A;
  --border: #2A2A2A;
  --border-accent: rgba(43,173,63,0.13);
  --success: #2BAD3F;
  --danger: #E85454;
  --warning: #C9A84C;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lora', serif;
  --font-mono: 'DejaVu Sans Mono', monospace;
  --font-logo: 'Poppins', sans-serif;
  --h1: clamp(2rem, 4vw, 3rem);
  --h2: clamp(1.5rem, 3vw, 2.25rem);
  --h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --h4: clamp(1.1rem, 2vw, 1.35rem);
  --body: clamp(1rem, 1.5vw, 1.125rem);
  --small: clamp(0.8rem, 1.2vw, 0.9rem);
  --mono: clamp(0.85rem, 1.3vw, 0.95rem);
  --line-height-heading: 1.2;
  --line-height-body: 1.7;
  --line-height-mono: 1.4;
  --content-width: 740px;
  --content-width-wide: 960px;
  --section-gap: clamp(3rem, 6vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: var(--body); line-height: var(--line-height-body); color: var(--text-primary); background-color: var(--bg-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: var(--line-height-heading); letter-spacing: -0.02em; color: var(--text-primary); text-align: left; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); margin-top: 0; margin-bottom: 1rem; }
h3 { font-size: var(--h3); margin-top: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: var(--h4); margin-top: 1.25rem; margin-bottom: 0.5rem; }
h2, h3 { scroll-margin-top: 2rem; }
p { text-align: left; margin-bottom: 1.5em; color: var(--text-primary); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 700; }
em { font-style: italic; }
ul, ol { text-align: left; padding-left: 1.5em; margin-bottom: 1.5em; }
li { margin-bottom: 0.5em; }
blockquote { border-left: 3px solid var(--accent); padding-left: 1.25em; margin: 1.5em 0; color: var(--text-secondary); font-style: italic; }
figure { margin: 1.5em auto; }
figure img { display: block; max-width: 100%; height: auto; }
figcaption { text-align: center; font-size: var(--small); color: var(--text-muted); margin-top: 0.5em; }
img { max-width: 100%; height: auto; }

/* TABLES */
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: var(--small); margin-bottom: 1.5em; }
thead { background: var(--bg-elevated); }
thead th { font-family: var(--font-heading); font-weight: 600; font-size: var(--small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); text-align: left; padding: 0.75rem 1rem; border-bottom: 2px solid var(--border); }
tbody td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-primary); text-align: left; vertical-align: top; }
tbody tr:nth-child(even) { background: rgba(26,26,26,0.5); }
tbody tr:hover { background: var(--bg-elevated); }

/* LAYOUT */
main { width: 100%; }
article { width: 100%; }
[data-content] { max-width: var(--content-width); margin-left: auto; margin-right: auto; padding: 0 1.25rem; margin-bottom: var(--section-gap); position: static; }

/* COMPONENTS */
.info-box { background: var(--bg-elevated); border-left: 3px solid var(--accent); padding: 1.25rem 1.5rem; margin: 1.5em 0; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.info-box p { text-align: left; color: var(--text-primary); margin-bottom: 0.75em; font-size: var(--body); }
.info-box p:last-child { margin-bottom: 0; }

.callout { background: var(--bg-elevated); border: 1px solid var(--border); border-top: 2px solid var(--secondary); padding: 1.25rem 1.5rem; margin: 1.5em 0; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.callout p { text-align: left; color: var(--text-primary); margin-bottom: 0.75em; }
.callout p:last-child { margin-bottom: 0; }

.key-takeaway { border-top: 2px solid var(--accent); padding-top: 1rem; margin: 2em 0; }
.key-takeaway p { text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--text-primary); margin-bottom: 0; }

.fun-fact { position: relative; padding-left: 1.5em; margin: 1.5em 0; }
.fun-fact::before { content: "\2014"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.fun-fact p { text-align: left; font-style: italic; color: var(--text-secondary); margin-bottom: 0; }

.glossary-term { display: flex; align-items: baseline; gap: 12px; margin: 1em 0; }
.glossary-term dt { font-family: var(--font-mono); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; font-size: var(--mono); }
.glossary-term dd { font-family: var(--font-body); color: var(--text-secondary); }

.odds-card, .odds-example { background: var(--bg-secondary); border: 1px solid var(--border); padding: 1.25rem 1.5rem; margin: 1.5em 0; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: border-color 0.2s ease; }
.odds-card:hover, .odds-example:hover { border-color: var(--accent); }
.odds-card p, .odds-example p { text-align: left; color: var(--text-primary); margin-bottom: 0.5em; }
.odds-card .odds-value, .odds-example .odds-value { font-family: var(--font-mono); font-size: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--accent); font-weight: 700; }

.match-preview { background: var(--bg-secondary); border: 1px solid var(--border); padding: 1.25rem 1.5rem; margin: 1em 0; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: border-color 0.2s ease; }
.match-preview:hover { border-color: var(--accent); }
.match-preview p { text-align: left; color: var(--text-secondary); margin-bottom: 0.5em; }
.match-preview p:last-child { margin-bottom: 0; }

.group-table { background: var(--bg-secondary); padding: 1rem 1.25rem; margin: 1.5em 0; }
.group-table p { text-align: left; color: var(--text-primary); }

.stat-highlight { display: inline-block; margin: 0.5em 0; }
.stat-highlight .stat-number { font-family: var(--font-mono); font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--secondary); font-weight: 700; display: block; }
.stat-highlight .stat-label { font-family: var(--font-heading); font-size: var(--small); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5em 0; }
.card-grid > div { background: var(--bg-secondary); border: 1px solid var(--border); padding: 1.25rem; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: border-color 0.2s ease; }
.card-grid > div:hover { border-color: var(--accent); }
.card-grid p { text-align: left; color: var(--text-primary); margin-bottom: 0.5em; }
.card-grid p:last-child { margin-bottom: 0; }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5em 0; }
.comparison > div { background: var(--bg-secondary); border: 1px solid var(--border); padding: 1.25rem; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.comparison p { text-align: left; color: var(--text-primary); margin-bottom: 0.5em; }
.comparison p:last-child { margin-bottom: 0; }

.tldr { background: var(--bg-secondary); border-left: 3px solid var(--accent); padding: 1.5rem 1.75rem; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.tldr h2 { font-family: var(--font-heading); font-size: clamp(1.1rem, 1.8vw, 1.25rem); font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; text-align: left; }
.tldr ul { text-align: left; padding-left: 1.25em; margin-bottom: 0; }
.tldr li { color: var(--text-secondary); font-size: var(--small); margin-bottom: 0.6em; line-height: 1.6; }
.tldr li:last-child { margin-bottom: 0; }

.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5em 0; }
.dos-donts > div:first-child { border-left: 3px solid var(--success); padding-left: 1rem; }
.dos-donts > div:last-child { border-left: 3px solid var(--danger); padding-left: 1rem; }
.dos-donts h4 { font-family: var(--font-heading); font-weight: 600; margin-bottom: 0.75rem; }
.dos-donts > div:first-child h4 { color: var(--success); }
.dos-donts > div:last-child h4 { color: var(--danger); }
.dos-donts p { text-align: left; color: var(--text-primary); }
.dos-donts li { color: var(--text-secondary); margin-bottom: 0.4em; }

.pre-bet-checklist { margin: 2em 0; }
.pre-bet-checklist h4 { font-family: var(--font-heading); font-weight: 700; font-size: var(--small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 1rem; }
.pre-bet-checklist ul { list-style: none; border-left: 2px solid var(--border); padding-left: 1.5rem; margin-bottom: 0; }
.pre-bet-checklist li { position: relative; color: var(--text-secondary); margin-bottom: 0.75em; padding-left: 0.5rem; }
.pre-bet-checklist li::before { content: "\2610"; position: absolute; left: -1.75rem; color: var(--accent); background: var(--bg-primary); padding: 0 2px; }

.at-a-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 1.5em 0; border: 1px solid var(--border); }
.at-a-glance > div { padding: 1.25rem; border-right: 1px solid var(--border); text-align: center; }
.at-a-glance > div:last-child { border-right: none; }
.at-a-glance p:first-child { text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: var(--h4); color: var(--text-primary); margin-bottom: 0.25em; }
.at-a-glance p { text-align: center; color: var(--text-secondary); font-size: var(--small); margin-bottom: 0; }

.worked-example { background: var(--bg-secondary); padding: 1.5rem 1.75rem; margin: 1.5em 0; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.worked-example p { text-align: left; color: var(--text-primary); margin-bottom: 0.75em; }
.worked-example .step-number { font-family: var(--font-mono); color: var(--secondary); font-size: var(--mono); }
.worked-example .result { font-family: var(--font-mono); font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--accent); font-weight: 700; }
.worked-example hr { border: none; border-top: 1px dashed var(--border); margin: 1em 0; }

.section-bridge { text-align: center; margin: 2.5em 0; }
.section-bridge p { text-align: center; font-family: var(--font-heading); font-style: italic; color: var(--accent); font-size: var(--body); display: inline-block; position: relative; padding: 0 2em; margin-bottom: 0; }
.section-bridge p::before, .section-bridge p::after { content: "\2022\2022\2022"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--border); font-size: 0.6em; letter-spacing: 0.3em; }
.section-bridge p::before { right: 100%; }
.section-bridge p::after { left: 100%; }

.disclaimer { background: var(--bg-primary); border: 1px solid var(--border); padding: 1.25rem 1.5rem; margin: 1.5em 0; }
.disclaimer p { text-align: left; color: var(--text-muted); font-size: var(--small); margin-bottom: 0.75em; }
.disclaimer p:last-child { margin-bottom: 0; }

.author-bio { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 2rem; }
.author-bio p { font-size: 0.8rem; color: var(--text-secondary); font-style: italic; margin-bottom: 0; text-align: left; }

/* HEADER */
.site-header { background: var(--bg-header); padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.custom-logo { display: block; width: 200px; height: auto; }
.header-meta { display: flex; align-items: center; gap: 1rem; }
.header-badge { font-family: var(--font-heading); font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; background: var(--bg-elevated); padding: 0.3em 0.75em; border: 1px solid var(--border); }
.header-badge time { color: var(--text-secondary); }
.header-trust { font-family: var(--font-heading); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* HERO */
[data-content="hero"] { max-width: none; width: 100%; margin-left: calc(50% - 50vw); padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(2rem, 5vw, 4rem); background: var(--bg-primary); text-align: center; margin-bottom: var(--section-gap); }
[data-content="hero"] > * { position: relative; z-index: 1; }
[data-content="hero"] .hero-rubric { font-family: var(--font-heading); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 1.25rem; text-align: center; }
[data-content="hero"] h1 { font-size: var(--h1); text-align: center; max-width: var(--content-width); margin: 0 auto 1rem; color: var(--text-primary); }
[data-content="hero"] .hero-accent-line { display: block; width: 60px; height: 3px; background: var(--accent); margin: 0 auto 1.5rem; }
[data-content="hero"] .hero-byline { font-family: var(--font-body); font-size: var(--small); color: var(--text-muted); margin-bottom: 1.5rem; text-align: center; }
[data-content="hero"] figure { margin: 0 auto 2rem; max-width: var(--content-width); }
[data-content="hero"] figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
[data-content="hero"] .hero-lead { max-width: var(--content-width); margin-left: auto; margin-right: auto; text-align: left; }
[data-content="hero"] .hero-lead p { text-align: left; color: var(--text-secondary); font-size: var(--body); }
[data-content="hero"] .hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.btn { font-family: var(--font-heading); font-weight: 600; font-size: var(--small); padding: 0.65em 1.5em; border: 2px solid var(--accent); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease; text-decoration: none; display: inline-block; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #0F0F0F; transform: translateY(-1px); }
.btn-filled { background: var(--accent); color: #0F0F0F; }
.btn-filled:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* TOC ACCORDION */
[data-content="toc"] { margin-bottom: var(--section-gap); }
[data-content="toc"] details { background: var(--bg-secondary); border: 1px solid var(--border); }
[data-content="toc"] summary { font-family: var(--font-heading); font-weight: 600; font-size: var(--body); color: var(--text-primary); padding: 1rem 1.25rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
[data-content="toc"] summary::-webkit-details-marker { display: none; }
[data-content="toc"] summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); transition: transform 0.3s ease; }
[data-content="toc"] details[open] summary::after { content: "\2212"; }
[data-content="toc"] details > div { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.35s ease, opacity 0.3s ease; }
[data-content="toc"] details[open] > div { max-height: 600px; opacity: 1; }
[data-content="toc"] nav ul { list-style: none; padding: 0 1.25rem 1rem; margin: 0; }
[data-content="toc"] nav > ul > li { margin-bottom: 0.4em; }
[data-content="toc"] nav > ul > li > a { font-family: var(--font-heading); font-weight: 600; font-size: var(--small); color: var(--text-primary); text-decoration: none; transition: color 0.2s ease; }
[data-content="toc"] nav > ul > li > a:hover { color: var(--accent); }
[data-content="toc"] nav ul ul { padding-left: 1.25em; margin-top: 0.3em; margin-bottom: 0.3em; }
[data-content="toc"] nav ul ul li { margin-bottom: 0.25em; }
[data-content="toc"] nav ul ul a { font-family: var(--font-body); font-size: calc(var(--small) - 0.05rem); color: var(--text-secondary); font-weight: 400; }
[data-content="toc"] nav ul ul a:hover { color: var(--accent); }

/* FAQ ACCORDION */
[data-content="faq"] details { border-bottom: 1px solid var(--border); }
[data-content="faq"] details:first-of-type { border-top: 1px solid var(--border); }
[data-content="faq"] summary { font-family: var(--font-heading); font-weight: 600; font-size: var(--body); color: var(--text-primary); padding: 1rem 0; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
[data-content="faq"] summary::-webkit-details-marker { display: none; }
[data-content="faq"] summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); flex-shrink: 0; transition: transform 0.3s ease; }
[data-content="faq"] details[open] summary::after { content: "\2212"; }
[data-content="faq"] details > div { overflow: hidden; max-height: 0; opacity: 0; padding-bottom: 0; transition: max-height 0.4s ease, opacity 0.3s ease, padding-bottom 0.3s ease; }
[data-content="faq"] details[open] > div { max-height: 800px; opacity: 1; padding-bottom: 1rem; }
[data-content="faq"] details > div p { color: var(--text-secondary); text-align: left; margin-bottom: 0.75em; }
[data-content="faq"] details > div p:last-child { margin-bottom: 0; }

/* FOOTER */
.site-footer { background: var(--bg-header); border-top: 1px solid var(--border); padding: 3rem 1.25rem 0; margin-top: var(--section-gap); }
.footer-grid { max-width: var(--content-width-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-bottom: 2rem; }
.footer-col h3 { font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin: 0 0 1rem 0;}
.footer-col p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; text-align: left; margin-bottom: 0.6em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4em; }
.footer-col a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); max-width: var(--content-width-wide); margin: 0 auto; padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0; text-align: left; }
.footer-bottom .custom-logo { display: block; width: 140px!important; height: auto; opacity: 0.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
  [data-content] { padding-left: 1rem; padding-right: 1rem; }
  [data-content="hero"] { padding-left: 1rem; padding-right: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
  .dos-donts { grid-template-columns: 1fr; }
  .at-a-glance { grid-template-columns: 1fr; }
  .at-a-glance > div { border-right: none; border-bottom: 1px solid var(--border); }
  .at-a-glance > div:last-child { border-bottom: none; }
  .glossary-term { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  [data-content="hero"] .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .site-header { flex-wrap: wrap; gap: 0.5rem; }
  .header-meta { gap: 0.5rem; }
  .custom-logo { width: 160px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .custom-logo { width: 140px; }
}
