/* Variables Generales */
:root {
    --bg-color: #0b0c10;
    --card-bg: rgba(31, 33, 38, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f0f5;
    --text-secondary: #9aa0a6;
    --blur-strength: 16px;
    --brand-primary: #5865F2;
    /* Discord Blurple */
    --brand-hover: #4752C4;
    --accent: #00e5ff;
    /* Cyan para detalles */
}

/* Reset Básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Cierra el scroll de fondo animado */
    position: relative;
    padding: 24px;
}

/* Formas de Fondo Animadas */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: floating 12s infinite alternate ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(88, 101, 242, 0.3);
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(0, 229, 255, 0.2);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes floating {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(60px) scale(1.1);
    }
}

/* Layout Principal */
.container {
    width: 100%;
    max-width: 800px;
    z-index: 10;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Tipografía y Header */
header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.logo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--accent));
    padding: 4px;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-color);
}

h1#title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #b9bbbe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

p#description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 80%;
}

/* Botón Principal */
.action-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
}

.primary-btn {
    width: 100%;
    max-width: 300px;
    background-color: var(--brand-primary);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(88, 101, 242, 0.4);
}

.primary-btn:hover {
    background-color: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(88, 101, 242, 0.6);
}

/* Enlaces Secundarios */
.secondary-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.secondary-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.secondary-links a:hover {
    color: var(--text-primary);
}

.dot-separator {
    color: var(--border-color);
}

/* Switcher Idioma */
.lang-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Text Formatting general p/ términos y privacidad */
.text-content-page {
    text-align: left;
    width: 100%;
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 16px;
}

.text-content-page::-webkit-scrollbar {
    width: 6px;
}

.text-content-page::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 6px;
}

.text-content-page h2 {
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 32px;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.text-content-page p,
.text-content-page ul {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.text-content-page li {
    margin-left: 20px;
    margin-bottom: 8px;
}

/* Responsivo */
@media (max-width: 600px) {
    .glass-card {
        padding: 32px 24px;
        gap: 24px;
    }

    h1#title {
        font-size: 2rem;
    }

    p#description {
        max-width: 100%;
        font-size: 1rem;
    }

    .secondary-links {
        flex-direction: column;
        gap: 8px;
    }

    .dot-separator {
        display: none;
    }
}