@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

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

body {
    font-family: 'Orbitron', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: #7CCB83;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 15s infinite ease-in-out;
    opacity: 0;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(calc(var(--random-x, 100) * 1px), calc(var(--random-y, 100) * 1px));
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 20px 100px;
    position: relative;
}

.glitch {
    font-size: 120px;
    font-weight: 900;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 20px;
    animation: glitch 3s infinite;
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff0000;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim 3s infinite;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #00ffff;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim 2s infinite;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 0 0 20px #7CCB83;
    }
    50% {
        text-shadow: 0 0 30px #7CCB83, 0 0 40px #7CCB83;
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(64px, 9999px, 101px, 0);
    }
    5% {
        clip: rect(29px, 9999px, 81px, 0);
    }
    10% {
        clip: rect(80px, 9999px, 14px, 0);
    }
    15% {
        clip: rect(23px, 9999px, 42px, 0);
    }
    20% {
        clip: rect(89px, 9999px, 60px, 0);
    }
    25% {
        clip: rect(20px, 9999px, 99px, 0);
    }
    30% {
        clip: rect(68px, 9999px, 45px, 0);
    }
    35% {
        clip: rect(35px, 9999px, 75px, 0);
    }
    40% {
        clip: rect(90px, 9999px, 19px, 0);
    }
    45% {
        clip: rect(14px, 9999px, 88px, 0);
    }
    50% {
        clip: rect(65px, 9999px, 55px, 0);
    }
    55% {
        clip: rect(30px, 9999px, 95px, 0);
    }
    60% {
        clip: rect(77px, 9999px, 28px, 0);
    }
    65% {
        clip: rect(44px, 9999px, 73px, 0);
    }
    70% {
        clip: rect(92px, 9999px, 22px, 0);
    }
    75% {
        clip: rect(18px, 9999px, 86px, 0);
    }
    80% {
        clip: rect(56px, 9999px, 38px, 0);
    }
    85% {
        clip: rect(26px, 9999px, 98px, 0);
    }
    90% {
        clip: rect(71px, 9999px, 47px, 0);
    }
    95% {
        clip: rect(12px, 9999px, 82px, 0);
    }
    100% {
        clip: rect(62px, 9999px, 59px, 0);
    }
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px #7CCB83;
}

.subtitle {
    font-size: 18px;
    color: #7CCB83;
    margin-top: 20px;
    letter-spacing: 3px;
    font-weight: 400;
}

/* Tournament Section */
.tournament-section {
    text-align: center;
    padding: 60px 20px;
    border-top: 2px solid #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    background: linear-gradient(90deg, transparent, rgba(124, 203, 131, 0.05), transparent);
}

.tournament-label {
    font-size: 14px;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tournament-name {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(124, 203, 131, 0.5);
    margin-bottom: 30px;
}

.tournament-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.match-team {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.match-vs {
    font-size: 18px;
    font-weight: 400;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0.7;
}

.tournament-week {
    font-size: 16px;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.countdown-container {
    margin-top: 40px;
}

.countdown-label {
    font-size: 12px;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 48px;
    font-weight: 900;
    color: #7CCB83;
    text-shadow: 0 0 15px rgba(124, 203, 131, 0.6);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label-unit {
    font-size: 10px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.countdown-separator {
    font-size: 36px;
    font-weight: 700;
    color: #7CCB83;
    opacity: 0.5;
    margin-bottom: 20px;
}

/* Tournament Statistics Section */
.tournament-stats-section {
    padding: 50px 20px;
    border-bottom: 2px solid #1a1a1a;
    background: linear-gradient(90deg, transparent, rgba(124, 203, 131, 0.02), transparent);
}

.tournament-stats-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: #7CCB83;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.tournament-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tournament-stat-item {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(10, 10, 10, 0.6) 100%);
    border: 1px solid rgba(124, 203, 131, 0.3);
    transition: all 0.3s ease;
}

.tournament-stat-item:hover {
    border-color: rgba(124, 203, 131, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 203, 131, 0.1);
}

.tournament-stat-value {
    font-size: 36px;
    font-weight: 900;
    color: #7CCB83;
    text-shadow: 0 0 10px rgba(124, 203, 131, 0.4);
    margin-bottom: 10px;
}

.tournament-stat-label {
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.7;
}

/* Roster Section */
.roster-section {
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #7CCB83;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.player-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #7CCB83;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 203, 131, 0.1), transparent);
    transition: left 0.5s;
}

.player-card:hover::before {
    left: 100%;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(124, 203, 131, 0.3);
    border-color: #7CCB83;
}

.player-number {
    font-size: 48px;
    font-weight: 900;
    color: #7CCB83;
    margin-bottom: 20px;
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
}

.player-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    width: 100%;
    padding: 0 5px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.player-role {
    font-size: 14px;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.player-name a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.player-name a:hover {
    color: #7CCB83;
    text-shadow: 0 0 10px #7CCB83;
}

.character-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 96px;
    font-weight: 900;
    color: #7CCB83;
    text-shadow: 0 0 30px rgba(124, 203, 131, 0.8), 0 0 60px rgba(124, 203, 131, 0.5);
    letter-spacing: 10px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
}

.player-card:hover .character-overlay {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
    animation: character-pulse 2s ease-in-out infinite;
}

@keyframes character-pulse {
    0%, 100% {
        opacity: 0.15;
        text-shadow: 0 0 30px rgba(124, 203, 131, 0.8), 0 0 60px rgba(124, 203, 131, 0.5);
    }
    50% {
        opacity: 0.25;
        text-shadow: 0 0 50px rgba(124, 203, 131, 1), 0 0 80px rgba(124, 203, 131, 0.7);
    }
}

.player-card:hover .player-number,
.player-card:hover .player-name,
.player-card:hover .player-role {
    position: relative;
    z-index: 1;
}

/* Reserve Section */
.reserve-section {
    padding: 40px 20px;
}

.reserve-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #7CCB83;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.7;
}

.reserve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.reserve-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1.5px solid #7CCB83;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0.8;
}

.reserve-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(124, 203, 131, 0.2);
    border-color: #7CCB83;
    opacity: 1;
}

.reserve-number {
    font-size: 28px;
    font-weight: 900;
    color: #7CCB83;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.reserve-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reserve-role {
    font-size: 11px;
    color: #7CCB83;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 80px 20px;
    border-top: 2px solid #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
}

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

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: #7CCB83;
    text-shadow: 0 0 20px rgba(124, 203, 131, 0.5);
}

.stat-label {
    font-size: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* Footer */
.footer {
    padding: 60px 20px 40px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-link {
    color: #7CCB83;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7CCB83;
    transition: width 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
}

.social-link:hover::after {
    width: 100%;
}

.copyright {
    color: #666;
    font-size: 12px;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 60px;
        letter-spacing: 10px;
    }

    .main-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .tournament-name {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .match-team {
        font-size: 20px;
    }

    .match-vs {
        font-size: 14px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-label-unit {
        font-size: 9px;
    }

    .countdown-separator {
        font-size: 24px;
    }

    .tournament-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tournament-stat-value {
        font-size: 28px;
    }

    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-name {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .player-number {
        font-size: 36px;
    }

    .player-role {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .player-card {
        padding: 30px 10px;
        min-height: 180px;
    }

    .reserve-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reserve-card {
        padding: 20px 10px;
    }

    .reserve-number {
        font-size: 24px;
    }

    .reserve-name {
        font-size: 14px;
    }

    .reserve-role {
        font-size: 10px;
    }

    .stat-number {
        font-size: 48px;
    }

    .social-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .main-title {
        font-size: 20px;
    }

    .tournament-name {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .match-team {
        font-size: 16px;
    }

    .match-vs {
        font-size: 12px;
    }

    .countdown-value {
        font-size: 28px;
    }

    .countdown-label-unit {
        font-size: 8px;
    }

    .countdown-separator {
        font-size: 20px;
    }

    .countdown-unit {
        min-width: 60px;
    }

    .tournament-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tournament-stat-value {
        font-size: 24px;
    }

    .player-name {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .player-number {
        font-size: 32px;
    }

    .player-role {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .player-card {
        padding: 25px 8px;
        min-height: 160px;
    }

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

    .reserve-card {
        padding: 18px 8px;
    }

    .reserve-number {
        font-size: 22px;
    }

    .reserve-name {
        font-size: 13px;
    }

    .reserve-role {
        font-size: 9px;
    }

    .reserve-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 24px;
    }
}

