        body {
            margin: 0;
            font-family: 'Uncial Antiqua', sans-serif;
            text-align: center;
            background-color: #121212;
            color: #e0e0e0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            
            overflow-x: hidden;
        }        

        h1, h2 {
            color: var(--primary);
        }
        
        .logo-title {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo {
            height: 50px;
            width: auto;
            display: block;        
        }

        /* HEADER */
        header {
            position: fixed;
            height: var(--header-height);
            top: 0;
            width: 100%;
            
            display: flex;
            align-items: center;
            justify-content: flex-start;
            
            padding: 0 20px;
            
            border-bottom: 1px solid #333;
            z-index: 1000;
            
            background: rgba(18,18,18,0.6);
            backdrop-filter: blur(12px);
            transition: background 0.3s ease;
        }
        
        header h1 {
            margin: 0;
            font-size: 22px;
            color: var(--primary);
        }

        .header-actions {
            margin-left: auto;
            display: flex;
            gap: 10px;
            padding-right: 20px;
            align-items: center;
        }       
        
        header h1 a {
            font-size: 22px;
            text-decoration: none;
            color: var(--primary);
            font-family: 'Uncial Antiqua', sans-serif;
        }

        header h1 a:hover {
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
        }

        /* CONTENIDO */
        main {
            padding-top: var(--header-height);
            padding-bottom: calc(var(--footer-height) + 20px);
            
            margin: 0 auto;
            line-height: 1.6;
            padding-left: 15px;
            padding-right: 15px;
            flex: 1;
        }

        /* VIDEO */
        .end-media {
            display: block;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            height: 70vh;
            object-fit: cover;
            object-position: center;            
            
            filter: brightness(0.55) contrast(1.15) saturate(1.1);
            
            border-radius: 10px;
        }
        
        .video-container {
            position: relative;
            width: 100%;
        }

        .video-text {
            position: absolute;
            top: 0;
            left: 0;
            
            width: 100%;
            height: 100%;
            
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;            

            text-align: center;
            color: var(--primary);

            pointer-events: auto;
            white-space: nowrap;
        }
        
        .video-text h1 {
            font-size: clamp(28px, 4vw, 50px);
            margin: 0;
        }

        .video-text p {
            font-size: 20px;
            margin: 10px 0;
            color: var(--white);
        }

        .video-text span {
            font-size: 16px;
            color: var(--white);
        }
        
        .video-buttons {
            margin-top: 20px;
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        /*NEWS*/
        .news-container {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 30px;
            padding-top: 15px;
            padding-bottom: 20px;
        }
        
        .news-card {
            background: #0f141c;
            border-radius: 10px;
            overflow: hidden;

            flex: 0 0 420px;
            max-width: 500px;

            text-align: left;
            transition: 0.3s;
            
            background: linear-gradient(145deg, #0c111a, #070a10);
            border: 1px solid rgba(160, 220, 255, 0.15);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .news-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .news-card h3 {
            padding: 15px 15px 5px;
            font-size: 16px;
            color: var(--primary);
        }

        .news-card p {
            padding: 0 15px;
            font-size: 13px;
            color: var(--secondary);
        }

        .news-card .date {
            display: block;
            padding: 15px;
            font-size: 11px;
            color: var(--white);
        }

        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 0 25px rgba(201, 166, 107, 0.25);
        }
        
        .realm-bar {
            margin-top: 40px;
            padding: 20px;
            
            display: flex;
            justify-content: space-between;
            align-items: center;

            background: linear-gradient(145deg, #0f141c, #0a0f16);
            border: 1px solid rgba(120, 200, 255, 0.18);
            border-radius: 10px;

            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
        }

        .realm-info h3 {
            margin: 0;
            color: var(--primary);
            font-size: 18px;
        }

        .status {
            display: inline-block;
            margin-top: 5px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
        }

        @keyframes pulseOnline {
            0% { box-shadow: 0 0 5px rgba(120, 200, 255, 0.25); }
            50% { box-shadow: 0 0 20px rgba(120, 200, 255, 0.45); }
            100% { box-shadow: 0 0 5px rgba(120, 200, 255, 0.25); }        
        }

        .status.online {
            background: rgba(0, 255, 120, 0.15);
            color: #00ff88;
            border: 1px solid #00ff88;

            animation: pulseOnline 1.5s infinite;
        }

        .status.offline {
            background: rgba(255,80,80,0.2);
            color: #ff2e00;
            border: 1px solid #ff5050;
            box-shadow: 0 0 10px rgba(255,80,80,0.3);
            animation: pulseOnline 1.5s infinite;
        }

        .realm-players {
            font-size: 14px;
            color: var(--white);
        }

        .server-features {
            margin-top: 0;
            margin-bottom: 30px;
            text-align: center;
            padding: 0 30px;
        }

        .server-features h2 {
            color: var(--primary);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 20px;
            align-items: center;
        }

        .feature-card {
            background: linear-gradient(145deg, #0f141c, #0a0f16);
            border: 1px solid rgba(120, 200, 255, 0.18);
            border-radius: 10px;

            overflow: hidden;
            padding: 0;

            text-align: left;

            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }      

        .feature-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
        }
        
        .feature-card h3 {
            margin-top: 15px;
            color: var(--primary);
            font-size: 16px;
            padding: 0 20px;
        }

        .feature-card p {
            color: var(--secondary);
            font-size: 13px;
            line-height: 1.4;
            padding: 0 20px;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 0 25px rgba(201, 166, 107, 0.25);
        }

        .btn {
            padding: 10px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-size: 16px;
            font-family: 'Uncial Antiqua', sans-serif;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            cursor: pointer;
        }
        
        .btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 0 18px rgba(120, 200, 255, 0.25);
        }

        .btn-register {
            background: rgba(80, 160, 255, 0.08);
            color: var(--primary);
            border: 1px solid var(--primary);
        }

        .btn-register:hover {
            background: var(--primary);
            color: var(--white);
            box-shadow: 0 0 25px rgba(201, 166, 107, 0.25);
            transform: translateY(-2px);
        }
        
        .btn-login {
            color: var(--white);
            border: 2px solid #cfeee2;
        }

        .btn-login:hover {
            background: #cfeee2;
            color: var(--dark);
            box-shadow: 0 0 25px rgba(201, 166, 107, 0.25);
            transform: translateY(-2px);
        }
        
        /* FOOTER */
        footer {
            bottom: 0;
            left: 0;

            width: 100%;
            background-color: #1e1e1e;

            border-top: 1px solid #333;
            z-index: 1000;

            padding: 0px 10px;

            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .footer-content {
            text-align: center;
            max-width: 900px;
        }

        .footer-content {
            text-align: center;
            max-width: 900px;
            margin: auto;
            padding: 10px;
        }
        
        .footer-content h3 {
            margin: 5px 0;
            font-size: 14px;
            color: var(--primary);
        }

        .footer-content p {
            font-size: 12px;
            color: var(--secondary);
            line-height: 1.4;
        }
        
        .socials {
            margin-top: 10px;
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .socials a {
            text-decoration: none;
            padding: 6px 14px;

            border: 1px solid var(--primary);
            color: var(--primary);
    
            border-radius: 20px;
            font-size: 13px;

            transition: all 0.3s ease;
        }
        
        .socials a:hover {
            background: var(--primary);
            color: var(--dark);
            
            transform: translateY(-2px);
            box-shadow: 0 0 25px rgba(201, 166, 107, 0.25);
        }

        /* CONTENEDOR FORM */
        .register-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
        }

        /* CAJA */
        .register-box {
            background: linear-gradient(145deg, #0f141c, #0a0f16);
            border: 1px solid rgba(120, 200, 255, 0.18);
            border-radius: 10px;
            padding: 40px;
            width: 20vw;
            box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        }

        /* INPUTS */
        .register-box input {
            width: 90%;
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 5px;
            border: 1px solid #333;
            background: #0f0f0f;
            color: #fff;
        }

        /* MENSAJE */
        .message {
            text-align: center;
            margin-bottom: 10px;
            color: #00ff88;
        }

        /*PROFILE*/        
        .character-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
        }
        .character-box {
            background: linear-gradient(145deg, #0f141c, #0a0f16);
            border: 1px solid rgba(120, 200, 255, 0.18);
            border-radius: 10px;
            padding: 10px;
            width: 95vw;
            box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        }
        
        .character-card {
            width: 280px;
            background: linear-gradient(145deg, #0f141c, #0a0f16);
            border: 1px solid rgba(120, 200, 255, 0.18);
            padding: 15px;
            border-radius: 10px;
            text-align: left;
            box-shadow: 0 10px 25px rgba(0,0,0,0.55);
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
            z-index: 2;
            color: var(--primary);            
            transition: 0.3s;
        }

        .character-image {
            width: 100%;
            height: 140px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .character-info {
            padding: 15px;
            text-align: left;
            color: var(--primary);
        }
        
        .character-level {
            padding: 15px;
            text-align: center;
            color: var(--primary);
        }
        
        .character-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 0 25px rgba(201, 166, 107, 0.25);
        }
        
        .characters-grid {
            display: flex !important;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            align-items: stretch;
        }

        .icon-class {
            width: 40px;
            height: 40px;
            vertical-align: middle;
            margin-right: 6px;
        }

        .icon-faction {
            width: 40px;
            height: 40px;
            vertical-align: middle;
            margin-right: 5px;
        }
        
        .icon-race {
            width: 40px;
            height: 40px;
            vertical-align: middle;
            margin-right: 5px;
        }

        .money {
            display: flex;
            gap: 10px;
            align-items: center;
            font-weight: bold;
            margin-top: 8px;
        }

        /* ICONOS */
        .icon-money {
            width: 16px;
            height: 16px;
            margin-left: 3px;
        }

        /* COLORES WOW */
        .gold {
            color: #FFD700; /* oro */
        }

        .silver {
            color: #C0C0C0; /* plata */
        }

        .copper {
            color: #B87333; /* cobre */
}

        /* =========================
           TABLET (≤ 1024px)
        ========================= */
        @media (max-width: 1024px) {

            /* HEADER */
            header h1 {
                font-size: 18px;
            }

            .logo {
                height: 40px;
            }

            /* VIDEO */
            .end-media {
                height: 60vh;
            }

            .video-text p {
                font-size: 16px;
            }

            .video-text span {
                font-size: 14px;
            }

            /* NEWS */
            .news-card {
                flex: 0 0 320px;
            }

            /* REALM BAR */
            .realm-bar {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            /* FEATURES */
            .features-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }


        /* =========================
           MÓVIL (≤ 768px)
        ========================= */
        @media (max-width: 768px) {

            /* HEADER */
            header {
                padding: 0 10px;
            }

            .header-actions {
                gap: 5px;
            }

            .btn {
                font-size: 14px;
                padding: 8px 14px;
            }

            /* VIDEO */
            .end-media {
                height: 50vh;
                border-radius: 0; /* mejor en móvil */
            }

            .video-text {
                white-space: normal; /* clave para que no rompa */
                padding: 0 10px;
            }

            .video-text h1 {
                font-size: 24px;
            }

            .video-text p {
                font-size: 14px;
            }

            .video-text span {
                font-size: 12px;
            }

            /* NEWS */
            .news-container {
                gap: 15px;
            }

            .news-card {
                flex: 0 0 280px;
            }

            /* FEATURES */
            .server-features {
                padding: 0 15px;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            /* REALM */
            .realm-bar {
                padding: 15px;
            }

            .realm-info h3 {
                font-size: 16px;
            }

            .realm-players {
                font-size: 13px;
            }
        }


        /* =========================
           MÓVIL PEQUEÑO (≤ 480px)
        ========================= */
        @media (max-width: 480px) {

            /* HEADER */
            header h1 {
                font-size: 16px;
            }

            .logo {
                height: 35px;
            }

            /* BOTONES */
            .btn {
                font-size: 12px;
                padding: 6px 10px;
            }

            /* VIDEO */
            .end-media {
                height: 45vh;
            }

            /* NEWS */
            .news-card {
                flex: 0 0 240px;
            }

            /* FEATURE CARDS */
            .feature-card img {
                height: 140px;
            }

            .feature-card h3 {
                font-size: 14px;
            }

            .feature-card p {
                font-size: 12px;
            }

            /* FOOTER */
            .footer-content p {
                font-size: 11px;
            }
        }
        