/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    color: #fff;

    display: flex;
    flex-direction: column;

    font-family: 'Inter', sans-serif;

    background:
        radial-gradient(circle at top, #1a1a1a 0%, #0a0a0a 45%, #000000 100%);

    background-attachment: fixed;
}
main {
    flex: 1;
}

section {
    position: relative;
    background: transparent;
}

main section {
    background: transparent;
    position: relative;
}

@media (max-width: 900px) {

.carousel-caption {
    bottom: 10%;
    left: 6%;
    max-width: 90%;
}

.carousel-title-image {
    width: clamp(140px, 40vw, 260px);
}

.carousel-caption p {
    font-size: 0.95rem;
}

}

.site-header {
    position: relative;
    z-index: 20;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.85rem 2rem;

    background: linear-gradient(
        135deg,
        #f57c00 0%,
        #ff8f1c 50%,
        #e65100 100%
    );

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.site-header::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -40px;

    width: 100%;
    height: 40px;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35),
        transparent
    );

    z-index: -1;
}
/* Logo */
.logo {
    height: 50px;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Nav Links */
.nav-link {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0;
}

/* Underline Hover Effect */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

/* Hamburger Icon */
.hamburger {
    margin-right: 0.4rem;
    font-size: 1.1rem;
    line-height: 1;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background-color: #ff9800;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: #fb8c00;
}

/* Carousel Section */
.carousel {
    width: 100%;
    min-height: 60vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;

    width: 100%;

    aspect-ratio: 1920 / 825;

    min-height: 420px;
    max-height: 80vh;

    overflow: hidden;
}

/* Slides */
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Images */


/* Carousel Title Images */
.carousel-title-image {
    width: clamp(160px, 30vw, 320px);
    height: auto;

    margin-bottom: 0.75rem;
}

/* Caption Overlay */
.carousel-caption {
    position: absolute;

    bottom: clamp(40px, 18%, 160px);
    left: clamp(20px, 8vw, 120px);

    max-width: min(420px, 80vw);

    color: #fff;

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.carousel-slide.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption p {
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Button */
.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    background-color: #f57c00;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 6px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.carousel-btn:hover {
    background-color: #fb8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.25);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 3rem;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    z-index: 5;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
}

/* Footer */
/* Footer layout */
.site-footer {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1.2rem 2rem;

    background: rgba(0,0,0,0.6);
}

/* Social icon container */
.footer-right {
    display: flex;
    gap: 18px;
}

/* Standardized icon size */
.footer-right img {

    width: 26px;
    height: 26px;

    object-fit: contain;

    opacity: 0.8;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover effect */
.footer-right img:hover {
    opacity: 1;
    transform: scale(1.15);
}

.footer-right a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;
}

.footer-right a:hover {
    background: rgba(245,124,0,0.15);
}

/* About Page */

.about-section {
    padding: 4rem 2rem;
    text-align: center;
}

.about-section h1 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.team-member {
    background-color: #111;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

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

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px; /* Square shape */
    margin-bottom: 1rem;
    background-color: #222; /* Placeholder fallback */
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.role {
    color: #f57c00;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.dropdown-content {
    display: none;
}

.dropdown-content.show {
    display: block;
}

/* ===============================
GAME HERO BANNER
=============================== */
.hero-text {
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* ===============================
GAME CAROUSEL
=============================== */

.game-carousel {
    max-width: 1500px;
    margin: 0 auto 3rem auto;

    position: relative;
}

/* Lock carousel height */
.game-carousel-track {
    position: relative;
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;
}

/* Slides stack exactly on top of each other */
.game-carousel-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    transition: opacity 0.5s ease;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Active slide */
.game-carousel-slide.active {
    opacity: 1;
}

/* Images fill container */
.game-carousel-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.game-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    padding: 1rem;

    text-align: center;

	font-family: 'Merriweather' , serif;
    font-weight: 500;
    font-size: 1.95rem;

    color: #ff8f1c;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        transparent
    );

    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.game-carousel-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2.5rem;
    padding: 0.2rem 0.8rem;
    cursor: pointer;
    z-index: 5;
}

.game-prev { left: 10px; }
.game-next { right: 10px; }

/* ===============================
GAME DETAILS SECTION
=============================== */

.game-details {
    color: #ddd;
    line-height: 1.7;
}

.game-details-container {
    max-width: 1500px;
    margin: 0 auto;

    color: #ddd;
    line-height: 1.7;
}

.game-details-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: #ddd;
    line-height: 1.7;
}

.game-details-list li {
    margin-bottom: 0.75rem;
}

.section-title {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff8f1c;
    margin-bottom: 2.5rem;
    padding-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 440px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #ff8f1c,
        #f57c00,
        transparent
    );

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.newsletter-title::after {
    width: 550px;
}

.section-title.visible::after {
    transform: scaleX(1);
}

/* ===============================
GAME HERO BANNER
=============================== */

.game-hero-banner {
    position: relative;

    width: 100%;
    height: 65vh;

    overflow: hidden;
}

.hero-banner-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 110%;

    object-fit: cover;

    filter: brightness(55%);

    opacity: 0;

    animation: heroFadeIn 1.2s ease forwards;

    z-index: 0;

    transition: transform 0.1s linear;
}

.game-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.65),
        transparent
    );

    z-index: 2;
}

/* Centered overlay content */
.hero-overlay {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    max-width: 900px;
    width: 90%;

    padding: 2rem;

    opacity: 0;

    animation: overlayFadeIn 1.4s ease forwards;
    animation-delay: 0.4s;

    z-index: 2;
}
/* Logo */
.hero-logo {
    width: 480px;
    max-width: 70vw;

    margin-bottom: 1.5rem;

    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

/* Description text */
.hero-text {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
}

/* Fade animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes overlayFadeIn {

    from {
        opacity: 0;
        transform: translate(-50%, -35%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

}
.contact-section {
    max-width: 500px;
    margin: 120px auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 20px;
}
.contact-logo {
    margin-top: 60px;
    text-align: center;
}

.contact-logo img {
    max-width: 320px;
    width: 60%;
    opacity: 0;
    animation: logoFade 1.4s ease forwards;
    animation-delay: 0.4s;
}

@keyframes logoFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}
.contact-logo img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

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

    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 1rem;
        top: 70px;

        background: rgba(0,0,0,0.9);
        padding: 1rem;
        border-radius: 8px;
    }

    .header-nav.show {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }
}
@media (max-width: 768px) {

    .carousel-container {
        aspect-ratio: 1 / 1.1;
    }

    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 15%;
        max-width: none;
        font-size: 0.9rem;
    }

    .carousel-title-image {
        width: min(220px, 70vw);
    }

    .carousel-btn {
        padding: 0.75rem 1.6rem;
        font-size: 0.95rem;
    }

}