@font-face {
    font-family: 'Neuropol-Regular';
    src: url('./fonts/neuropol-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arlon';
    src: url('./fonts/arlon-semibold-demo.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #c6ff34;
    --primary-foreground: #000000;
    --secondary: #7f3aef;
    --secondary-foreground: #FFFFFF;
    --background: #050505;
    --foreground: #ffffff;
    --muted: #a3a3a3;
    --font-brand: 'Neuropol-Regular', sans-serif;
    --font-sans: 'Arlon', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Efectos de fondo modernos */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.background-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: drift 10s infinite alternate ease-in-out;
}

.glow-orb.primary {
    top: 20%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background: rgba(198, 255, 52, 0.08);
}

.glow-orb.secondary {
    bottom: 10%;
    right: 15%;
    width: 35vw;
    height: 35vw;
    background: rgba(127, 58, 239, 0.12);
    animation-delay: -5s;
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2vh;
    margin-bottom: 2vh;
    animation: slideDown 1s ease-out;
}

.logo-wrapper {
    width: 100%;
    max-width: 280px;
    margin-bottom: 1rem;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Content */
.content-wrapper {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
}

.title .mundo {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.5rem 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
}

.separator {
    font-size: 3rem;
    font-family: var(--font-brand);
    color: rgba(255,255,255,0.2);
    margin-top: -1.5rem;
}

.number {
    font-family: var(--font-brand);
    font-size: 3rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(198, 255, 52, 0.3);
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    width: 100%;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease-out 1s both;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icon {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .glass-panel {
        padding: 1rem;
        width: 100%;
    }
    
    .countdown-container {
        gap: 0.25rem;
    }
    
    .countdown-item {
        width: 75px;
    }
    
    .number {
        font-size: 1.8rem;
    }
    
    .separator {
        font-size: 1.8rem;
        margin-top: -1rem;
    }
    
    .logo-wrapper {
        max-width: 220px;
    }
}
