/* Velmorian2 2025 UI Pack
   - Non-destructive: adds new components without breaking the existing CMS theme
*/

:root{
  --v2-bg: #07070b;
  --v2-surface: rgba(255,255,255,.055);
  --v2-surface-2: rgba(255,255,255,.08);
  --v2-text: rgba(255,255,255,.92);
  --v2-muted: rgba(255,255,255,.68);
  /* Stronger gold for the premium Velmorian2 look */
  --v2-gold: #ffcc3d;
  --v2-gold-2:#ffe2a0;
  --v2-red: #a01414;
  --v2-red-2:#d43838;
  --v2-border: rgba(255,204,61,.30);
  --v2-shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* Subtle overall polish */
body{
  background: radial-gradient(1200px 700px at 20% 5%, rgba(244,197,91,.10), transparent 55%),
              radial-gradient(900px 500px at 85% 15%, rgba(212,56,56,.10), transparent 60%),
              linear-gradient(180deg, var(--v2-bg) 0%, #050508 100%);
  color: var(--v2-text);
}

a{ text-decoration: none; }

/* HERO CTA buttons inside the existing slider caption */
.m-slide-caption .v2-hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.v2-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.v2-btn i{ opacity:.95; }

.v2-btn-primary{
  background: linear-gradient(135deg, rgba(244,197,91,.22), rgba(212,56,56,.18));
  border-color: rgba(244,197,91,.35);
}

.v2-btn-outline{
  background: rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.14);
}

.v2-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(0,0,0,.55);
  border-color: rgba(244,197,91,.42);
}

.v2-btn:active{
  transform: translateY(0px);
}

/* Quick menu card grid (home/news page) */
.v2-quickmenu{
  margin: 18px 0 16px;
}

.v2-quickhead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin: 0 2px 12px;
}

.v2-quickhead-title{
  font-weight: 900;
  letter-spacing: .25px;
  color: rgba(255,255,255,.92);
}

.v2-quickhead-sub{
  color: rgba(255,255,255,.68);
  font-size: 12px;
  text-align:right;
}

@media (max-width: 575px){
  .v2-quickhead{ flex-direction:column; align-items:flex-start; }
  .v2-quickhead-sub{ text-align:left; }
}

.v2-quickgrid{
  display:grid;
  /* Center column is not super wide because of sidebars -> keep cards readable */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 1400px){
  .v2-quickgrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199px){
  .v2-quickgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .v2-quickgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px){
  .v2-quickgrid{ grid-template-columns: 1fr; }
}

.v2-card{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  gap:12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--v2-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-height: 82px;
}

.v2-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(700px 140px at 10% 10%, rgba(244,197,91,.20), transparent 60%),
              radial-gradient(600px 140px at 90% 0%, rgba(212,56,56,.18), transparent 55%);
  opacity:.7;
  pointer-events:none;
}

.v2-card::after{
  content:"";
  position:absolute;
  inset:auto -30% -60% -30%;
  height:180px;
  background: radial-gradient(closest-side, rgba(244,197,91,.20), transparent 70%);
  transform: rotate(-8deg);
  opacity:.55;
  pointer-events:none;
}

.v2-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(0,0,0,.65);
  border-color: rgba(244,197,91,.34);
}

.v2-ic{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(244,197,91,.20);
  flex: 0 0 auto;
  position:relative;
  z-index:1;
}

.v2-ic i{
  font-size: 18px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 0 18px rgba(244,197,91,.22);
}

.v2-t{
  min-width: 0;
  position:relative;
  z-index:1;
}

.v2-title{
  font-size: 15px;
  font-weight: 900;
  color: rgba(255,255,255,.95);
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.v2-sub{
  margin-top:3px;
  font-size: 12px;
  color: var(--v2-muted);
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Make the main slider caption feel premium */
.m-slide-caption{
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.18));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 80px rgba(0,0,0,.60);
  border-radius: 18px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.m-slide-caption h3{
  text-shadow: 0 0 22px rgba(244,197,91,.20);
  letter-spacing: .2px;
}

.m-slide-caption h4{
  color: rgba(255,255,255,.85) !important;
}

/* Footer upgrade */
.v2-footer-top{
  padding: 26px 0 14px;
  background: radial-gradient(1200px 260px at 50% 0%, rgba(244,197,91,.12), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.15));
  border-top: 1px solid rgba(244,197,91,.22);
}

.v2-footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

@media (max-width: 991px){
  .v2-footer-grid{ grid-template-columns: 1fr; }
}

.v2-footer-title{
  font-weight: 900;
  letter-spacing: .3px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.92);
}

.v2-footer-text{
  color: rgba(255,255,255,.70);
  font-size: 13px;
  line-height: 1.6;
}

/* Footer: server voting block */
.v2-footer-vote{
  margin-top: 16px;
}

.v2-footer-vote-title{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .35px;
  font-size: 14px;
  color: rgba(255,255,255,.90);
  margin-bottom: 8px;
}

.v2-footer-vote-link a{
  display: inline-block;
  transition: transform .12s ease, opacity .12s ease;
}

.v2-footer-vote-link a:hover{
  transform: translateY(-1px);
  opacity: .95;
}

.v2-footer-vote-link img{
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
  border: 1px solid rgba(244,197,91,.18);
}

.v2-footer-links a{
  display:block;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  padding: 6px 0;
  transition: color .15s ease, transform .15s ease;
}

.v2-footer-links a:hover{
  color: rgba(244,197,91,.95);
  transform: translateX(2px);
}

.v2-legal-card{
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
}

.v2-legal-card h3{
  font-weight: 900;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

.v2-legal-card p,
.v2-legal-card li{
  color: rgba(255,255,255,.80);
}

.v2-legal-card ul{ padding-left: 18px; }


.v2-go{
  margin-left:auto;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  position:relative;
  z-index:1;
}

.v2-go i{
  font-size: 14px;
  opacity:.85;
}

.v2-card-admin{
  border-color: rgba(212,56,56,.28);
}

.v2-card-admin:hover{
  border-color: rgba(212,56,56,.45);
}

/* Make the anchor jump feel nicer */
html{
  scroll-behavior: smooth;
}

/* Make language select easier to spot when jumped to */
#langSelect{
  scroll-margin-top: 95px;
}
#langSelect .nice-select{
  box-shadow: 0 0 0 2px rgba(244,197,91,.18), 0 18px 60px rgba(0,0,0,.55);
}

/* ==============================
   Language selector "card" style
   (keeps dropdown functionality)
   ============================== */

.lan-select{
  background: linear-gradient(180deg, rgba(0,0,0,.44), rgba(0,0,0,.22));
  border: 1px solid rgba(255,204,61,.30);
  border-radius: 14px;
  padding: 6px 10px;
  gap: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(212,56,56,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lan-select img{
  height: 18px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.lan-select .nice-select{
  background: transparent;
  color: var(--v2-gold-2);
  font-weight: 800;
  letter-spacing: .25px;
  min-width: 110px;
  padding-left: 0;
  padding-right: 26px; /* room for arrow */
  height: auto;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0,0,0,.85), 0 0 14px rgba(255,204,61,.18);
}

.lan-select .nice-select::after{
  border-color: rgba(255,204,61,.85);
}

/* Dropdown list */
.lan-select .nice-select .list{
  background: rgba(0,0,0,.92);
  border: 1px solid rgba(255,204,61,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.70), 0 0 22px rgba(255,204,61,.14);
  border-radius: 14px;
  overflow: hidden;
  z-index: 9999;
}

.lan-select .nice-select .option{
  color: #f7e3b0;
  font-weight: 700;
}

.lan-select .nice-select .option:hover,
.lan-select .nice-select .option.selected{
  background: rgba(255,204,61,.10);
  color: #fff2cf;
}

.lan-select .nice-select.open{
  border-color: rgba(255,204,61,.55);
}

/* Fix: dropdown should never be clipped by header containers */
.header-section,
.header-section-inner,
.main-menu,
.main-menu ul,
.main-menu ul li{
  overflow: visible !important;
}

/* Make the language dropdown more usable (long names + proper width) */
.lan-select{ position: relative; z-index: 60; }
.lan-select .nice-select{ position: relative; z-index: 61; }
.lan-select .nice-select .list{
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  min-width: 220px;
  max-width: 280px;
  max-height: 60vh;
  overflow-y: auto;
  /* Force vertical list (some themes override Nice Select to flex/inline) */
  display: block !important;
}
.lan-select .nice-select .option{
  white-space: nowrap;
  display: block !important;
  width: 100% !important;
  float: none !important;
}

/* Offcanvas (mobile) language selector */
.offmenu li.v2-lang-off{
  margin-top: 14px;
}
.offmenu li.v2-lang-off .lan-select{
  width: 100%;
  display: flex;
  align-items: center;
}
.offmenu li.v2-lang-off .lan-select .nice-select{
  width: 100%;
  min-width: 0;
}
.offmenu li.v2-lang-off .lan-select .nice-select .list{
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

/* ==============================
   Header navigation "card" style
   ============================== */

.header-section{
  /* Keep the original theme but add modern glass + stronger contrast */
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.10));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main-menu ul{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap: 8px;
}

.main-menu ul li{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
}

.main-menu ul li.v2-nav-lang{
  margin-left: 6px;
}

.main-menu ul li.v2-nav-lang .lan-select{
  display:flex;
  align-items:center;
}

.main-menu ul li a.nav-card{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .25px;
  color: var(--v2-gold-2) !important;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.22));
  border: 1px solid rgba(255,204,61,.32);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(212,56,56,.10);
  text-shadow: 0 1px 0 rgba(0,0,0,.85), 0 0 14px rgba(255,204,61,.22);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  white-space: nowrap;
}

.main-menu ul li a.nav-card i{
  font-size: 12px;
  opacity: .95;
}

.main-menu ul li a.nav-card:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(38,0,0,.55), rgba(0,0,0,.22));
  border-color: rgba(255,204,61,.55);
  box-shadow: 0 16px 60px rgba(0,0,0,.60), 0 0 18px rgba(255,204,61,.18);
  color: #fff2cf !important;
}

.main-menu ul li a.nav-card:active{
  transform: translateY(0);
}

.main-menu ul li a.nav-card--discord{
  border-color: rgba(255,204,61,.32);
}

.main-menu ul li a.nav-card--facebook{
  border-color: rgba(255,204,61,.32);
}

/* Mobile offcanvas: keep it clean but still gold */
.offmenu a.nav-card{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,204,61,.20);
  color: var(--v2-gold-2) !important;
}


/* =========================
   Velmorian2 PREMIUM pass
   (News cards, auth pages, footer, global polish)
   ========================= */

:root{
  --v2-gold-strong: #ffcf4a;
  --v2-gold: #f6c65a;
  --v2-gold-dim: rgba(246,198,90,.18);
  --v2-red: #b0171f;
  --v2-red-glow: rgba(176,23,31,.35);
  --v2-ink: rgba(8,8,10,.72);
  --v2-glass: rgba(10,10,12,.46);
  --v2-stroke: rgba(255,207,74,.22);
}

/* Make header feel premium on every page */
.header-section-inner{
  background: linear-gradient(180deg, rgba(8,8,10,.62), rgba(8,8,10,.22));
  border: 1px solid rgba(255,207,74,.10);
  box-shadow: 0 12px 38px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 10px 14px;
  margin-top: 10px;
}

/* Slight logo glow */
.header-logo img, .header-logo2 img{
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(246,198,90,.25));
  transform: translateZ(0);
}

/* ================= NEWS PREMIUM ================= */
.v2-news-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
@media (max-width: 991px){
  .v2-news-grid{ grid-template-columns: 1fr; }
}

.v2-news-card{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,207,74,.12);
  background: linear-gradient(180deg, rgba(18,18,22,.70), rgba(12,12,14,.48));
  box-shadow: 0 18px 50px rgba(0,0,0,.48);
  overflow:hidden;
}
.v2-news-card::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(900px 220px at 10% 0%, rgba(246,198,90,.18), transparent 60%),
              radial-gradient(700px 220px at 90% 0%, rgba(176,23,31,.18), transparent 62%);
  pointer-events:none;
  opacity:.9;
}
.v2-news-card:hover{
  border-color: rgba(255,207,74,.22);
  box-shadow: 0 22px 62px rgba(0,0,0,.58);
}
.v2-news-card-top{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 14px 14px 0;
  z-index:1;
}
.v2-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size: 12px;
  letter-spacing:.3px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,207,74,.18);
  background: rgba(0,0,0,.35);
  color: var(--v2-gold-strong);
}
.v2-badge-time{
  margin-left:auto;
  color: rgba(255,255,255,.80);
  border-color: rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
}
.v2-badge-updates{ color: var(--v2-gold-strong); }
.v2-badge-events{ color: #ff8a55; border-color: rgba(255,138,85,.18); }
.v2-badge-news{ color: var(--v2-gold-strong); }

.v2-news-admin{
  display:flex;
  gap:8px;
  margin-left: 10px;
}
.v2-icbtn{
  width:34px; height:34px;
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius: 12px;
  border: 1px solid rgba(255,207,74,.16);
  background: rgba(0,0,0,.32);
  color: rgba(255,255,255,.88);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.v2-icbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,207,74,.28);
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  color:#fff;
}
.v2-icbtn--danger{
  border-color: rgba(255,120,120,.18);
  color: #ffb0b0;
}
.v2-icbtn--danger:hover{
  border-color: rgba(255,120,120,.30);
}

.v2-news-card-body{
  position:relative;
  display:block;
  padding: 12px 14px 14px;
  text-decoration:none;
  z-index:1;
}
.v2-news-title{
  margin: 6px 0 8px;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 10px 22px rgba(0,0,0,.55);
}
.v2-news-excerpt{
  margin:0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}
.v2-news-meta{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.v2-news-more{
  color: var(--v2-gold-strong);
  font-weight: 800;
}
.v2-news-card:hover .v2-news-more{
  text-shadow: 0 0 14px rgba(246,198,90,.35);
}

/* Premium empty state */
.v2-empty{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.78);
}

/* ===== Read page polish ===== */
.post{
  border-radius: 18px;
  border: 1px solid rgba(255,207,74,.12);
  background: linear-gradient(180deg, rgba(12,12,14,.62), rgba(10,10,12,.42));
  box-shadow: 0 18px 50px rgba(0,0,0,.48);
}
.post_title{
  padding: 16px 18px 10px;
  font-weight: 900;
  color:#fff;
  font-size: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.post_content{
  padding: 14px 18px 10px;
  color: rgba(255,255,255,.82);
}
.post_date{
  padding: 10px 18px 16px;
  color: rgba(255,255,255,.65);
}

/* ===== Auth pages (login/register) ===== */
.v2-auth-wrap{
  max-width: 640px;
  margin: 0 auto;
}
.v2-auth-card{
  border-radius: 20px;
  border: 1px solid rgba(255,207,74,.14);
  background: linear-gradient(180deg, rgba(12,12,14,.68), rgba(10,10,12,.40));
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  overflow:hidden;
}
.v2-auth-card .v2-auth-body{
  padding: 18px;
}
.v2-auth-row{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.v2-auth-label{
  font-weight: 800;
  color: rgba(255,255,255,.86);
  margin-bottom: 6px;
}
.v2-auth-input{
  width:100%;
  border-radius: 14px !important;
  border: 1px solid rgba(255,207,74,.16) !important;
  background: rgba(0,0,0,.32) !important;
  color: rgba(255,255,255,.92) !important;
  padding: 12px 14px !important;
}
.v2-auth-input:focus{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(246,198,90,.14) !important;
  border-color: rgba(255,207,74,.30) !important;
}
.v2-auth-actions{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.v2-btn-gold{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,207,74,.26);
  background: linear-gradient(180deg, rgba(255,207,74,.22), rgba(176,23,31,.18));
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
  text-decoration:none;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.v2-btn-gold:hover{
  color:#fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.55);
  border-color: rgba(255,207,74,.38);
}
.v2-auth-help a{
  color: var(--v2-gold-strong);
  font-weight: 800;
}

/* ===== Footer polish ===== */
.v2-footer-grid{
  gap: 22px;
}
.v2-footer-title{
  color: #fff;
  text-shadow: 0 10px 20px rgba(0,0,0,.55);
}
.v2-footer-text{
  color: rgba(255,255,255,.78);
}
.v2-footer-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 0;
  color: rgba(255,255,255,.82);
}
.v2-footer-links a:hover{
  color: var(--v2-gold-strong);
  text-shadow: 0 0 12px rgba(246,198,90,.35);
}

.v2-footer-payments{
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(244,197,91,.18);
}

.v2-footer-payments img{
  display:block;
  width:100%;
  max-width: 520px;
  height:auto;
  opacity: .92;
}

.v2-footer-payments .v2-footer-text{
  margin-top: 8px;
}

/* payment icons (separate) */
.v2-footer-payments-icons{
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(244,197,91,.18);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.v2-footer-payments-icons .v2-pay-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,207,74,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.v2-footer-payments-icons .v2-pay-icon img{
  display:block;
  height: 22px;
  width:auto;
  opacity: .85;
  filter: grayscale(100%);
  transition: filter .18s ease, opacity .18s ease;
}
.v2-footer-payments-icons .v2-pay-icon:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.35), 0 0 18px rgba(246,198,90,.18);
}
.v2-footer-payments-icons .v2-pay-icon:hover img{
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 575px){
  .v2-footer-payments-icons{ gap:8px; }
  .v2-footer-payments-icons .v2-pay-icon{ padding: 6px 8px; }
  .v2-footer-payments-icons .v2-pay-icon img{ height: 18px; }
}


.v2-footer-legalnote{ margin-top:10px; }


/* Register table polish inside premium auth card */
.v2-auth-card .table{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.v2-auth-card .table td{
  border-color: rgba(255,255,255,.08) !important;
  vertical-align: middle;
}
.v2-auth-card .table-dark{
  --bs-table-bg: rgba(0,0,0,.22);
}
.v2-auth-card .form-control{
  border-radius: 14px !important;
  border: 1px solid rgba(255,207,74,.16) !important;
  background: rgba(0,0,0,.32) !important;
  color: rgba(255,255,255,.92) !important;
}
.v2-auth-card .form-control:focus{
  box-shadow: 0 0 0 3px rgba(246,198,90,.14) !important;
  border-color: rgba(255,207,74,.30) !important;
}

/* Cookie bar */
.v2-cookie{
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
}
.v2-cookie-inner{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,207,74,.16);
  background: linear-gradient(180deg, rgba(10,10,12,.78), rgba(10,10,12,.58));
  box-shadow: 0 18px 55px rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.v2-cookie-text{
  color: rgba(255,255,255,.82);
  font-weight: 600;
  line-height: 1.45;
}
.v2-cookie-text a{
  color: var(--v2-gold-strong);
  font-weight: 900;
}
.v2-cookie-btn{
  white-space: nowrap;
}
@media (max-width: 640px){
  .v2-cookie-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .v2-cookie-btn{ width: 100%; justify-content:center; }
}

/* ------------------------------------------------------------
   Presentation / Wiki page
------------------------------------------------------------- */
.v2-page{ padding: 6px 0 10px; }
.v2-page-head{ margin: 4px 6px 14px; }
.v2-page-title{
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .3px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 0 18px rgba(255,204,61,.18);
}
.v2-page-sub{ color: rgba(255,255,255,.72); font-weight: 600; margin-top: 6px; }

.v2-toc .v2-card-title,
.v2-note-title{
  font-weight: 900;
  color: rgba(255,255,255,.92);
  margin-bottom: 10px;
  display:flex;
  align-items:center;
  gap: 8px;
}

.v2-toc-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 575px){
  .v2-toc-grid{ grid-template-columns: 1fr; }
}

.v2-toc-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,204,61,.16);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.v2-toc-item i{ color: var(--v2-gold); }
.v2-toc-item:hover{ transform: translateY(-1px); border-color: rgba(255,204,61,.30); box-shadow: 0 12px 35px rgba(0,0,0,.45); }

.v2-feature{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
}
.v2-feature--flip{ grid-template-columns: 1fr 1.05fr; }
.v2-feature--flip .v2-feature-media{ order: 2; }
.v2-feature-media{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,204,61,.14);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
}
.v2-feature-media img{ width: 100%; height: 100%; object-fit: cover; display:block; transform: scale(1.02); }
.v2-feature-body{ padding: 6px 4px; }

.v2-feature-title{
  display:flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  margin-bottom: 8px;
}
.v2-feature-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 12px;
  color: rgba(0,0,0,.88);
  background: linear-gradient(135deg, rgba(255,226,160,.95), rgba(255,204,61,.95));
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.v2-feature-text{ color: rgba(255,255,255,.78); font-weight: 600; line-height: 1.6; }
.v2-feature-bullets{ list-style: none; padding: 0; margin: 12px 0 0; }
.v2-feature-bullets li{ color: rgba(255,255,255,.84); font-weight: 700; margin: 7px 0; display:flex; gap: 9px; align-items:flex-start; }
.v2-feature-bullets i{ color: var(--v2-gold); margin-top: 2px; }

.v2-feature-actions{ margin-top: 12px; }
.v2-mini{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,204,61,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.v2-mini:hover{ border-color: rgba(255,204,61,.30); }

@media (max-width: 991px){
  .v2-feature,
  .v2-feature--flip{ grid-template-columns: 1fr; }
  .v2-feature--flip .v2-feature-media{ order: 0; }
  .v2-feature-media img{ max-height: 320px; }
}

.v2-note-title{ margin-bottom: 8px; }
.v2-note-text{ color: rgba(255,255,255,.76); font-weight: 600; line-height: 1.6; }



/* Mobile header language selector sizing */
.v2-lang-mobile .lan-select{
  padding: 5px 8px;
  border-radius: 12px;
}
.v2-lang-mobile .lan-select .nice-select{
  min-width: 92px;
  font-size: 12px;
}
