/* ============================================
   ChobaniCasino - Stylesheet
   Tema: Koyu Lacivert (Navy) + Altın (Gold)
   ============================================ */

:root {
  --navy-deep: #0a1428;
  --navy: #0f1d38;
  
  --navy-card: #14233f;
  
  --navy-card-2: #1b2d4f;
  --gold: #d4af37;
  --gold-bright: #f5cd6a;
  --gold-soft: #e8c874;
  --text: #e8edf5;
  --text-dim: #9aa8c0;
  --white: #ffffff;
  --border: rgba(212,175,55,.18);
  --shadow-gold: 0 8px 30px rgba(212,175,55,.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--gold-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ===== Animasyonlar ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(212,175,55,.4); }
  50% { box-shadow: 0 0 35px rgba(212,175,55,.7); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  animation: fadeUp .8s ease forwards;
}
.reveal.d1 { animation-delay: .15s; }
.reveal.d2 { animation-delay: .3s; }
.reveal.d3 { animation-delay: .45s; }
.reveal.d4 { animation-delay: .6s; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,20,40,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.05); }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a {
  padding: 8px 15px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: 15px;
  transition: all .2s ease;
}
.nav a:hover { background: var(--navy-card); color: var(--gold-bright); }
.nav a.active { color: var(--gold-bright); }
.nav a.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-deep); font-weight: 700;
}
.nav a.btn-nav:hover { animation: glowPulse 1.5s infinite; color: var(--navy-deep); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 60px 0 50px;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.10), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(27,45,79,.6), transparent 50%),
    var(--navy-deep);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.12);
  border: 1px solid var(--border);
  color: var(--gold-bright);
  padding: 7px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 8px #35d07f; }
.hero h1 {
  font-size: 42px; line-height: 1.15; font-weight: 800;
  color: var(--white); margin-bottom: 18px;
}
.hero h1 .gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
.hero .lead { font-size: 17px; color: var(--text-dim); margin-bottom: 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { position: relative; animation: float 5s ease-in-out infinite; }
.hero-image img { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 12px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  border: none; transition: all .25s ease; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); color: var(--navy-deep); box-shadow: 0 12px 40px rgba(212,175,55,.5); }
.btn-outline {
  background: transparent; color: var(--gold-bright);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: rgba(212,175,55,.12); transform: translateY(-3px); }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ===== Sections ===== */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 12px;
}
.section-head h2 .gold { color: var(--gold-bright); }
.section-head p { color: var(--text-dim); max-width: 620px; margin: 0 auto; }

/* ===== Feature cards ===== */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px;
}
.card {
  background: linear-gradient(160deg, var(--navy-card), var(--navy));
  border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; transition: all .3s ease;
}
.card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(212,175,55,.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
}
.card h3 { color: var(--gold-bright); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ===== Category gallery ===== */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-item {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  transition: all .3s ease; position: relative;
}
.gallery-item:hover { transform: scale(1.02); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.gallery-item img { width: 100%; }

/* ===== Content prose ===== */
.content { max-width: 860px; margin: 0 auto; }
.content h2 {
  font-size: 27px; color: var(--white); margin: 40px 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.content h2 .gold { color: var(--gold-bright); }
.content h3 { font-size: 21px; color: var(--gold-soft); margin: 26px 0 12px; }
.content p { margin-bottom: 16px; color: var(--text); }
.content ul, .content ol { margin: 0 0 18px 22px; }
.content li { margin-bottom: 9px; color: var(--text); }
.content a { text-decoration: underline; }
.content strong { color: var(--gold-soft); }
.content blockquote {
  background: var(--navy-card); border-left: 4px solid var(--gold);
  padding: 16px 20px; border-radius: 8px; margin: 20px 0; color: var(--text-dim);
}

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: var(--navy-card); border-radius: 12px; overflow: hidden; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: rgba(212,175,55,.12); color: var(--gold-bright); font-weight: 700; }
td { color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(212,175,55,.04); }

/* ===== CTA box ===== */
.cta-box {
  background: linear-gradient(135deg, var(--navy-card), var(--navy));
  border: 1px solid var(--gold); border-radius: 20px;
  padding: 44px; text-align: center; margin: 44px 0;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,.1), transparent 60%);
  animation: spin 20s linear infinite;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: 28px; color: var(--white); margin-bottom: 14px; }
.cta-box p { color: var(--text-dim); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: all .3s ease;
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
  padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--gold-bright);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--gold); transition: transform .3s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: all .35s ease; color: var(--text-dim); }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 300px; }

/* ===== Blog cards ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.blog-card {
  background: linear-gradient(160deg, var(--navy-card), var(--navy));
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: all .3s ease; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--navy-deep); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { color: var(--gold-bright); font-size: 19px; margin-bottom: 10px; }
.blog-card p { color: var(--text-dim); font-size: 15px; flex: 1; }
.blog-card .read { margin-top: 14px; font-weight: 600; color: var(--gold); }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy); border-top: 1px solid var(--border);
  padding: 44px 0 24px; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; margin-bottom: 30px; }
.footer-brand img { height: 48px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 340px; }
.footer-col h4 { color: var(--gold-bright); margin-bottom: 14px; font-size: 16px; }
.footer-col a { display: block; color: var(--text-dim); margin-bottom: 9px; font-size: 14px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  text-align: center; padding-top: 22px; border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 13px;
}
.age-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,60,60,.12); border: 1px solid rgba(255,60,60,.3);
  color: #ff8080; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .header-inner { flex-wrap: wrap; }
  .nav { justify-content: center; width: 100%; }
}
@media (max-width: 560px) {
  .brand img { height: 42px; }
  .hero { padding: 40px 0 34px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 15px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 25px; }
  .gallery { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-box { padding: 30px 20px; }
  .content h2 { font-size: 23px; }
  .nav a { padding: 7px 11px; font-size: 14px; }
}
