/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(26, 28, 32, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 246, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(0, 246, 255, 0.5));
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 246, 255, 0.08) 0%, transparent 60%);
    animation: pulse 6s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 1.5rem;
}

.hero-logo {
    width: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(0, 246, 255, 0.6));
    animation: float 4s ease-in-out infinite;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 12px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Cards with actual images */
.hero-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.hero-card {
    width: 100px;
    transition: transform 0.3s ease;
}

.hero-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 246, 255, 0.1);
}

.hero-card:nth-child(1) {
    animation: float 3s ease-in-out infinite;
    transform: rotate(-12deg) translateY(20px);
}

.hero-card:nth-child(2) {
    animation: float 3s ease-in-out infinite 0.2s;
    transform: rotate(-6deg) translateY(10px);
}

.hero-card:nth-child(3) {
    animation: float 3s ease-in-out infinite 0.4s;
    z-index: 2;
}

.hero-card.hero-card-center {
    width: 120px;
}

.hero-card:nth-child(4) {
    animation: float 3s ease-in-out infinite 0.6s;
    transform: rotate(6deg) translateY(10px);
}

.hero-card:nth-child(5) {
    animation: float 3s ease-in-out infinite 0.8s;
    transform: rotate(12deg) translateY(20px);
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    z-index: 10;
}

/* Upcoming Seasons Section */
.upcoming-seasons {
    background: linear-gradient(180deg, rgba(0, 246, 255, 0.05) 0%, transparent 100%);
    position: relative;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.season-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.season-card.has-banner {
    padding: 0;
}

.season-card-overlay {
    display: none;
}

.season-card.has-banner .season-card-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.season-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
}

.season-card.has-banner .season-card-content {
    padding: 2.5rem;
}

.season-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 246, 255, 0.1);
    border: 2px solid rgba(0, 246, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 246, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 246, 255, 0.4);
    }
}

.season-card h3 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff4a3 0%, #ffd700 30%, #c8960c 60%, #a67c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0 0.75rem 0;
    filter: drop-shadow(0 1px 0 #b8860b) drop-shadow(0 2px 0 #996515) drop-shadow(0 3px 1px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.season-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.season-rule {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 246, 255, 0.25);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.season-rule i {
    color: var(--color-cyan);
    font-size: 0.75rem;
}

.season-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.countdown {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.countdown-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 246, 255, 0.15);
    border: 1px solid rgba(0, 246, 255, 0.4);
    border-radius: 8px;
    padding: 0.5rem 0;
    width: 65px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

/* Features Section */
.features {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 246, 255, 0.1);
    border: 2px solid rgba(0, 246, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-cyan);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 246, 255, 0.4);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Cards Showcase Section */
.cards-showcase {
    position: relative;
}

.cards-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.showcase-card {
    position: relative;
    width: 180px;
    transition: transform 0.3s ease;
}

.showcase-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 246, 255, 0.15);
}

.showcase-card:hover {
    transform: translateY(-15px) scale(1.05);
}

.showcase-card:hover img {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 246, 255, 0.3);
}

.card-label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 246, 255, 0.4);
}

.cards-info {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.info-item {
    text-align: center;
}

.info-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-cyan);
    line-height: 1;
}

.info-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cards-mechanic {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ELO Section */
.elo {
    background: rgba(0, 0, 0, 0.3);
}

.elo-content {
    max-width: 600px;
    margin: 0 auto;
}

.elo-ranks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.rank-item:hover {
    background: rgba(0, 246, 255, 0.05);
    border-color: rgba(0, 246, 255, 0.2);
}

.rank-icon {
    font-size: 1.8rem;
}

.rank-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: 'Orbitron', sans-serif;
}

.rank-info span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Rank colors */
.rank-legend h4 { color: #ffd700; }
.rank-grandmaster h4 { color: #ff6b6b; }
.rank-templar h4 { color: #a855f7; }
.rank-paladin h4 { color: var(--color-cyan); }
.rank-knight h4 { color: #3b82f6; }
.rank-soldier h4 { color: var(--color-green); }
.rank-squire h4 { color: #f59e0b; }
.rank-commoner h4 { color: #9ca3af; }

/* CTA Section */
.cta {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 246, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 246, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 40px;
    filter: drop-shadow(0 0 10px rgba(0, 246, 255, 0.5));
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-cards {
        gap: 0.5rem;
    }

    .hero-card {
        width: 60px;
    }

    .hero-card.hero-card-center {
        width: 80px;
    }

    .section {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        gap: 1rem;
    }

    .showcase-card {
        width: 140px;
    }

    .cards-info {
        gap: 2rem;
    }

    .info-number {
        font-size: 2rem;
    }

    .seasons-grid {
        grid-template-columns: 1fr;
    }

    .season-rules {
        gap: 0.5rem;
    }

    .season-rule {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .countdown {
        gap: 0.4rem;
    }

    .countdown-value {
        font-size: 1.3rem;
        padding: 0.4rem 0;
        width: 50px;
    }

    .countdown-label {
        font-size: 0.6rem;
    }
}
