.hero-section {
    position: relative;
    margin-top: 0;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    animation: heroSlideIn 0.8s ease-out;
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.hero-branding {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.hero-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--karmine-blue);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    transition: all var(--transition-normal);
}

.hero-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    background: var(--karmine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-slogan {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.hero-live-section {
    background: var(--glass-bg);
    border: 2px solid var(--accent-red);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-live-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), transparent);
    border-radius: var(--radius-lg);
}

.live-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.live-badge {
    background: var(--accent-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    position: relative;
    overflow: hidden;
}

.live-badge.pulsing {
    animation: liveBadgePulse 2s infinite;
}

@keyframes liveBadgePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
    }
}

.live-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.live-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.live-match-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.live-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--karmine-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.live-match-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--karmine-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-lg);
}

.live-match-card:hover {
    transform: translateY(-5px);
    border-color: var(--karmine-blue);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.2);
}

.live-match-card:hover::before {
    transform: scaleX(1);
}

.live-match-card:hover::after {
    opacity: 0.05;
}

.match-game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-name {
    background: var(--karmine-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.league-name {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.match-teams-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.team-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    transition: var(--transition-normal);
}

.team-compact:hover {
    transform: translateX(3px);
}

.team-compact.karmine-team .team-name-short {
    background: var(--karmine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.team-logo-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}

.team-logo-small:hover {
    border-color: var(--karmine-blue);
    transform: scale(1.1);
}

.team-logo-placeholder-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
}

.team-logo-placeholder-small:hover {
    border-color: var(--karmine-blue);
    color: var(--karmine-blue);
}

.team-name-short {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.vs-compact {
    font-weight: 700;
    color: var(--text-tertiary);
    font-size: 1rem;
    padding: 0 1.5rem;
}

.live-actions {
    position: relative;
    z-index: 2;
}

.stream-btn-hero {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--karmine-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.stream-btn-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.stream-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.stream-btn-hero:hover::after {
    transform: translateX(100%);
}

.twitch-logo-small {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.hero-no-live {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(15px);
}

.no-live-content {
    color: var(--text-tertiary);
}

.no-live-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.hero-upcoming-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: var(--glass-shadow);
}

.hero-upcoming-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--karmine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-upcoming-section h2::before {
    content: '📅';
    font-size: 1.5rem;
    background: none;
    -webkit-text-fill-color: initial;
}

.next-match-highlight {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.next-match-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--karmine-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.next-match-highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--karmine-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-lg);
}

.next-match-highlight:hover {
    transform: translateY(-5px);
    border-color: var(--karmine-blue);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.next-match-highlight:hover::before {
    transform: scaleX(1);
}

.next-match-highlight:hover::after {
    opacity: 0.05;
}

.countdown-info {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.countdown-text {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--karmine-blue);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.match-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.match-info-hero {
    position: relative;
    z-index: 2;
}

.teams-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.team-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    transition: var(--transition-normal);
}

.team-hero:hover {
    transform: translateX(5px);
}

.team-hero:last-child:hover {
    transform: translateX(-5px);
}

.team-hero.karmine-team .team-name-hero {
    background: var(--karmine-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.team-logo-medium {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    transition: all var(--transition-normal);
}

.team-logo-medium:hover {
    border-color: var(--karmine-blue);
    transform: scale(1.1);
}

.team-logo-placeholder-medium {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-weight: 700;
    border: 3px solid var(--border-color);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.team-logo-placeholder-medium:hover {
    border-color: var(--karmine-blue);
    color: var(--karmine-blue);
}

.team-name-hero {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.vs-hero {
    font-weight: 700;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    padding: 0 2rem;
}

.match-details-hero {
    text-align: center;
}

.game-league {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.other-upcoming {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.other-upcoming h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upcoming-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.upcoming-item:hover {
    background: var(--dark-card);
    border-color: var(--karmine-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.upcoming-date {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
    min-width: 100px;
}

.upcoming-match {
    font-weight: 600;
    color: var(--text-primary);
}

.upcoming-game {
    font-size: 0.9rem;
    color: var(--karmine-blue);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-normal);
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: var(--karmine-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--karmine-blue);
    border: 2px solid var(--karmine-blue);
}

.hero-btn.secondary:hover {
    background: var(--karmine-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.hero-btn:hover .btn-icon {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .live-matches-grid {
        grid-template-columns: 1fr;
    }

    .teams-hero {
        flex-direction: column;
        gap: 1.5rem;
    }

    .vs-hero {
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .hero-logo-section {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .hero-live-section,
    .hero-upcoming-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .live-header h2,
    .hero-upcoming-section h2 {
        font-size: 1.5rem;
    }

    .next-match-highlight {
        padding: 2rem;
    }

    .countdown-text {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
    }

    .upcoming-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-logo-img {
        width: 60px;
        height: 60px;
    }

    .countdown-text {
        font-size: 1.75rem;
    }

    .team-logo-medium {
        width: 50px;
        height: 50px;
    }

    .team-logo-placeholder-medium {
        width: 50px;
        height: 50px;
    }

    .hero-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .live-match-card,
    .next-match-highlight {
        padding: 1.5rem;
    }
}

.live-match-card:focus,
.next-match-highlight:focus,
.upcoming-item:focus,
.stream-btn-hero:focus,
.hero-btn:focus {
    outline: 2px solid var(--karmine-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .live-badge.pulsing {
        animation: none;
    }

    .live-match-card:hover,
    .next-match-highlight:hover,
    .team-compact:hover,
    .team-hero:hover,
    .upcoming-item:hover,
    .hero-btn:hover {
        transform: none;
    }
}
