/*
Theme Name: 1win Casino
Theme URI: https://example.com/1win
Author: v0
Author URI: https://v0.app
Description: 1win Casino landing page — mobil uyumlu, koyu altın/yesil temali casino sablonu.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: onewin
*/

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --background: #0d0d14;
  --darker-bg: #08080d;
  --card: #14141c;
  --foreground: #fafafa;
  --muted-foreground: #8a8a96;
  --border: #26263180;
  --gold: #e0b13a;
  --gold-bright: #f5c542;
  --green-btn: #1ea34a;
  --green-btn-hover: #178a3e;
  --radius: 8px;
}

html { background: var(--background); -webkit-text-size-adjust: 100%; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(13,13,20,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.logo { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.logo span { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: var(--radius);
  font-family: inherit;
  transition: all 0.15s ease;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #3a3a45;
  padding: 9px 18px;
  font-size: 14px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green {
  background: var(--green-btn);
  color: #fff;
  padding: 9px 18px;
  font-size: 14px;
}
.btn-green:hover { background: var(--green-btn-hover); }
.menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px; border-radius: var(--radius); color: var(--foreground); font-weight: 600; }
.mobile-menu a:hover { background: #1f1f29; color: var(--gold); }

/* ===== Hero ===== */
.hero { position: relative; padding: 24px 16px 28px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,20,0.4) 0%, rgba(13,13,20,0.85) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-logo { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.hero-logo span { color: var(--gold); }
.hero-title {
  font-size: 38px; font-weight: 900; line-height: 1.05; margin-bottom: 12px; text-transform: uppercase;
}
.hero-title .gold { color: var(--gold); }
.hero-desc { color: #d4d4d8; font-size: 15px; max-width: 320px; margin-bottom: 20px; }

/* Bonus card */
.bonus-card {
  background: rgba(8,8,13,0.75);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 18px;
  backdrop-filter: blur(4px);
}
.bonus-card .label { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.bonus-card .amount { color: var(--gold); font-size: 42px; font-weight: 900; margin: 4px 0 14px; }
.btn-bonus {
  width: 100%;
  background: var(--green-btn);
  color: #fff;
  padding: 14px;
  font-size: 16px;
  border-radius: var(--radius);
}
.btn-bonus:hover { background: var(--green-btn-hover); }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 16px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 4px;
  text-align: center;
}
.feature .icon { font-size: 22px; color: var(--gold); margin-bottom: 8px; }
.feature .ftext { font-size: 9px; font-weight: 700; color: #d4d4d8; line-height: 1.3; white-space: pre-line; }

/* ===== Section ===== */
.section { padding: 8px 16px; }
.section-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; }
.section-title .star { color: var(--gold); }
.see-all { color: var(--muted-foreground); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 2px; }

/* ===== Reviews ===== */
.reviews-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.reviews-rating .stars { color: var(--gold); }
.reviews-rating .score { font-weight: 800; }
.reviews-rating .count { color: var(--muted-foreground); font-size: 11px; }
.reviews-track {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 75%; scroll-snap-align: start;
  background: var(--darker-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.review-name { font-weight: 700; font-size: 15px; }
.review-loc { color: var(--muted-foreground); font-size: 12px; margin: 2px 0 8px; }
.review-stars { color: var(--gold); font-size: 13px; margin-bottom: 8px; }
.review-text { font-size: 13px; color: #c4c4cc; }

/* ===== Games ===== */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.game-card { border-radius: 10px; overflow: hidden; aspect-ratio: 1; position: relative; border: 1px solid var(--border); }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.game-card:hover img { transform: scale(1.06); }

/* ===== Sports ===== */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--darker-bg); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-btn); }
.sports-icons { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.sports-icons::-webkit-scrollbar { display: none; }
.sport {
  flex: 0 0 auto; text-align: center; min-width: 56px;
}
.sport .circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--darker-bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 6px;
}
.sport .sname { font-size: 10px; font-weight: 600; color: var(--muted-foreground); }
.jackpot {
  margin-top: 14px;
  background: linear-gradient(135deg, #14141c, #1a1a24);
  border: 1px solid var(--gold);
  border-radius: 10px; padding: 16px; text-align: center;
}
.jackpot .jlabel { font-size: 13px; font-weight: 700; color: #d4d4d8; }
.jackpot .jamount { font-size: 28px; font-weight: 900; color: var(--gold); margin: 4px 0 12px; }

/* ===== Cashback ===== */
.cashback {
  margin: 8px 16px;
  background: linear-gradient(135deg, #14141c, #101018);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
}
.cashback .clabel { font-size: 14px; font-weight: 700; }
.cashback .cpercent { font-size: 48px; font-weight: 900; color: var(--green-btn); line-height: 1; margin: 2px 0; }
.cashback .csub { font-size: 13px; color: #d4d4d8; }

/* ===== Bottom bonus banner ===== */
.bottom-bonus {
  margin: 8px 16px 20px;
  background: linear-gradient(135deg, #1a1505, #14141c);
  border: 1px solid var(--gold);
  border-radius: 12px; padding: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bottom-bonus .bb-text .bb-label { font-size: 12px; font-weight: 700; color: #d4d4d8; }
.bottom-bonus .bb-text .bb-amount { font-size: 30px; font-weight: 900; color: var(--gold); }
.bottom-bonus .btn-green { padding: 13px 20px; font-size: 15px; white-space: nowrap; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 22px 16px 30px; }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 18px; }
.trust { text-align: center; max-width: 80px; }
.trust .ticon { font-size: 18px; color: var(--gold); margin-bottom: 6px; }
.trust .ttext { font-size: 10px; font-weight: 600; color: var(--muted-foreground); line-height: 1.3; }
.age-badge {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--muted-foreground); color: var(--muted-foreground);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.footer-copy { text-align: center; font-size: 12px; color: var(--muted-foreground); }
