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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f1419, #1a252f, #2d3748);
    color: #ffffff;
    line-height: 1.6;
}

header {
    background: linear-gradient(rgba(15, 20, 25, 0.8), rgba(15, 20, 25, 0.8)), url('images/background.jpg') center/cover;
    min-height: 100vh;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo h2 {
    color: #ff6b35;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo span {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff6b35;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat h3 {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.hero-stats .stat p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.teams-section {
    padding: 4rem 5%;
    background: rgba(26, 37, 47, 0.5);
}

.teams-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 4rem;
    color: #ff6b35;
}

.team-container {
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.cs2-team {
    background: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.8)), url('images/cs2-background.jpg') center/cover;
}

.pubg-team {
    background: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.8)), url('images/pubg-background.jpg') center/cover;
}

.lol-team {
    background: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.8)), url('images/lol-background.jpg') center/cover;
}

.valorant-team {
    background: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.8)), url('images/valorant-background.jpg') center/cover;
}

.team-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.players-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.player-card {
    flex: 0 0 calc(20% - 1rem);
    min-width: 280px;
    max-width: 300px;
    background: rgba(45, 55, 72, 0.9);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.player-image {
    height: 200px;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-info {
    padding: 1.1rem;
}

.player-info h3 {
    font-size: 1.2rem;
    color: #ff6b35;
    margin-bottom: 0.3rem;
}

.role {
    color: #a0a0a0;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.player-details {
    margin-bottom: 1rem;
}

.detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail strong {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.75rem;
}

.detail span {
    color: #ff6b35;
    font-weight: 500;
    font-size: 0.75rem;
    text-align: right;
    max-width: 60%;
}

.stats {
    display: flex;
    justify-content: space-around;
    background: rgba(15, 20, 25, 0.7);
    padding: 0.6rem;
    border-radius: 6px;
}

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

.stat-item span {
    display: block;
    color: #a0a0a0;
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

.stat-item strong {
    color: #ff6b35;
    font-size: 0.9rem;
}

/* Streaming Indicators */
.streaming-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 3;
    text-transform: uppercase;
}

.streaming-indicator.live {
    background: linear-gradient(45deg, #ff0000, #ff4444);
    color: white;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.streaming-indicator.offline {
    background: rgba(128, 128, 128, 0.8);
    color: #cccccc;
}

.stream-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    margin-right: 4px;
    animation: blink 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.stream-link {
    color: #ff6b35 !important;
    text-decoration: underline;
    cursor: pointer;
}

.stream-link:hover {
    color: #ff8c5a !important;
}

/* Live Streams Section */
.stream-section {
    padding: 4rem 5%;
    background: rgba(15, 20, 25, 0.9);
}

.stream-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #ff6b35;
}

.live-streams-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stream-card {
    background: rgba(45, 55, 72, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.stream-preview {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.stream-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.6);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.stream-duration {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.stream-info {
    padding: 1rem;
}

.stream-info h4 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.stream-info p {
    color: #e0e0e0;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.stream-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Highlights Section */
.highlights-section {
    padding: 4rem 5%;
    background: rgba(26, 37, 47, 0.6);
}

.highlights-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #ff6b35;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: rgba(45, 55, 72, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.3);
    cursor: pointer;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.highlight-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.highlight-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.highlight-card:hover .play-button {
    background: rgba(255, 107, 53, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.highlight-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.highlight-info {
    padding: 1rem;
}

.highlight-info h4 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.highlight-info p {
    color: #a0a0a0;
    font-size: 0.8rem;
}

.achievements {
    padding: 4rem 5%;
    background: rgba(15, 20, 25, 0.8);
}

.achievements h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #ff6b35;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement {
    background: rgba(45, 55, 72, 0.6);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.achievement h3 {
    color: #ff6b35;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.achievement p {
    color: #e0e0e0;
    margin-bottom: 0.8rem;
}

.achievement span {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-style: italic;
}

.fun-facts {
    padding: 4rem 5%;
    background: rgba(26, 37, 47, 0.4);
}

.fun-facts h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #ff6b35;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fact {
    background: rgba(45, 55, 72, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.fact h4 {
    color: #ff6b35;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.fact p {
    color: #e0e0e0;
    font-size: 0.9rem;
}

footer {
    background: rgba(15, 20, 25, 0.95);
    padding: 2.5rem 5% 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 1.5rem;
}

.contact-info h3 {
    color: #ff6b35;
    margin-bottom: 0.8rem;
}

.contact-info p {
    color: #a0a0a0;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .player-card {
        flex: 0 0 calc(25% - 1rem);
    }
}

@media (max-width: 1100px) {
    .player-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .player-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: 250px;
    }

    .players-grid {
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav {
        padding: 1rem 2%;
    }

    .nav-links {
        gap: 1rem;
    }

    .player-info h3 {
        font-size: 1.1rem;
    }

    .role {
        font-size: 0.75rem;
    }

    .detail strong,
    .detail span {
        font-size: 0.7rem;
    }

    .team-container {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }

    .team-title {
        font-size: 1.6rem;
    }

    .live-streams-container,
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .streaming-indicator {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    .stream-preview,
    .highlight-thumbnail {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .player-card {
        flex: 0 0 100%;
        max-width: 300px;
        min-width: unset;
    }

    .players-grid {
        gap: 1rem;
    }
}
