/* ======================================
   RESET
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======================================
   BODY (FIJO PC)
   ====================================== */
body {
    background: linear-gradient(135deg, #1a0a0a 0%, #2a1a1a 30%, #1a2332 70%, #0a0e1a 100%);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    min-width: 1200px;
    color: #f3f3f4;
    overflow-x: hidden;
}
/* ======================================
   CONTENEDOR PRINCIPAL
   ====================================== */
#master-container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 2350px;
}

/* ======================================
   HEADER BADGE IZQUIERDA (CENTRADA)
   ====================================== */
.header-badge {
    position: absolute;
    left: 100px;
    top: 5%; /* CORREGIDO: Centrado vertical perfecto */
    transform: translateY(-50%);
    width: 400px;
    height: auto;
    z-index: 10; /* Valor razonable */
    opacity: 0.95;
    pointer-events: none;
    filter:
        drop-shadow(0 0 8px rgb(88, 192, 244))
        drop-shadow(0 0 16px rgba(0,0,0,0.8));
}

/* ======================================
   HEADER
   ====================================== */
#main-header {
    height: 116px;
    background: linear-gradient(180deg, #3a1a1a, #0f1f2f);
    border-bottom: 2px solid #78a3c8;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

/* LOGO */
.logo {
    width: 416px;
    height: 116px; /* CORREGIDO: Igual al header, ya no se sale */
    background: url("../img/logo.png") no-repeat center;
    background-size: contain;
    position: relative;
    display: block; /* Mejor renderizado */
}

/* ======================================
   MENÚ BLIZZLIKE
   ====================================== */
.main-nav {
    display: flex;
    margin-left: 120px;
    gap: 50px;
}

.main-nav a {
    position: relative;
    color: #f3e702;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 6px 4px;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f3e702, #fff6a0);
    transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff6a0;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* ======================================
   SLIDER
   ====================================== */
#main-slider {
    position: absolute;
    top: 136px;
    left: 132px;
    width: 940px;
    height: 332px;
    border: 2px solid #78a3c8;
}

#main-slider img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ======================================
   SLIDER TEXTO ROTATIVO
   ====================================== */
.slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.slider-message {
    position: absolute;
    max-width: 700px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease, transform 1s ease;
}

.slider-message.active {
    opacity: 1;
    transform: translateY(0);
}

.slider-message h2 {
    font-size: 40px;
    color: #f1f0ec;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow:
        0 0 10px rgba(17,99,176,0.8),
        0 0 20px rgba(0,0,0,0.9);
}

.slider-message p {
    font-size: 25px;
    line-height: 1.5;
    color: #03f0f4;
    text-shadow: 0 2px 6px rgba(0,0,0,0.95);
}

/* ======================================
   CONTENIDO
   ====================================== */
#content-grid {
    position: absolute;
    top: 490px;
    left: 132px;
    width: 940px;
}

/* ======================================
   LOGIN / REGISTER
   ====================================== */
#center-message {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 35px;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.auth-box {
    width: 210px;
    height: 50px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-box::before {
    content: "";
    position: absolute;
    inset: -50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.auth-box.login::before {
    background-image: url("../img/login.png");
}

.auth-box.register::before {
    background-image: url("../img/register.png");
}

.auth-box.login {
    margin-right: -120px;
    transform: translateX(-10px);
}

.auth-box.register {
    transform: translateX(120px);
}

.auth-box:hover::before {
    transform: scale(1.04);
    filter: brightness(1.12);
}

/* ======================================
   MENSAJE
   ====================================== */
.message-box {
    height: 50px;
    background: linear-gradient(180deg, #1f7a32, #155823);
    border: 2px solid #2fd96b;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(47,217,107,0.25);
}

.message-box::before {
    content: "⚠️";
    margin-right: 8px;
    font-size: 18px;
}

/* ======================================
   BLOQUE CLÁSICO
   ====================================== */
#classic-grid {
    display: flex;
    gap: 23px;
    margin-top: -20px;
}

.classic-left {
    width: 671px;
    padding: 40px;
    text-align: right;
    background:
        linear-gradient(rgba(10,18,28,0), rgba(10,18,28,0.55)),
        url("../img/deathknell-bg.jpg") top center / cover no-repeat,
        #1a2a3a;
}

.classic-left h2 {
    color: #58bff4;
    font-size: 28px;
}

.classic-left h1 {
    font-size: 42px;
    margin: 10px 0;
}

.classic-left p {
    font-size: 17px;
}

/* ======================================
   DERECHA
   ====================================== */
.classic-right {
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-box {
    height: 64px;
    position: relative;
    border: 1px solid #101e2f;
}

.info-box a {
    position: absolute;
    inset: -8px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.info-box.connect a {
    background-image: url("../img/como-conectar.png");
    background-size: 92%;
}

.info-box.download a {
    background-image: url("../img/descargar.png");
    background-size: 85%;
}

.info-box:hover a {
    transform: scale(1.04);
    filter: brightness(1.12);
}

/* ======================================
   FOOTER
   ====================================== */
#main-footer {
    position: absolute;
    bottom: 0;
    width: 1200px;
    background: #1c0a0aac;
    border-top: 1px solid #1b2a3a;
    padding: 12px 20px;
}

.footer-content {
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    font-weight: bold;
    color: #9fbad0;
}

.footer-disclaimer {
    font-size: 11px;
    line-height: 1.4;
    color: #6f8da5;
    opacity: 0.85;
}

/* ======================================
   ESTILOS FALTANTES - REALMLIST
   ====================================== */
.info-box.realmlist {
    background: #0f1f2f;
    border: 1px solid #2fd96b;
    padding: 10px 15px;
    height: auto;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box.realmlist h3 {
    color: #58bff4;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.info-box.realmlist p {
    color: #f3e702;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.info-box.realmlist span {
    font-weight: bold;
    color: #03f0f4;
}


/* ======================================
   LOGIN / REGISTER + IMAGEN DERECHA
   ====================================== */

/* Contenedor principal: distribuye espacio entre botones e imagen */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Botones a la izq, imagen a la der */
}

/* Lado izquierdo: agrupa los botones */
.auth-left {
    display: flex;
    align-items: center;
}

/* Lado derecho: contenedor de la imagen */
.auth-right {
    width: 260px;   /* Ajusta según el ancho de tu imagen */
    height: 120px;  /* Ajusta según el alto de tu imagen */
    position: relative;
    flex-shrink: 0; /* Evita que se encoja */
    margin-top: -50px;  /* 👈 AÑADE ESTO: valores positivos = hacia ABAJO */
}

/* Enlace/imagen: toda el área es clickeable */
.auth-image {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.auth-image img {
    width: 100%;
    height: 100%;
    margin-top: 6px; /* Valor negativo sube la imagen */
    object-fit: contain; /* Mantiene proporciones */
}

/* Efecto hover */
.auth-image:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}


/* ======================================
   EFECTO DE NIEVE
   ====================================== */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* No bloquea clicks */
    z-index: 1; /* Detrás del contenido (tu contenido usa z-index 5-10) */
}

.snowflake {
    position: absolute;
    color: #fff;
    user-select: none;
    cursor: default;
    animation: snow-fall linear infinite;
}

@keyframes snow-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}



/* ======================================
   SOCIAL MEDIA - YOUTUBE + DISCORD
   ====================================== */
#social-grid {
    display: flex;
    gap: 23px;
    margin-top: 30px;
}

.social-left {
    width: 671px;
}

.youtube-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    background: #000;
    border: 2px solid #78a3c8;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.social-right {
    width: 330px;
    display: flex;
    align-items: flex-start;
}
/* ======================================
   BOTÓN DISCORD ESTILO PREMIUM
   ====================================== */
.info-box.discord {
    width: 100%;
    height: 350px; /* Altura elegante */
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: 2px solid #8a9cff;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Logo de Discord como fondo artístico */
.info-box.discord::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"><path fill="%23ffffff" d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/></svg>') center/contain no-repeat;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

/* Texto perfectamente centrado y simétrico */
.info-box.discord a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 18px; /* Letra grande y legible */
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px; /* Espaciado elegante */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    z-index: 1;
}

/* Efecto hover increíble */
.info-box.discord:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.6);
    border-color: #fff;
    background: linear-gradient(135deg, #6a75ff, #5865F2);
}

.info-box.discord:hover a {
    letter-spacing: 3px; /* Texto se expande */
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

/* ======================================
   REGLAS DEL SERVIDOR - ESTILO ÉPICO
   ====================================== */
#rules-section {
    margin-top: -5px;
    padding: 20px;
}

.rules-container {
    position: relative;
    width: 100%;
    max-width: 940px; /* Igual que tu container */
    margin: 0 auto;
    border: 2px solid #78a3c8;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(120, 163, 200, 0.3);
}

/* Imagen de fondo intimidante */
.rules-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.rules-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

.rules-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 18, 28, 0), rgba(26, 51, 57, 0.036));
}

/* Contenido de reglas */
.rules-content {
    position: relative;
    padding: 40px;
    color: #f1f0f0;
    text-align: left;
}

.rules-content h2 {
    font-size: 36px;
    color: #f3e702;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(243, 231, 2, 0.5);
    letter-spacing: 3px;
}

.rules-subtitle {
    font-size: 16px;
    color: #58bff4;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Lista numerada épica */
.rules-list {
    list-style: none;
    counter-reset: rule-counter;
    margin: 0;
    padding: 0;
}

.rules-list li {
    counter-increment: rule-counter;
    padding: 12px 0;
    padding-left: 60px; /* Espacio para números */
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(120, 163, 200, 0.2);
    transition: all 0.3s ease;
}

.rules-list li:last-child {
    border-bottom: none;
}

/* Números estilo militar */
.rule-number {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1f7a32, #2fd96b);
    color: #fff;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    min-width: 40px;
    text-align: center;
}

/* Hover intimidante */
.rules-list li:hover {
    background: rgba(255, 0, 0, 0.1);
    padding-left: 70px;
    border-color: rgba(255, 0, 0, 0.3);
}

.rules-list li:hover .rule-number {
    background: linear-gradient(135deg, #ff0000, #aa0000);
    transform: translateY(-50%) scale(1.1);
}

/* Texto fuerte */
.rules-list li strong {
    color: #f3e702;
    font-weight: 700;
}

/* Footer de reglas */
.rules-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ff0000;
    text-align: center;
    font-size: 18px;
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


/* ======================================
   CAJA DE REDES SOCIALES - ESTILO PREMIUM
   ====================================== */
#social-box-section {
    margin-top: -20px;
    padding: 20px;
}

.social-box-container {
    max-width: 940px; /* Igual que tu contenedor principal */
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(10, 18, 28, 0.95), rgba(26, 51, 57, 0.9));
    border: 2px solid #78a3c8;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 0 25px rgba(88, 191, 244, 0.3);
}

.social-box-container h3 {
    font-size: 28px;
    color: #f3e702;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(243, 231, 2, 0.5);
}

/* Grid de íconos */
.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas perfectamente simétricas */
    gap: 30px; /* Espaciado uniforme */
    justify-items: center;
    align-items: start;
}

/* Cada ítem */
.social-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    max-width: 160px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icono circular */
.social-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 28, 0.7);
    border-radius: 50%;
    border: 2px solid #78a3c8;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.social-icon svg {
    width: 35px;
    height: 35px;
    fill: #78a3c8;
    transition: all 0.3s ease;
}

/* Texto */
.social-box-item span {
    font-size: 14px;
    color: #f1f0f0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover épico */
.social-box-item:hover {
    transform: translateY(-8px) scale(1.08);
}

.social-box-item:hover .social-icon {
    border-color: #fff;
    background: rgba(88, 191, 244, 0.2);
    box-shadow: 0 0 20px rgba(88, 191, 244, 0.6);
}

.social-box-item:hover .social-icon svg {
    fill: #f3e702;
    transform: scale(1.2);
}

.social-box-item:hover span {
    color: #f3e702;
    text-shadow: 0 0 10px rgba(243, 231, 2, 0.5);
    letter-spacing: 2px;
}

/* Colores específicos por plataforma */
.social-box-item:hover .discord-icon svg { fill: #5865F2; }
.social-box-item:hover .youtube-icon svg { fill: #FF0000; }
.social-box-item:hover .facebook-icon svg { fill: #1877F2; }
.social-box-item:hover .whatsapp-icon svg { fill: #25D366; }

/* Responsive: se apilan en pantallas pequeñas */
@media (max-width: 768px) {
    .social-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ======================================
   PÁGINA DE PATCHES
   ====================================== */
/* ======================================
   PÁGINA DE PATCHES - DISEÑO ÉPICO COMPLETO
   ====================================== */

/* Héroe principal */
.patches-hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(243, 231, 2, 0.1), rgba(88, 191, 244, 0.1));
    border: 2px solid #f3e702;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(243, 231, 2, 0.2);
}

.patches-hero h1 {
    font-size: 42px;
    color: #f3e702;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(243, 231, 2, 0.6);
    letter-spacing: 3px;
}

.patches-hero p {
    font-size: 18px;
    color: #58bff4;
    font-style: italic;
}

/* Secciones */
.patches-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding: 15px 25px;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.important {
    background: linear-gradient(135deg, #ff0000, #aa0000);
    color: #fff;
    border: 2px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.section-title.secondary {
    background: linear-gradient(135deg, #2fd96b, #1f7a32);
    color: #fff;
    border: 2px solid #2fd96b;
    box-shadow: 0 0 20px rgba(47, 217, 107, 0.4);
}

/* Grid de cards */
.patches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas perfectamente simétricas */
    gap: 30px;
}

/* Card individual */
.patch-card {
    background: linear-gradient(135deg, rgba(10, 18, 28, 0.9), rgba(26, 51, 57, 0.7));
    border: 2px solid #1b2a3a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.patch-card.important {
    border-color: #ff0000;
}

.patch-card.secondary {
    border-color: #2fd96b;
}

.patch-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Imagen de la esquina */
.card-image {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f3e702;
    box-shadow: 0 0 15px rgba(243, 231, 2, 0.4);
    z-index: 10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido */
.card-content {
    padding: 80px 25px 25px 25px; /* Espacio extra arriba para la imagen */
}

.card-content h3 {
    font-size: 20px;
    color: #f1f0f0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content p {
    font-size: 14px;
    color: #9fbad0;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 70px; /* Altura mínima para alineación */
}

/* Meta información */
.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 12px;
}

.card-meta .size {
    color: #58bff4;
    font-weight: bold;
}

.card-meta .type {
    background: linear-gradient(135deg, #1f7a32, #2fd96b);
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

.patch-card.important .card-meta .type {
    background: linear-gradient(135deg, #ff0000, #aa0000);
}

/* Botón de descarga */
.download-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1f7a32, #2fd96b);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #2fd96b, #1f7a32);
    box-shadow: 0 0 20px rgba(47, 217, 107, 0.6);
    transform: scale(1.05);
}

.patch-card.important .download-btn {
    background: linear-gradient(135deg, #ff0000, #aa0000);
}

.patch-card.important .download-btn:hover {
    background: linear-gradient(135deg, #ff4040, #ff0000);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* Responsivo */
@media (max-width: 992px) {
    .patches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .patches-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   CENTRAR Y POSICIONAR PÁGINA DE PATCHES
   ====================================== */

/* Centrar todo el contenido de patches */
body.patches-page #master-container #content-grid {
    position: static !important; /* Elimina absolute */
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important; /* Centra horizontalmente */
    padding: 20px 20px 40px !important; /* Espaciado: arriba, lados, abajo */
}

/* Ajustar posición vertical (subir/bajar) sin descentrar */
body.patches-page .patches-hero {
    margin-top: -270px; /* Valor negativo sube, positivo baja */
}

/* Asegurar que el grid esté centrado */
body.patches-page .patches-grid {
    width: 100%;
    max-width: 900px;
    margin: 0 auto !important; /* Centra el grid */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}