/* ==== GLOBAL ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cinzel", serif;
    overflow-x: hidden;
    background: url("../img/bg.png") no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* Overlay opcional (si quieres oscurecer el fondo) */
.overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}

/* ==== CONTAINER ==== */
.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 3.2rem;
    color: #e8c27b;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* ==== SERVER OPTIONS ==== */
.servers {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
}

.server-box {
    width: 350px;
    padding: 25px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: 0.3s;
}

.server-box:hover {
    transform: translateY(-10px) scale(1.03);
    background: rgba(0,0,0,0.65);
    border-color: #007ef2;
}

.server-logo img {
    width: 260px;
    margin-bottom: 20px;
}

.server-info {
    font-size: 1.1rem;
    padding: 8px 0;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    margin-top: 10px;
}

/* ==== FOOTER ==== */
footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==== RESPONSIVE ==== */
@media(max-width: 900px){
    .servers{
        flex-direction: column;
        gap: 30px;
    }

    .server-box {
        width: 280px;
    }
}
/* ==== BUTTON STYLE MMORPG ==== */
.server-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #007ef2, #007ef2, #007ef2);
    border-radius: 8px;
    border: 1px solid #007ef2;
    letter-spacing: 1px;
    transition: 0.3s;
    text-shadow: 0 0 8px rgba(0,0,0,.8);
}

.server-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #007ef2, #007ef2, #007ef2);
    box-shadow: 0 0 15px rgba(199,155,75,0.7);
}
/* ==== SERVER STATUS BOX ==== */
.server-status-box {
    margin-top: -10px;
    text-align: center;
    color: #fff;
}

.sv-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 0 10px #000;
}

.sv-sub {
    display: inline-block;
    margin-top: -5px;
    font-size: 1rem;
    color: #38ff38; /* ONLINE --> VERDE */
    font-weight: 700;
    text-shadow: 0 0 10px #000;
}

.sv-soon {
    color: #ff6b6b !important; /* Coming soon --> ROJO */
}

.sv-desc {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 18px;
    opacity: 0.9;
}

.sv-count {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: red;
    text-shadow: 0 0 10px #000;
}


/* ===== POPUP OVERLAY ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9999;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== POPUP BOX ===== */
.popup-box {
    background: rgba(10, 20, 40, 0.95);
    border: 1px solid rgba(0,150,255,0.4);
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    width: 350px;
    animation: popupShow 0.5s ease;
    box-shadow: 0 0 20px rgba(0,150,255,0.4);
}

@keyframes popupShow {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== TEXT ===== */
.popup-box h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.popup-box p {
    color: #bcdcff;
    margin-bottom: 20px;
}

/* ===== CLOSE BUTTON ===== */
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* ===== SOCIAL BUTTONS ===== */
.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.popup-btn {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: 0.3s;
}

.popup-btn.fb {
    background: #1877f2;
}

.popup-btn.dc {
    background: #5865F2;
}

.popup-btn:hover {
    transform: scale(1.08);
}

.effects {
  position: absolute;
  z-index: 0;
  -webkit-animation: fly 10s infinite linear;
          animation: fly 10s infinite linear;
}

.effects2 {
  position: absolute;
  z-index: 0;
  -webkit-animation: fly 25s infinite linear;
          animation: fly 25s infinite linear;
}

@-webkit-keyframes fly {
  0% {
    top: 200px;
    left: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: -1000px;
    opacity: 1;
    left: -1000px;
  }
}

@keyframes fly {
  0% {
    top: 200px;
    left: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: -1000px;
    opacity: 1;
    left: -1000px;
  }
}

@-webkit-keyframes scale {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.01);
            transform: scale(1.01);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes scale {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.01);
            transform: scale(1.01);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}


html, body {
    overflow-x: hidden !important;
}

.effects, .effects2 {
    position: fixed;
    left: 50%;
    top: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
}
@keyframes fly {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-60%, -80%) scale(1.3);
    opacity: 0;
  }
}
