/* Importăm fonturi realiste și cinematice */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500&display=swap');

/* Păstrăm fonturile tale vechi ca rezervă */
@font-face { font-family: pFont; src: url(fonts/p-font.ttf); }
@font-face { font-family: gFont; src: url(fonts/g-font.ttf); }

* { padding: 0; margin: 0; box-sizing: border-box; }

html {
  font-size: 62.5%;
  height: 100vh;
  background-image: url("img/4K_by_solstic.png"); 
  background-size: cover;
  background-position: center;
  cursor: url("img/cursor.png"), auto;
}

body {
  width: 100%;
  height: 100vh;
  /* Vignetare fină pentru a da adâncime imaginii de fundal */
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  user-select: none;
}

/* --- TITLU PRINCIPAL --- */
.top h1 {
  text-align: center;
  margin-top: 5rem;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 7.5rem;
  letter-spacing: 1.5rem;
  /* Gradient metalic/argintiu foarte subtil, realist */
  background: linear-gradient(180deg, #ffffff 20%, #a0a5b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.15));
}

/* --- SERVER SELECT --- */
.sv-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.bxb { display: flex; gap: 10rem; }

/* Cutiile (Efect de sticlă mată, premium) */
.box, .box2 {
  width: 23rem;
  height: 33rem;
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03); /* Foarte transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: url("img/pointer.png"), auto;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.boxbg, .boxbg2 {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6; 
  transition: 0.5s;
  z-index: 1;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 2.5rem;
}

/* Hover - Sticlă iluminată, fără culori aprinse */
.box:hover, .box.active, .box2:hover, .box2.active { 
  border-color: rgba(255, 255, 255, 0.5); 
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-10px); 
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1); 
}

.box:hover .boxbg, .box2:hover .boxbg2, 
.box.active .boxbg, .box2.active .boxbg2 { 
  opacity: 0.9; 
  transform: scale(1.05); 
}

/* Texte pe cutii */
h2 { 
  font-family: 'Cinzel', serif; 
  font-weight: 700;
  font-size: 2.8rem; 
  color: #fff; 
  letter-spacing: 2px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.9); 
}

p { 
  font-family: 'Inter', sans-serif; 
  font-weight: 400;
  font-size: 1.4rem; 
  color: #cbd5e1; /* Gri deschis curat */
  letter-spacing: 3px; 
  margin-top: 0.5rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9);
}

/* --- SIDEBAR MEDIA --- */
.media {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem 1.5rem;
  border-radius: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 100;
}

.media img {
  width: 40px;
  height: 40px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)) opacity(0.7);
  cursor: url("img/pointer.png"), auto;
}

.media img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4)) opacity(1);
}

/* --- BUTON START (PURE GLASSMORPHISM) --- */
.sv { text-decoration: none; } 

.cta {
  /* Fără culori de fundal, doar sticlă transparentă */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.8rem 5rem;
  border-radius: 0.5rem;
  margin-top: 4rem;
  cursor: url("img/pointer.png"), auto;
  transition: all 0.4s ease;
  display: none; 
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta:hover { 
  /* La hover devine sticla mai "luminoasă", textul rămâne alb */
  background: rgba(255, 255, 255, 0.1); 
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.1);
}

.cta span { 
  font-family: 'Cinzel', serif; 
  font-weight: 700;
  font-size: 2.2rem; 
  color: #fff; 
  letter-spacing: 5px;
  transition: all 0.3s;
}

.cta:hover span { 
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); 
}

.cta svg { 
  fill: #fff; 
  transition: 0.4s; 
  opacity: 0.8;
}

.cta:hover svg { 
  transform: translateX(8px); 
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Tăiem underline-ul */
.hover-underline-animation { padding-bottom: 0 !important; text-decoration: none !important; }
.hover-underline-animation::after, .hover-underline-animation:after { content: none !important; display: none !important; }

/* Utilități */
.hidden { display: none !important; }
.cta.show { display: flex !important; }

footer {
  text-align: center;
  padding: 3rem;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* =========================================
   TOPLIST BADGE (Dreapta-Jos)
   ========================================= */
.toplist-badge {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.toplist-badge img {
  height: 35px; /* Păstrează proporțiile corecte ale bannerului */
  width: auto;
  opacity: 0.6;
  transition: all 0.4s ease;
  /* Îl facem alb-negru ca să se îmbine cu tema dark/sticlă a site-ului */
  filter: grayscale(100%); 
}

/* Efectul la trecerea cu mouse-ul */
.toplist-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.05);
}

.toplist-badge:hover img {
  opacity: 1;
  /* Revine la culorile originale când utilizatorul vrea să dea click */
  filter: grayscale(0%); 
}

.main-logo {
  display: block;
  margin: 0 auto 10px auto; /* Centrează logo-ul și lasă spațiu sub el */
  max-width: 300px;         /* Ajustează lățimea după preferințe */
  height: auto;             /* Menține proporțiile */
  pointer-events: none;     /* Utilizatorul nu poate trage de imagine */
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.6)); /* Îl face să iasă în evidență pe fundal */
  transition: transform 0.3s ease;
}

/* Opțional: un mic efect de plutire */
.main-logo:hover {
  transform: scale(1.05);
}

/* Animația de plutire (sus-jos) */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Animație pentru strălucire (glow) */
@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); }
  50% { filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)); }
  100% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); }
}

.main-logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 300px;
  height: auto;
  
  /* Aplicăm animațiile */
  animation: 
    float 4s ease-in-out infinite, 
    logoGlow 3s ease-in-out infinite;
  
  /* Smooth transition pentru hover */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-logo:hover {
  transform: scale(1.1) rotate(2deg); /* Se mărește și se înclină puțin la hover */
  cursor: pointer;
}