/* Yaass ES site-2 | prefix: ys2- | font: Poppins | style: gradient + pill buttons + glass */
/* Palette: #E800E8 / #FF00FF / #080808 | Mobile-first: 320 / 768 / 1024 / 1440 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #080808; color: #fff; line-height: 1.6; padding-bottom: 56px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* PROMO BAR */
.ys2-bar { position: fixed; bottom: 0; left: 0; right: 0; background: linear-gradient(90deg, #C000C0, #FF00FF); z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; font-size: 13px; font-weight: 600; }
.ys2-bar a { background: #fff; color: #C000C0; padding: 8px 20px; border-radius: 20px; text-decoration: none; font-weight: 800; white-space: nowrap; transition: opacity .2s; }
.ys2-bar a:hover { opacity: .85; }
.ys2-bar-x { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; margin-left: auto; }

/* HEADER */
.ys2-hdr { position: sticky; top: 0; background: rgba(8,8,8,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 100; border-bottom: 1px solid rgba(255,0,255,.3); }
.ys2-hdr-wrap { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 14px; }
.ys2-logo img { height: 38px; width: auto; }
.ys2-nav { display: none; }
.ys2-nav ul { list-style: none; display: flex; gap: 18px; }
.ys2-nav a { color: #bbb; text-decoration: none; font-weight: 500; font-size: 14px; transition: color .2s; }
.ys2-nav a:hover { color: #FF00FF; }
.ys2-btn { display: inline-block; background: linear-gradient(135deg, #E800E8, #FF44FF); color: #fff; padding: 12px 28px; border-radius: 24px; font-weight: 700; font-size: 15px; text-decoration: none; transition: opacity .2s, transform .15s; white-space: nowrap; }
.ys2-btn:hover { opacity: .88; transform: translateY(-1px); }
.ys2-btn-ghost { display: inline-block; max-width: 280px; background: transparent; color: #FF00FF; border: 2px solid #FF00FF; padding: 10px 22px; border-radius: 24px; font-weight: 700; font-size: 14px; text-decoration: none; margin-top: 16px; transition: all .2s; }
.ys2-btn-ghost:hover { background: #FF00FF; color: #fff; }
.ys2-mbtn { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.ys2-mbtn span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* TOC */
.ys2-toc-strip { background: rgba(8,8,8,.9); border-bottom: 1px solid #161616; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ys2-toc-content { max-width: 1200px; margin: 0 auto; padding: 9px 20px; display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; }
.ys2-toc-content b { color: #555; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; flex-shrink: 0; }
.ys2-toc-content ul { list-style: none; display: flex; gap: 0; }
.ys2-toc-content a { display: block; color: #888; text-decoration: none; padding: 3px 9px; border-radius: 12px; font-size: 12px; transition: color .2s, background .2s; }
.ys2-toc-content a:hover { color: #FF00FF; background: #141414; }

/* LAYOUT */
.ys2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ys2-block { padding: 60px 0; }
.ys2-alt { background: #0e0e0e; }
.ys2-h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.ys2-h2.ys2-tc { text-align: center; }
.ys2-h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.ys2-desc { color: #999; font-size: 15px; margin-bottom: 32px; max-width: 680px; }
.ys2-desc.ys2-tc { margin-left: auto; margin-right: auto; text-align: center; }
.ys2-intro { color: #bbb; font-size: 16px; margin-bottom: 26px; }
.ys2-tc { text-align: center; }
.ys2-chip { display: inline-block; background: rgba(255,0,255,.15); border: 1px solid rgba(255,0,255,.4); color: #FF00FF; padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }

/* HERO */
.ys2-hero-bg { background: linear-gradient(135deg, #0D0020 0%, #080808 60%); padding: 60px 0 40px; }
.ys2-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.ys2-title { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.ys2-title span { color: #FF00FF; }
.ys2-hero-visual img { border-radius: 16px; width: 100%; box-shadow: 0 0 40px rgba(232,0,232,.2); }

/* TWO COL */
.ys2-two-col { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.ys2-col-img img { border-radius: 12px; width: 100%; box-shadow: 0 0 30px rgba(232,0,232,.12); }
.ys2-col-text { display: flex; flex-direction: column; gap: 12px; }
.ys2-col-text p { color: #bbb; font-size: 15px; }

/* SPORT BADGES */
.ys2-sport-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.ys2-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,0,255,.08); border: 1px solid rgba(255,0,255,.2); color: #ddd; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; transition: background .2s, border-color .2s; }
.ys2-badge:hover { background: rgba(255,0,255,.18); border-color: rgba(255,0,255,.5); }

/* STEPS */
.ys2-step-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ys2-scard { background: linear-gradient(135deg, #141414, #0e0e0e); border: 1px solid #1e1e1e; border-radius: 16px; padding: 24px 20px; position: relative; overflow: hidden; transition: border-color .2s, transform .15s; }
.ys2-scard:hover { border-color: rgba(255,0,255,.4); transform: translateY(-2px); }
.ys2-scard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #E800E8, #FF44FF); opacity: 0; transition: opacity .2s; }
.ys2-scard:hover::before { opacity: 1; }
.ys2-snum { font-size: 2rem; font-weight: 900; color: #FF00FF; opacity: .2; position: absolute; top: 12px; right: 16px; line-height: 1; }
.ys2-scard h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.ys2-scard p { color: #999; font-size: 14px; }

/* GAME GRID */
.ys2-game-row { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
.ys2-gcard { border-radius: 16px; overflow: hidden; background: #141414; border: 1px solid #1e1e1e; transition: border-color .2s, transform .2s; }
.ys2-gcard:hover { border-color: rgba(255,0,255,.4); transform: translateY(-4px); }
.ys2-gcard img { width: 100%; height: 200px; object-fit: cover; }
.ys2-gcard p { padding: 14px 16px; font-weight: 700; font-size: 1rem; }

/* SUB SECTION */
.ys2-subsec { margin-top: 44px; padding-top: 44px; border-top: 1px solid #161616; }
.ys2-subsec p { color: #999; font-size: 15px; margin-bottom: 18px; }

/* SLOTS */
.ys2-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ys2-st { background: #141414; border: 1px solid #1e1e1e; border-radius: 12px; overflow: hidden; text-align: center; transition: border-color .2s; }
.ys2-st:hover { border-color: rgba(255,0,255,.4); }
.ys2-st img { width: 100%; height: 88px; object-fit: cover; }
.ys2-st span { display: block; padding: 6px 4px; font-size: 11px; font-weight: 600; color: #bbb; }

/* LIVE */
.ys2-live-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.ys2-lcard { background: #141414; border: 1px solid #1e1e1e; border-radius: 12px; overflow: hidden; text-align: center; transition: border-color .2s; }
.ys2-lcard:hover { border-color: rgba(255,0,255,.4); }
.ys2-lcard img { width: 100%; height: 108px; object-fit: cover; }
.ys2-lcard span { display: block; padding: 10px 8px; font-size: 13px; font-weight: 600; }

/* MESA */
.ys2-mesa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.ys2-mitem { background: #141414; border: 1px solid #1e1e1e; border-radius: 10px; padding: 16px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: border-color .2s; }
.ys2-mitem:hover { border-color: rgba(255,0,255,.4); }

/* LIST */
.ys2-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.ys2-list li { display: flex; align-items: center; gap: 8px; color: #bbb; font-size: 14px; }
.ys2-list li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg,#E800E8,#FF44FF) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 10px; flex-shrink: 0; }

/* PAYMENTS */
.ys2-pay-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 20px; background: #141414; border: 1px solid #1e1e1e; border-radius: 16px; margin-bottom: 36px; }
.ys2-pay-cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
.ys2-pay-cols p { color: #999; font-size: 14px; margin-bottom: 14px; }
.ys2-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.ys2-tbl th { background: linear-gradient(135deg,#E800E8,#FF44FF); color: #fff; padding: 10px 12px; text-align: left; font-size: 13px; }
.ys2-tbl td { padding: 10px 12px; border-bottom: 1px solid #161616; color: #999; }
.ys2-tbl tr:hover td { background: #141414; }

/* HOW TO */
.ys2-howto { display: flex; flex-direction: column; gap: 14px; }
.ys2-hrow { display: flex; gap: 18px; align-items: flex-start; background: #141414; border: 1px solid #1e1e1e; border-radius: 14px; padding: 18px 20px; transition: border-color .15s; }
.ys2-hrow:hover { border-color: rgba(255,0,255,.3); }
.ys2-hn { font-size: 1.7rem; font-weight: 900; color: #FF00FF; opacity: .4; line-height: 1; flex-shrink: 0; min-width: 42px; }
.ys2-hrow h3 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.ys2-hrow p { color: #999; font-size: 14px; }

/* BONUS */
.ys2-brow { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ys2-bcard { background: #141414; border: 1px solid #1e1e1e; border-radius: 16px; overflow: hidden; transition: border-color .2s, transform .2s; }
.ys2-bcard:hover { border-color: rgba(255,0,255,.4); transform: translateY(-4px); }
.ys2-bcard img { width: 100%; height: 200px; object-fit: cover; }
.ys2-bcopy { padding: 18px 20px; }
.ys2-bcopy h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.ys2-bcopy p { color: #999; font-size: 14px; margin-bottom: 14px; }

/* TIPS */
.ys2-tips-grid { display: flex; flex-direction: column; gap: 14px; }
.ys2-tip { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #141414; border: 1px solid #1e1e1e; border-radius: 12px; font-size: 14px; color: #999; }
.ys2-tip strong { color: #fff; }
.ys2-tip-bar { width: 4px; background: linear-gradient(180deg,#E800E8,#FF44FF); border-radius: 2px; flex-shrink: 0; align-self: stretch; }

/* AUTHOR */
.ys2-autor-section { background: #0e0e0e; padding: 44px 0; }
.ys2-autor-card { max-width: 700px; margin: 0 auto; display: flex; gap: 22px; align-items: flex-start; background: linear-gradient(135deg,#141414,#0e0e0e); border: 1px solid #1e1e1e; border-radius: 16px; padding: 26px; }
.ys2-autor-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid #FF00FF; box-shadow: 0 0 20px rgba(255,0,255,.3); }
.ys2-autor-name { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.ys2-autor-role { color: #FF00FF; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.ys2-autor-bio { color: #999; font-size: 13px; line-height: 1.6; }

/* FAQ */
.ys2-accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ys2-acc-item { background: #141414; border: 1px solid #1e1e1e; border-radius: 12px; overflow: hidden; }
.ys2-acc-btn { width: 100%; background: none; border: none; padding: 16px 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; transition: background .2s; }
.ys2-acc-btn:hover { background: #1a1a1a; }
.ys2-acc-btn h3 { font-size: 14px; font-weight: 600; color: #fff; flex: 1; margin: 0; font-family: 'Poppins', sans-serif; }
.ys2-acc-btn span { color: #FF00FF; font-size: 20px; flex-shrink: 0; transition: transform .2s; }
.ys2-acc-btn[aria-expanded="true"] span { transform: rotate(45deg); }
.ys2-acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ys2-acc-panel p { padding: 0 18px 16px; color: #999; font-size: 14px; line-height: 1.6; }

/* FOOTER */
.ys2-foot { background: #050505; padding: 36px 0 20px; border-top: 1px solid #141414; }
.ys2-foot-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.ys2-foot-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ys2-foot-links a { color: #555; text-decoration: none; font-size: 13px; transition: color .2s; }
.ys2-foot-links a:hover { color: #FF00FF; }
.ys2-legal { padding: 14px 16px; background: #0e0e0e; border-radius: 10px; border-left: 3px solid #FF00FF; margin-bottom: 16px; }
.ys2-legal p { color: #555; font-size: 12px; line-height: 1.6; margin-bottom: 4px; }
.ys2-foot-copy { color: #333; font-size: 11px; text-align: center; }

/* Mobile nav open */
.ys2-nav.ys2-nav-open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #080808; z-index: 200; padding: 74px 28px 28px; }
.ys2-nav.ys2-nav-open ul { flex-direction: column; }
.ys2-nav.ys2-nav-open a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid #161616; }

/* 768px */
@media (min-width: 768px) {
    .ys2-hero-inner { grid-template-columns: 1fr 1fr; }
    .ys2-title { font-size: 2.5rem; }
    .ys2-two-col { grid-template-columns: 1fr 1fr; }
    .ys2-rev { direction: rtl; }
    .ys2-rev > * { direction: ltr; }
    .ys2-step-row { grid-template-columns: repeat(2, 1fr); }
    .ys2-game-row { grid-template-columns: repeat(3, 1fr); }
    .ys2-live-cards { grid-template-columns: repeat(4, 1fr); }
    .ys2-mesa { grid-template-columns: repeat(4, 1fr); }
    .ys2-pay-cols { grid-template-columns: 1fr 1fr; }
    .ys2-brow { grid-template-columns: repeat(3, 1fr); }
    .ys2-slots { grid-template-columns: repeat(6, 1fr); }
    .ys2-nav { display: flex; align-items: center; }
    .ys2-mbtn { display: none; }
    .ys2-h2 { font-size: 2rem; }
    .ys2-foot-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* 1024px */
@media (min-width: 1024px) {
    .ys2-title { font-size: 2.9rem; }
    .ys2-h2 { font-size: 2.2rem; }
    .ys2-step-row { grid-template-columns: repeat(3, 1fr); }
    .ys2-block { padding: 80px 0; }
}

/* 1440px */
@media (min-width: 1440px) {
    .ys2-wrap { max-width: 1300px; }
    .ys2-title { font-size: 3.3rem; }
    .ys2-h2 { font-size: 2.6rem; }
}
