/*
Theme Name: LevoPay.ru
Theme URI: https://example.com/levopay
Author: LevoPay.ru
Description: Тёмная золотая тема LevoPay.ru для магазина пополнения игровых валют с адаптивной витриной и формой заказа.
Version: 2.9.7
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: levopay
*/
:root{--bg:#050b15;--panel:#0b1423;--panel2:#121d2e;--line:#26364e;--gold:#ffc43d;--gold2:#ff9b20;--text:#f6f7fb;--muted:#b9c5d9;--pink:#fa36c8;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 50% 0,#14203b 0,#050b15 55%);color:var(--text);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--gold)}img{max-width:100%;height:auto}.site-wrap{max-width:1240px;margin:auto;padding:0 20px}.site-header{border-bottom:1px solid #26344a;background:rgba(4,9,18,.96);position:sticky;top:0;z-index:1000;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--gold);font-weight:900;font-size:clamp(20px,2vw,29px);letter-spacing:.3px}.brand-mark{font-size:36px;line-height:1}.brand small{display:block;color:#fff;font-size:10px;letter-spacing:.8px;font-weight:500}.main-nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.main-nav a{text-decoration:none;color:#e9edf7;font-size:14px}.main-nav a:hover,.main-nav a:focus{color:var(--gold)}.account-link{border:1px solid var(--line);padding:10px 15px;border-radius:14px;color:#fff;text-decoration:none;font-size:13px}.hero{margin:18px 0 20px;border:1px solid #673b77;border-radius:22px;overflow:hidden;min-height:clamp(190px,28.5vw,292px);padding:0;background:#160b2b url('assets/likee-hero-banner.jpg') center/cover no-repeat;position:relative}.hero-copy{position:absolute;left:-9999px}.hero:after{content:none}.hero h1{font-size:1px;line-height:1;margin:0}.hero h1 span{color:inherit}.hero .hero-sub,.hero p{margin:0}.platforms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.platform{border:1px solid #35435b;background:linear-gradient(145deg,#121c2c,#070e19);border-radius:15px;padding:15px;display:flex;align-items:center;gap:12px;text-decoration:none;color:white;min-height:78px}.platform .emoji{font-size:0;width:44px;height:44px;flex:0 0 44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#f529cb,#ffad2c);box-shadow:0 0 16px #ff8d2a35;color:#fff;font-weight:900}.platform strong{display:block}.platform small{color:var(--muted)}.platform.active{border:2px solid var(--gold);box-shadow:0 0 20px #ffbf3020}.layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,.85fr);gap:16px;align-items:start}.panel,.side-card{border:1px solid #26364e;border-radius:18px;background:linear-gradient(145deg,#0c1524,#070e18);padding:22px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:12px}.section-title{margin:0 0 6px;font-size:clamp(23px,3vw,30px)}.muted{color:var(--muted)}.step-title{font-size:20px;margin:20px 0 10px}.field-label{display:block;font-weight:750;margin:10px 0 7px}.field-row{display:flex;gap:8px}.field-row input{flex:1;min-width:0}.input,.select{width:100%;background:#080f1b;border:1px solid #586783;color:#fff;border-radius:11px;padding:13px 14px;font:inherit;min-height:48px}.input:focus,.select:focus{outline:2px solid var(--gold);outline-offset:1px}.btn{border:0;border-radius:12px;padding:13px 18px;font:inherit;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px}.btn-secondary{background:#1b2639;color:white;border:1px solid #53617a}.btn-gold{width:100%;background:linear-gradient(180deg,#ffd45b,#f5a91e);color:#1a1200;box-shadow:0 5px 18px #ffb32340;border:1px solid #ffe078}.packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.package{position:relative;background:linear-gradient(145deg,#172234,#111a28);border:1px solid #53627d;color:#fff;border-radius:13px;padding:13px 8px;min-height:76px;text-align:center;cursor:pointer;font:inherit;transition:.15s}.package:hover{border-color:var(--gold)}.package strong{display:block;font-size:19px}.package .gem{color:var(--gold);font-size:21px}.package .price{display:block;color:#e8edf8}.package[aria-pressed=true]{border:2px solid var(--gold);background:linear-gradient(145deg,#292719,#171a20);box-shadow:0 0 15px #ffcb3a25}.package[aria-pressed=true]:after{content:"✓";position:absolute;right:0;bottom:0;background:var(--gold);color:#161000;border-radius:7px 0 10px 0;padding:1px 7px;font-weight:900}.package-custom{grid-column:span 2}.total-box{margin:15px 0;background:linear-gradient(120deg,#131e30,#171b28);border:1px solid #29384f;border-radius:15px;padding:15px 18px}.total-label{color:var(--muted)}.total-amount{display:block;color:var(--gold);font-size:clamp(30px,4vw,40px);font-weight:900;line-height:1.1}.notice{font-size:12px;color:var(--muted);text-align:center;margin:10px 0}.side-stack{display:grid;gap:14px}.side-card h3{margin:0 0 8px;font-size:18px}.side-card .highlight{color:var(--gold);font-size:22px;font-weight:900}.contact-link{display:block;margin-top:9px;padding:10px 13px;border-radius:10px;background:#102b47;border:1px solid #1c6d9d;color:white;text-decoration:none}.benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.benefit{padding:15px;border:1px solid #1d2c40;border-radius:14px;background:#08111e}.benefit strong{display:block}.site-footer{border-top:1px solid #1e2c40;margin-top:18px;padding:22px 0 30px;color:var(--muted);font-size:13px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.status-msg{min-height:20px;color:var(--gold);font-size:14px}.screen-reader-text{position:absolute;left:-9999px}.content-area{padding:28px 0}.content-area article{background:var(--panel);border:1px solid var(--line);padding:24px;border-radius:16px}
@media(max-width:900px){.header-inner{flex-wrap:wrap;padding:12px 0}.main-nav{order:3;width:100%;justify-content:center;gap:15px}.layout{grid-template-columns:1fr}.platforms{grid-template-columns:repeat(2,minmax(0,1fr))}.benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.hero:after{opacity:.45}}
@media(max-width:520px){.site-wrap{padding:0 12px}.hero{padding:25px 18px;min-height:220px}.hero:after{right:0;bottom:0;font-size:38px}.platforms{gap:8px}.platform{padding:10px;gap:8px}.platform .emoji{width:36px;height:36px;flex-basis:36px;font-size:0}.panel,.side-card{padding:15px}.packages{gap:7px}.package{padding:10px 4px;min-height:72px}.package strong{font-size:17px}.field-row{flex-wrap:wrap}.field-row .btn{width:100%}.benefits{gap:8px}.account-link{padding:8px 10px}.main-nav a{font-size:13px}}

/* Version 1.2: image assets for platform and diamond marks */
.platform .platform-img{width:46px;height:46px;object-fit:contain;flex:0 0 46px;filter:drop-shadow(0 3px 8px #0008)}
.platform.active .platform-img{filter:drop-shadow(0 0 9px #ffbf4b88)}
.package .gem-img{width:31px;height:29px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 0 6px #ffb42c66)}
.package strong{margin:2px 0}
.total-box{position:relative;overflow:hidden}
.total-box:after{content:"";position:absolute;right:12px;bottom:-13px;width:120px;height:100px;background:url('assets/diamond.png') center/contain no-repeat;opacity:.9;pointer-events:none}
.total-box>*{position:relative;z-index:1}
.total-box .total-amount{max-width:70%}
@media(max-width:520px){.platform .platform-img{width:34px;height:34px;flex-basis:34px}.package .gem-img{width:26px;height:25px}.total-box:after{width:86px;height:75px}}

/* Version 1.3: custom crown and menu icon artwork */
.brand-logo{width:54px;height:48px;object-fit:contain;filter:drop-shadow(0 0 8px #ffbf3d40);flex:0 0 auto}
.main-nav a{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:66px}
.main-nav .nav-icon{width:23px;height:23px;object-fit:contain}
.main-nav a:hover .nav-icon{filter:drop-shadow(0 0 6px #ffc43d)}
.brand{gap:9px}
@media(max-width:520px){.brand-logo{width:42px;height:40px}.main-nav .nav-icon{width:19px;height:19px}.main-nav{gap:8px}}

/* Version 1.4: premium benefits and footer */
.benefit{display:grid;grid-template-columns:56px 1fr;column-gap:10px;align-items:center;min-height:90px}
.feature-img{width:54px;height:54px;object-fit:contain;grid-row:span 2;filter:drop-shadow(0 0 9px #ffb82d25)}
.benefit strong{align-self:end;font-size:14px}
.benefit small{align-self:start}
.social-links{display:flex;gap:8px;flex-wrap:wrap}
.social-links a{display:inline-flex;padding:8px 12px;border:1px solid #34445e;border-radius:9px;background:#0d1726;text-decoration:none;color:#f5c453}
.footer-copy{padding-top:15px;margin-top:18px;border-top:1px solid #1e2c40;color:#aeb8ca;font-size:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.btn-gold{position:relative;transition:transform .16s,box-shadow .16s}
.btn-gold:hover{transform:translateY(-1px);box-shadow:0 7px 22px #ffb32365}
@media(max-width:520px){.benefit{grid-template-columns:42px 1fr;min-height:78px;padding:10px}.feature-img{width:40px;height:40px}.benefit strong{font-size:12px}}

.yurzar-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.btn:disabled{opacity:.65;cursor:wait}

/* Order form v1.9 */
#custom-amount-wrap[hidden]{display:none!important}.status-msg{overflow-wrap:anywhere}.btn:disabled{opacity:.65;cursor:wait}.input:invalid:not(:placeholder-shown){border-color:#f59e0b}

/* Currency selection cards */
.currency-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 16px}
.currency-card{position:relative;display:flex;min-width:0;min-height:116px;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 8px;border:1px solid #293247;border-radius:16px;background:linear-gradient(145deg,#151c2b,#0e1420);color:#f7f8fc;text-align:center;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.currency-card:hover{border-color:#b99540;transform:translateY(-1px)}
.currency-card.is-selected,.currency-card[aria-pressed="true"]{border:2px solid #f2c94c;background:linear-gradient(145deg,#29271f,#151a24);box-shadow:0 0 0 1px rgba(242,201,76,.12),0 0 18px rgba(242,201,76,.12)}
.currency-card.is-selected:after{content:"✓";position:absolute;top:8px;right:9px;display:flex;width:23px;height:23px;align-items:center;justify-content:center;border-radius:50%;background:#f2c94c;color:#171923;font-size:14px;font-weight:800}
.currency-flag{font-size:32px;line-height:1.2}
.currency-card strong{font-size:17px;letter-spacing:.04em}
.currency-name{font-size:12px;line-height:1.35;color:#c5ccda}
@media(min-width:640px){.currency-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.currency-card{min-height:126px}}

/* v2.9.4: horizontal segmented currency switcher */
.currency-switcher{display:flex;align-items:stretch;gap:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:10px 0 16px;padding:5px;border:1px solid #293247;border-radius:18px;background:linear-gradient(145deg,#151c2b,#0e1420);scrollbar-width:thin}
.currency-switcher .currency-card{position:relative;display:flex;flex:1 0 0;min-width:0;min-height:88px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 5px;border:1px solid transparent;border-radius:13px;background:transparent;color:#f7f8fc;text-align:center;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.currency-switcher .currency-card:hover{border-color:rgba(242,201,76,.45);transform:none}
.currency-switcher .currency-card.is-selected,.currency-switcher .currency-card[aria-pressed="true"]{border-color:#f2c94c;background:linear-gradient(145deg,#ffdf75,#e8b83f);color:#171923;box-shadow:0 0 16px rgba(242,201,76,.22)}
.currency-switcher .currency-card.is-selected:after{content:"✓";position:absolute;top:4px;right:5px;display:flex;width:17px;height:17px;align-items:center;justify-content:center;border-radius:50%;background:#171923;color:#ffdf75;font-size:11px;font-weight:800}
.currency-switcher .currency-flag{font-size:25px;line-height:1.15}
.currency-switcher .currency-card strong{font-size:14px;letter-spacing:.03em}
.currency-switcher .currency-name{font-size:10px;line-height:1.25;color:#c5ccda}
.currency-switcher .currency-card.is-selected .currency-name,.currency-switcher .currency-card[aria-pressed="true"] .currency-name{color:#272315}
@media(max-width:420px){.currency-switcher .currency-card{flex-basis:76px;flex-grow:0}.currency-switcher .currency-name{max-width:72px}.currency-switcher .currency-flag{font-size:23px}}

/* LevoPay v2.9.5: force the horizontal currency selector */
#levopay-currency-switcher.currency-switcher-v295{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:2px!important;width:100%!important;overflow-x:auto!important;box-sizing:border-box!important;padding:5px!important;border:1px solid #293247!important;border-radius:18px!important;background:#101725!important}
#levopay-currency-switcher.currency-switcher-v295>.currency-card{display:flex!important;flex:1 0 0!important;min-width:0!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:88px!important;padding:10px 4px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:#f7f8fc!important}
#levopay-currency-switcher.currency-switcher-v295>.currency-card.is-selected,#levopay-currency-switcher.currency-switcher-v295>.currency-card[aria-pressed="true"]{border:2px solid #f2c94c!important;background:linear-gradient(145deg,#ffdf75,#e8b83f)!important;color:#171923!important;box-shadow:0 0 16px rgba(242,201,76,.22)!important}
#levopay-currency-switcher.currency-switcher-v295>.currency-card.is-selected .currency-name,#levopay-currency-switcher.currency-switcher-v295>.currency-card[aria-pressed="true"] .currency-name{color:#272315!important}
#levopay-currency-switcher .currency-flag{font-size:24px!important;line-height:1.15!important}
#levopay-currency-switcher .currency-name{font-size:10px!important;line-height:1.25!important}
@media(max-width:420px){#levopay-currency-switcher.currency-switcher-v295>.currency-card{flex:0 0 76px!important}}

/* Currency selector in the site header, next to the account link */
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.header-currency{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #30394d;border-radius:12px;background:#111827}
.header-currency-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.header-currency-btn:hover{border-color:rgba(242,201,76,.6)}
.header-currency-btn.is-selected,.header-currency-btn[aria-pressed="true"]{border-color:#f2c94c;background:linear-gradient(145deg,#ffdf75,#e8b83f);box-shadow:0 0 10px rgba(242,201,76,.18)}
@media(max-width:560px){.header-actions{gap:6px;flex-wrap:wrap}.header-currency{gap:1px;padding:3px}.header-currency-btn{width:28px;height:30px;font-size:17px}.account-link{font-size:12px}}

/* LevoPay v2.9.7: currency is controlled from the sticky header only */
#levopay-currency-switcher{display:none!important}
.site-header{box-shadow:0 8px 24px rgba(0,0,0,.22)}
@media(max-width:900px){.site-header{position:sticky;top:0}.header-inner{gap:10px}}
