/* =========================
   GLOBAL RESET
========================= */
:root {
  --gold:        #c9a227;
  --gold-light:  #f0c040;
  --gold-dark:   #8a6b0e;
  --bg-dark:     #0d0b07;
  --bg-panel:    #13100a;
  --bg-input:    #0f0d09;
  --border:      #2e2510;
  --border-gold: #c9a22760;
  --text-main:   #d4c5a0;
  --text-dim:    #7a6e58;
  --text-bright: #f0e6c8;
  --red-accent:  #8b1a1a;
  --radius:      4px;
  --radius-lg:   8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #0b0b0b;
  color: #f1e6c8;
}

/* =========================
   HEADER
========================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #111;
  border-bottom: 1px solid #2b2b2b;
}

.logo {
  font-family: Cinzel;
  font-size: 28px;
  color: #d9b46b;
  letter-spacing: 3px;
}

.menu a {
  margin: 0 12px;
  color: #f1e6c8;
  text-decoration: none;
  font-size: 14px;
}

.menu a:hover {
  color: #d9b46b;
}

.auth button {
  margin-left: 10px;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  background: #222;
  color: #fff;
}

.auth .gold {
  background: #d9b46b;
  color: #000;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #3d3d3d;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  margin-right: 12px;
  vertical-align: middle;
}

.discord-btn:hover {
  background: #3d3d3d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

/* =========================
   STATS
========================= */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 60px;
  gap: 20px;
}

.stat-box {
  background: #151515;
  padding: 20px;
  text-align: center;
  border: 1px solid #2b2b2b;
}

.stat-box span {
  color: #d9b46b;
  font-weight: bold;
}

/* =========================
   MAIN LAYOUT
========================= */

.container {
  display: flex;
  gap: 20px;
  padding: 40px 60px;
  align-items: flex-start;
}

.main {
  flex: 3;
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* =========================
   BOXES (SIDEBAR)
========================= */

.box {
  background: #151515;
  border: 1px solid #2b2b2b;
  padding: 15px;
  border-bottom-left-radius: 2rem;
   border-bottom-right-radius: 2rem;
border-top-left-radius: 2rem;
   border-top-right-radius: 2rem;  
}

.box h3 {
  font-family: Cinzel;
  color: #d9b46b;
  margin-bottom: 10px;
  font-size: 16px;
}

/* RANKING WIDGET */
.ranking-list { display: flex; flex-direction: column; }
.rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.rank-item:last-child { border-bottom: none; }
.rank-pos {
  width: 26px; text-align: center;
  font-family: 'Cinzel', serif; font-weight: 700; font-size: .85rem;
}
.rank-pos.gold   { color: #ffd700; }
.rank-pos.silver { color: #c0c0c0; }
.rank-pos.bronze { color: #cd7f32; }
.rank-pos.normal { color: var(--text-dim); }
.rank-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #2a2015, #3a3020);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.rank-info { flex: 1; min-width: 0; }
.rank-name {
  font-weight: 600; font-size: .82rem; color: var(--text-bright);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rank-class { font-size: .68rem; color: var(--text-dim); }
.rank-level {
  font-family: 'Cinzel', serif; font-size: .9rem;
  font-weight: 700; color: var(--gold); white-space: nowrap;
}

/* =========================
   LOGIN FORM
========================= */

.auth-box form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input {
  width: 100%;
  padding: 10px;
  background: #0f0f0f;
  border: 1px solid #2b2b2b;
  color: #f1e6c8;
  outline: none;
}

.input:focus {
  border-color: #d9b46b;
}

.login-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: #d9b46b;
  border: none;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #aaa;
}

.auth-links {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.auth-links a {
  color: #d9b46b;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* =========================
   MINI LIST (TOP PLAYERS/GUILDS)
========================= */

.mini-list div {
  padding: 6px 0;
  border-bottom: 1px solid #222;
  font-size: 13px;
  color: #ccc;
}

.mini-list div:last-child {
  border-bottom: none;
}

/* =========================
   NEWS
========================= */

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.news-card {
  background: #151515;
  border: 1px solid #2b2b2b;
  padding: 15px;
border-bottom-left-radius: 2rem;
   border-bottom-right-radius: 2rem;
border-top-left-radius: 2rem;
   border-top-right-radius: 2rem;  
}

.news-card h3 {
  color: #d9b46b;
  font-family: Cinzel;
  margin-bottom: 8px;
}

.news-card p {
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
}

/* =========================
   FOOTER
========================= */

.footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #2b2b2b;
  margin-top: 50px;
  color: #888;
  font-size: 13px;
}

/* =========================
   RESPONSIVE (basic)
========================= */

@media (max-width: 992px) {

  .container {
    flex-direction: column;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .header {
    flex-direction: column;
    gap: 10px;
  }

}

/* =========================
   HERO SLIDER BACKGROUND
========================= */

.hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
}

/* imagine stil Metin2 (2009 fantasy war look) */
.hero-slide {
  height: 100%;
  width: 100%;

  background: url('../images/metin2-slide.png') center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

/* overlay dark cinematic */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.75)
  );
}

/* content peste imagine */
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 700px;
}

/* titlu cinematic */
.hero h1 {
  font-family: Cinzel;
  font-size: 52px;
  color: #d9b46b;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  letter-spacing: 2px;
}

/* text mic */
.hero p {
  margin-top: 12px;
  color: #ddd;
  font-size: 16px;
}

/* butoane */
.hero-buttons {
  margin-top: 20px;
}

.hero-buttons button {
  margin: 8px;
  padding: 12px 22px;
  border: none;
  cursor: pointer;
  background: #222;
  color: #fff;
  transition: 0.2s;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.hero-buttons button:hover {
  background: linear-gradient(135deg, #d9b46b, var(--gold));
  box-shadow: 0 6px 28px rgba(201,162,39,.5); color: #0d0b07; transform: translateY(-1px);
}

.hero-buttons .gold {
  background: linear-gradient(135deg, #d9b46b, var(--gold));
  color: #0d0b07; box-shadow: 0 4px 20px rgba(201,162,39,.3);
}

/* ==================================
   HERO
================================== */

.hero {
    height: 700px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;

    background: url('../images/metin2-slide.png') center center;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.hero-slide::before {
    content: "";

    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    width: 100%;
    max-width: 1200px;

    padding: 0 20px;
}

/* ==================================
   TITLU
================================== */

.hero-content h1 {
    font-family: Cinzel, serif;
    font-size: 72px;
    font-weight: 600;

    color: #d9b46b;

    text-shadow:
        0 0 20px rgba(0,0,0,.8),
        0 0 40px rgba(0,0,0,.6);

    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    color: #e2e2e2;

    margin-bottom: 35px;
}

/* ==================================
   BUTTONS
================================== */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;

    margin-bottom: 50px;
}

.hero-buttons button {
    border: none;

    padding: 14px 28px;

    cursor: pointer;

    font-weight: 600;
    font-size: 14px;

    transition: .25s;
}

.hero-buttons button:not(.gold) {
    background: rgba(20,20,20,.9);
    color: white;
}

/* ==================================
   HERO STATS
================================== */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;

}

.hero-stat {
    min-width: 220px;

    padding: 20px;

    border: 1px solid rgba(217,180,107,.25);

    backdrop-filter: blur(5px);

    transition: .25s;
	border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
	border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

.hero-stat .number {
    display: block;

    font-size: 34px;
    font-weight: 700;

    color: #d9b46b;

    margin-bottom: 5px;
}

.hero-stat .label {
    display: block;

    color: #ddd;
    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================
   REGISTER PAGE
========================== */

.register-page {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.register-container {
    width: 100%;
    max-width: 650px;

    background: #151515;

    border: 1px solid #2b2b2b;

    padding: 40px;
}

.register-container h1 {
    text-align: center;

    color: #d9b46b;

    font-family: Cinzel;

    margin-bottom: 30px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;

    color: #cfcfcf;

    font-size: 14px;
}

.form-group input {
    padding: 12px;

    background: #0f0f0f;

    border: 1px solid #2b2b2b;

    color: white;
}

.form-group input:focus {
    outline: none;
    border-color: #d9b46b;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;

    color: #aaa;
}

.register-btn {
    height: 50px;

    border: none;

    background: #d9b46b;

    color: #000;

    font-weight: 700;

    cursor: pointer;
}

.register-footer {
    margin-top: 25px;

    text-align: center;

    font-size: 14px;
}

.register-footer a {
    color: #d9b46b;
    text-decoration: none;
}

/* =========================
   MD PACKAGES
========================= */

.pack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.pack-card {
    cursor: pointer;
    border: 1px solid #2b2b2b;
    background: #151515;
    padding: 15px;
    transition: .2s;
    text-align: center;
    position: relative;
}

.pack-card:hover {
    border-color: #d9b46b;
    transform: translateY(-3px);
}

.pack-card input {
    display: none;
}

.pack-inner {
    pointer-events: none;
}

.pack-title {
    font-family: Cinzel;
    color: #d9b46b;
    font-size: 18px;
    margin-bottom: 10px;
}

.pack-md {
    font-size: 22px;
    color: #fff;
    margin-bottom: 5px;
}

.pack-price {
    font-size: 14px;
    color: #aaa;
}

/* SELECTED EFFECT */
.pack-card input:checked + .pack-inner {
    outline: 2px solid #d9b46b;
}

/* =========================
   PAYMENT
========================= */

.pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pay-card {
    background: #151515;
    border: 1px solid #2b2b2b;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.pay-card:hover {
    border-color: #d9b46b;
}

.pay-card input {
    display: none;
}

.pay-card input:checked + span {
    color: #d9b46b;
    font-weight: bold;
}

.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 70px 0;
}

.language-switcher a {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.language-switcher a:hover {
    transform: scale(1.1);
}

.language-switcher img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
}

.home-hero-cta .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1rem;
    border-radius: .7rem;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.home-hero-cta .hero-btn-discord {
    background: #4f5bd5;
	  color: #fff;
}

.home-natural .home-hero .home-hero-cta .hero-btn {
    border-radius: .72rem;
    border: 1px solid rgba(255, 244, 227, .1);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease;
}

.home-hero-cta .hero-btn-tiktok {
    background: #111;
    border-color: #ffffff1a;
}

.home-hero-cta .hero-btn-tiktok {
    /* background: #010101; */
    color: #fff;
}

.countdown-label {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}
.time-unit .number {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.time-unit .label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.separator {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  color: #ffd700;
  margin-top: -10px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.countdown-date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #888;
  margin-top: 8px;
  letter-spacing: 1px;
}