:root {
    --primary: #00f3ff;
    --secondary: #bc13fe;
    --dark-bg: #050510;
    --card-bg: rgba(20, 20, 40, 0.7);
    --text: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', sans-serif;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #101020 0%, #050510 100%);
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    color: #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 101;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0, 243, 255, 0.1);
}

.contact-info-top span {
    margin-right: 15px;
    animation: rainbow-text 3s linear infinite;
}

@keyframes rainbow-text {
    0% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
    14% { color: #ff7f00; text-shadow: 0 0 10px #ff7f00; }
    28% { color: #ffff00; text-shadow: 0 0 10px #ffff00; }
    42% { color: #00ff00; text-shadow: 0 0 10px #00ff00; }
    57% { color: #0000ff; text-shadow: 0 0 10px #0000ff; }
    71% { color: #4b0082; text-shadow: 0 0 10px #4b0082; }
    85% { color: #9400d3; text-shadow: 0 0 10px #9400d3; }
    100% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
}

.locations-top span {
    margin-right: 15px;
}

.locations-top span {
    display: inline-block;
    animation: neon-pulse 1.5s infinite alternate;
}

.locations-top span:nth-child(1) { animation-delay: 0s; }
.locations-top span:nth-child(2) { animation-delay: 0.3s; }
.locations-top span:nth-child(3) { animation-delay: 0.6s; }
.locations-top span:nth-child(4) { animation-delay: 0.9s; }

@keyframes neon-pulse {
    0% {
        color: #aaa;
        text-shadow: none;
        transform: translateY(0);
    }
    100% {
        color: var(--primary);
        text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
        transform: translateY(-3px);
    }
}

/* Navbar Container */
.navbar {
    position: fixed;
    width: 100%;
    top: 45px;
    z-index: 100;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
    z-index: 101;
}
.logo span { color: var(--primary); }

/* Desktop Menu */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

.portal-link {
    color: var(--secondary) !important;
    text-shadow: 0 0 5px var(--secondary) !important;
}
.portal-link:hover {
    text-shadow: 0 0 15px var(--secondary) !important;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--primary);
}

/* Mobile Menu & Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 110;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    border-left: 1px solid var(--primary);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 0 10px var(--primary);
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--primary);
    padding-left: 10px;
    text-shadow: 0 0 8px var(--primary);
}

.mobile-btn {
    text-align: center;
    margin-top: auto;
}

/* Buttons */
.btn-glow {
    padding: 10px 25px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 0 15px var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--secondary);
}

.btn-neon {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 0 10px inset var(--primary), 0 0 10px var(--primary);
    transition: 0.3s;
}

.btn-neon:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px inset var(--primary), 0 0 20px var(--primary);
}

.btn-outline {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 20px 0 40px;
    color: #b0b0b0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Glitch Effect */
.glitch {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    text-shadow: 0 0 20px var(--primary);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(20px, 9999px, 85px, 0); }
    100% { clip: rect(60px, 9999px, 15px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(10px, 9999px, 45px, 0); }
    100% { clip: rect(80px, 9999px, 75px, 0); }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Offers Section */
.offers-section {
    padding: 100px 5%;
}

.offer-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    width: 350px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    border-color: var(--primary);
}

.offer-card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.3;
}

.offer-card p {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.premium-offer {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
    background: rgba(20, 10, 40, 0.8);
}

.premium-offer:hover {
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.4);
    border-color: var(--secondary);
}

.premium-offer .badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 0 10px var(--secondary);
}

/* Planes y Detalles */
.offer-card .price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.premium-offer .price {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(188, 19, 254, 0.4);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #ddd;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    padding-bottom: 8px;
}

.terms {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 25px;
    line-height: 1.4;
}

.important-notice {
    background: rgba(20, 10, 40, 0.8);
    border: 1px solid var(--secondary);
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.15);
    position: relative;
}

.important-notice h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--secondary);
}

.important-notice p {
    font-size: 1.15rem;
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.6;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 1.2rem;
}

/* Speed Test Section */
.speed-test-section {
    padding: 80px 5%;
    text-align: center;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.05) 0%, rgba(188, 19, 254, 0.05) 100%);
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    border-bottom: 1px solid rgba(188, 19, 254, 0.3);
}

.speed-test-content h2 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
    margin-bottom: 10px;
}

.speed-test-content p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* Community Section */
.community-section {
    padding: 100px 5%;
}

.community-title {
    font-size: 2rem;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 50px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.community-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: 0.3s;
}

.community-card:hover {
    border-color: var(--primary);
    background: rgba(20, 20, 40, 0.8);
    transform: translateY(-5px);
}

.community-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.community-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.community-card p {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.5;
}

.highlight-card {
    border-color: rgba(188, 19, 254, 0.5);
    background: rgba(30, 10, 40, 0.6);
}
.highlight-card:hover {
    border-color: var(--secondary);
}

/* Footer */
footer {
    background: #020205;
    padding: 60px 5% 20px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-size: 2.5rem;
}

.footer-text p {
    color: #aaa;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

.copyright {
    text-align: center;
    color: #555;
    border-top: 1px solid #111;
    padding-top: 20px;
}

/* Fast.com style Speedtest */
.fast-speedtest {
    padding: 60px 5% 100px;
    display: flex;
    justify-content: center;
    min-height: 80vh;
}

.fast-container {
    background: transparent;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fast-main-speed {
    font-size: 8rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #888;
    line-height: 1;
    transition: color 0.5s;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.fast-unit {
    font-size: 2rem;
    color: #aaa;
    margin-bottom: 30px;
}

.fast-go-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid rgba(255,255,255,0.5);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fast-go-btn:hover {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.fast-go-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.wifi-freq {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    height: 24px;
    text-shadow: 0 0 10px var(--primary);
}

.extra-metrics {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    opacity: 0;
    transition: opacity 1s;
    flex-wrap: wrap;
}

.fast-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fast-metric-title {
    color: #888;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.fast-metric-value {
    font-size: 2.5rem;
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
}

.speedtest-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.server-info, .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.info-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
}

.info-sub {
    color: #888;
    font-size: 1rem;
}

/* Pages Additional Styles */
.page-header {
    padding: 150px 5% 50px;
    text-align: center;
    background: linear-gradient(180deg, rgba(5,5,16,1) 0%, rgba(20,20,40,0.5) 100%);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.page-header h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 20px var(--primary);
    margin-bottom: 20px;
}

.tech-notice {
    background: rgba(188, 19, 254, 0.1);
    border: 1px solid var(--secondary);
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
}

.tech-notice h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tech-notice p {
    color: #fff;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--primary);
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin-top: 10px;
}

@media (max-width: 950px) {
    .hamburger { display: flex; }
    .desktop-menu { display: none; }
    
    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 10px 5%;
    }
    .contact-info-top span, .locations-top span {
        margin-right: 5px;
        font-size: 0.7rem;
    }
    .navbar {
        top: 60px;
        padding: 0;
    }
    
    .glitch { font-size: 2.5rem; }
    .hero-content p { font-size: 1.2rem; }
}

@media (min-width: 951px) {
    .hamburger { display: none !important; }
    .desktop-menu { display: flex !important; }
    .mobile-menu, .mobile-menu-overlay { display: none !important; }
}

/* Parrilla de Canales */
.channels-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-category {
    margin-bottom: 60px;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

.channel-category h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.channel-box {
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    aspect-ratio: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.channel-box:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
    background: rgba(30, 30, 60, 0.9);
}

.premium-box {
    border-color: rgba(188, 19, 254, 0.4);
    background: rgba(30, 10, 40, 0.8);
}

.premium-box:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
}

.channel-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 2px solid rgba(0, 243, 255, 0.2);
    transition: 0.3s;
    background-color: #050510;
}

.channel-box:hover .channel-logo {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.premium-box .channel-logo {
    border-color: rgba(188, 19, 254, 0.4);
}

.premium-box:hover .channel-logo {
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
}

.channel-box .channel-name {
    font-size: 1rem;
    color: #aaa;
    text-align: center;
    font-weight: 600;
}

/* Auth / Login */
.auth-section {
    padding: 60px 5% 100px;
    display: flex;
    justify-content: center;
}

.auth-container {
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
    text-align: center;
}

.auth-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.5);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.auth-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.auth-btn.active {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 10px var(--primary);
}

.auth-form-wrapper h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--primary);
}

.auth-form-wrapper p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Portal Cliente */
.portal-section {
    padding: 60px 5% 100px;
    display: flex;
    justify-content: center;
}

.portal-container {
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(15px);
}

.portal-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.portal-header h2 {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 0 0 15px var(--primary);
    margin-bottom: 10px;
}

.portal-header p {
    color: #aaa;
    font-size: 1.3rem;
}

.profile-avatar {
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--primary);
}

.profile-details {
    margin-top: 25px;
    background: rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    display: inline-block;
    color: #ccc;
    font-size: 1.1rem;
}

.profile-details span {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .profile-details span {
        display: block;
        margin: 10px 0;
    }
    
    #header-btn-desktop {
        display: none;
    }
    
    .nav-links li a[target="_blank"] {
        background: rgba(0, 243, 255, 0.1);
        margin-top: 10px;
    }
}

.portal-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.portal-card {
    background: rgba(5, 5, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portal-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
    transform: translateY(-5px);
}

.portal-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.portal-card h4 {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portal-card .value {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.portal-card.debt-card {
    border-color: rgba(188, 19, 254, 0.5);
    background: rgba(30, 10, 40, 0.4);
}

.portal-card.debt-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.3);
}

.portal-card.debt-card .value {
    color: #ff4757;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
}

.portal-card .no-debt {
    color: #2ed573;
    text-shadow: 0 0 15px rgba(46, 213, 115, 0.5);
}

@media (max-width: 768px) {
    .portal-container { padding: 30px 20px; }
    .portal-header h2 { font-size: 2rem; }
    .channel-category { padding: 20px; }
    .speedtest-footer { flex-direction: column; align-items: center; text-align: center; }
    .client-info .info-text { text-align: center !important; }
}

/* Chatbot */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    z-index: 1000;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-fab:hover {
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: rgba(10, 10, 20, 0.95);
    border: 1px solid var(--primary);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.chatbot-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid var(--primary);
}

.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-message.user {
    background: rgba(188, 19, 254, 0.2);
    border: 1px solid rgba(188, 19, 254, 0.3);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 8px 15px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.chatbot-input button {
    background: var(--primary);
    border: none;
    color: #000;
    font-weight: bold;
    padding: 0 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.chatbot-input button:hover {
    background: var(--secondary);
    color: #fff;
}
