/* Parent container for navbar and hero */
.header-background {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #0d0e10;
}

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

/* Hero content */
.hero-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

/* Image section with sliced effect */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5) blur(5px);
    background-image: url("../../images/backgrounds/HomePage/headerBackground.webp");
    z-index: 1;
}

.logo-container {
    flex: 0 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 2s forwards;
}

.hero-logo {
    width: 150px;
    height: auto;
    animation: breath 3s ease-in-out infinite;
    animation-delay: 3s;
    margin-bottom: 1rem;
}

.hero-logo:hover {
    animation-play-state: paused;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #b8b8b8;
    animation: fadeIn 2.5s ease-in-out;
}

.hero-text p b {
    color: #4b8aff;
}

/* Hero CTA Section */
.hero-cta {
    flex: 1;
    max-width: 500px;
    margin-left: 20rem;
    padding: 2rem;
    border-radius: 12px;
    animation: fadeIn 2.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Discord Logo */
.discord-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

/* CTA Heading */
.hero-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

/* CTA Button Styling */
.cta-button {
    background-color: #5865f2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.scroll-text {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes breath {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: fadeIn 2s ease;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scrollVertical 1.5s infinite;
}

.scroll-text {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* animation for vertical scrolling */
@keyframes scrollVertical {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}


/* New Generation Section */
.new-generation {
    padding: 5rem 2rem;
    background-color: #08080c;
    color: white;
}

.new-generation-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}


.new-generation-logo {
    flex: 0 0 auto;
    width: 300px;
    height: 100%;
    display: flex;
    margin-right: 10rem;
    align-items: center;
    justify-content: center;
}

.generation-logo {
    margin-top: 5rem;
    width: 350px;
    height: auto;
}

/* Content on the right */
.new-generation-text {
    flex: 1;
}

.new-generation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card {
    background: rgba(31, 31, 31, 0.23);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.21);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.card-icon {
    font-size: 2rem;
    color: #4b8aff;
    margin-bottom: 1rem;
}

.card:hover .card-icon {
    color: #336fe0;
    transform: scale(1.1);
    transition: transform 0.3s ease 0s, color 0.3s ease 0s;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.card p {
    font-size: 1rem;
    color: #b8b8b8;
}

/* Socials Section */
.socials {
    padding: 5rem 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Container for the scrolling background */
.socials::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../images/backgrounds/HomePage/headerBackground.webp");
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) blur(5px);
    z-index: -1;
    transform: scale(1.1);
    transform-origin: center;
}

.socials-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.socials h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

/* Social Cards */
.social-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}


.social-card {
    background: rgba(31, 31, 31, 0.23);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.21);
    text-decoration: none;
    color: white;
    flex: 1 1 300px;
    max-width: 300px;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Font Awesome Icons */
.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Discord Icon Color */
.social-card .fa-discord {
    color: #5865f2;
}

/* Instagram Icon Color */
.social-card .fa-instagram {
    color: #e1306c;
}

/* Twitch Icon Color */
.social-card .fa-twitch {
    color: #9146ff;
}

.social-card:hover .fa-discord {
    color: #6470f3;
    transform: scale(1.1);
    transition: transform 0.3s ease 0s, color 0.3s ease 0s;
}

.social-card:hover .fa-instagram {
    color: #e1306c;
    transform: scale(1.1);
    transition: transform 0.3s ease 0s, color 0.3s ease 0s;
}

.social-card:hover .fa-twitch {
    color: #9146ff;
    transform: scale(1.1);
    transition: transform 0.3s ease 0s, color 0.3s ease 0s;
}

.social-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.social-card p {
    font-size: 1rem;
    color: #b8b8b8;
}

/* Sponsors Section */
.sponsors {
    padding: 5rem 2rem;
    background-color: #08080c;
    color: white;
    text-align: center;
}

.sponsors-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.sponsors p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #b8b8b8;
}


/* Sponsor Carousel */
.sponsor-carousel {
    position: relative;
    overflow: hidden;
}

.sponsor-cards {
    display: flex;
    transition: transform 0.5s ease;
}

.sponsor-group {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.sponsor-card {
    flex: 0 0 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

/* Standardized Image Size */
.sponsor-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
}

/* Standardized Text Spacing */
.sponsor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.sponsor-card p {
    font-size: 1rem;
    color: #b8b8b8;
    margin-bottom: 1rem;
}
/* Sponsor Card Title */
.group-titles {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.group-title {
    font-size: 1.5rem;
    color: #b8b8b8;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.group-title:hover {
    color: white;
}

.group-title.active {
    color: #4b8aff;
    font-weight: bold;
}

.group-title.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #4b8aff;
    border-radius: 3px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0;
    }

    .hero-text {
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-cta {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    .hero-logo {
        width: 100px;
    }


    .new-generation-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .new-generation-logo {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .generation-logo {
        width: 200px;
    }

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

    /* Social Cards for Mobile */
    .social-cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-card {
        width: 90%;
        max-width: 90%;
        min-height: auto;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .social-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .social-card p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .social-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    /* Adjust sponsor carousel for mobile */
    .sponsor-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .sponsor-card {
        padding: 0.5rem;
    }

    .sponsor-image {
        width: 100px;
        height: 100px;
    }

    .sponsor-card h3 {
        font-size: 1.25rem;
    }

    .sponsor-card p {
        font-size: 0.875rem;
    }
    .group-titles {
        gap: 1rem;
    }

    .group-title {
        font-size: 1.2rem;
        padding: 0.3rem 0.8rem;
    }
}
