/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(180deg, 
        #000000 0%, 
        #1a0a0a 50%, 
        #0a0a0a 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Fondo con imagen borrosa y oscurecida */
.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-image: url('./images/hero-oscuro.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* Aplicar blur y oscurecimiento */
    filter: blur(3px) brightness(0.4) contrast(1.2);
    z-index: -2;
    transition: all 0.5s ease-in-out;
}

/* Overlay con gradientes */
.hero::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(80, 0, 0, 0.6) 25%,
        rgba(120, 20, 20, 0.4) 50%,
        rgba(80, 0, 0, 0.6) 75%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: -1;
}

/* Tema claro - cambiar imagen de fondo */
.hero.light-theme::before {
    background-image: url('./images/hero-claro.webp');
    /* Filtros ajustados para tema claro */
    filter: blur(3px) brightness(0.6) contrast(1.1);
    background-attachment: scroll;
}

/* Overlay ajustado para tema claro */
.hero.light-theme::after {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(139, 0, 0, 0.4) 25%,
        rgba(255, 107, 107, 0.3) 50%,
        rgba(139, 0, 0, 0.4) 75%,
        rgba(0, 0, 0, 0.6) 100%
    );
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
}

/* Fondo animado con CSS puro */

@keyframes backgroundShift {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.logo {
    width: 800px;
    height: auto;
    margin-bottom: 20px;
    /* Sombras suaves para mejor legibilidad sin ser agresivas */
    filter: 
        /* Sombra principal negra para contorno - 50% menos intensa */
        drop-shadow(0 0 6px rgba(0, 0, 0, 0.45))
        drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.4))
        drop-shadow(-1px -1px 3px rgba(0, 0, 0, 0.4))
        /* Resplandor dorado/naranja suavizado */
        drop-shadow(0 0 12px rgba(255, 165, 0, 0.3))
        drop-shadow(0 0 20px rgba(255, 107, 107, 0.2))
        /* Sombra de profundidad suave */
        drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.35));
    
    /* Transición suave para efectos dinámicos */
    transition: filter 0.3s ease;
}

/* Efecto hover suavizado */
.logo:hover {
    filter: 
        /* Contorno ligeramente más intenso pero suave */
        drop-shadow(0 0 8px rgba(0, 0, 0, 0.6))
        drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5))
        drop-shadow(-2px -2px 4px rgba(0, 0, 0, 0.5))
        /* Resplandor más visible pero no agresivo */
        drop-shadow(0 0 15px rgba(255, 165, 0, 0.4))
        drop-shadow(0 0 25px rgba(255, 107, 107, 0.3))
        /* Sombra de profundidad moderada */
        drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.4));
    
    transform: scale(1.01);
}



/* Botón de cambio de tema */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.server-status {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background-color: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.icon-download::before {
    content: "⬇️";
    font-size: 1.2em;
}

/* Hero Console Section */
.hero-console {
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-console h3 {
    margin-bottom: 15px;
    color: #ffa500;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-console p {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 1rem;
}

.hero-console .console-command {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 0 auto;
    max-width: 500px;
}

.hero-console code {
    background: transparent;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.hero-console kbd {
    background: #444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Server Info Section */
.server-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2d 100%);
    color: white;
    margin: 0;
    position: relative;
}

.server-info h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffa500;
}

.info-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Maps Section */
.maps-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d1b2d 0%, #1a1a1a 100%);
    color: white;
}

.maps-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.map-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.map-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 10px 10px 0 0;
}

.map-card:hover .map-image {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* Fallback para placeholders si es necesario */
.map-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #8B0000 0%, #FF4500 50%, #8B0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.map-card h4 {
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
    color: #ffa500;
}

.map-card span {
    display: block;
    padding: 0 15px 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #8B0000 50%, #1a1a1a 100%);
    color: white;
}

.download-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.download-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffa500;
}

.download-info p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.features-list {
    list-style: none;
    margin-bottom: 0;
}

.features-list li {
    padding: 5px 0;
    opacity: 0.9;
}

.download-action {
    text-align: center;
}

.file-size {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    margin-bottom: 15px;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.download-note {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

/* Connect Section */
.connect-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d1b2d 0%, #1a1a1a 100%);
    color: white;
}

.connect-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffa500;
}

.step p {
    opacity: 0.9;
    line-height: 1.6;
}

.server-address {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 165, 0, 0.3);
    flex-wrap: wrap;
    word-break: break-all;
    min-height: 60px;
}

.server-address strong {
    color: #00ff41;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    flex: 1;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

.console-connect {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.console-connect h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffa500;
}

.console-command {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.console-command code {
    color: #00ff00;
    font-size: 1.1rem;
}

kbd {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2d 100%);
    color: white;
}

.stats-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffa500;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffa500;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffa500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .server-address {
        padding: 18px;
        gap: 12px;
    }
    
    .server-address strong {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .console-command {
        flex-direction: column;
        gap: 12px;
    }
    
    .maps-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .info-card,
    .download-card,
    .stat-card {
        padding: 20px;
    }
}

/* ====== RESPONSIVE DESIGN COMPLETO ====== */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero {
        min-height: 700px;
        padding: 40px 0;
    }
    
    .hero::before,
    .hero.light-theme::before {
        background-attachment: scroll;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .logo {
        width: 600px;
        max-width: 85vw;
        margin-bottom: 25px;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .theme-toggle {
        top: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .hero-console {
        margin-top: 35px;
        padding: 25px;
        max-width: 90%;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .maps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablets Pequeñas y Móviles Grandes (481px - 768px) */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 30px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero::before,
    .hero.light-theme::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-overlay {
        width: 100%;
        padding: 20px 0;
    }
    
    .container {
        padding: 0 20px;
        width: 100%;
    }
    
    .logo {
        width: 400px;
        max-width: 80vw;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .theme-toggle {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero-console {
        margin-top: 30px;
        padding: 20px;
        max-width: 100%;
    }
    
    .hero-console h3 {
        font-size: 1.3rem;
    }
    
    .hero-console .console-command {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
    
    /* Grids responsivas */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .maps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Secciones */
    .server-info,
    .maps-section,
    .download-section,
    .connect-section,
    .stats-section {
        padding: 60px 0;
    }
    
    .server-info h2,
    .maps-section h2,
    .download-section h2,
    .connect-section h2,
    .stats-section h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    /* Download section responsive */
    .download-card {
        flex-direction: column;
        gap: 25px;
    }
    
    .download-action {
        text-align: center;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* Móviles (320px - 480px) */
@media screen and (max-width: 480px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
        justify-content: space-evenly;
    }
    
    .hero-overlay {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 15px 0;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        width: 280px;
        max-width: 75vw;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 12px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .server-status {
        padding: 8px 15px;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .hero-console {
        margin-top: 20px;
        padding: 15px;
    }
    
    .hero-console h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .hero-console p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .hero-console code {
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    /* Grids móvil */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Tarjetas más compactas */
    .info-card,
    .map-card,
    .stat-card {
        padding: 20px 15px;
    }
    
    .info-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .map-image {
        height: 120px;
    }
    
    /* Títulos de sección más pequeños */
    .server-info h2,
    .maps-section h2,
    .download-section h2,
    .connect-section h2,
    .stats-section h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    /* Secciones más compactas */
    .server-info,
    .maps-section,
    .download-section,
    .connect-section,
    .stats-section {
        padding: 40px 0;
    }
    
    /* Steps más compactos */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        line-height: 40px;
    }
    
    .step h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    /* Server address responsive */
    .server-address {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }
    
    .server-address strong {
        font-size: 0.9rem;
        line-height: 1.3;
        word-break: break-all;
        padding: 10px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        border: 1px solid rgba(0, 255, 65, 0.2);
    }
    
    .console-command {
        flex-direction: column;
        gap: 10px;
    }
    
    .console-command code {
        word-break: break-all;
        text-align: center;
    }
}

/* Móviles muy pequeños (menos de 320px) */
@media screen and (max-width: 320px) {
    .logo {
        width: 250px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .info-card,
    .map-card,
    .stat-card {
        padding: 15px 10px;
    }
}

/* Arreglos para móviles - Background body */
@media screen and (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

/* Orientación horizontal en móviles - NUEVA REGLA ESPECÍFICA */
@media screen and (max-height: 500px) and (orientation: landscape) and (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 450px;
        padding: 15px 0;
    }
    
    .hero-overlay {
        padding: 10px 0;
    }
    
    .logo {
        width: 220px;
        margin-bottom: 8px;
    }
    
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .server-status {
        padding: 6px 12px;
        margin-bottom: 12px;
        font-size: 0.8rem;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-console {
        margin-top: 10px;
        padding: 12px;
    }
    
    .hero-console h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .hero-console p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .theme-toggle {
        top: 8px;
        right: 8px;
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .map-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
    }
    
    .map-card:hover .map-image {
        transform: none;
        filter: none;
    }
    
    .logo:hover {
        transform: none;
        filter: 
            drop-shadow(0 0 6px rgba(0, 0, 0, 0.45))
            drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.4))
            drop-shadow(-1px -1px 3px rgba(0, 0, 0, 0.4))
            drop-shadow(0 0 12px rgba(255, 165, 0, 0.3))
            drop-shadow(0 0 20px rgba(255, 107, 107, 0.2))
            drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.35));
    }
    
    .theme-toggle:hover {
        transform: none;
        background: rgba(0, 0, 0, 0.7);
    }
    
    /* Hacer botones más grandes para touch */
    .copy-btn,
    .download-button,
    .cta-button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Orientación horizontal en móviles */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .logo {
        width: 300px;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .hero-console {
        margin-top: 15px;
        padding: 15px;
    }
}