:root{
  --bg:#0b0f14;
  --card:#121821;
  --text:#eaf2ff;
  --muted:#a9bed6;
  --accent:#48d597;
  --accent2:#79b7ff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,#0b0f14 0%, #0e1621 100%);
  color:var(--text);font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
a{color:inherit;text-decoration:none}
.container{max-width:980px;margin:0 auto;padding:18px}
.header{position:sticky;top:0;background:rgba(11,15,20,.7);backdrop-filter:blur(10px);
  border-bottom:1px solid #1c2a3a;z-index:10}
.header .wrap{display:flex;align-items:center;justify-content:space-between;padding:12px 18px}
.brand{font-weight:700;letter-spacing:.3px}
.badge{font-size:12px;background:#13202c;color:#bcd8ff;padding:4px 10px;border:1px solid #203142;border-radius:999px}
.card{background:var(--card);border:1px solid #1b2532;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:18px}
@media (max-width:900px){.hero{grid-template-columns:1fr}}
.hero .left{min-height:420px}
.carousel{position:relative;height:100%;}
.carousel-track{height:100%;display:flex;transition:transform .6s ease}
.carousel-slide{min-width:100%;height:100%;background:#000}
.carousel-slide img{width:100%;height:100%;object-fit:cover}
.carousel-nav{position:absolute;inset:auto 0 12px 0;display:flex;justify-content:center;gap:8px}
.dot{width:9px;height:9px;border-radius:999px;background:#2b3a4c;border:1px solid #415872;opacity:.9;cursor:pointer;padding:0}
.dot.active{background:linear-gradient(90deg,var(--accent2),var(--accent));border-color:var(--accent)}
.arrow{position:absolute;top:50%;transform:translateY(-50%);border:none;background:rgba(14,22,33,.7);color:#eaf2ff;
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;cursor:pointer;border:1px solid #243247;
  font-size:18px;transition:all .2s ease;opacity:.8}
.arrow:hover{background:rgba(14,22,33,.9);opacity:1;transform:translateY(-50%) scale(1.1)}
.arrow.left{left:12px}
.arrow.right{right:12px}

.hero .right{padding:20px}
h1{margin:0 0 6px 0;font-size:28px}
.lead{color:var(--text);opacity:.92;line-height:1.7}
.light{color:var(--muted)}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.tag{font-size:12px;background:#101a26;border:1px solid #223244;color:#cde0f5;padding:6px 10px;border-radius:999px}

.cta{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:12px;
  font-weight:600;border:1px solid #233244;transition:transform .06s ease, box-shadow .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(90deg,var(--accent) 0%, #7bf0c1 100%);color:#082313;border:none;box-shadow:0 8px 20px rgba(72,213,151,.35)}
.btn-outline{background:#0e1621;color:#cfe6ff}

.section{margin-top:20px}
.section h2{margin:0 0 10px;font-size:20px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.grid img{width:100%;height:220px;object-fit:cover;border-radius:14px;border:1px solid #223244}
@media (max-width:900px){.grid{grid-template-columns:repeat(3,1fr)} .grid img{height:160px}}

.footer{margin:22px 0 10px;color:#8ea6c0;font-size:12px;text-align:center;opacity:.85}
.disclaimer{margin-top:12px;font-size:12px;color:#8aa2b8;line-height:1.6}
.disclaimer a{color:var(--accent2);text-decoration:underline;cursor:pointer}
.disclaimer a:hover{color:var(--accent)}

.age-notice{background:#1a2332;border:1px solid #2d3f52;border-radius:12px;padding:16px;margin-top:16px;text-align:center}
.age-notice p{margin:0;font-size:13px;color:#cde0f5}

/* Modal Styles */
.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);z-index:1000;backdrop-filter:blur(4px)}
.modal.show{display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease}
.modal-content{background:var(--card);border:1px solid #2d3f52;border-radius:16px;max-width:600px;max-height:80vh;margin:20px;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,.5)}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #2d3f52}
.modal-header h2{margin:0;font-size:20px}
.modal-close{background:none;border:none;color:var(--muted);font-size:24px;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.modal-close:hover{background:#2d3f52;color:var(--text)}
.modal-body{padding:20px;overflow-y:auto;max-height:60vh}
.modal-body h3{color:var(--accent2);font-size:16px;margin:16px 0 8px 0}
.modal-body ul{margin:8px 0 16px 20px;line-height:1.7}
.modal-body p{line-height:1.6;margin:12px 0}

@keyframes fadeIn{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}

.small{font-size:13.5px;line-height:1.8}

/* Performance optimizations */
.carousel-slide img{will-change:transform;transform:translateZ(0)}
.carousel-track{will-change:transform;transform:translateZ(0)}

/* Accessibility improvements */
.btn:focus{outline:2px solid var(--accent);outline-offset:2px}
.arrow:focus{outline:2px solid var(--accent);outline-offset:2px}
.dot:focus{outline:2px solid var(--accent);outline-offset:2px}

/* Loading state */
.carousel-slide img{opacity:0;transition:opacity .3s ease}
.carousel-slide img.loaded{opacity:1}

/* Mobile optimizations */
@media (max-width:768px){
  .container{padding:16px 12px}
  .hero{grid-template-columns:1fr;gap:16px}
  .hero .left{min-height:350px}
  .hero .right{padding:20px 16px}
  
  h1{font-size:24px;margin-bottom:8px}
  .lead{font-size:15px;line-height:1.6}
  .tags{gap:6px;margin:12px 0}
  .tag{font-size:11px;padding:5px 8px}
  
  .btn{padding:12px 20px;font-size:15px;border-radius:10px}
  .cta{gap:10px;flex-direction:column;align-items:stretch}
  .cta .light{text-align:center;margin-top:8px}
  
  .modal-content{margin:10px;max-height:90vh;border-radius:12px}
  .modal-body{padding:16px;font-size:14px}
  .modal-header{padding:16px}
  
  .section{margin-top:16px}
  .section h2{font-size:18px}
  .small{font-size:13px}
  
  .footer{margin:16px 0 8px;font-size:11px}
  .disclaimer{font-size:11px;line-height:1.5}
  .age-notice{padding:12px;margin-top:12px;font-size:12px}
}

@media (max-width:480px){
  .container{padding:12px 8px}
  .hero .right{padding:16px 12px}
  
  h1{font-size:22px}
  .lead{font-size:14px}
  .btn{padding:10px 16px;font-size:14px}
  
  .arrow{width:28px;height:28px;font-size:16px}
  .arrow.left{left:8px}
  .arrow.right{right:8px}
  
  .carousel-nav{bottom:8px}
  .dot{width:8px;height:8px}
  
  .modal-content{margin:5px;border-radius:8px}
  .modal-body{padding:12px;font-size:13px}
  .modal-header{padding:12px}
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .btn{padding:14px 24px;font-size:16px}
  .arrow{width:36px;height:36px;font-size:18px}
  .dot{width:12px;height:12px}
  .carousel-nav{bottom:16px}
}