:root{--header-height: 72px;--bg-deep: #06060a;--bg-main: #0c0c12;--bg-card: rgba(18, 16, 24, .85);--bg-card-hover: rgba(28, 22, 32, .95);--gold: #c9a227;--gold-light: #e8c547;--gold-dim: #8a6d1a;--crimson: #8b1a1a;--crimson-bright: #c41e3a;--text: #e8e4dc;--text-muted: #9a958a;--border-gold: rgba(201, 162, 39, .35);--border-gold-strong: rgba(201, 162, 39, .6);--shadow-gold: 0 0 40px rgba(201, 162, 39, .12);--success: #2ecc71;--error: #e74c3c;font-family:Inter,system-ui,sans-serif;line-height:1.6;font-weight:400;color:var(--text);background-color:var(--bg-deep);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;height:100%}body{min-height:100%;min-height:100dvh;background:var(--bg-deep);overflow-x:hidden}#root{min-height:100%;min-height:100dvh;display:flex;flex-direction:column}h1,h2,h3,h4{font-family:Cinzel,serif;font-weight:700;letter-spacing:.04em}a{color:var(--gold-light);text-decoration:none;transition:color .2s}a:hover{color:var(--gold)}button{font-family:inherit;cursor:pointer;border:none;background:none}input{font-family:inherit}::selection{background:#c9a22759;color:#fff}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--bg-deep)}::-webkit-scrollbar-thumb{background:var(--gold-dim);border-radius:4px}.footer{flex-shrink:0;margin-top:auto;padding:2.5rem 1.5rem 2rem;border-top:1px solid var(--border-gold);background:#06060a99}.footer-inner{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:1.5rem;text-align:center}.footer-brand{font-family:Cinzel,serif;font-size:1.25rem;color:var(--gold-light);letter-spacing:.1em}.footer-text{font-size:.85rem;color:var(--text-muted);max-width:480px;line-height:1.7}.footer-copy{font-size:.75rem;color:#9a958a99;letter-spacing:.05em}.footer-divider{width:60px;height:1px;background:var(--border-gold)}@media (max-width: 480px){.footer{padding:2rem 1rem 1.5rem}.footer-text{font-size:.8rem}}.header{position:fixed;top:0;left:0;right:0;z-index:100;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#06060ad1;border-bottom:1px solid var(--border-gold)}.header-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:1rem}.logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit;flex-shrink:0;min-width:0}.logo-emblem{width:44px;height:44px;border:2px solid var(--gold);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Cinzel,serif;font-weight:700;font-size:1.1rem;color:var(--gold-light);box-shadow:var(--shadow-gold);background:radial-gradient(circle,rgba(201,162,39,.15),transparent);flex-shrink:0}.logo-text{display:flex;flex-direction:column;line-height:1.2;min-width:0}.logo-name{font-family:Cinzel,serif;font-size:1.35rem;font-weight:700;color:var(--gold-light);letter-spacing:.08em}.logo-tag{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.2em}.nav{display:flex;align-items:center;gap:2rem}.nav a{color:var(--text-muted);font-size:.875rem;font-weight:500;text-transform:uppercase;letter-spacing:.1em;transition:color .2s;text-decoration:none;white-space:nowrap}.nav a:hover,.nav a.active{color:var(--gold-light)}.header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.user-badge{display:flex;align-items:center;gap:.5rem;padding:.4rem .9rem;background:#c9a2271a;border:1px solid var(--border-gold);border-radius:4px;font-size:.85rem;color:var(--gold-light);text-decoration:none;transition:border-color .2s,background .2s;max-width:200px}.user-badge:hover{border-color:var(--gold);background:#c9a22726}.user-badge-label{color:var(--text-muted);flex-shrink:0}.user-badge-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem 1.4rem;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;border-radius:3px;transition:all .25s;white-space:nowrap}.btn-block{width:100%}.btn-ghost{color:var(--gold-light);border:1px solid var(--border-gold);background:transparent}.btn-ghost:hover{border-color:var(--gold);background:#c9a22714}.btn-primary{color:#0a0808;background:linear-gradient(135deg,var(--gold-light),var(--gold));border:1px solid var(--gold-light);box-shadow:0 4px 20px #c9a22740}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 28px #c9a22759}.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.header-menu-btn{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;border:1px solid var(--border-gold);border-radius:4px;background:#c9a2270f;flex-shrink:0}.header-menu-btn span{display:block;height:2px;width:100%;background:var(--gold-light);border-radius:1px;transition:transform .2s,opacity .2s}.header-menu-open .header-menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}.header-menu-open .header-menu-btn span:nth-child(2){opacity:0}.header-menu-open .header-menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.nav-mobile{display:none;border-top:1px solid var(--border-gold);background:#06060af7;max-height:calc(100dvh - var(--header-height));overflow-y:auto}.nav-mobile-links{display:flex;flex-direction:column;padding:1rem 1.5rem;gap:.25rem}.nav-mobile-links a{padding:.85rem .5rem;color:var(--text-muted);font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;text-decoration:none;border-bottom:1px solid rgba(201,162,39,.1)}.nav-mobile-links a:hover,.nav-mobile-links a.active{color:var(--gold-light)}.nav-mobile-actions{display:flex;flex-direction:column;gap:.75rem;padding:0 1.5rem 1.5rem}.user-badge-mobile{max-width:none;width:100%;justify-content:center}@media (max-width: 1024px){.nav-desktop{gap:1.25rem}.nav-desktop a{font-size:.75rem}.header-actions-desktop .btn{padding:.55rem 1rem;font-size:.72rem}.user-badge{max-width:140px;font-size:.8rem}}@media (max-width: 900px){.nav-desktop,.header-actions-desktop{display:none}.header-menu-btn{display:flex}.nav-mobile.is-open{display:block}}@media (max-width: 480px){.header-inner{padding:0 1rem}.logo-tag{display:none}.logo-emblem{width:40px;height:40px;font-size:1rem}.logo-name{font-size:1.15rem}}.auth-section{width:100%}.auth-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--border-gold);border-radius:4px;overflow:hidden;background:var(--bg-card);box-shadow:var(--shadow-gold)}.auth-info{padding:3rem 2.5rem;background:linear-gradient(135deg,#8b1a1a40,#06060ae6),url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");display:flex;flex-direction:column;justify-content:center}.auth-info h2{font-size:2rem;color:var(--gold-light);margin-bottom:1rem}.auth-info p{color:var(--text-muted);line-height:1.8;margin-bottom:1.5rem}.auth-info-list{list-style:none;display:flex;flex-direction:column;gap:.75rem}.auth-info-list li{display:flex;align-items:center;gap:.75rem;font-size:.9rem;color:var(--text)}.auth-info-list li:before{content:"◆";color:var(--gold);font-size:.6rem}.auth-panel{padding:2.5rem}.auth-tabs{display:flex;gap:0;margin-bottom:2rem;border-bottom:1px solid var(--border-gold)}.auth-tab{flex:1;padding:.85rem 1rem;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-1px;transition:all .2s}.auth-tab.active{color:var(--gold-light);border-bottom-color:var(--gold)}.auth-tab:hover:not(.active){color:var(--text)}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted)}.form-group input{padding:.85rem 1rem;background:#00000059;border:1px solid var(--border-gold);border-radius:3px;color:var(--text);font-size:.95rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px #c9a2271f}.form-group input::placeholder{color:#9a958a80}.form-hint{font-size:.75rem;color:var(--text-muted)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.auth-message{padding:.85rem 1rem;border-radius:3px;font-size:.875rem;line-height:1.5}.auth-message.success{background:#2ecc711f;border:1px solid rgba(46,204,113,.35);color:var(--success)}.auth-message.error{background:#e74c3c1f;border:1px solid rgba(231,76,60,.35);color:var(--error)}.auth-submit{width:100%;margin-top:.5rem}@media (max-width: 768px){.auth-wrapper{grid-template-columns:1fr}.auth-info{padding:2rem 1.5rem}.auth-info h2{font-size:1.5rem}.auth-panel{padding:1.5rem}.form-row{grid-template-columns:1fr}}.auth-page{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;padding:2rem 1.5rem 3rem;max-width:1100px;margin:0 auto}@media (max-width: 768px){.auth-page{padding:1.5rem 1rem 2.5rem}}.page-section{padding:2rem 1.5rem 3rem;max-width:1100px;margin:0 auto;width:100%;flex:1}.page-message{text-align:center;color:var(--text-muted);padding:2rem}.page-message.error{color:var(--error)}.rankings-table-wrap{border:1px solid var(--border-gold);border-radius:4px;overflow-x:auto;background:var(--bg-card);box-shadow:var(--shadow-gold)}.rankings-table{width:100%;border-collapse:collapse;font-size:.9rem}.rankings-table th,.rankings-table td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid rgba(201,162,39,.12)}.rankings-table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);background:#c9a2270f}.rankings-table tbody tr:hover{background:#c9a2270a}.rankings-table tr.top-1 .rank-cell{color:gold;font-weight:700}.rankings-table tr.top-2 .rank-cell{color:silver;font-weight:700}.rankings-table tr.top-3 .rank-cell{color:#cd7f32;font-weight:700}.rank-cell{font-family:Cinzel,serif;width:3rem}.name-cell{font-weight:600;color:var(--gold-light)}.win-cell,.align-good{color:var(--success)}.align-bad{color:var(--error)}.empty-cell{text-align:center;color:var(--text-muted);padding:2rem!important}@media (max-width: 768px){.page-section{padding:1.5rem 1rem 2rem}.section-header{margin-bottom:2rem}.rankings-table{font-size:.8rem;min-width:640px}.rankings-table th,.rankings-table td{padding:.65rem .5rem}}.features{padding:4rem 1.5rem;max-width:1200px;margin:0 auto;width:100%}@media (max-width: 768px){.features{padding:3rem 1rem}.section-header{margin-bottom:2.5rem}.features-grid{grid-template-columns:1fr}}.section-header{text-align:center;margin-bottom:3.5rem}.section-label{display:inline-block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.2em;color:var(--gold);margin-bottom:.75rem}.section-title{font-size:clamp(1.8rem,4vw,2.5rem);color:var(--text);margin-bottom:.75rem}.section-desc{color:var(--text-muted);max-width:520px;margin:0 auto}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem}.feature-card{position:relative;padding:2rem 1.75rem;background:var(--bg-card);border:1px solid var(--border-gold);border-radius:4px;transition:all .3s;overflow:hidden}.feature-card:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:0;transition:opacity .3s}.feature-card:hover{background:var(--bg-card-hover);border-color:var(--border-gold-strong);transform:translateY(-4px);box-shadow:var(--shadow-gold)}.feature-card:hover:before{opacity:1}.feature-icon{width:48px;height:48px;margin-bottom:1.25rem;display:flex;align-items:center;justify-content:center;font-size:1.5rem;border:1px solid var(--border-gold);border-radius:4px;background:#c9a2270f}.feature-card h3{font-size:1.15rem;margin-bottom:.75rem;color:var(--gold-light)}.feature-card p{font-size:.9rem;color:var(--text-muted);line-height:1.7}.hero{min-height:calc(100dvh - var(--header-height));display:flex;align-items:center;justify-content:center;padding:2.5rem 1.5rem 4rem;text-align:center}.hero-inner{max-width:900px}.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;margin-bottom:1.5rem;border:1px solid var(--border-gold);border-radius:999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;color:var(--gold-light);background:#c9a2270f}.hero-badge-dot{width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 8px var(--success);animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.hero-title{font-size:clamp(2.8rem,8vw,5rem);line-height:1.05;margin-bottom:.5rem;background:linear-gradient(180deg,#fff 0%,var(--gold-light) 50%,var(--gold) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:none}.hero-subtitle{font-family:Cinzel,serif;font-size:clamp(1rem,3vw,1.4rem);color:var(--crimson-bright);letter-spacing:.3em;text-transform:uppercase;margin-bottom:1.5rem}.hero-desc{font-size:1.1rem;color:var(--text-muted);max-width:600px;margin:0 auto 2.5rem;line-height:1.8}.hero-stats{display:flex;justify-content:center;gap:3rem;margin-bottom:2.5rem;flex-wrap:wrap}.hero-stat{text-align:center}.hero-stat-value{font-family:Cinzel,serif;font-size:2rem;font-weight:700;color:var(--gold-light);display:block}.hero-stat-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.15em}.hero-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.hero-divider{width:120px;height:2px;margin:0 auto 2rem;background:linear-gradient(90deg,transparent,var(--gold),transparent)}@media (max-width: 768px){.hero{min-height:auto;padding:2rem 1rem 3rem}.hero-stats{gap:1.5rem 2rem}.hero-stat-value{font-size:1.5rem}.hero-desc{font-size:1rem;margin-bottom:2rem}.hero-actions{flex-direction:column;align-items:stretch;width:100%;max-width:320px;margin:0 auto}.hero-actions .btn{width:100%}.hero-subtitle{letter-spacing:.15em}}@media (max-width: 480px){.hero-badge{font-size:.65rem;padding:.35rem .75rem}}.home-page{display:flex;flex-direction:column;flex:1;width:100%}.profile-page{flex:1;width:100%;max-width:1200px}.profile-layout{display:grid;grid-template-columns:minmax(240px,280px) 1fr;gap:1.5rem;align-items:start}.profile-sidebar{position:sticky;top:calc(var(--header-height) + 1rem)}.profile-account{padding:1.5rem;border:1px solid var(--border-gold);border-radius:4px;background:var(--bg-card);box-shadow:var(--shadow-gold)}.profile-account-title,.profile-characters-title{font-size:1rem;color:var(--gold-light);margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-gold)}.profile-account-list{display:flex;flex-direction:column;gap:1.25rem;margin:0}.profile-account-item{display:flex;flex-direction:column;gap:.35rem}.profile-account-item dt{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);margin:0}.profile-account-item dd{font-size:1rem;color:var(--gold-light);font-weight:600;margin:0;word-break:break-word}.profile-characters{min-width:0}.profile-characters-title{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem}.profile-characters-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.75rem;height:1.75rem;padding:0 .5rem;font-family:Inter,sans-serif;font-size:.8rem;font-weight:600;color:var(--gold-light);background:#c9a2271f;border:1px solid var(--border-gold);border-radius:999px}.profile-empty{padding:2rem;text-align:center;color:var(--text-muted);border:1px dashed var(--border-gold);border-radius:4px;background:#12101880;line-height:1.7}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.character-card{border:1px solid var(--border-gold);border-radius:4px;background:var(--bg-card);overflow:hidden;transition:border-color .2s,box-shadow .2s}.character-card:hover{border-color:var(--border-gold-strong);box-shadow:var(--shadow-gold)}.character-card-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#8b1a1a33,#06060a99);border-bottom:1px solid var(--border-gold)}.character-card-header h4{font-size:1.1rem;color:var(--gold-light);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-level{font-family:Cinzel,serif;font-size:1rem;color:var(--gold);flex-shrink:0}.character-details{display:grid;grid-template-columns:1fr 1fr;gap:.75rem 1rem;padding:1.15rem 1.25rem;margin:0}.character-details>div{display:flex;flex-direction:column;gap:.2rem}.character-details dt{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin:0}.character-details dd{font-size:.85rem;color:var(--text);margin:0;word-break:break-word}.character-details .align-good{color:var(--success)}.character-details .align-bad{color:var(--error)}@media (max-width: 960px){.profile-layout{grid-template-columns:1fr}.profile-sidebar{position:static}.profile-account-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem 1.5rem}.profile-account-title{grid-column:1 / -1;margin-bottom:0;padding-bottom:.75rem}}@media (max-width: 768px){.character-grid,.profile-account-list{grid-template-columns:1fr}}@media (max-width: 640px){.character-details{grid-template-columns:1fr}.character-card-header h4{font-size:1.05rem}}.app{position:relative;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.app-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(139,26,26,.35),transparent),radial-gradient(ellipse 60% 40% at 90% 80%,rgba(201,162,39,.08),transparent),radial-gradient(ellipse 50% 30% at 10% 60%,rgba(139,26,26,.12),transparent),linear-gradient(180deg,#0a080c,#06060a,#08060a);pointer-events:none}.app-bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");opacity:.5}.app-content{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.app-content>main{flex:1 0 auto;display:flex;flex-direction:column;width:100%;padding-top:var(--header-height)}
