@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #ff6f00;
    --secondary-color: #00bcd4;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --gray: #f4f4f4;
    --dark-gray: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rapidfire-nav {
    background-color: #33333300;
    background-image: none;
}

.rapidfire-nav:hover {
    background-color: #33333331;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/PC-rig-bg-img.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    margin-bottom: 40px;
    height: 80vh;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.about-rapidfire, .stream-section, .games-showcase, .rapidfire-highlights,
.community-challenges, .tournament-central, .community-spotlight,
.join-rapidfire, .faqs, .cta-section {
    margin-bottom: 60px;
}

.about-rapidfire ul {
    list-style-type: none;
    padding-left: 20px;
}

.about-rapidfire li::before {
    content: "🔥";
    margin-right: 10px;
}

.livestream-player {
    background-color: var(--dark-gray);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.watch-platforms {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.game-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3, .game-card p {
    padding: 10px;
}

.highlight-item {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-challenges ul, .tournament-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.player-of-week, .clip-of-week {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.player-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.join-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.join-item {
    flex: 1;
    min-width: 250px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    border-radius: 10px;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .watch-platforms {
        flex-direction: column;
        align-items: center;
    }

    .join-options {
        flex-direction: column;
    }
}

.game-card, .highlight-item, .tournament-item, .join-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.game-card.animate, .highlight-item.animate, .tournament-item.animate, .join-item.animate {
    opacity: 1;
    transform: translateY(0);
}