/* Reset específico para enlaces */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Reset y variables CSS */
:root {
    --primary-color: #00f5ff;
    --secondary-color: #ff006e;
    --accent-color: #8338ec;
    --manager-color: #48f2a5;
    --manager-accent: #1e90ff;
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-card: #1a1a2eb3;
    --bg-black: #000;
    --text-primary: #ffffff;
    --text-secondary: #b8b8ff;
    --text-muted: #8888aa;
    --border-glow: #00f5ff4d;
    --border-subtle: #ffffff1a;
    --success-color: #00ff88;
    --shadow-glow: 0 0 20px #00f5ff4d;
    --shadow-primary: 0 5px 15px #00f5ff66;
    --shadow-primary-hover: 0 10px 25px #00f5ff99;
    --shadow-accent: 0 5px 15px #8338ec66;
    --shadow-accent-hover: 0 10px 25px #8338ec99;
    --glow-primary-soft: drop-shadow(0 0 10px #00f5ff80);
    --glow-primary-bright: drop-shadow(0 0 20px #00f5ffcc);
    --glow-primary-pulse-start: drop-shadow(0 0 5px #00f5ff80);
    --glow-primary-pulse-end: drop-shadow(0 0 25px #00f5ffe6);
    --success-bg: #00ff8833;
    --secondary-bg: #ff006e33;
    --success-pulse-start: 0 0 0 0 #00ff88b3;
    --success-pulse-mid: 0 0 0 10px #00ff8800;
    --success-pulse-end: 0 0 0 0 #00ff8800;
    --secondary-pulse-start: 0 0 0 0 #ff006eb3;
    --secondary-pulse-mid: 0 0 0 10px #ff006e00;
    --secondary-pulse-end: 0 0 0 0 #ff006e00;
    /* Additional opacity variations for primary color */
    --primary-bg-1a: #00f5ff1a;
    --primary-bg-26: #00f5ff26;
    --primary-bg-33: #00f5ff33;
    --primary-bg-66: #00f5ff66;
    --primary-bg-99: #00f5ff99;
    /* Additional opacity variations for accent color */
    --accent-bg-66: #8338ec66;
    --accent-bg-99: #8338ec99;
    /* Additional opacity variations for secondary color */
    --secondary-border-4d: #ff006e4d;
    --secondary-glow-4d: 0 0 5px #ff006e4d;
    --secondary-glow-99: 0 0 15px #ff006e99;
    /* Additional opacity variations for success color */
    --success-border-4d: #00ff884d;
    --success-glow-4d: 0 0 20px #00ff884d;
    /* Additional colors for modals and special elements */
    --secondary-bg-66: #ff006e66;
    --muted-bg-1a: #8888aa1a;
    --muted-border-4d: #8888aa4d;
    --muted-bg-33: #8888aa33;
    --overlay-bg: #000000cc;
    --warning-bg-1a: #ffa5001a;
    --warning-border-4d: #ffa5004d;
    --bg-secondary-80: #1a1a2e80;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg-black) !important;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Fondo estrellado animado */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: var(--bg-black) url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxyYWRpYWxHcmFkaWVudCBpZD0ic3RhciI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IndoaXRlIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSJ3aGl0ZSIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8L3JhZGlhbEdyYWRpZW50PgogIDwvZGVmcz4KICA8Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIxIiBmaWxsPSJ1cmwoI3N0YXIpIiBvcGFjaXR5PSIwLjgiLz4KICA8Y2lyY2xlIGN4PSI4MCIgY3k9IjgwIiByPSIwLjUiIGZpbGw9InVybCgjc3RhcikiIG9wYWNpdHk9IjAuNiIvPgogIDxjaXJjbGUgY3g9IjE0MCIgY3k9IjQwIiByPSIwLjgiIGZpbGw9InVybCgjc3RhcikiIG9wYWNpdHk9IjAuNyIvPgogIDxjaXJjbGUgY3g9IjE2MCIgY3k9IjE2MCIgcj0iMC42IiBmaWxsPSJ1cmwoI3N0YXIpIiBvcGFjaXR5PSIwLjUiLz4KICA8Y2lyY2xlIGN4PSI0MCIgY3k9IjE0MCIgcj0iMC43IiBmaWxsPSJ1cmwoI3N0YXIpIiBvcGFjaXR5PSIwLjgiLz4KPC9zdmc+') repeat;
}

.twinkling {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8Y2lyY2xlIGN4PSI2MCIgY3k9IjYwIiByPSIxIiBmaWxsPSIjMDBmNWZmIiBvcGFjaXR5PSIwLjgiLz4KICA8Y2lyY2xlIGN4PSIxMjAiIGN5PSIzMCIgcj0iMC44IiBmaWxsPSIjZmYwMDZlIiBvcGFjaXR5PSIwLjYiLz4KICA8Y2lyY2xlIGN4PSIxODAiIGN5PSIxMDAiIHI9IjAuNiIgZmlsbD0iIzgzMzhlYyIgb3BhY2l0eT0iMC43Ii8+CiAgPGNpcmNsZSBjeD0iMzAiIGN5PSIxNzAiIHI9IjAuNyIgZmlsbD0iIzAwZmY4OCIgb3BhY2l0eT0iMC41Ii8+Cjwvc3ZnPg==') repeat;
    animation: twinkle 3s ease-in-out infinite;
}

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

/* Container principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header con logos */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    max-height: 60px;
    width: auto;
    filter: var(--glow-primary-soft);
    transition: all 0.3s ease;
}

.logo:hover {
    filter: var(--glow-primary-bright);
    transform: scale(1.05);
}

.logo-primary {
    max-height: 80px;
}

.logo-secondary {
    max-height: 50px;
}

/* Contenido principal */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* Título principal */
.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.title-line {
    display: block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--shadow-glow);
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

.title-line.highlight {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2em;
}

.title-line.subtitle {
    font-size: 0.6em;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    margin-top: 10px;
}

@keyframes glow-pulse {
    0% { filter: var(--glow-primary-pulse-start); }
    100% { filter: var(--glow-primary-pulse-end); }
}

/* Descripción */
.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 300;
}

/* Panel de acceso */
.access-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-glow);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.panel-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-indicator.online {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--success-color);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.status-indicator.partial {
    background: var(--warning-bg-1a);
    color: #ffa500;
    border: 1px solid #ffa500;
    cursor: pointer;
}

.status-indicator.online:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-hover);
}

.status-indicator.checking {
    background: var(--primary-bg-26);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.status-indicator.offline {
    background: var(--secondary-bg);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.status-indicator.online .status-dot {
    background: var(--success-color);
    animation: pulse-dot-online 2s infinite;
}

.status-indicator.partial .status-dot {
    background: #ffa500;
    animation: pulse-dot-partial 2s infinite;
}

.status-indicator.checking .status-dot {
    background: var(--primary-color);
    animation: pulse-dot-checking 2s infinite;
}

.status-indicator.offline .status-dot {
    background: var(--secondary-color);
    animation: pulse-dot-offline 2s infinite;
}

@keyframes pulse-dot-online {
    0% { box-shadow: var(--success-pulse-start); }
    70% { box-shadow: var(--success-pulse-mid); }
    100% { box-shadow: var(--success-pulse-end); }
}

@keyframes pulse-dot-offline {
    0% { box-shadow: var(--secondary-pulse-start); }
    70% { box-shadow: var(--secondary-pulse-mid); }
    100% { box-shadow: var(--secondary-pulse-end); }
}

@keyframes pulse-dot-partial {
    0% { box-shadow: 0 0 0 0 #ffa500b3; }
    70% { box-shadow: 0 0 0 10px #ffa50000; }
    100% { box-shadow: 0 0 0 0 #ffa50000; }
}

@keyframes pulse-dot-checking {
    0% { box-shadow: 0 0 0 0 #00f5ffb3; }
    70% { box-shadow: 0 0 0 10px #00f5ff00; }
    100% { box-shadow: 0 0 0 0 #00f5ff00; }
}

/* Status detail modal */
.status-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.status-modal.show {
    display: flex;
}

.status-modal .backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.status-modal .content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-primary);
    border-radius: 10px;
    padding: 20px;
    width: min(520px, 90vw);
    z-index: 1;
}

.status-modal .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.status-modal .header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.status-modal .close-btn {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}

.status-modal .columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.status-modal .col h4 {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.status-modal .col ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.status-modal .col li {
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--bg-secondary-80);
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.status-modal .col.ok h4 { color: var(--success-color); }
.status-modal .col.ok li { border-color: var(--success-border-4d); }

.status-modal .col.bad h4 { color: #ffa500; }
.status-modal .col.bad li { border-color: #ffa5004d; }

.status-modal .modal-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.status-modal .primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 22px;
    border: 1px solid var(--primary-bg-66);
    color: var(--primary-color);
    background: var(--primary-bg-26);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.status-modal .primary-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-bg-66);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary-hover);
}

/* Opciones de acceso */
.access-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.access-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.access-btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--bg-primary);
    box-shadow: 0 5px 15px var(--primary-bg-66);
}

.access-btn.secondary {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: var(--text-primary);
    box-shadow: 0 5px 15px var(--accent-bg-66);
}

.access-btn.manager {
    background: linear-gradient(45deg, var(--manager-color), var(--manager-accent));
    color: var(--bg-primary);
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.35);
}

.access-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-bg-99);
}

.access-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-bg-99);
}

.access-btn.manager:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.55);
    filter: brightness(1.05);
}

.btn-icon {
    font-size: 1.2em;
}

.btn-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.access-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Grid de características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px var(--border-glow);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tech-stack {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tech-stack a.tech-item {
    display: inline-block !important;
    padding: 5px 12px;
    background: var(--primary-bg-1a);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    color: var(--primary-color) !important;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-stack a.tech-item:hover {
    background: var(--primary-bg-33) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 3px 10px var(--border-glow) !important;
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo-container {
        justify-content: center;
        text-align: center;
    }
    
    .panel-header {
        flex-direction: column;
        text-align: center;
    }
    
    .access-options {
        flex-direction: column;
        align-items: center;
    }
    
    .access-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-stack {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .access-panel {
        padding: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}

/* Override específico para tech-stack items - debe ir al final */
footer .footer-content .tech-stack a.tech-item,
.footer .footer-content .tech-stack a.tech-item {
    display: inline-block !important;
    padding: 5px 12px !important;
    background: var(--primary-bg-1a) !important;
    border: 1px solid var(--border-glow) !important;
    border-radius: 15px !important;
    color: var(--primary-color) !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

footer .footer-content .tech-stack a.tech-item:hover,
.footer .footer-content .tech-stack a.tech-item:hover {
    background: var(--border-glow) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--glow-primary-soft) !important;
    text-decoration: none !important;
}

/* Reset para asegurar que no hay subrayado */
footer a, .footer a {
    text-decoration: none !important;
}

footer a:hover, .footer a:hover {
    text-decoration: none !important;
}

/* Botones del tech-stack - versión limpia */
.tech-btn {
    padding: 8px 16px;
    background: var(--primary-bg-26);
    border: 2px solid var(--primary-bg-66);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.tech-btn:hover {
    background: var(--primary-bg-66);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--primary-bg-99);
}

.tech-btn:active {
    transform: translateY(-2px);
    transition: all 0.1s;
}

.tech-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Version badge */
.version-badge {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--secondary-color);
    background: var(--secondary-bg);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid var(--secondary-color);
    margin-top: 10px;
    display: inline-block;
    animation: pulse-badge 3s infinite;
    letter-spacing: 1px;
}

/* Small version badge */
.version-badge-small {
    font-size: 2rem;
    font-weight: 500;
    color: white;
    padding: 0px 3px;
    letter-spacing: 0.2px;
    vertical-align: super;
    margin-top: 0;
}

@keyframes pulse-badge {
    0%, 100% { 
        box-shadow: var(--secondary-glow-4d);
        transform: scale(1);
    }
    50% { 
        box-shadow: var(--secondary-glow-99);
        transform: scale(1.05);
    }
}

/* Version information section */
.version-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
    max-width: 800px;
}

.version-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--primary-bg-33);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.version-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.version-card.lite {
    border-color: var(--success-border-4d);
}

.version-card.lite:hover {
    border-color: var(--success-color);
    box-shadow: var(--success-glow-4d);
}

.version-card.full {
    border-color: var(--secondary-border-4d);
}

.version-card.full:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--secondary-glow-4d);
}

.version-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.version-card.lite h3 {
    color: var(--success-color);
}

.version-card.full h3 {
    color: var(--secondary-color);
}

.version-card ul {
    list-style: none;
    margin: 15px 0;
}

.version-card li {
    padding: 5px 0;
    font-size: 0.9rem;
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.upgrade-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--secondary-bg-66);
    filter: brightness(1.1);
}

.upgrade-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.4;
}

/* Authentication service container */
.auth-service-container {
    position: relative;
    display: inline-block;
}



/* Disabled authentication button */
.access-btn.disabled {
    background: var(--muted-bg-1a);
    border-color: var(--muted-border-4d);
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.access-btn.disabled:hover {
    background: var(--muted-bg-33);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-status {
    font-size: 0.7rem;
    background: var(--secondary-bg);
    color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 10px;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 1px solid var(--secondary-color);
}

/* Authentication modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px var(--border-glow);
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--primary-bg-33);
}

.auth-modal-header h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.auth-modal-body {
    padding: 25px;
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--warning-bg-1a);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--warning-border-4d);
    margin-bottom: 20px;
}

.status-icon {
    font-size: 1.2rem;
}

.status-message {
    font-weight: 600;
    color: orange;
}

.comparison-table {
    background: var(--bg-secondary-80);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid var(--primary-bg-33);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--primary-bg-1a);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--primary-bg-1a);
    font-weight: 600;
    color: var(--primary-color);
}

.feature-name {
    font-size: 0.9rem;
}

.lite-version, .full-version {
    text-align: center;
    font-size: 1rem;
}

.auth-actions {
    margin-top: 25px;
    text-align: center;
}

.upgrade-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-primary);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.upgrade-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-bg-66);
    filter: brightness(1.1);
}

.auth-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.5;
}

/* Version information modal */
.version-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.version-modal.show {
    opacity: 1;
    visibility: visible;
}

.version-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.version-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px var(--border-glow);
    color: var(--text-primary);
    z-index: 1001;
}

.version-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--primary-bg-33);
}

.version-modal-header h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin: 0;
}

.version-modal-body {
    padding: 25px;
    color: var(--text-primary);
}

.version-modal-body p {
    color: var(--text-primary);
    margin: 10px 0;
}

.version-modal-body ul {
    color: var(--text-primary);
}

.version-modal-body li {
    color: var(--text-primary);
}

.version-info-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive design for version info */
@media (max-width: 768px) {
    .version-info {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }
    
    .version-card {
        padding: 20px;
    }
    
    .auth-modal-content,
    .version-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .version-info-modal {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .version-badge-small {
        font-size: 0.2rem !important;
        padding: 0px 2px;
        margin-left: 3px;
        transform: scale(0.7);
    }
    
    .version-info-btn {
        top: -4px;
        right: -4px;
        width: 14px;
        height: 14px;
    }
    
    .version-info-btn i {
        font-size: 0.5rem;
    }
}
