/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    /* Wichtig: Padding für den fixed Header */
    padding-top: 80px;
}

/* Page Management */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}

.page-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1000;
    border-radius: 4px;
}

/* PAGE 1 - NEWS SECTION */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #ff0000; /* Rot */
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #ff0000; /* Rot */
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ff0000;
}

.shop-button {
    flex-shrink: 0;
}

.shop-btn {
    background: #ff0000;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.shop-btn:hover {
    background-color: #fff;
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"%3E%3Crect width="1920" height="1080" fill="%23111"/%3E%3Cg opacity="0.1"%3E%3Ccircle cx="400" cy="300" r="100" fill="%23333"/%3E%3Ccircle cx="800" cy="400" r="150" fill="%23333"/%3E%3Ccircle cx="1200" cy="600" r="120" fill="%23333"/%3E%3Ccircle cx="600" cy="800" r="80" fill="%23333"/%3E%3C/g%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
}

.hero-title {
    font-size: 140px;
    font-weight: 900;
    letter-spacing: 15px;
    text-align: center;
    z-index: 2;
    position: relative;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Sponsors */
.sponsors {
    padding: 50px 0;
    background: #fff;
    position: relative;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.sponsor-logos::-webkit-scrollbar {
    display: none;
}

.sponsor-logos img {
    height: 45px;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    filter: grayscale(100%);
}

.sponsor-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.sponsor-nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.sponsor-prev,
.sponsor-next {
    width: 45px;
    height: 45px;
    border: none;
    background: #ff0000;
    color: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.sponsor-prev:hover,
.sponsor-next:hover {
    background: #cc0000;
}

/* News Cards */
.news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.news-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.giveaway-bg {
    background: linear-gradient(135deg, rgba(255,0,0,0.8), rgba(0,0,0,0.6)),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="280" viewBox="0 0 400 280"%3E%3Crect width="400" height="280" fill="%23222"/%3E%3Ccircle cx="200" cy="140" r="50" fill="%23444"/%3E%3Ctext x="200" y="150" text-anchor="middle" fill="%23fff" font-size="24"%3E🎮%3C/text%3E%3C/svg%3E');
}

.academy-bg {
    background: linear-gradient(135deg, rgba(0,100,255,0.8), rgba(0,0,0,0.6)),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="280" viewBox="0 0 400 280"%3E%3Crect width="400" height="280" fill="%23111"/%3E%3Ccircle cx="200" cy="140" r="50" fill="%23333"/%3E%3Ctext x="200" y="150" text-anchor="middle" fill="%23fff" font-size="24"%3E🏆%3C/text%3E%3C/svg%3E');
}

.female-bg {
    background: linear-gradient(135deg, rgba(255,100,150,0.8), rgba(0,0,0,0.6)),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="400" height="280" viewBox="0 0 400 280"%3E%3Crect width="400" height="280" fill="%23000"/%3E%3Ccircle cx="200" cy="140" r="50" fill="%23222"/%3E%3Ctext x="200" y="150" text-anchor="middle" fill="%23fff" font-size="24"%3E👑%3C/text%3E%3C/svg%3E');
}

.news-content {
    padding: 35px;
}

.news-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.news-text {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 28px;
    font-size: 14px;
}

.news-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 4px;
}

.news-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* Next Match */
.next-match {
    background: #f8f8f8;
    color: #000;
    padding: 100px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    margin-top: 60px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.match-date {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
    font-weight: 500;
}

.match-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.match-subtitle {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.match-tournament {
    font-size: 16px;
    color: #ff0000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-vs {
    display: flex;
    align-items: center;
    gap: 50px;
    font-size: 48px;
    font-weight: 900;
}

.team-logo {
    font-size: 54px;
    font-weight: 900;
}

.herox {
    color: #ff0000;
    letter-spacing: 2px;
}

.fnatic {
    font-size: 72px;
    color: #ff6600;
}

.vs {
    color: #999;
    font-size: 40px;
    font-weight: 700;
}

/* PAGE 2 - MATCHES SECTION */

/* Previous Matches */
.previous-matches {
    background: #000;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.matches-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.matches-header h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.msi-logo {
    background: #ff0000;
    color: white;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    border-radius: 8px;
    letter-spacing: 1px;
}

.matches-table {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.match-row {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid transparent;
    border-radius: 8px;
    transition: all 0.3s;
}

.match-row:hover {
    border-left-color: #ff0000;
    background: rgba(255, 255, 255, 0.12);
}

.match-result {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.match-result.win {
    background: #00ff88;
    color: #000;
}

.match-details {
    flex-grow: 1;
}

.match-teams {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 8px;
    font-weight: 500;
}

.match-tournament {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.match-score {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 18px;
    font-weight: 700;
}

.team-icon {
    font-size: 28px;
}

.score {
    font-size: 28px;
    color: #ff0000;
    font-weight: 900;
}

.team-logo-small {
    width: 35px;
    height: 35px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
}

.team-name {
    font-weight: 800;
    color: #fff;
}

.opponent {
    font-weight: 600;
    color: #ccc;
}

.opponent-logo {
    width: 35px;
    height: 35px;
    background: #666;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}

/* Tournament Info with Carousel */
.tournament-info {
    background: #ff0000;
    color: white;
    padding: 100px 40px;
}

.tournament-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tournament-text h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.learn-more-btn {
    background: transparent;
    color: white;
    border: 3px solid white;
    padding: 18px 36px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 6px;
}

.learn-more-btn:hover {
    background: white;
    color: #ff0000;
    transform: translateY(-2px);
}

.tournament-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

.carousel-container {
    position: relative;
    width: 480px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.tournament1 {
    background: linear-gradient(135deg, #ff4757, #2f3542),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="480" height="300" viewBox="0 0 480 300"%3E%3Crect width="480" height="300" fill="%23222"/%3E%3Ccircle cx="240" cy="150" r="80" fill="%23444"/%3E%3Ctext x="240" y="160" text-anchor="middle" fill="%23fff" font-size="32"%3E🏟️%3C/text%3E%3C/svg%3E');
}

.tournament2 {
    background: linear-gradient(135deg, #3742fa, #2f3542),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="480" height="300" viewBox="0 0 480 300"%3E%3Crect width="480" height="300" fill="%23111"/%3E%3Ccircle cx="240" cy="150" r="80" fill="%23333"/%3E%3Ctext x="240" y="160" text-anchor="middle" fill="%23fff" font-size="32"%3E🎮%3C/text%3E%3C/svg%3E');
}

.tournament3 {
    background: linear-gradient(135deg, #ff6348, #2f3542),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="480" height="300" viewBox="0 0 480 300"%3E%3Crect width="480" height="300" fill="%23000"/%3E%3Ccircle cx="240" cy="150" r="80" fill="%23222"/%3E%3Ctext x="240" y="160" text-anchor="middle" fill="%23fff" font-size="32"%3E⚡%3C/text%3E%3C/svg%3E');
}

.trophy-image {
    width: 140px;
    height: 240px;
    background: linear-gradient(145deg, #ffd700, #ffed4e);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.trophy-image::before {
    content: '🏆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
}

/* Footer Navigation */
.footer-nav {
    background: #000;
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #ff0000;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a.active {
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container,
    .next-match,
    .previous-matches,
    .tournament-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-title {
        font-size: 100px;
        letter-spacing: 10px;
    }
    
    .news-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 80px 20px;
    }
    
    .tournament-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 60px;
        letter-spacing: 5px;
    }
    
    .news-cards {
        grid-template-columns: 1fr;
    }
    
    .match-vs {
        flex-direction: column;
        gap: 20px;
    }
    
    .carousel-container {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}