/* ============================================
   Pokerdom Review Site — Main Stylesheet
   Optimized for Yandex Fast Bot / Core Web Vitals
   ============================================ */

/* --- Custom Properties --- */
:root{
  --bg:#0d0f14;--bg-card:#12151c;--bg-card-hover:#181c26;--border:#1e2230;
  --red:#e53935;--orange:#ff6f00;--green:#43a047;--yellow:#fdd835;
  --text:#e0e0e0;--text-heading:#fff;--text-secondary:#9e9e9e;
  --grad:linear-gradient(135deg,var(--red),var(--orange));
  --font:'Segoe UI',system-ui,-apple-system,sans-serif;
  --max-w:1200px;--gap:1rem;--radius:10px;--radius-sm:6px;
  --shadow:0 2px 8px rgba(0,0,0,.35);
  --transition:.2s ease;
}

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--orange)}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{color:var(--text-heading);line-height:1.25;font-weight:700}

/* --- Container --- */
.container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 1rem}

/* ============================================
   1. NAVIGATION
   ============================================ */
.nav{position:sticky;top:0;z-index:100;background:rgba(13,15,20,.97);border-bottom:1px solid var(--border);backdrop-filter:blur(6px)}
.nav .container{display:flex;align-items:center;justify-content:space-between;height:60px}
.nav__logo{display:flex;align-items:center;gap:.5rem}
.nav__logo img{height:32px;width:auto}
.logo-text{font-size:1.25rem;font-weight:700;color:var(--text-heading);letter-spacing:.5px}
.logo-text span{color:var(--red)}

.nav__menu{display:flex;align-items:center;gap:1.5rem}
.nav__menu a{color:var(--text);font-size:.9rem;font-weight:500;transition:color var(--transition)}
.nav__menu a:hover{color:var(--red)}

.nav__cta{margin-left:.5rem}

/* Burger — mobile */
.nav__burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.nav__burger span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:transform var(--transition),opacity var(--transition)}

/* Mobile menu */
@media(max-width:767px){
  .nav__burger{display:flex}
  .nav__menu{position:fixed;top:60px;left:0;right:0;bottom:0;flex-direction:column;background:var(--bg);padding:2rem;gap:1.25rem;transform:translateX(100%);transition:transform .25s ease;z-index:99}
  .nav__menu--open{transform:translateX(0)}
  .nav__menu a{font-size:1.1rem}
}

/* ============================================
   2. HERO
   ============================================ */
.hero{background:linear-gradient(170deg,#1a1020 0%,var(--bg) 60%);padding:3rem 0 2.5rem;text-align:center}
.hero__title{font-size:clamp(1.6rem,4vw,2.6rem);margin-bottom:.75rem}
.hero__title span{background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero__subtitle{font-size:clamp(1rem,2vw,1.2rem);color:var(--text-secondary);max-width:640px;margin:0 auto 1.5rem}
.hero__cta{display:inline-flex;gap:.75rem;flex-wrap:wrap;justify-content:center}

/* ============================================
   3. BUTTON CTA
   ============================================ */
.btn-cta{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--grad);color:#fff;font-weight:700;font-size:.95rem;padding:.7rem 1.6rem;border-radius:var(--radius);border:none;cursor:pointer;transition:transform var(--transition),box-shadow var(--transition);white-space:nowrap}
.btn-cta:hover{transform:translateY(-2px);box-shadow:0 4px 18px rgba(229,57,53,.35);color:#fff}
.btn-cta--secondary{background:transparent;border:2px solid var(--red);color:var(--red)}
.btn-cta--secondary:hover{background:rgba(229,57,53,.1);color:var(--red)}
.btn-cta--large{padding:.85rem 2.2rem;font-size:1.1rem;border-radius:12px}

/* ============================================
   4. SECTION
   ============================================ */
.section{padding:2.5rem 0}
.section__title{font-size:clamp(1.3rem,3vw,1.9rem);margin-bottom:.5rem;text-align:center}
.section__subtitle{color:var(--text-secondary);text-align:center;max-width:680px;margin:0 auto 1.75rem;font-size:.95rem}
.section__content{font-size:.97rem;line-height:1.7}
.section__content p+p{margin-top:1rem}
.section__content h3{margin:1.5rem 0 .5rem;font-size:1.15rem}
.section__content ul,.section__content ol{padding-left:1.2rem;margin:.75rem 0}
.section__content li{margin-bottom:.35rem;list-style:disc}
.section__content ol li{list-style:decimal}

/* ============================================
   5. INFO CARD
   ============================================ */
.info-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.info-card__table{width:100%;border-collapse:collapse}
.info-card__row{display:flex;border-bottom:1px solid var(--border)}
.info-card__row:last-child{border-bottom:none}
.info-card__label,.info-card__value{padding:.7rem 1rem;font-size:.9rem}
.info-card__label{flex:0 0 45%;background:rgba(255,255,255,.03);color:var(--text-secondary);font-weight:600}
.info-card__value{flex:1;color:var(--text-heading)}

/* ============================================
   6. CARD GRID
   ============================================ */
.card-grid{display:grid;grid-template-columns:1fr;gap:var(--gap)}
@media(min-width:576px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.card-grid{grid-template-columns:repeat(3,1fr)}}

.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;transition:transform var(--transition),box-shadow var(--transition)}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card__icon{font-size:1.8rem;margin-bottom:.6rem;line-height:1}
.card__title{font-size:1.05rem;margin-bottom:.4rem}
.card__text{font-size:.88rem;color:var(--text-secondary);line-height:1.55}

/* ============================================
   7. STEPS
   ============================================ */
.steps{counter-reset:step;display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:768px){.steps{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
.steps__item{position:relative;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.25rem 1.25rem 1rem;counter-increment:step}
.steps__number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--grad);color:#fff;font-weight:700;font-size:.85rem;margin-bottom:.6rem}
.steps__number::before{content:counter(step)}
.steps__title{font-size:1rem;margin-bottom:.3rem}
.steps__text{font-size:.87rem;color:var(--text-secondary);line-height:1.5}

/* ============================================
   8. FAQ — CSS-only accordion (details/summary)
   ============================================ */
.faq{max-width:800px;margin:0 auto}
.faq__item{border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:.6rem;background:var(--bg-card);overflow:hidden}
.faq__question{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1rem;cursor:pointer;font-weight:600;font-size:.95rem;color:var(--text-heading);list-style:none}
.faq__question::-webkit-details-marker{display:none}
.faq__question::marker{content:""}
.faq__question::after{content:"+";font-size:1.3rem;color:var(--red);flex-shrink:0;margin-left:.5rem;transition:transform var(--transition)}
.faq__item[open] .faq__question::after{content:"\2212"}
.faq__answer{padding:0 1rem .85rem;font-size:.9rem;color:var(--text-secondary);line-height:1.65}

/* ============================================
   9. REVIEW CARD
   ============================================ */
.reviews-grid{display:grid;grid-template-columns:1fr;gap:var(--gap)}
@media(min-width:768px){.reviews-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.reviews-grid{grid-template-columns:repeat(3,1fr)}}

.review-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem}
.review-card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.review-card__name{font-weight:600;font-size:.95rem}
.review-card__rating{color:var(--yellow);font-size:.85rem;letter-spacing:1px}
.review-card__text{font-size:.88rem;color:var(--text-secondary);line-height:1.55}
.review-card--positive{border-left:3px solid var(--green)}
.review-card--neutral{border-left:3px solid var(--yellow)}
.review-card--negative{border-left:3px solid var(--red)}

/* ============================================
   10. TABLE COMPARE
   ============================================ */
.table-compare{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1rem 0}
.table-compare table{width:100%;min-width:560px;border-collapse:collapse;background:var(--bg-card);border-radius:var(--radius);overflow:hidden}
.table-compare th,.table-compare td{padding:.65rem .85rem;text-align:left;font-size:.88rem;border-bottom:1px solid var(--border)}
.table-compare th{background:rgba(229,57,53,.12);color:var(--text-heading);font-weight:600;white-space:nowrap}
.table-compare tr:last-child td{border-bottom:none}
.table-compare tr:hover td{background:rgba(255,255,255,.02)}

/* ============================================
   11. MIRROR BOX
   ============================================ */
.mirror-box{background:linear-gradient(135deg,rgba(229,57,53,.12),rgba(255,111,0,.08));border:1px solid rgba(229,57,53,.3);border-radius:var(--radius);padding:1.5rem;text-align:center;margin:1.5rem 0}
.mirror-box__title{font-size:1.2rem;margin-bottom:.75rem}
.mirror-box__link{margin-bottom:.5rem}
.mirror-box__updated{font-size:.78rem;color:var(--text-secondary)}

/* ============================================
   12. BONUS CARD
   ============================================ */
.bonus-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center;position:relative;overflow:hidden}
.bonus-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--grad)}
.bonus-card__title{font-size:1rem;margin-bottom:.5rem;color:var(--text-secondary)}
.bonus-card__value{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:800;background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem}
.bonus-card__terms{font-size:.78rem;color:var(--text-secondary);line-height:1.5}

/* ============================================
   13. FOOTER
   ============================================ */
.footer{background:#0a0c10;border-top:1px solid var(--border);padding:2.5rem 0 1.5rem;margin-top:2rem}
.footer__grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:576px){.footer__grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer__grid{grid-template-columns:repeat(4,1fr)}}
.footer__heading{font-size:.95rem;margin-bottom:.75rem;color:var(--text-heading)}
.footer__links{display:flex;flex-direction:column;gap:.4rem}
.footer__links a{color:var(--text-secondary);font-size:.85rem;transition:color var(--transition)}
.footer__links a:hover{color:var(--red)}
.footer__bottom{margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem}
.footer__copy{font-size:.8rem;color:var(--text-secondary)}
.footer__disclaimer{font-size:.75rem;color:#666;line-height:1.5;max-width:600px}

/* ============================================
   14. BREADCRUMBS
   ============================================ */
.breadcrumbs{padding:.75rem 0;font-size:.82rem;color:var(--text-secondary)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.3rem;list-style:none}
.breadcrumbs li+li::before{content:"/";margin-right:.3rem;color:#555}
.breadcrumbs a{color:var(--text-secondary)}
.breadcrumbs a:hover{color:var(--red)}

/* ============================================
   15. PROS & CONS
   ============================================ */
.pros-cons{display:grid;grid-template-columns:1fr;gap:var(--gap)}
@media(min-width:576px){.pros-cons{grid-template-columns:1fr 1fr}}
.pros-cons__col{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem}
.pros-cons__col--pro{border-top:3px solid var(--green)}
.pros-cons__col--con{border-top:3px solid var(--red)}
.pros-cons__col h3{font-size:1rem;margin-bottom:.75rem}
.pros-cons__item{position:relative;padding-left:1.4rem;font-size:.9rem;margin-bottom:.45rem;color:var(--text-secondary);line-height:1.5}
.pros-cons__item::before{position:absolute;left:0;font-weight:700}
.pros-cons__col--pro .pros-cons__item::before{content:"+";color:var(--green)}
.pros-cons__col--con .pros-cons__item::before{content:"\2212";color:var(--red)}

/* ============================================
   16. INTERNAL LINKS
   ============================================ */
.internal-links{display:grid;grid-template-columns:1fr;gap:.75rem}
@media(min-width:576px){.internal-links{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.internal-links{grid-template-columns:repeat(3,1fr)}}
.internal-links a{display:flex;align-items:center;gap:.6rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.8rem 1rem;font-size:.9rem;color:var(--text);font-weight:500;transition:border-color var(--transition),transform var(--transition)}
.internal-links a:hover{border-color:var(--red);transform:translateY(-1px);color:var(--text-heading)}
.internal-links a::after{content:"\2192";margin-left:auto;color:var(--red)}

/* ============================================
   17. DOWNLOAD CARD
   ============================================ */
.download-grid{display:grid;grid-template-columns:1fr;gap:var(--gap)}
@media(min-width:576px){.download-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}
.download-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.3rem;text-align:center;transition:transform var(--transition),box-shadow var(--transition)}
.download-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.download-card__icon{font-size:2rem;margin-bottom:.5rem}
.download-card__title{font-size:1rem;margin-bottom:.25rem}
.download-card__subtitle{font-size:.82rem;color:var(--text-secondary);margin-bottom:.85rem}
.download-card .btn-cta{width:100%}

/* ============================================
   UTILITIES
   ============================================ */
.text-center{text-align:center}
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}
.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}
.highlight{color:var(--red);font-weight:600}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.badge{display:inline-block;padding:.2rem .55rem;border-radius:4px;font-size:.75rem;font-weight:600}
.badge--green{background:rgba(67,160,71,.15);color:var(--green)}
.badge--red{background:rgba(229,57,53,.15);color:var(--red)}
.badge--orange{background:rgba(255,111,0,.15);color:var(--orange)}

/* Rating stars utility */
.stars{color:var(--yellow);letter-spacing:1px}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media(min-width:768px){
  .nav .container{height:64px}
  .hero{padding:4rem 0 3rem}
  .section{padding:3rem 0}
}
@media(min-width:1024px){
  .hero{padding:4.5rem 0 3.5rem}
  .section{padding:3.5rem 0}
}
