/* Import auth styles */
@import url('auth.css');

:root{
  --bg1:#0b1019;
  --bg2:#060a10;
  --line:rgba(255,255,255,.08);
  --text:#e9edf5;
  --muted:rgba(233,237,245,.75);
  --gold:#d6b26a;
  --gold2:#f2d596;
  --orange:#f08a1a;
  --orange2:#ffb34d;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:url("../img/background.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  cursor:url('../cursors/cursor.cur') 0 0, none !important;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

a,
button,
[role="button"],
.btn,
.thumb,
.nav__link,
.dropdown-item,
.user-icon,
.flag__img,
.shop-cat-btn,
.ranking-page-btn{
  cursor:url('../cursors/cursor_pick.cur') 0 0, none !important;
}

.shop-item__buy,
#buyCoinsBtn,
.coins-pack{
  cursor:url('../cursors/cursor_buy.cur') 0 0, none !important;
}

input,
textarea{
  cursor:url('../cursors/cursor.cur') 0 0, none !important;
}

button:disabled,
.btn:disabled,
input:disabled,
textarea:disabled{
  cursor:url('../cursors/cursor_no.cur') 0 0, none !important;
}

a{color:inherit;text-decoration:none}

.page{min-height:100%;}

.topbar{
  height:48px;
  background:rgba(0,0,0,.5);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.topbar__inner{
  max-width:none;
  height:48px;
  margin:0;
  padding:0 172px;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  min-width:140px;
  margin-left:32px;
}

.brand__logo{
  font-family:Cinzel,serif;
  font-weight:700;
  letter-spacing:.6px;
  font-size:18px;
  color:#ffffff;
  text-shadow:0 1px 0 rgba(0,0,0,.35);
}

.brand__logo-img{
  height:40px;
  width:auto;
  display:block;
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.35));
}

.nav{
  --flex:1;
  display:flex;
  justify-content:center;
  gap:8px;
  font-size:12px;
  letter-spacing:.5px;
}

.nav__link{
  padding:10px 4px;
  color:rgba(255,255,255,.78);
  text-transform:uppercase;
  border-bottom:2px solid transparent;
  white-space:nowrap;
}

.nav__link:hover{color:#fff}
.nav__link.is-active{color:#fff;border-bottom-color:rgba(255,255,255,.3)}


.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
}

.language-dropdown{
  position:relative;
}

.user-dropdown{
  position:relative;
}

.user-icon{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:4px;
  cursor:pointer;
  transition:background 0.2s ease;
  color:rgba(255,255,255,.78);
}

.user-icon:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.user-icon svg{
  flex-shrink:0;
}

.user-status{
  font-size:11px;
  font-weight:500;
  letter-spacing:0.3px;
  text-transform:uppercase;
}

.flag__img{
  height:24px;
  width:24px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  cursor:pointer;
  transition:transform 0.2s ease;
}

.cash-badge{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.9);
  font-size:12px;
  font-weight:600;
  letter-spacing:0.2px;
  margin-right:8px;
  white-space:nowrap;
  cursor:default;
}

.flag__img:hover{
  transform:scale(1.1);
}

.dropdown-menu{
  position:absolute;
  top:100%;
  right:0;
  margin-top:8px;
  background:rgba(0,0,0,.95);
  border:1px solid rgba(255,255,255,.15);
  border-radius:4px;
  min-width:140px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-10px);
  transition:all 0.2s ease;
  z-index:1000;
}

.language-dropdown:hover .dropdown-menu,
.user-dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  color:var(--text);
  font-size:12px;
  text-decoration:none;
  transition:background 0.2s ease;
}

.dropdown-item:hover{
  background:rgba(255,255,255,.08);
}

.dropdown-item img,
.dropdown-item svg{
  height:16px;
  width:16px;
  flex-shrink:0;
}

.dropdown-item img{
  border-radius:50%;
  object-fit:cover;
}

.hero{
  position:relative;
  min-height:calc(100vh - 48px);
  overflow:hidden;
  background:url("../img/background.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero__bg{
  display:block;
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background-image:url("../img/characters.png");
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:100% auto;
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.55));
}

.hero__overlay{
  display:none;
}

.hero__content{
  position:relative;
  z-index:2;
  max-width:880px;
  margin:0 auto;
  padding:40px 16px 0;
  text-align:center;
}

.hero__logo{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.hero__logo-img{
  width:min(390px, 82vw);
  height:auto;
  display:block;
}

.hero__title{
  font-family:Cinzel,serif;
  font-weight:700;
  font-size:56px;
  line-height:1;
  margin-bottom:18px;
  background:linear-gradient(180deg, #ffffff, var(--gold2) 55%, var(--gold));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 10px 22px rgba(0,0,0,.45);
}

.hero__tagline{
  margin:-10px 0 18px;
  font-weight:700;
  font-size:14px;
  letter-spacing:2.2px;
  text-transform:uppercase;
  color:rgba(255,255,255,.85);
  text-shadow:0 10px 22px rgba(0,0,0,.45);
}

.hero__subtitle{
  font-size:34px;
  font-weight:700;
  letter-spacing:.3px;
  margin:0 0 18px;
  text-shadow:0 10px 22px rgba(0,0,0,.45);
}

.hero__description{
  font-size:18px;
  font-weight:400;
  letter-spacing:.5px;
  margin:26px 0 0;
  color:rgba(255,255,255,.9);
  text-shadow:0 8px 16px rgba(0,0,0,.6);
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.countdown{
  display:flex;
  justify-content:center;
  margin:0 0 26px;
}

.countdown__value{
  font-weight:700;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:none;
  color:rgba(255,255,255,.92);
  text-shadow:0 10px 22px rgba(0,0,0,.55);
}

.hero__actions{
  display:flex;
  gap:14px;
  justify-content:center;
}

.btn{
  min-width:130px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  font-weight:700;
  font-size:12px;
  letter-spacing:.6px;
  border-radius:2px;
  border:1px solid rgba(255,255,255,.25);
  text-transform:uppercase;
  box-shadow:0 12px 20px rgba(0,0,0,.35);
}

.btn--ghost{background:rgba(0,0,0,.25)}
.btn--ghost:hover{background:rgba(255,255,255,.06)}

.btn--primary{
  border-color:rgba(0,0,0,.1);
  background:linear-gradient(180deg, var(--orange2), var(--orange));
  color:#ffffff;
}
.btn--primary:hover{filter:brightness(1.04)}

.menu{
  position:absolute;
  left:0;
  right:0;
  bottom:138px;
  z-index:3;
  display:flex;
  justify-content:center;
}

.menu__title{
  font-family:Cinzel,serif;
  font-size:20px;
  font-weight:700;
  color:#fff;
  text-shadow:0 12px 18px rgba(0,0,0,.65);
}

.thumbs{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:18px 0 22px;
  display:flex;
  justify-content:center;
  gap:20px;
  background:linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.0));
}

.thumb{
  position:relative;
  width:132px;
  height:100px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.35);
  box-shadow:0 16px 26px rgba(0,0,0,.45);
  overflow:hidden;
}

.thumb__label{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:7px 8px 6px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.7px;
  text-transform:uppercase;
  color:rgba(255,255,255,.92);
  background:linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  text-align:center;
  pointer-events:none;
}

.thumb__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:radial-gradient(circle at 50% 40%, rgba(0,0,0,.35), rgba(0,0,0,0) 55%);
  pointer-events:none;
}

.thumb__overlay .thumb__label{
  position:static;
  padding:0 10px;
  background:none;
  font-size:11px;
  letter-spacing:.8px;
  text-shadow:0 10px 18px rgba(0,0,0,.55);
}

.thumb__icon{
  width:46px;
  height:46px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.95);
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 18px rgba(0,0,0,.35);
}

.thumb__icon svg{display:block}

.thumb__img{
  display:block;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  filter:saturate(1.08) contrast(1.05);
}

.thumb__img--a{background-image:url("../img/thumb-1.jpg")}
.thumb__img--b{background-image:url("../img/thumb-2.jpg")}
.thumb__img--c{background-image:url("../img/thumb-3.jpg")}
.thumb__img--d{background-image:url("../img/thumb-4.jpg")}
.thumb__img--e{background-image:url("../img/thumb-5.jpg")}
.thumb__img--f{background-image:url("../img/thumb-6.jpg")}

.thumb:hover{transform:translateY(-2px);transition:transform .15s ease}

@media (max-width: 980px){
  .nav{display:none}
  .hero__side{opacity:.35}
  .hero__title{font-size:46px}
  .hero__subtitle{font-size:28px}
  .thumb{width:110px;height:86px}
}

@media (max-width: 680px){
  .hero__side{display:none}
  .menu{display:none}
  .thumbs{gap:12px;flex-wrap:wrap;padding:14px 10px 18px}
  .thumb{width:45vw;max-width:160px}
}

/* Login Form Styles */
.login-form{
  max-width:400px;
  margin:0.5rem auto 0;
}

.register-form{
  margin:0.2rem auto 0;
}

.register-form .form-group{
  margin-bottom:0.5rem;
}

.register-form .form-input{
  padding:0.62rem;
  font-size:0.85rem;
}

.register-form .password-toggle{
  right:0.65rem;
}

.register-form .password-toggle svg{
  width:16px;
  height:16px;
}

.register-form .form-options{
  margin-bottom:0.5rem;
  gap:0.6rem;
}

.register-form .checkbox-label{
  font-size:0.82rem;
}

.register-form .login-footer{
  margin-top:0.5rem;
  padding-top:0.5rem;
}

.register-form .login-footer p{
  font-size:0.82rem;
}

.register-form .btn{
  height:30px;
  min-width:130px;
}

.forgot-form{
  max-width:400px;
  margin:0.5rem auto 0;
}

.form-group{
  margin-bottom:1rem;
}

.form-input{
  width:100%;
  padding:0.875rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  color:var(--text);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.95rem;
  transition:all .3s ease;
}

.form-input::placeholder{
  color:rgba(233,237,245,.5);
}

.form-input:focus{
  outline:none;
  border-color:var(--gold);
  background:rgba(255,255,255,.12);
  box-shadow:0 0 0 3px rgba(214,178,106,.1);
}

.password-wrapper{
  position:relative;
}

.password-toggle{
  position:absolute;
  right:1rem;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:none;
  color:rgba(233,237,245,.6);
  cursor:pointer;
  padding:0.25rem;
  border-radius:4px;
  transition:all .3s ease;
}

.password-toggle:hover{
  color:var(--text);
  background:rgba(255,255,255,.1);
}

.form-options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:1rem;
  flex-wrap:wrap;
  gap:1rem;
}

.checkbox-label{
  display:flex;
  align-items:center;
  cursor:pointer;
  color:var(--muted);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.9rem;
}

.checkbox-input{
  margin-right:0.5rem;
  accent-color:var(--gold);
}

.checkbox-text{
  user-select:none;
}

.forgot-link{
  color:var(--gold);
  text-decoration:none;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.9rem;
  transition:color .3s ease;
}

.forgot-link:hover{
  color:var(--gold2);
  text-decoration:underline;
}

.login-footer{
  text-align:center;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.1);
}

.forgot-footer{
  text-align:center;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.1);
}

.login-footer p,
.forgot-footer p{
  color:var(--muted);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.9rem;
  margin:0;
}

.login-footer a,
.forgot-footer a{
  color:var(--gold);
  text-decoration:none;
  font-weight:600;
  transition:color .3s ease;
}

.login-footer a:hover,
.forgot-footer a:hover{
  color:var(--gold2);
  text-decoration:underline;
}

/* Download Page Styles */
.download-section{
  max-width:500px;
  margin:0.5rem auto 0;
}

.download-card__header{
  text-align:center;
  margin-bottom:1.5rem;
}

.download-card__title{
  font-family:Cinzel,serif;
  font-size:1.4rem;
  font-weight:700;
  color:var(--text);
  margin-bottom:0.5rem;
}

/* Terms Page Styles */
.terms-content{
  max-width:700px;
  margin:0.5rem auto 0;
  text-align:left;
}

.terms-page .hero__logo{
  margin-bottom:8px;
}

.terms-page .hero__subtitle{
  margin:0 0 10px;
  font-size:26px;
}

.terms-page .hero__logo-img{
  width:min(320px, 78vw);
}

.terms-block{
  padding:0.45rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.terms-block h3{
  margin:0 0 0.35rem;
  font-family:Cinzel,serif;
  font-size:1rem;
  font-weight:600;
  color:var(--text);
}

.terms-block p{
  margin:0;
  color:var(--muted);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  line-height:1.45;
}

.terms-footer{
  padding-top:0.5rem;
  text-align:center;
}

.terms-footer p{
  margin:0;
  color:rgba(255,255,255,.55);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
}

/* News Page Styles */
.news-page .hero__logo{margin-bottom:8px}
.news-page .hero__subtitle{margin:0 0 10px;font-size:26px}
.news-page .hero__logo-img{width:min(320px, 78vw)}

.news-content{
  max-width:700px;
  margin:0.5rem auto 0;
  text-align:left;
}

.news-item{
  padding:0.6rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.news-item__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:0.25rem;
}

.news-item__tag{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.6px;
  color:rgba(255,255,255,.75);
}

.news-item__date{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.75rem;
  color:rgba(255,255,255,.55);
}

.news-item__title{
  margin:0 0 0.25rem;
  font-family:Cinzel,serif;
  font-size:1.05rem;
  font-weight:600;
  color:var(--text);
}

.news-item__text{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  line-height:1.45;
  color:var(--muted);
}

.news-footer{
  padding-top:0.3rem;
  text-align:center;
}

.news-footer p{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  color:rgba(255,255,255,.55);
}

/* Events Page Styles */
.events-page .hero__logo{margin-bottom:8px}
.events-page .hero__subtitle{margin:0 0 10px;font-size:26px}
.events-page .hero__logo-img{width:min(320px, 78vw)}

.events-content{
  max-width:700px;
  margin:0.5rem auto 0;
  text-align:left;
}

.events-item{
  padding:0.6rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.events-item__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:0.25rem;
}

.events-item__tag{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.6px;
  color:rgba(255,255,255,.75);
}

.events-item__date{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.75rem;
  color:rgba(255,255,255,.55);
}

.events-item__title{
  margin:0 0 0.25rem;
  font-family:Cinzel,serif;
  font-size:1.05rem;
  font-weight:600;
  color:var(--text);
}

.events-item__text{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  line-height:1.45;
  color:var(--muted);
}

.events-footer{
  padding-top:0.3rem;
  text-align:center;
}

.events-footer p{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  color:rgba(255,255,255,.55);
}

/* Rewards Page Styles */
.rewards-page .hero__logo{margin-bottom:8px}
.rewards-page .hero__subtitle{margin:0 0 10px;font-size:26px}
.rewards-page .hero__logo-img{width:min(320px, 78vw)}

.rewards-content{
  max-width:700px;
  margin:0.5rem auto 0;
  text-align:left;
}

.rewards-item{
  padding:0.6rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.rewards-item__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:0.25rem;
}

.rewards-item__tag{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.6px;
  color:rgba(255,255,255,.75);
}

.rewards-item__date{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.75rem;
  color:rgba(255,255,255,.55);
}

.rewards-item__title{
  margin:0 0 0.25rem;
  font-family:Cinzel,serif;
  font-size:1.05rem;
  font-weight:600;
  color:var(--text);
}

.rewards-item__text{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  line-height:1.45;
  color:var(--muted);
}

.rewards-actions{
  margin-top:0.6rem;
  text-align:center;
}

.rewards-footer{
  padding-top:0.3rem;
  text-align:center;
}

.rewards-footer p{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  color:rgba(255,255,255,.55);
}

/* Shop Page Styles */
.shop-page .hero__logo{margin-bottom:8px}
.shop-page .hero__subtitle{margin:0 0 10px;font-size:26px}
.shop-page .hero__logo-img{width:min(320px, 78vw)}

.shop-content{
  max-width:820px;
  margin:0.25rem auto 0;
  text-align:left;
}

.shop-layout{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:12px;
  align-items:start;
}

.shop-cats{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.shop-cat-btn{
  width:100%;
  text-align:left;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  color:rgba(255,255,255,.85);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}

.shop-cat-btn:hover{
  border-color:rgba(255,255,255,.22);
  background:rgba(0,0,0,.16);
}

.shop-cat-btn.is-active{
  border-color:var(--gold);
  background:rgba(214,178,106,.10);
  color:rgba(255,255,255,.95);
}

.shop-main{min-width:0}

/* Buy Coins Page Styles */
.coins-page .hero__logo{margin-bottom:8px}
.coins-page .hero__subtitle{margin:0 0 10px;font-size:26px}
.coins-page .hero__logo-img{width:min(320px, 78vw)}

.coins-content{
  max-width:820px;
  margin:0.1rem auto 0;
}

.coins-grid{
  display: flex;
  gap: 4px;
}

.coins-pack{
  text-align:left;
  padding:0.36rem;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(10,10,10,.35);
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
  cursor:pointer;
}

.coins-pack.is-active{
  border-color:var(--gold);
  background:rgba(214,178,106,.10);
}

.coins-pack__icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  margin-bottom:6px;
  overflow:hidden;
}

.coins-pack__icon img{
  width:80%;
  height:80%;
  object-fit:contain;
  display:block;
}

.coins-pack__coins{
  font-family:Cinzel,serif;
  font-size:0.82rem;
  font-weight:600;
  color:rgba(255,255,255,.92);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.coins-pack__bonus,
.coins-pack__total,
.coins-pack__price{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.70rem;
  color:rgba(255,255,255,.75);
  margin-top:0;
}

.coins-pack__price{font-weight:700;color:rgba(255,255,255,.85)}

.coins-actions{margin-top:0.35rem;text-align:center}

.coins-message{
  margin-top:0.3rem;
  min-height:1.2rem;
  text-align:center;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.82rem;
}

.coins-message--success{color:#22c55e}
.coins-message--error{color:#ef4444}

@media (max-width: 900px){
  .coins-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width: 560px){
  .coins-grid{grid-template-columns:1fr}
}

.shop-list{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:7px;
}

.shop-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  padding:0.52rem;
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  background:rgba(0,0,0,.12);
}

.shop-item__icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:20px;
}

.shop-item__name{
  font-family:Cinzel,serif;
  font-size:0.86rem;
  font-weight:600;
  color:var(--text);
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.shop-item__side{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-shrink:0;
  width:100%;
  margin-top:1px;
}

.shop-item__price{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.76rem;
  font-weight:700;
  color:rgba(255,255,255,.85);
}

.shop-item__buy{padding:7px 9px;font-size:0.76rem}

.shop-message{
  margin-top:0.6rem;
  padding:0.75rem;
  border-radius:8px;
  background:rgba(34, 197, 94, 0.10);
  border:1px solid rgba(34, 197, 94, 0.30);
  color:#22c55e;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  text-align:center;
}

.shop-footer{
  padding-top:0.3rem;
  text-align:center;
}

.shop-footer p{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  color:rgba(255,255,255,.55);
}

@media (max-width: 900px){
  .shop-layout{grid-template-columns:140px 1fr}
  .shop-list{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width: 560px){
  .shop-layout{grid-template-columns:1fr}
  .shop-cats{flex-direction:row;flex-wrap:wrap;gap:8px}
  .shop-cat-btn{width:auto;padding:8px 10px;font-size:0.8rem}
  .shop-list{grid-template-columns:1fr}
}

.download-card__version{
  color:var(--muted);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.9rem;
  margin:0;
}

.download-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  margin-bottom:1.5rem;
}

.download-size,
.download-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.875rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  color:var(--text);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.95rem;
  transition:all .3s ease;
}

.download-size:hover,
.download-status:hover{
  background:rgba(255,255,255,.12);
  border-color:var(--gold);
}

.size-label,
.status-label{
  color:var(--muted);
  font-size:0.9rem;
}

.size-value{
  color:var(--text);
  font-weight:600;
  font-size:0.95rem;
}

.status-value.available{
  color:var(--gold);
  font-weight:600;
  font-size:0.95rem;
}

.download-card__actions{
  text-align:center;
}

@media (max-width: 768px){
  .download-section{
    max-width:450px;
  }
  
  .download-card{
    padding:1rem;
  }
  
  .download-card__title{
    font-size:1.2rem;
  }
  
  .download-info{
    grid-template-columns:1fr;
    gap:0.75rem;
  }
}

@media (max-width: 680px){
  .download-section{
    margin:0.5rem auto 0;
    padding:0 1rem;
  }
  
  .download-card{
    padding:1rem;
  }
  
  .download-card__title{
    font-size:1.1rem;
  }
  
  .download-size,
  .download-status{
    padding:0.75rem;
    font-size:0.9rem;
  }
}

/* Ranking Page Styles */
.ranking-section{
  max-width:500px;
  margin:0.25rem auto 0;
}

.ranking-tabs{
  display:flex;
  justify-content:center;
  gap:1rem;
  margin-bottom:0.75rem;
}

.ranking-tab{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  padding:0.5rem 1rem;
  color:var(--muted);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.8rem;
  cursor:pointer;
  transition:all .3s ease;
}

.ranking-tab.active{
  background:var(#f08a1a00);
  color:var(#ffffff);
  border-color:var(--gold);
}

.ranking-tab:hover{
  background:rgba(255,255,255,.08);
  border-color:var(--gold);
  color:var(--text);
}

.ranking-content{
  position:relative;
}

.ranking-tab-content{
  display:none;
}

.ranking-tab-content.active{
  display:block;
}

.ranking-header{
  display:grid;
  grid-template-columns:60px 1fr 80px 120px 100px;
  gap:1rem;
  padding:0.6rem;
  background:rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.15);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.75rem;
  font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.5px;
}

 #players-ranking .ranking-header,
 #players-ranking .ranking-row{
   grid-template-columns:44px 1fr 64px 80px;
 }

 #guilds-ranking .ranking-header,
 #guilds-ranking .ranking-row{
   grid-template-columns:44px 1fr 1fr 70px 90px;
 }

.ranking-body{
  max-height:none;
  overflow:visible;
  padding:0;
  margin:0;
}

.ranking-row{
  display:grid;
  grid-template-columns:60px 1fr 80px 120px 100px;
  gap:1rem;
  padding:0.6rem;
  border-bottom:1px solid rgba(255,255,255,.05);
  transition:all .3s ease;
  position:relative;
}

.ranking-row:hover{
  background:rgba(255,255,255,.05);
}

.ranking-row.top-player{
  background:linear-gradient(135deg, rgba(214,178,106,.1), rgba(214,178,106,.05));
}

.ranking-row.top-player .rank-position{
  color:var(--gold);
  font-weight:700;
}

.ranking-position{
  color:var(--muted);
  font-weight:600;
  font-size:0.85rem;
}

.rank-name{
  color:var(--text);
  font-weight:500;
  font-size:0.9rem;
}

.rank-level,
.rank-leader,
.rank-members{
  color:var(--text);
  font-weight:500;
  font-size:0.9rem;
}

.rank-playtime{
  color:var(--gold);
  font-weight:600;
  font-size:0.9rem;
}

.rank-points{
  color:var(--gold);
  font-weight:600;
  font-size:0.9rem;
}

.ranking-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:0.5rem;
  margin-top:0.75rem;
}

.page-info{
  color:var(--muted);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.75rem;
}

.ranking-page-btn{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  padding:0.35rem 0.6rem;
  color:var(--text);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.75rem;
  cursor:pointer;
  transition:all .3s ease;
}

.ranking-page-btn:hover{
  background:rgba(255,255,255,.12);
  border-color:var(--gold);
}

.ranking-page-btn:disabled{
  opacity:0.5;
  cursor:not-allowed;
}

.ranking-search-container{
  margin-bottom:0.75rem;
}

.ranking-search{
  width:100%;
  padding:0.65rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  color:var(--text);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:0.85rem;
  transition:all .3s ease;
}

.ranking-search:focus{
  outline:none;
  border-color:var(--gold);
  background:rgba(255,255,255,.12);
}

.ranking-search::placeholder{
  color:var(--muted);
}

@media (max-width: 768px){
  .ranking-section{
    max-width:450px;
  }
  
  .ranking-tabs{
    gap:0.5rem;
  }
  
  .ranking-tab{
    padding:0.5rem 1rem;
    font-size:0.8rem;
  }
  
  .ranking-header{
    grid-template-columns:50px 1fr 60px 80px 80px;
    gap:0.5rem;
    padding:0.75rem;
    font-size:0.8rem;
  }
  
  .ranking-row{
    grid-template-columns:50px 1fr 60px 80px 80px;
    gap:0.5rem;
    padding:0.75rem;
  }
  
  .rank-name,
  .rank-level,
  .rank-leader,
  .rank-members,
  .rank-points{
    font-size:0.85rem;
  }
}

@media (max-width: 680px){
  .ranking-section{
    margin:0.5rem auto 0;
    padding:0 1rem;
  }
  
  .ranking-tabs{
    flex-direction:column;
    align-items:center;
  }
  
  .ranking-tab{
    width:100%;
    text-align:center;
  }
  
  .ranking-header{
    grid-template-columns:40px 1fr 50px 60px 70px;
    gap:0.25rem;
    padding:0.5rem;
    font-size:0.75rem;
  }
  
  .ranking-row{
    grid-template-columns:40px 1fr 50px 60px 70px;
    gap:0.25rem;
    padding:0.5rem;
  }
  
  .rank-name,
  .rank-level,
  .rank-leader,
  .rank-members,
  .rank-points{
    font-size:0.8rem;
  }
}

/* Sistema de Notificações Padronizado */
.notification-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}

.notification {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hide {
  transform: translateX(100%);
  opacity: 0;
}

.notification.success {
  border-left: 4px solid #22c55e;
}

.notification.error {
  border-left: 4px solid #ef4444;
}

.notification.info {
  border-left: 4px solid #3b82f6;
}

.notification.warning {
  border-left: 4px solid #f59e0b;
}

.notification-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.notification.success .notification-icon {
  color: #22c55e;
}

.notification.error .notification-icon {
  color: #ef4444;
}

.notification.info .notification-icon {
  color: #3b82f6;
}

.notification.warning .notification-icon {
  color: #f59e0b;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 14px;
}

.notification-message {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
}

.notification-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 768px) {
  .notification-container {
    top: 70px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .notification-title {
    font-size: 13px;
  }
  
  .notification-message {
    font-size: 12px;
  }
}
