/* Header */
header {
    position: relative;
    padding: 20px 0;
    background: linear-gradient(90deg, rgba(26, 15, 10, 0.9) 0%, rgba(47, 27, 20, 0.9) 100%);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 4px 20px var(--shadow-light);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--shadow-medium));
}

/* Botones CTA */
.cta-button {
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-dark), var(--gold-primary));
    background-size: 300% 300%;
    border: none;
    padding: 15px 30px;
    color: var(--brown-darker);
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
    border-color: var(--gold-light);
}

.cta-button:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23FFD700" stroke-width="0.3" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    margin-bottom: 20px;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 30px;
    color: var(--gold-medium);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--gold-dark);
}

/* Features Section */
.features {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.8) 0%, rgba(47, 27, 20, 0.8) 100%);
    border: 2px solid var(--gold-darker);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    color: var(--gold-primary);
}

.feature-card p {
    color: var(--gold-medium);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Arena Section */
.arena-section {
    background: linear-gradient(180deg, rgba(26, 15, 10, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 80px 20px;
    position: relative;
    margin: 40px 0;
    border-top: 1px solid var(--gold-darker);
    border-bottom: 1px solid var(--gold-darker);
}

.arena-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 215, 0, 0.03) 2px,
        rgba(255, 215, 0, 0.03) 4px
    );
    top: 0;
    left: 0;
}

.arena-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.arena-logo {
    width: 150px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

.arena-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--gold-medium);
    line-height: 1.6;
}

.arena-cta {
    margin-top: 30px;
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--brown-darker) 0%, var(--black) 100%);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--gold-darker);
    position: relative;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo svg {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover svg {
    opacity: 1;
}

footer p {
    color: var(--gold-darker);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Sparkle effects */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive Components */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        width: 150px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 25px;
    }

    .hero {
        min-height: 70vh;
        padding: 20px;
    }

    .arena-section {
        padding: 60px 15px;
    }

    .arena-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 15px;
    }

    .features {
        padding: 60px 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .arena-section {
        padding: 40px 10px;
    }

    .arena-logo {
        width: 120px;
    }

    footer {
        padding: 30px 15px;
    }
}

/* Estados de carga */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Estados de error */
.error {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
}

/* Estados de éxito */
.success {
    border-color: var(--gold-primary) !important;
    background-color: rgba(255, 215, 0, 0.1) !important;
}