/* ============================================
   Bahisvar - Stylesheet
   Tema: Siyah (Black) + Yeşil (Green)
   ============================================ */

:root {
  --black-deep: #0a0e0a;
  --black: #0f150f;
  --card: #131a13;
  --card-2: #1a241a;
  --green: #7ed321;
  --green-bright: #9dff3c;
  --green-soft: #6bb81c;
  --green-dark: #4a8014;
  --text: #e8f0e5;
  --text-dim: #9aad95;
  --white: #ffffff;
  --border: rgba(126,211,33,.20);
  --shadow-green: 0 8px 30px rgba(126,211,33,.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(--black-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }
.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 glowPulse { 0%,100% { box-shadow: 0 0 20px rgba(126,211,33,.4); } 50% { box-shadow: 0 0 35px rgba(126,211,33,.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); } }
@keyframes btnPulse { 0%,100% { transform: scale(1); box-shadow: 0 8px 30px rgba(126,211,33,.4); } 50% { transform: scale(1.03); box-shadow: 0 12px 42px rgba(126,211,33,.7); } }
@keyframes btnShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.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,14,10,.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: 46px; 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(--card); color: var(--green-bright); }
.nav a.active { color: var(--green-bright); }
.nav a.btn-nav { background: linear-gradient(135deg, var(--green-soft), var(--green)); color: var(--black-deep); font-weight: 700; }
.nav a.btn-nav:hover { animation: glowPulse 1.5s infinite; color: var(--black-deep); }

/* ===== Hero ===== */
.hero { position: relative; padding: 60px 0 50px; background: radial-gradient(circle at 20% 20%, rgba(126,211,33,.10), transparent 40%), radial-gradient(circle at 80% 60%, rgba(26,36,26,.6), transparent 50%), var(--black-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(126,211,33,.12); border: 1px solid var(--border); color: var(--green-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: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); }
.hero h1 { font-size: 42px; line-height: 1.15; font-weight: 800; color: var(--white); margin-bottom: 18px; }
.hero h1 .green { background: linear-gradient(90deg, var(--green), var(--green-bright), var(--green)); 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-green); }

/* ===== 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(--green-soft), var(--green)); color: var(--black-deep); box-shadow: var(--shadow-green); }
.btn-primary:hover { transform: translateY(-3px); color: var(--black-deep); box-shadow: 0 12px 40px rgba(126,211,33,.5); }
.btn-outline { background: transparent; color: var(--green-bright); border: 1.5px solid var(--green); }
.btn-outline:hover { background: rgba(126,211,33,.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 .green { color: var(--green-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(--card), var(--black)); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; transition: all .3s ease; }
.card:hover { transform: translateY(-8px); border-color: var(--green); box-shadow: var(--shadow-green); }
.card .ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(126,211,33,.12); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }
.card h3 { color: var(--green-bright); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ===== 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; }
.gallery-item:hover { transform: scale(1.02); border-color: var(--green); box-shadow: var(--shadow-green); }
.gallery-item img { width: 100%; }
.gallery-full { grid-column: 1 / -1; }

/* ===== Content ===== */
.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 .green { color: var(--green-bright); }
.content h3 { font-size: 21px; color: var(--green-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(--green-soft); }
.content blockquote { background: var(--card); border-left: 4px solid var(--green); 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(--card); border-radius: 12px; overflow: hidden; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: rgba(126,211,33,.12); color: var(--green-bright); font-weight: 700; }
td { color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(126,211,33,.04); }

/* ===== CTA box ===== */
.cta-box { background: linear-gradient(135deg, var(--card), var(--black)); border: 1px solid var(--green); 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(126,211,33,.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(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: all .3s ease; }
.faq-item:hover { border-color: var(--green); }
.faq-q { padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--green-bright); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 24px; color: var(--green); 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: 320px; }

/* ===== Blog cards ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.blog-card { background: linear-gradient(160deg, var(--card), var(--black)); 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(--green); box-shadow: var(--shadow-green); }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--black-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(--green-bright); font-size: 18px; margin-bottom: 10px; }
.blog-card p { color: var(--text-dim); font-size: 14px; flex: 1; }
.blog-card .read { margin-top: 14px; font-weight: 600; color: var(--green); }

/* ===== Footer ===== */
.site-footer { background: var(--black); 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: 44px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 340px; }
.footer-col h4 { color: var(--green-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(--green-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: 38px; }
  .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; }
}
