body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* Global text selection color */
::selection {
    background-color: rgba(240, 74, 74, 0.3); /* Transparent red highlight */
    color: #fff;
}

/* Header Styling */
header {
    padding: 15px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

header .logo {
    height: 50px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
   
}

/* Hide fallback image on desktop */
.hero img.parallax {
    display: none; /* Hide fallback image on desktop by default */
}



.hero-section video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* Ensure the video stays behind content */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-section .content {
    z-index: 1;
    padding: 20px;
}

.hero-section h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #ddd;
}

.hero-section button {
    background: #f04a4a;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-section button:hover {
    background: #c03b3b;
}

/* General Section Styling */
.section {
    padding: 80px 20px;
    text-align: left;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #f04a4a;
}

#latest-episodes h2 {
    text-align: center;
}

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: rgba(34, 34, 34, 0.8);
    border-radius: 10px;
    padding: 40px 20px;
    margin: 0 auto 40px;
    max-width: 800px;
    color: #fff;
}

.about-section img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.about-content {
    flex: 1;
    padding: 20px;
}

.about-section-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    text-align: left; /* Left-justified text */
}

.about-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.about-section a:hover {
    color: #f04a4a; /* Red color on hover */
}

/* Video Gallery Styling */
.video-gallery-container {
    position: relative;
}

.video-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.video-card {
    width: 320px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
}

.video-card iframe {
    width: 100%;
    border-radius: 10px;
}

.video-card h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: #f04a4a;
}

.video-card p {
    font-size: 14px;
    color: #ddd;
}

/* Social Buttons Styling */
.social-buttons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: rgba(34, 34, 34, 0.8);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-button .icon-section {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 24px;
}

.social-button .text-section {
    flex-grow: 1;
    padding-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.social-button .arrow-section {
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.social-button .arrow-section::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 6px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.social-button:hover {
    background-color: rgba(60, 60, 60, 0.8);
}

/* Team Section */
#team {
    padding: 80px 20px;
    color: #333;
    text-align: center;
}

#team h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #f04a4a;
}

.team-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .team-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .team-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Center the last card if there is an odd number of cards on larger screens */
@media (min-width: 900px) {
    .team-cards > .team-card:nth-child(7) {
        grid-column: span 3;
        justify-self: center;
    }
}

.team-card {
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #f04a4a;
}

.team-card p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ddd;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-card .social-links a {
    color: #f04a4a;
    font-size: 20px;
    transition: color 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer .social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin-bottom: 20px;
}

footer .social-links a {
    color: #fff;
    font-size: 22px;
    transition: color 0.3s;
}

/* Social Media Icon Hover Colors */
.social-links a.youtube:hover { color: #FF0000; }
.social-links a.tiktok:hover { color: #010101; }
.social-links a.instagram:hover { color: #E4405F; }
.social-links a.twitter:hover { color: #1DA1F2; }
.social-links a.discord:hover { color: #7289DA; }
.social-links a.spotify:hover { color: #1DB954; }
.social-links a.apple:hover { color: #FA57C1; }
.social-links a.amazon:hover { color: #FF9900; }
.social-links a.iheart:hover { color: #C6002B; }
.social-links a.facebook:hover { color: #1877F2; }
.social-links a.twitch:hover { color: #9146FF; }
.social-links a.soundcloud:hover { color: #FF8800; }
.social-links a.linkedin:hover { color: #0077B5; }
.social-links a.threads:hover { color: #000000; }
.social-links a.website:hover { color: #555555; }

.social-links a {
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

/* Responsive Layout */
@media (max-width: 768px) {


    .hero img.parallax {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .video-card {
        width: 100%;
    }

    .social-buttons-container {
        grid-template-columns: 1fr;
    }

    .social-button {
        width: 100%;
    }

    .team-cards {
        grid-template-columns: 1fr;
    }
}