@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:ital,wght@0,700;0,900;1,900&display=swap');

:root {
    --bg-color: #050208; /* Deep Purple Black */
    --surface-color: #120B1A;
    --primary-color: #9D50BB; /* Premium Lilac/Purple */
    --primary-glow: rgba(157, 80, 187, 0.4);
    --text-main: #FFFFFF;
    --text-dim: #B0A0C0;
    --glass-bg: rgba(157, 80, 187, 0.05);
    --glass-border: rgba(157, 80, 187, 0.2);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(157, 80, 187, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(157, 80, 187, 0.05) 0%, transparent 40%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.glow-text {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
}

/* Layout */
section {
    padding: 100px 5%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.main-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.sub-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #050208;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%), url('endorfinados_hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: heroZoom 20s linear infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Fix para Mobile: Desativa parallax que quebra em alguns aparelhos, mas mantém o zoom */
@media (min-width: 1024px) {
    .hero::before {
        background-attachment: fixed;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Glass Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.glass-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.btn:first-child {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--primary-glow);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    height: 450px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
}

.jersey-card {
    text-align: center;
    padding: 20px;
}

.jersey-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.jersey-card:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* Benefits */
.benefits-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-list li i {
    color: var(--primary-color);
}

.stat-card {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 0 50px var(--primary-glow);
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .gallery-item.large { grid-column: span 1; height: 300px; }
    .benefits-content { grid-template-columns: 1fr; }
}

.schedule-day {
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary-color);
    width: 150px;
}

/* Footer */
footer {
    padding: 50px 5%;
    text-align: center;
    background: #050505;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .schedule-day { width: 100px; font-size: 1.5rem; }
}
