/* โทนสีชุดเดียวกับ fastspin96.me — แดงเข้ม/ทอง บนพื้นเกือบดำ
   ดึงค่ามาจาก assets/styles.css ของ fastspin96.me โดยตรง ไม่ได้กะเอา */
/* โทนแบรนด์ 1955 — นีออนม่วงแดง + ฟ้า + ไซแอน บนพื้นเกือบดำ
   ดึงสีมาจากโลโก้จริง assets/img/1955/1955logo.png (#f030f0 / #0000f0 / #00f0f0)
   ดีไซน์วางแนวเว็บคาสิโน ให้เห็นแล้วรู้ทันทีว่าเป็นเว็บเดิมพัน */
:root {
  color-scheme: dark;
  --bg: #07030f;
  --bg-deep: #040109;
  --surface: rgba(26, 10, 44, 0.92);
  --surface-strong: rgba(42, 16, 68, 0.86);
  --line: rgba(241, 34, 255, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #fdf6ff;
  --muted: #c3aed4;
  --accent: #f122ff;
  --accent-2: #00e5ff;
  --accent-3: #7b2bff;
  --grad: linear-gradient(120deg, #7b2bff, #f122ff 52%, #ff41c7 100%);
  --grad-cyan: linear-gradient(120deg, #00e5ff, #7b2bff);
  --glow: 0 0 28px rgba(241, 34, 255, 0.45);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.6);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 2%, rgba(241, 34, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 2% 30%, rgba(0, 229, 255, 0.13), transparent 26rem),
    radial-gradient(circle at 50% 102%, rgba(123, 43, 255, 0.22), transparent 32rem),
    var(--bg);
  font-family: "Noto Sans Thai", Tahoma, Arial, system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
.site-header, main, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(217,255,87,.55);
  border-radius: 13px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -.08em;
}
.brand-mark span { color: var(--text); }
.brand-copy { display: grid; font-weight: 800; letter-spacing: .05em; line-height: 1.1; }
.brand-copy small { color: var(--muted); font-size: .62rem; letter-spacing: .25em; }
nav { display: flex; gap: 26px; }
nav::-webkit-scrollbar { display: none; }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a:hover, nav a:focus-visible { color: var(--accent); }

.eyebrow, .section-label { margin: 0 0 18px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 840px; margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.75rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 700px; color: #bfd0c7; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 38px 0 30px; }
.button { padding: 13px 19px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 800; }
.button-primary { color: #fff; background: var(--grad); border-color: rgba(241,34,255,.6); box-shadow: 0 10px 26px rgba(241,34,255,.34); }
.button-secondary { background: rgba(255,255,255,.025); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: .86rem; }
.trust-row span::before { content: "✓"; margin-right: 8px; color: var(--accent); }

.focus-panel { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, var(--surface), rgba(7,3,15,.95)); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04); }
.status { display: inline-flex; align-items: center; gap: 8px; color: #bcebd5; font-size: .75rem; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 18px var(--accent-2); }
.focus-panel > p { margin: 70px 0 8px; color: var(--muted); font-size: .7rem; letter-spacing: .17em; }
.focus-panel strong { display: block; font-size: 2rem; line-height: 1.15; }
.focus-panel small { color: var(--muted); }
.signal { height: 90px; margin: 34px 0 22px; display: flex; align-items: end; gap: 9px; }
.signal b { flex: 1; border-radius: 7px 7px 2px 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: .78; }
.signal b:nth-child(1) { height: 25%; } .signal b:nth-child(2) { height: 46%; } .signal b:nth-child(3) { height: 62%; } .signal b:nth-child(4) { height: 82%; } .signal b:nth-child(5) { height: 100%; }

.principles, .faq { padding: 90px 0; border-top: 1px solid var(--line); }
h2 { margin-bottom: 36px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.035em; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(145deg, var(--surface), rgba(7,3,15,.92)); }
.principle-grid span { color: var(--accent); font-weight: 800; }
.principle-grid h3 { margin: 70px 0 8px; font-size: 1.3rem; }
.principle-grid p { color: var(--muted); }


.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin: 14px 0 0; color: var(--muted); }

footer { padding: 32px 0 48px; display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  /* ห้ามซ่อนเมนูทิ้งบนจอแคบ ไม่งั้นบนมือถือจะไม่เหลือทางไปหน้าบทความเลย
     และ Google ที่จัดทำดัชนีแบบ mobile-first ก็จะมองไม่เห็นลิงก์ภายในพวกนี้
     ใช้วิธีให้เลื่อนแนวนอนแทน */
  .site-header { flex-wrap: wrap; gap: 10px 18px; padding-bottom: 12px; }
  nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  nav a { white-space: nowrap; }
    .principle-grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 74px; }
  .hero { padding: 64px 0 70px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .actions { display: grid; }
  .button { text-align: center; }
  .principles, .faq { padding: 70px 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: auto; }
  .principle-grid h3 { margin-top: 34px; }
  footer { gap: 16px; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform .18s ease, border-color .18s ease; }
  .button:hover { transform: translateY(-2px); border-color: rgba(241,34,255,.75); }
}

/* ────────────────────────────────────────────────────────────
   ธีมเฉพาะ 1955online.fun — โทนเล่น ๆ ไม่ทางการ
   หน้าอื่นในเครือยังใช้โทนเขียวเดิม เพราะเป็นหน้าให้ข้อมูล
   เปลี่ยนแค่ตัวแปรสีกับความโค้ง ไม่แตะโครง layout
   ──────────────────────────────────────────────────────────── */
[data-site="fun"] {
  /* เวอร์ชันสว่าง/เล่นกว่าของโทนนีออนเดียวกัน ไม่ใช่คนละแบรนด์ */
  --bg: #0a0618;
  --surface: rgba(40, 16, 72, 0.92);
  --surface-strong: rgba(58, 24, 98, 0.88);
  --line: rgba(0, 229, 255, 0.34);
  --text: #fdf6ff;
  --muted: #cdb9e4;
  --accent: #00e5ff;
  --accent-2: #f122ff;
  --grad: linear-gradient(120deg, #00e5ff, #7b2bff 55%, #f122ff 100%);
}

[data-site="fun"] body {
  background:
    radial-gradient(circle at 85% 2%, rgba(0, 229, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 4% 32%, rgba(241, 34, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 102%, rgba(123, 43, 255, 0.26), transparent 32rem),
    var(--bg);
}

/* หัวข้อใหญ่ขึ้นและโค้งขึ้น ให้รู้สึกเล่นกว่าหน้าอื่น */
[data-site="fun"] h1 { letter-spacing: -0.02em; }
[data-site="fun"] h1 em { font-style: normal; color: var(--accent); }
[data-site="fun"] .eyebrow,
[data-site="fun"] .section-label { letter-spacing: .12em; }
[data-site="fun"] .button { border-radius: 999px; padding: 14px 24px; }
[data-site="fun"] .button-primary { color: #06121a; }
[data-site="fun"] .focus-panel { border-radius: 30px; }
[data-site="fun"] .principle-grid article { border-radius: 26px; }
[data-site="fun"] .principle-grid article:nth-child(2) { background: rgba(0, 229, 255, .07); }
[data-site="fun"] .principle-grid article:nth-child(3) { background: rgba(241, 34, 255, .07); }
[data-site="fun"] .principle-grid span { font-size: 1.6rem; }
[data-site="fun"] .faq-list details { border-radius: 20px; }
[data-site="fun"] .trust-row span::before { content: "★"; }

@media (prefers-reduced-motion: no-preference) {
  [data-site="fun"] .principle-grid article { transition: transform .2s ease; }
  [data-site="fun"] .principle-grid article:hover { transform: translateY(-4px) rotate(-.6deg); }
  [data-site="fun"] .button:hover { border-color: rgba(0, 229, 255, .8); }
}

/* ── บล็อกแนวเว็บคาสิโน ───────────────────────────────────── */

.games { padding: 90px 0; border-top: 1px solid var(--line-soft); }
.section-note { margin: -8px 0 26px; max-width: 60ch; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.game-tile { position: relative; padding: 26px 24px 24px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(150deg, var(--surface), rgba(7,3,15,.95)); }
.game-tile::before { content: ""; position: absolute; inset: -1px -1px auto; height: 3px; background: var(--grad); opacity: .85; }
.game-tag { display: inline-block; margin-bottom: 12px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent-2); font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.game-tile h3 { margin: 0 0 7px; font-size: 1.2rem; }
.game-tile p { margin: 0; color: var(--muted); font-size: .95rem; }

.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin: 0 0 90px; padding: 34px 36px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(130deg, rgba(123,43,255,.2), rgba(241,34,255,.12) 55%, transparent), var(--surface); box-shadow: var(--shadow); }
.cta-strip h2 { margin: 0 0 6px; font-size: clamp(1.25rem, 3.2vw, 1.75rem); }
.cta-strip p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .games { padding: 70px 0; }
  .cta-strip { margin-bottom: 70px; padding: 28px 24px; }
}
@media (max-width: 600px) {
  .game-grid { grid-template-columns: 1fr; }
  .stat-grid > div { padding: 18px 12px; }
}

/* ธีม .fun — ไล่ไปทางไซแอน/ม่วงสว่าง ยังอยู่ตระกูลนีออนเดียวกัน */
[data-site="fun"] .game-tile::before { background: var(--grad-cyan); }

/* ── HERO สองคอลัมน์ + แบนเนอร์โปรโมชัน (วางโครงตาม fastspin96.me) ── */
.hero { padding: 34px 0 18px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(1.85rem, 3.5vw, 2.7rem); line-height: 1.22; }
.hero .lead { margin: 0 0 18px; color: var(--muted); font-size: 1.02rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(241,34,255,.08); color: var(--text); font-size: .84rem; font-weight: 600; }

/* แบนเนอร์เต็มความกว้าง ใช้สัดส่วนจริงของไฟล์ 2000x514 จะได้ไม่ถูก crop */
.hero-promo-band { padding: 0 0 18px; }
.hero-promo { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #0b0518; box-shadow: var(--shadow); }
.promo-stage { position: relative; width: 100%; aspect-ratio: 2000 / 514; }
.promo-slide { display: none; position: absolute; inset: 0; margin: 0; }
.promo-slide.is-on { display: block; animation: hs-in .45s ease both; }
.promo-slide img { width: 100%; height: 100%; object-fit: cover; }
.promo-arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(7,3,15,.72); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.promo-arrow.prev { left: 12px; }
.promo-arrow.next { right: 12px; }
.promo-arrow:hover { background: rgba(241,34,255,.3); }
.promo-dots { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; display: flex; gap: 7px; }
.promo-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.34); cursor: pointer; }
.promo-dot.is-on { width: 24px; border-radius: 999px; background: var(--grad); }

/* ── แถบธนาคารวิ่ง (แทนแถบค่ายเกมของ fastspin96.me) ── */
.bank-band { position: relative; margin-bottom: 14px; padding: 16px 0; overflow: hidden; border-block: 1px solid var(--line-soft); background: linear-gradient(90deg, rgba(123,43,255,.14), rgba(241,34,255,.08) 50%, rgba(0,229,255,.1)); }
.band-label { margin: 0 0 12px; padding-left: 4px; color: var(--accent-2); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.bank-marquee { display: flex; width: max-content; gap: 14px; }
.bank-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; width: 92px; padding: 10px 6px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(255,255,255,.04); }
.bank-chip img { width: 36px; height: 36px; object-fit: contain; }
.bank-chip small { color: var(--muted); font-size: .68rem; text-align: center; line-height: 1.25; }
.bank-track { display: flex; gap: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .bank-marquee { animation: bank-roll 38s linear infinite; }
  .bank-band:hover .bank-marquee { animation-play-state: paused; }
}
@keyframes bank-roll { to { transform: translateX(-50%); } }

/* ── การ์ดโปรโมชันเป็นรูป ── */
.promos { padding: 20px 0 90px; }
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promo-tile { overflow: hidden; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(150deg, var(--surface), rgba(7,3,15,.95)); }
.promo-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.promo-tile div { padding: 16px 18px 18px; }
.promo-tile h3 { margin: 0 0 5px; font-size: 1.02rem; }
.promo-tile p { margin: 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding-top: 22px; }
  .hero-card { padding: 24px 20px 26px; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-arrow { width: 32px; height: 32px; }
}

/* ── HERO: ข้อความซ้าย + สไลด์โปรจัตุรัสขวา ───────────────────
   เดิมเป็นกล่องเดียวกว้างเต็ม ทำให้ฝั่งขวาว่างทั้งแถบ
   รูปโปรของ 1955 เป็นจัตุรัส 1040x1040 จึงเข้ากับคอลัมน์ขวาพอดี */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 42px; align-items: center; padding: 48px 0 44px; }
.hero-text .eyebrow { margin-bottom: 14px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 3.8vw, 3.05rem); line-height: 1.16; letter-spacing: -.015em; }
.hero .lead { margin: 0 0 22px; max-width: 46ch; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips span { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: linear-gradient(140deg, rgba(241,34,255,.16), rgba(123,43,255,.08)); font-size: .85rem; font-weight: 600; }

.hero .actions { margin-bottom: 30px; }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.mini-stats strong { display: block; font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 800; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-stats small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; line-height: 1.4; }

/* สไลด์จัตุรัส มีขอบเรืองแสงให้ดูมีมิติ */
.hero-slides { position: relative; }
/* ใช้ box-shadow ทำแสงเรือง แทน pseudo-element ที่ใส่ filter: blur()
   เพราะตัวที่เบลอไปบังรูปสไลด์จนไม่ขึ้นเลย */
.hs-stage { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #0b0518; box-shadow: var(--shadow), 0 0 60px -12px rgba(241, 34, 255, .55); }
/* ใช้ <img> ตัวเดียวแล้วสลับ src แทนการซ้อนสไลด์แบบ absolute
   วิธีซ้อนทำให้รูปไม่ถูกวาดในบางสภาวะ ส่วนวิธีนี้เป็น img ธรรมดาในสายงานปกติ */
@keyframes hs-in { from { opacity: .35; } to { opacity: 1; } }
#hero-shot { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; animation: hs-in .4s ease; }
.hs-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.hs-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hs-dot.is-on { width: 26px; border-radius: 999px; background: var(--grad); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 34px 0 32px; }
  .hero-slides { max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 600px) {
  .mini-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .hero .actions { display: grid; }
  .button { text-align: center; }
}
