/* ===================================
   NINKIKAJINO - メインスタイルシート
   テーマ: ホワイト / ブラック / レッド
   =================================== */

/* ---- リセット & ベース ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Cyber-Japan dark futuristic theme */
  --color-bg:         #07091a;
  --color-surface:    #0f1530;
  --color-surface-2:  #161e44;
  --color-border:     #243070;
  --color-text:       #e8eaf5;
  --color-text-muted: #8b94c7;
  --color-red:        #ff2d75;        /* neon magenta-pink */
  --color-red-hover:  #ff0a64;
  --color-cyan:       #00e6ff;        /* electric cyan */
  --color-cyan-hover: #00f5ff;
  --color-accent:     #ffe169;        /* gold for stars */
  --color-purple:     #b14cff;        /* purple highlight */
  --font-base:        'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --radius:           4px;            /* sharper edges */
  --shadow:           0 4px 24px rgba(0,230,255,.10), 0 0 40px rgba(255,45,117,.06);
  --transition:       0.25s ease;
  --neon-pink-glow:   0 0 8px rgba(255,45,117,.55), 0 0 20px rgba(255,45,117,.35);
  --neon-cyan-glow:   0 0 8px rgba(0,230,255,.55), 0 0 20px rgba(0,230,255,.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background:
    radial-gradient(ellipse 800px 600px at 80% -10%, rgba(255,45,117,.08), transparent 60%),
    radial-gradient(ellipse 800px 600px at 0% 30%, rgba(0,230,255,.06), transparent 60%),
    linear-gradient(180deg, #07091a 0%, #050714 100%);
  background-attachment: fixed;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
  position: relative;
}

/* Subtle cyber grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,230,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 80%);
}

body > * { position: relative; z-index: 1; }

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
}

a:hover {
  color: var(--color-red);
}

/* ---- タイポグラフィ ---- */
h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  margin-bottom: 1rem;
  text-shadow: 0 0 24px rgba(255,45,117,.35), 0 0 48px rgba(0,230,255,.2);
}
h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 18px;
}
h2::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, var(--color-red) 0%, var(--color-cyan) 100%);
  box-shadow: 0 0 10px rgba(255,45,117,.6);
  border-radius: 2px;
}
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

/* ---- レイアウト ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--color-border);
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-text);
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.site-logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-text);
  border-bottom-color: var(--color-red);
}

/* モバイルメニュートグル */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- ヒーロー ---- */
.hero {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 36px 0 28px;
  border-bottom: 4px solid var(--color-red);
}

.hero h1 {
  color: var(--color-bg);
  max-width: 760px;
}

.hero .lead {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  max-width: 640px;
  margin: 12px 0 0;
}

/* Read more (mobilno skraćivanje) — desktop default: pun tekst, dugme sakriveno */
.hero .lead .lead-more { display: inline; }
.lead-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin: 8px 0 0;
  color: var(--color-bg);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.lead-toggle:hover { opacity: .85; }

/* Ranking sekcija — kompaktan layout da tabela bude iznad fold-a */
section.ranking-top { padding: 24px 0 48px; }
section.ranking-top h2 { margin-bottom: 16px; }
.hero + section.ranking-top { border-top: none; }

/* Bonus primeri — 2 stuba na desktopu, 1 stub na telefonu */
.bonus-example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* Casino quick-facts blok u detaljnoj recenziji */
.casino-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: var(--color-surface);
  border-left: 3px solid var(--color-red);
  border-radius: var(--radius);
}
.casino-facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.casino-facts span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.casino-facts strong {
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 600;
}

/* ---- ボタン ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-red-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

/* ---- セクションラベル ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-red);
  border-left: 3px solid var(--color-red);
  padding-left: 10px;
  margin-bottom: 12px;
}

/* ---- カジノランキング テーブル形式 ---- */
.brand-table {
  margin-top: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.brand-row {
  display: grid;
  grid-template-columns: 340px 1fr 130px 190px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: background var(--transition);
}

.brand-row:last-child {
  border-bottom: none;
}

.brand-row:hover {
  background: #fafafa;
}

.brand-row.featured {
  background: #fffdf8;
  border-left: 3px solid var(--color-text);
}

.brand-logo {
  padding: 18px 20px;
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.brand-logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 56px;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ロゴが実際の<img>の場合 */
.brand-logo img {
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

/* バナー画像（カジノテーブル） */
.brand-logo .brand-banner {
  width: 100%;
  max-width: 100%;
  max-height: 130px;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-info {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-bonus-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bonus-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--color-red);
  text-transform: uppercase;
}

.bonus-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.brand-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.brand-stars {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid var(--color-border);
}

.stars-visual {
  display: flex;
  gap: 2px;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.star-full  { color: #f5a623; }
.star-half  { color: #f5a623; position: relative; }
.star-empty { color: #ddd; }

.stars-label {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-cta {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 旧カードの互換性のため残す */
.casino-placeholder {
  display: inline-block;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  min-width: 120px;
  text-align: center;
}

/* ---- ガイドセクション ---- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.guide-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 3px solid var(--color-text);
}

.guide-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 0.9rem;
}

/* ---- 評価基準リスト ---- */
.criteria-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.criteria-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-surface);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--color-border);
}

.criteria-list li.highlight {
  border-left-color: var(--color-red);
}

.criteria-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-red);
  min-width: 28px;
}

.criteria-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.criteria-text span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ---- テーブル ---- */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.9rem;
}

.styled-table th {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.styled-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:nth-child(even) td { background: var(--color-surface); }

/* ---- FAQ ---- */
.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-base);
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--color-surface); }

.faq-question .icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-red);
  transition: transform var(--transition);
}

.faq-item.open .faq-question { background: var(--color-surface); }
.faq-item.open .icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.faq-item.open .faq-answer { display: block; padding-top: 16px; }

/* ---- CTA バナー ---- */
.cta-banner {
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin: 48px 0;
}

.cta-banner h2 { color: var(--color-bg); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.7); margin-bottom: 28px; }

/* ---- フォーム ---- */
.contact-form {
  max-width: 640px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.required-mark {
  color: var(--color-red);
  margin-left: 3px;
}

/* ---- アバウトページ ---- */
.about-hero {
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(255,45,117,.18), transparent 70%),
    linear-gradient(180deg, #0a0e25 0%, #070a1c 100%);
  color: var(--color-text);
  padding: 72px 0;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-red), var(--color-cyan), transparent) 1;
  position: relative;
  overflow: hidden;
}
.about-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), var(--color-red), transparent);
  opacity: .6;
}
.about-hero h1 {
  color: #fff;
  text-shadow: 0 0 24px rgba(255,45,117,.35), 0 0 48px rgba(0,230,255,.2);
}
.about-hero p { color: rgba(255,255,255,.78); max-width: 640px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.value-item h3 { font-size: 1rem; margin-bottom: 6px; }
.value-item p  { font-size: 0.875rem; }

.team-section {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 40px;
}

/* ---- フッター ---- */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  max-width: 320px;
  margin-top: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  /* footer je taman — ako logo ima prozirnu pozadinu, ostaje kako jeste;
     ako treba invertovati tamni logo za svetlu pozadinu, uncommentuj: */
  /* filter: brightness(0) invert(1); */
}

/* ---- ユーティリティ ---- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-red {
  background: var(--color-red);
  color: #fff;
}

.badge-dark {
  background: var(--color-text);
  color: #fff;
}

.badge-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 40px 0;
}

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  .brand-row {
    grid-template-columns: 260px 1fr 100px 150px;
  }
  .brand-logo {
    padding: 14px 14px;
  }
  .brand-logo .brand-banner {
    max-height: 110px;
  }
  .brand-logo-inner {
    width: 120px;
  }
  .brand-logo img:not(.brand-banner) {
    max-width: 120px;
  }
}

@media (max-width: 680px) {
  .brand-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  /* Banner pun-širine bez padding-a */
  .brand-logo {
    grid-column: 1;
    grid-row: 1;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    justify-content: center;
    padding: 0;
    min-height: auto;
  }

  .brand-logo .brand-banner {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
  }

  /* Logo placeholder (#4-#8) ostaje sa malo paddinga */
  .brand-logo .brand-logo-inner,
  .brand-logo img:not(.brand-banner) {
    margin: 14px 16px;
  }

  .brand-info {
    grid-column: 1;
    grid-row: 2;
    padding: 14px 16px 10px;
  }

  /* Zvezdice u svom redu ispod banner-a, horizontalno */
  .brand-stars {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row;
    border-right: none;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 16px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: var(--color-surface);
  }

  .brand-cta {
    grid-column: 1;
    grid-row: 4;
    padding: 14px 16px;
    justify-content: flex-start;
  }

  .brand-cta .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  section { padding: 48px 0; }

  .site-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-text);
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .site-nav li:last-child a { border-bottom: none; }

  .nav-toggle { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero { padding: 24px 0 20px; }
  .cta-banner { padding: 36px 24px; }

  /* Mobilno: sakrij produzeni deo i prikazi "続きを読む" link */
  .hero .lead .lead-more { display: none; }
  .hero .lead.expanded .lead-more { display: inline; }
  .lead-toggle { display: inline-block; }

  section.ranking-top { padding: 16px 0 32px; }
  section.ranking-top h2 { font-size: 1.1rem; margin-bottom: 12px; }

  /* Bonus primeri jedan ispod drugog */
  .bonus-example-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Casino facts u jednom stubu na telefonu */
  .casino-facts { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }

  /* Detaljna kartica: naziv brenda ispod logo-a (vertikalno) */
  .casino-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
}

/* =====================================================
   STICKY BOTTOM CTA (Stealth Bet)
   ===================================================== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--color-red);
  color: #fff;
  border-top: 2px solid #fff;
  box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .3s ease;
  /* iOS notch / home indicator safe-area */
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-cta.hidden { transform: translateY(100%); }

.sticky-cta-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 56px 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.sticky-cta-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px dashed rgba(255,255,255,.6);
  padding: 4px;
}
.sticky-cta-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}

.sticky-cta-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sticky-cta-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.sticky-cta-msg {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.sticky-cta-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 26px;
  background: #1bb854;
  color: #fff !important;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.35);
  transition: background .2s, transform .2s;
}
.sticky-cta-btn:hover {
  background: #129744;
  color: #fff !important;
  transform: translateY(-1px);
}

.sticky-cta-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,.25);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s;
}
.sticky-cta-close:hover { background: rgba(0,0,0,.45); }

/* Razmak na dnu strane da footer ne bude pokriven barom */
body { padding-bottom: 96px; }
body.sticky-cta-dismissed { padding-bottom: 0; }

@media (max-width: 768px) {
  .sticky-cta-inner {
    padding: 10px 32px 10px 10px;
    gap: 10px;
  }
  .sticky-cta-logo {
    width: 48px;
    height: 48px;
    padding: 2px;
    border-width: 1px;
  }
  .sticky-cta-eyebrow { font-size: 0.78rem; }
  .sticky-cta-msg {
    font-size: 0.78rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sticky-cta-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    border-width: 1px;
  }
  .sticky-cta-close {
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    font-size: 1rem;
  }
  body { padding-bottom: 110px; }
}

@media (max-width: 480px) {
  .sticky-cta-eyebrow { font-size: 0.72rem; }
  .sticky-cta-msg {
    font-size: 0.72rem;
    -webkit-line-clamp: 2;
  }
  .sticky-cta-btn { padding: 9px 10px; font-size: 0.75rem; }
  .sticky-cta-logo { width: 42px; height: 42px; }
  body { padding-bottom: 100px; }
}


/* =========================================================
   CYBER-JAPAN FUTURISTIC OVERRIDES
   ========================================================= */

/* Section dividers — subtle neon */
section + section {
  border-top: 1px solid rgba(0,230,255,.08);
}

/* Header — dark with neon underline */
.site-header {
  background: rgba(7,9,26,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,45,117,.25);
  box-shadow: 0 0 30px rgba(255,45,117,.12);
}
.site-nav a {
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
  text-shadow: 0 0 8px rgba(0,230,255,.6);
}
.nav-toggle span { background: var(--color-cyan); box-shadow: 0 0 6px rgba(0,230,255,.5); }

/* Anchor links global */
a:hover { color: var(--color-cyan); }

/* Hero — dark cyberpunk with kanji decoration */
.hero {
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(255,45,117,.18), transparent 70%),
    linear-gradient(180deg, #0a0e25 0%, #070a1c 100%);
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-red), var(--color-cyan), transparent) 1;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '人気カジノ';
  position: absolute;
  right: -2vw;
  top: 8%;
  font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 900;
  color: rgba(0,230,255,.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .lead { color: rgba(255,255,255,.78); }

/* Buttons — gradient + neon glow */
.btn {
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, #c41961 100%);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 0 rgba(255,45,117,0), inset 0 0 0 1px rgba(255,255,255,.08);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-red-hover) 0%, var(--color-red) 100%);
  box-shadow: 0 0 24px rgba(255,45,117,.55), 0 0 48px rgba(255,45,117,.25);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--color-cyan) !important;
  border: 1px solid var(--color-cyan);
  box-shadow: inset 0 0 0 0 rgba(0,230,255,.2);
}
.btn-secondary:hover {
  background: rgba(0,230,255,.08);
  box-shadow: 0 0 18px rgba(0,230,255,.4), inset 0 0 0 1px rgba(0,230,255,.4);
  color: var(--color-cyan-hover) !important;
}

/* Section labels — pill with cyan neon */
.section-label {
  display: inline-block;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(0,230,255,.06);
  border: 1px solid rgba(0,230,255,.4);
  border-radius: 99px;
  padding: 4px 14px;
  margin-bottom: 14px;
  text-shadow: 0 0 6px rgba(0,230,255,.4);
}

/* Brand table — separated cyber cards */
.brand-table {
  background: transparent !important;
  backdrop-filter: none;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand-row {
  background: rgba(15,21,48,.7) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,230,255,.18) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.35), inset 0 0 1px rgba(0,230,255,.25);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-row:last-child {
  border-bottom: 1px solid rgba(0,230,255,.18) !important;
}
.brand-row:hover {
  background: rgba(20,28,60,.8) !important;
  border-color: rgba(0,230,255,.4) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.45), 0 0 24px rgba(0,230,255,.18);
  transform: translateY(-2px);
}
.brand-row.featured {
  background: linear-gradient(90deg, rgba(255,45,117,.12) 0%, rgba(15,21,48,.75) 50%, rgba(0,230,255,.08) 100%) !important;
  border: 1px solid rgba(255,45,117,.45) !important;
  border-left: 3px solid var(--color-red) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 30px rgba(255,45,117,.25), inset 0 0 60px rgba(255,45,117,.06);
}
.brand-row.featured:hover {
  border-color: rgba(255,45,117,.65) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 0 40px rgba(255,45,117,.4), inset 0 0 60px rgba(255,45,117,.08);
}
.brand-logo {
  border-right-color: rgba(0,230,255,.12);
}
.brand-logo-inner {
  background: rgba(15,21,48,.8);
  border: 1px dashed rgba(0,230,255,.3);
  color: var(--color-cyan);
}
.brand-stars { border-right-color: rgba(0,230,255,.10); }
.bonus-label {
  color: var(--color-cyan) !important;
  text-shadow: 0 0 6px rgba(0,230,255,.35);
}
.bonus-value, .brand-bonus-text { color: #fff !important; }
.brand-meta { color: var(--color-text-muted); }
.badge.badge-red {
  background: linear-gradient(135deg, var(--color-red) 0%, #c41961 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 10px rgba(255,45,117,.45);
  border-radius: 3px;
  padding: 3px 8px;
}

/* Stars — gold with glow */
.star-full { color: var(--color-accent); text-shadow: 0 0 8px rgba(255,225,105,.5); }
.star-half { color: var(--color-accent); text-shadow: 0 0 8px rgba(255,225,105,.5); }
.star-empty { color: rgba(139,148,199,.3); }
.stars-label { color: #fff; }

/* Casino facts — neon-bordered glass card */
.casino-facts {
  background: rgba(15,21,48,.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,230,255,.18);
  border-left: 3px solid var(--color-cyan);
  box-shadow: 0 0 24px rgba(0,230,255,.08), inset 0 0 1px rgba(0,230,255,.2);
}
.casino-facts span {
  color: var(--color-cyan);
  text-shadow: 0 0 4px rgba(0,230,255,.3);
}
.casino-facts strong { color: #fff; }

/* Detail card divider line */
#casino-details > .container > div[id^="casino-"] {
  border-top-color: rgba(0,230,255,.15) !important;
}

/* Ranking list block — glass panel */
#ranking .container > div[style*="background:var(--color-surface)"] {
  background: rgba(15,21,48,.55) !important;
  border: 1px solid rgba(255,45,117,.18);
  box-shadow: 0 0 30px rgba(255,45,117,.06), inset 0 0 1px rgba(255,45,117,.25);
}
#ranking ol li a { color: #fff !important; }
#ranking ol li a:hover { color: var(--color-cyan) !important; }

/* Type-recommendation guide cards */
.guide-grid .guide-card,
.guide-card {
  background: rgba(15,21,48,.5) !important;
  border: 1px solid rgba(0,230,255,.15);
  border-radius: 6px;
  padding: 22px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.guide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.guide-card:hover {
  border-color: rgba(0,230,255,.4);
  box-shadow: 0 0 24px rgba(0,230,255,.18), 0 8px 30px rgba(0,0,0,.3);
  transform: translateY(-3px);
}
.guide-card:hover::before { opacity: 1; }
.guide-card h3 { color: #fff; }
.guide-card p { color: var(--color-text-muted); }
.guide-card a { color: var(--color-red) !important; }
.guide-card a:hover { color: var(--color-cyan) !important; }

/* Tables (.styled-table) — dark with neon header */
.styled-table {
  background: rgba(15,21,48,.4);
  border: 1px solid rgba(0,230,255,.12);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 4px;
  overflow: hidden;
}
.styled-table thead {
  background: linear-gradient(90deg, rgba(255,45,117,.18) 0%, rgba(0,230,255,.10) 100%);
}
.styled-table thead th {
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(0,230,255,.3);
  text-shadow: 0 0 6px rgba(0,230,255,.35);
}
.styled-table td, .styled-table th {
  border-color: rgba(0,230,255,.08);
  color: var(--color-text);
}
.styled-table tbody tr:hover {
  background: rgba(255,45,117,.04);
}

/* Criteria list — numbered cyber style */
.criteria-list li {
  background: rgba(15,21,48,.5);
  border: 1px solid rgba(0,230,255,.15);
  border-radius: 6px;
}
.criteria-list li.highlight {
  background: linear-gradient(90deg, rgba(255,45,117,.12) 0%, rgba(15,21,48,.5) 60%);
  border-color: rgba(255,45,117,.35);
  box-shadow: 0 0 24px rgba(255,45,117,.12);
}
.criteria-num {
  color: var(--color-cyan);
  text-shadow: 0 0 10px rgba(0,230,255,.5);
}
.criteria-text strong { color: #fff; }
.criteria-text span { color: var(--color-text-muted); }

/* FAQ — dark cards */
.faq-item {
  background: rgba(15,21,48,.5);
  border: 1px solid rgba(0,230,255,.12);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  background: transparent;
  color: #fff;
  font-weight: 600;
}
.faq-question:hover {
  background: rgba(0,230,255,.04);
  color: var(--color-cyan);
}
.faq-question .icon { color: var(--color-cyan); }
.faq-answer { color: var(--color-text-muted); }
.faq-item.open { border-color: rgba(0,230,255,.4); box-shadow: 0 0 18px rgba(0,230,255,.1); }

/* Footer */
.site-footer, footer {
  background: linear-gradient(180deg, #050714 0%, #02030a 100%);
  border-top: 1px solid rgba(255,45,117,.2);
  color: var(--color-text-muted);
}
.site-footer h4, footer h4 { color: #fff; }
.site-footer a, footer a { color: var(--color-text-muted); }
.site-footer a:hover, footer a:hover { color: var(--color-cyan); text-shadow: 0 0 6px rgba(0,230,255,.4); }

/* Sticky CTA — make it more vibrant cyber */
.sticky-cta {
  background: linear-gradient(135deg, var(--color-red) 0%, #ad0050 50%, #5a0fa3 100%);
  border-top: 2px solid var(--color-cyan);
  box-shadow: 0 -8px 28px rgba(255,45,117,.25), 0 -4px 14px rgba(0,230,255,.18);
}
.sticky-cta-logo {
  background: #07091a;
  border: 2px dashed var(--color-cyan);
  box-shadow: 0 0 14px rgba(0,230,255,.45);
}
.sticky-cta-eyebrow {
  color: var(--color-cyan) !important;
  text-shadow: 0 0 6px rgba(0,230,255,.5);
}
.sticky-cta-btn {
  background: linear-gradient(135deg, #00e6ff 0%, #00b8d4 100%) !important;
  color: #07091a !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  text-shadow: none;
  font-weight: 800;
}
.sticky-cta-btn:hover {
  background: linear-gradient(135deg, #00f5ff 0%, #00e6ff 100%) !important;
  box-shadow: 0 0 20px rgba(0,230,255,.6), 0 0 40px rgba(0,230,255,.3);
}

/* Read-more / lead-toggle in hero */
.lead-toggle { color: var(--color-cyan); }
.lead-toggle:hover { color: var(--color-cyan-hover); text-shadow: 0 0 6px rgba(0,230,255,.5); }

/* Bonus example boxes */
.bonus-example-grid > div {
  background: rgba(15,21,48,.6) !important;
  border: 1px solid rgba(0,230,255,.18);
  box-shadow: inset 0 0 1px rgba(0,230,255,.25);
}
.bonus-example-grid h4 { color: var(--color-cyan) !important; text-shadow: 0 0 6px rgba(0,230,255,.3); }
.bonus-example-grid strong { color: #fff !important; }

/* Ranking section background subtle */
#ranking { background: transparent; }

/* Pre-form / form styling if any */
input, textarea, select {
  background: rgba(15,21,48,.6);
  border: 1px solid rgba(0,230,255,.25);
  color: var(--color-text);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-cyan);
  outline: none;
  box-shadow: 0 0 12px rgba(0,230,255,.35);
}

/* Subtle scan-line effect at top of hero (optional decorative) */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), var(--color-red), transparent);
  opacity: 0.6;
  z-index: 2;
}

/* Casino detail card top borders subtle neon */
[id^="casino-"][style*="border-top"] {
  border-top-color: rgba(0,230,255,.15) !important;
}

/* Better visibility for any dark text appearing on dark bg */
.brand-meta {
  color: rgba(255,255,255,.75) !important;
}

/* CTA banner — cyber style */
.cta-banner {
  background: linear-gradient(135deg, #161e44 0%, #0f1530 100%);
  border: 1px solid rgba(0,230,255,.25);
  box-shadow: 0 0 30px rgba(0,230,255,.1), inset 0 0 1px rgba(0,230,255,.3);
}
