.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 0; border-radius: 11px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary { color: white; background: linear-gradient(110deg, var(--purple), var(--magenta)); box-shadow: 0 10px 25px rgba(113,39,255,.24); }
.btn-cyan { color: #021523; background: linear-gradient(110deg, var(--turquoise), var(--cyan)); box-shadow: 0 10px 25px rgba(0,229,229,.18); }
.btn-ghost { color: white; background: rgba(8,18,46,.64); border: 1px solid var(--border); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 11px; }
.hero { min-height: 260px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 38px 42px; border: 1px solid rgba(88,91,200,.36); border-radius: var(--radius-lg); background: linear-gradient(112deg, #101849 0%, #35207a 47%, #102d5e 100%); box-shadow: var(--shadow); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 52%, rgba(0,229,229,.28), transparent 24%), radial-gradient(circle at 67% 10%, rgba(199,53,255,.35), transparent 26%), repeating-linear-gradient(125deg, transparent 0 80px, rgba(255,255,255,.025) 81px 82px); }
.hero-copy { width: 54%; position: relative; z-index: 2; }
.hero h1 { max-width: 620px; margin-bottom: 10px; font-size: clamp(34px, 3.6vw, 60px); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, var(--cyan), #a46bff 75%); background-clip: text; -webkit-background-clip: text; }
.hero p { max-width: 460px; margin-bottom: 20px; color: #c2cbe6; }
.hero-art { position: absolute; z-index: 1; right: -2%; bottom: -10%; width: 49%; height: 119%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: screen; opacity: .78; mask-image: linear-gradient(90deg, transparent, black 23%); }
.hero-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(0,229,229,.44); box-shadow: inset 0 0 30px rgba(0,229,229,.15), 0 0 28px rgba(113,39,255,.2); }
.hero-orb.one { width: 180px; height: 180px; right: 19%; top: 15%; }
.hero-orb.two { width: 70px; height: 70px; right: 6%; top: 12%; }
.hero-controls { position: absolute; left: 42px; bottom: 18px; display: flex; gap: 7px; }
.hero-dot { width: 20px; height: 4px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.22); cursor: pointer; }
.hero-dot.active { width: 34px; background: var(--cyan); }
.filter-bar { display: flex; align-items: center; gap: 8px; margin: 16px 0 24px; padding: 10px; overflow-x: auto; background: rgba(11,22,53,.85); border: 1px solid var(--border); border-radius: 15px; }
.filter-chip { white-space: nowrap; min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; color: var(--muted); border: 1px solid transparent; border-radius: 10px; background: var(--card); cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-chip svg { width: 16px; }
.filter-chip:hover { color: white; border-color: var(--border); }
.filter-chip.active { color: white; background: linear-gradient(110deg, var(--purple), #9632d8); }
.select-control, .input-control { min-height: 40px; padding: 0 34px 0 12px; color: white; background: var(--card); border: 1px solid var(--border); border-radius: 10px; outline: none; }
.input-control { padding-right: 12px; }
.filter-spacer { margin-left: auto; }
.section { margin-top: 30px; }
.section-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.section-head > svg { width: 21px; color: var(--cyan); }
.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.section-head .view-all { margin-left: auto; color: var(--cyan); font-size: 12px; font-weight: 700; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.game-card { min-width: 0; overflow: hidden; position: relative; border: 1px solid var(--border); border-radius: 14px; background: var(--card); transition: .24s ease; }
.game-card:hover { border-color: #6173c2; transform: translateY(-4px); box-shadow: 0 15px 34px rgba(0,0,0,.28); }
.game-cover { height: 150px; position: relative; overflow: hidden; background: linear-gradient(145deg, #27205d, #123d64); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-cover img { transform: scale(1.055); }
.game-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(5,11,29,.82)); pointer-events: none; }
.game-badge { position: absolute; z-index: 2; left: 9px; top: 9px; padding: 4px 7px; border-radius: 6px; color: white; background: rgba(113,39,255,.85); backdrop-filter: blur(5px); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.favorite-btn { position: absolute; z-index: 3; top: 8px; right: 8px; width: 31px; height: 31px; display: grid; place-items: center; padding: 0; color: white; background: rgba(5,11,29,.66); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; cursor: pointer; }
.favorite-btn svg { width: 15px; }
.favorite-btn.active { color: #ff62a0; background: rgba(77,13,64,.8); }
.favorite-btn.active svg { fill: currentColor; }
.game-info { padding: 11px; }
.game-info h3 { margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 13px/1.4 Inter, sans-serif; }
.game-info p { margin: 0 0 9px; color: var(--muted); font-size: 10px; }
.game-info .btn { width: 100%; min-height: 32px; font-size: 10px; }
.panel-card { padding: 17px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(150deg, rgba(16,27,63,.96), rgba(11,22,53,.96)); }
.panel-card h3 { margin-bottom: 12px; font-size: 14px; }
.overview-row { display: flex; align-items: center; gap: 10px; }
.overview-balance { margin: 16px 0; padding: 12px; border: 1px solid rgba(0,229,229,.2); border-radius: 11px; background: rgba(0,229,229,.055); }
.overview-balance strong { display: block; margin-top: 2px; font: 700 22px Poppins; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-stat { padding: 9px; background: rgba(255,255,255,.035); border-radius: 9px; color: var(--muted); font-size: 10px; }
.mini-stat strong { display: block; margin-top: 2px; color: white; font-size: 12px; }
.winner-list, .match-list { display: grid; gap: 10px; }
.winner-item, .match-item { display: flex; align-items: center; gap: 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(36,55,114,.55); }
.winner-item:last-child, .match-item:last-child { border: 0; padding-bottom: 0; }
.winner-thumb { width: 38px; height: 38px; flex: 0 0 auto; overflow: hidden; border-radius: 9px; background: var(--elevated); }
.winner-thumb img { width: 100%; height: 100%; object-fit: cover; }
.winner-copy { min-width: 0; flex: 1; }
.winner-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.winner-copy small { color: var(--muted); font-size: 9px; }
.amount { color: var(--success); font-weight: 800; font-size: 11px; }
.mission-panel { position: relative; overflow: hidden; background: linear-gradient(135deg, #6d27ee, #c32bea); border: 0; }
.mission-panel::after { content: "\2726"; position: absolute; right: 14px; top: 6px; color: rgba(255,255,255,.12); font-size: 76px; }
.progress { height: 7px; overflow: hidden; background: rgba(5,11,29,.5); border-radius: 999px; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--turquoise), white); border-radius: inherit; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promo-card { min-height: 185px; overflow: hidden; position: relative; padding: 23px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(140deg, #161f4e, #281566); }
.promo-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -35px; bottom: -50px; border: 20px solid rgba(0,229,229,.1); border-radius: 50%; }
.promo-card:nth-child(2) { background: linear-gradient(140deg, #182451, #0c4b58); }
.promo-card:nth-child(3) { background: linear-gradient(140deg, #2b164f, #6a1f59); }
.promo-card h3 { margin: 10px 0 6px; font-size: 20px; }
.promo-card p { max-width: 80%; color: #bec9e7; font-size: 12px; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 9px); z-index: 80; display: none; max-height: 350px; overflow-y: auto; padding: 8px; border: 1px solid var(--border); border-radius: 13px; background: #09132d; box-shadow: var(--shadow); }
.search-results.open { display: grid; gap: 5px; }
.search-result { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 9px; }
.search-result:hover { background: var(--card); }
.search-result img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.search-result strong { display: block; font-size: 11px; }
.search-result small { color: var(--muted); font-size: 9px; }
.dropdown { position: absolute; z-index: 80; right: 20px; top: 62px; width: 300px; display: none; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: #09132d; box-shadow: var(--shadow); }
.dropdown.open { display: block; }
.notification { padding: 10px; border-bottom: 1px solid var(--border); }
.notification:last-child { border: 0; }
.notification strong { display: block; font-size: 11px; }
.notification small { color: var(--muted); }
.toast-stack { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: grid; gap: 9px; }
.toast { min-width: 260px; padding: 13px 15px; border: 1px solid #3e54a0; border-radius: 12px; background: #0d193a; box-shadow: var(--shadow); animation: toastIn .25s ease; }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; background: rgba(1,4,13,.82); backdrop-filter: blur(8px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(480px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 25px; border: 1px solid #4459aa; border-radius: 20px; background: linear-gradient(155deg, #101d43, #09142f); box-shadow: 0 28px 80px rgba(0,0,0,.55); animation: modalIn .22s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; }
.modal-head h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.modal-body > :last-child { margin-bottom: 0; }
.support-modal { width: min(500px, 100%); height: min(680px, calc(100vh - 40px)); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.support-modal .modal-head { min-height: 62px; flex: 0 0 auto; margin: 0; padding: 0 16px 0 20px; border-bottom: 1px solid rgba(62,82,153,.54); background: rgba(8,18,46,.86); }
.support-modal .modal-head h2 { font-size: 18px; }
.support-modal .modal-body { min-height: 0; flex: 1; padding: 0; overflow: hidden; }
.support-chat-app { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; background: radial-gradient(circle at 50% 0, rgba(113,39,255,.08), transparent 34%), #07122b; }
.chat-agent-bar { min-height: 68px; display: flex; align-items: center; gap: 11px; padding: 11px 17px; border-bottom: 1px solid rgba(36,55,114,.72); background: rgba(11,22,53,.88); }
.chat-agent-avatar { width: 42px; height: 42px; position: relative; display: grid; place-items: center; flex: 0 0 auto; color: #03182a; border-radius: 14px; background: linear-gradient(145deg, var(--cyan), #9d54ff); }
.chat-agent-avatar svg { width: 20px; }
.chat-agent-avatar b { position: absolute; right: -2px; bottom: -1px; width: 13px; height: 13px; border: 3px solid var(--surface); border-radius: 50%; background: var(--success); }
.chat-agent-copy { min-width: 0; flex: 1; }
.chat-agent-copy strong, .chat-agent-copy small { display: block; }
.chat-agent-copy strong { font-size: 12px; }
.chat-agent-copy small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.chat-agent-copy small i { width: 6px; height: 6px; display: inline-block; margin-right: 4px; border-radius: 50%; background: var(--success); }
.chat-conversation { min-height: 0; overflow-y: auto; padding: 17px 16px 22px; overscroll-behavior: contain; }
.chat-day { display: flex; align-items: center; gap: 9px; margin: 2px 0 17px; color: #7180a7; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.chat-day::before, .chat-day::after { content: ""; height: 1px; flex: 1; background: rgba(36,55,114,.58); }
.chat-message { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 13px; }
.chat-message.user { justify-content: flex-end; }
.chat-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: #061526; border-radius: 9px; background: linear-gradient(145deg, var(--cyan), #9a54ff); font-size: 8px; font-weight: 900; }
.chat-message-content { max-width: 78%; }
.chat-bubble { padding: 10px 12px; color: #dce4f8; border: 1px solid rgba(58,77,143,.66); border-radius: 5px 15px 15px 15px; background: #111f46; font-size: 11px; line-height: 1.5; word-break: break-word; }
.chat-message.user .chat-bubble { color: white; border-color: rgba(166,106,255,.55); border-radius: 15px 5px 15px 15px; background: linear-gradient(135deg, #6425ed, #9c2fdb); }
.chat-message time { display: block; margin-top: 4px; color: #68769c; font-size: 7px; }
.chat-message.user time { text-align: right; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin: 1px 0 16px 36px; }
.chat-quick-replies button { min-height: 32px; padding: 0 10px; color: #aebbe0; border: 1px solid #3a4d91; border-radius: 999px; background: rgba(16,29,67,.8); cursor: pointer; font-size: 9px; font-weight: 700; }
.chat-quick-replies button:hover { color: white; border-color: #8851ff; background: rgba(113,39,255,.2); }
.chat-privacy { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; color: #617098; font-size: 8px; text-align: center; }
.chat-privacy svg { width: 13px; color: #7487ba; }
.chat-typing .chat-bubble { display: flex; gap: 4px; align-items: center; min-width: 50px; min-height: 33px; }
.chat-typing .chat-bubble i { width: 5px; height: 5px; border-radius: 50%; background: #8797c5; animation: chatTyping .9s ease-in-out infinite; }
.chat-typing .chat-bubble i:nth-child(2) { animation-delay: .15s; }
.chat-typing .chat-bubble i:nth-child(3) { animation-delay: .3s; }
.chat-composer { padding: 10px 12px 9px; border-top: 1px solid rgba(36,55,114,.8); background: rgba(9,20,47,.97); }
.chat-composer-row { display: flex; align-items: flex-end; gap: 7px; }
.chat-tool, .chat-send { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border-radius: 12px; cursor: pointer; }
.chat-tool { color: #8f9dc2; border: 1px solid #31447f; background: #101d43; }
.chat-tool:hover { color: white; }
.chat-send { color: #031526; border: 0; background: linear-gradient(145deg, var(--turquoise), var(--cyan)); }
.chat-send:disabled { cursor: not-allowed; opacity: .35; filter: grayscale(.5); }
.chat-tool svg, .chat-send svg { width: 17px; }
.chat-input-wrap { min-width: 0; position: relative; flex: 1; }
.chat-input-wrap textarea { width: 100%; height: 42px; min-height: 42px; max-height: 88px; display: block; resize: none; padding: 11px 39px 10px 12px; overflow-y: auto; color: white; border: 1px solid #31447f; border-radius: 13px; outline: 0; background: #07122c; font-size: 11px; line-height: 1.4; }
.chat-input-wrap textarea::placeholder { color: #68779e; }
.chat-input-wrap textarea:focus { border-color: #7750e8; box-shadow: 0 0 0 3px rgba(113,39,255,.11); }
.chat-emoji { position: absolute; right: 7px; bottom: 7px; width: 28px; height: 28px; padding: 0; color: #8291b7; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 17px; }
.chat-emoji:hover { color: white; background: rgba(255,255,255,.05); }
.chat-demo-caption { display: block; margin-top: 6px; color: #5f6d91; font-size: 7px; text-align: center; }
@keyframes chatTyping { 50% { opacity: .35; transform: translateY(-2px); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.empty-state { padding: 48px 20px; text-align: center; border: 1px dashed #3a4f99; border-radius: 18px; background: rgba(11,22,53,.5); }
.empty-state svg { width: 46px; margin: 0 auto 14px; color: var(--purple); }
.form-card { max-width: 560px; margin: 40px auto; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; color: #c9d1e8; font-size: 11px; font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; min-height: 45px; padding: 0 13px; color: white; background: #08122e; border: 1px solid var(--border); border-radius: 10px; }
.form-group textarea { min-height: 100px; padding-top: 12px; }
.field-wrap { position: relative; }
.field-wrap input { padding-right: 46px; }
.field-wrap button { position: absolute; right: 4px; top: 4px; width: 37px; height: 37px; color: var(--muted); background: transparent; border: 0; cursor: pointer; }
.form-error { min-height: 17px; margin: 4px 0 0; color: var(--danger); font-size: 10px; }
.checkbox-row { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 11px; }
.page-hero { min-height: 210px; margin-bottom: 22px; padding: 34px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); }
.data-toolbar { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.data-toolbar .input-control { flex: 1; min-width: 190px; }
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info-card { padding: 20px; border: 1px solid var(--border); border-radius: 15px; background: var(--card); }
.info-card h3 { margin-bottom: 7px; font-size: 16px; }
.info-card p { color: var(--muted); font-size: 12px; }
.tag { display: inline-flex; padding: 5px 8px; color: var(--cyan); background: rgba(0,229,229,.08); border-radius: 6px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.split-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.detail-art { min-height: 400px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.detail-art img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.detail-copy { padding: 12px 0; }
.detail-copy h1 { margin-bottom: 8px; font-size: 38px; }
.player-frame { min-height: 500px; display: grid; place-items: center; overflow: hidden; position: relative; border: 1px solid #3e52a0; border-radius: 18px; background: radial-gradient(circle at 50% 50%, #223066, #071027 70%); }
.demo-game { text-align: center; }
.demo-reel { display: flex; gap: 10px; margin: 20px 0; }
.reel { width: 76px; height: 86px; display: grid; place-items: center; border: 2px solid #586fc9; border-radius: 13px; background: var(--card); font-size: 38px; }
.player-tools { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; }
.profile-layout { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }
.profile-nav button { width: 100%; justify-content: flex-start; margin-bottom: 7px; }
.setting-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); }
.toggle { width: 45px; height: 25px; position: relative; padding: 0; background: #273865; border: 0; border-radius: 999px; cursor: pointer; }
.toggle::after { content: ""; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: .2s; }
.toggle.on { background: var(--purple); }
.toggle.on::after { transform: translateX(20px); }
.reduced-glow .hero, .reduced-glow .btn, .reduced-glow .side-link.active { box-shadow: none; }
.compact-cards .game-cover { height: 112px; }
.compact-cards .game-info { padding: 8px; }
