/* =====================
   Global Reset & Vars
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #c8ff00;
    --dark-green: #7a9900;
    --bg-dark: #1a1a1a;
    --bg-medium: #2a2a2a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
}

/* =====================
   Base Layout
   ===================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.25rem 2rem;
}

/* =====================
   Secondary Button
   ===================== */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.55rem 1.0rem;
    margin-left: 0.75rem;

    border-radius: 6px;
    border: 2px solid var(--primary-green);

    background: transparent;
    color: var(--primary-green);

    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;

    cursor: pointer;
    transition: 
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--bg-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 255, 0, 0.35);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* =====================
   Navigation
   ===================== */
nav {
    background: linear-gradient(
        to bottom,
        rgba(42, 42, 42, 0.92) 0%,
        rgba(42, 42, 42, 0.85) 70%,
        rgba(42, 42, 42, 0) 100%
    ),
    linear-gradient(
        to bottom,
        rgba(200, 255, 0, 0.08) 0%,
        rgba(200, 255, 0, 0.05) 70%,
        rgba(200, 255, 0, 0) 100%
    );
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 255, 0, 0.2);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

.logo img {
    height: 100px;
    width: auto;
    pointer-events: none;
}

.logo span {
    display: none;
}

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

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
    transition: color 0.3s, transform 0.2s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

nav a:hover::after {
    opacity: 1;
}

nav a.active {
    color: var(--primary-green);
    animation: navBounce 0.4s ease-out;
}

nav a.active::after {
    opacity: 0.6;
}

@keyframes navBounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

/* =====================
   Hero Section (Home)
   ===================== */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
}

.hero img {
    max-width: 300px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(200, 255, 0, 0.3));
}

.hero h1, h1, h2 {
    font-family: 'Lilita One', cursive;
    font-size: 5rem;
    line-height: 1.05;
    letter-spacing: -0.05em;

    -webkit-text-stroke: 1.5px #000;
    text-stroke: 1.5px #000;

    background: linear-gradient(
        180deg,
        #c9f06a 0%,
        #a9e43c 45%,
        #5fae2f 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================
   Sections
   ===================== */
section {
    margin-bottom: 6rem;
    scroll-margin-top: 120px;
}

h2 {
    font-family: 'Lilita One', cursive;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    text-align: center;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    
    -webkit-text-stroke: 1.5px #000;
    text-stroke: 1.5px #000;

    background: linear-gradient(
        180deg,
        #c9f06a 0%,
        #a9e43c 45%,
        #5fae2f 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h3 {
    font-family: 'Lilita One', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    text-align: center;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    
    -webkit-text-stroke: 1px #000;
    text-stroke: 1px #000;

    background: linear-gradient(
        180deg,
        #c9f06a 0%,
        #a9e43c 45%,
        #5fae2f 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* =====================
   Games Grid
   ===================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.game-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--bg-medium);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(95, 174, 47, 0.35);
}

.game-card-image.no-image {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card-icon {
    font-size: 3.5rem;       /* bigger */
    opacity: 0.9;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

.game-card-image.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200, 255, 0, 0.2);
    border-color: var(--primary-green);
}

.game-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.game-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.game-card-content {
    padding: 1.75rem;
}

.game-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.game-card p {
    line-height: 1.5;
    max-width: 360px;
}

.coming-soon {
    padding: 0.55rem 0.9rem;
    border-radius: 6px;

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;

    background-color: transparent;          /* key change */
    color: var(--primary-green);
    border: 1px dashed rgba(200, 255, 0, 0.5);

    opacity: 0.85;
}

.game-page {
    max-width: 800px;
}

.game-page .brand-title {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.game-page .brand-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.game-page h2 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.game-page h2.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header animations */
.brand-title.animate-glow {
    animation: headerGlow 2s ease-in-out infinite;
}

.brand-title.animate-pulse {
    animation: headerPulse 1.5s ease-in-out infinite;
}

.brand-title.animate-bounce {
    animation: headerBounce 2s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(200, 255, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(200, 255, 0, 0.8));
    }
}

@keyframes headerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes headerBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.game-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.game-page h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.game-page p {
    margin-bottom: 1rem;
}

.game-page ul {
    margin-left: 1.25rem;
    margin-bottom: 2rem;
}

.game-page li {
    margin-bottom: 0.5rem;
}

.game-status {
    margin-top: 2rem;
    color: var(--primary-green);
}

/* =====================
   Store Buttons
   ===================== */
.store-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-button img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    display: block;
}

.store-button:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* =====================
   Media Gallery
   ===================== */
.media-gallery {
    margin: 2rem 0;
}

.media-video {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(200, 255, 0, 0.2);
}

.media-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================
   Carousel
   ===================== */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(200, 255, 0, 0.1);
    background-color: var(--bg-dark);
}


/* Content section grouping */
.content-section {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 30, 0.85) 0%,
        rgba(30, 30, 35, 0.9) 50%,
        rgba(26, 26, 30, 0.85) 100%
    );
    padding: 2rem 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    margin-bottom: 2.5rem;
}

.content-section h2 {
    margin-top: 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    pointer-events: auto;
}

.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--primary-green);
    border: 2px solid rgba(200, 255, 0, 0.3);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
    border-radius: 4px;
    line-height: 1;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(200, 255, 0, 0.3);
    border: 2px solid rgba(200, 255, 0, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background-color: rgba(200, 255, 0, 0.6);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* =====================
   About
   ===================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* =====================
   Contact Section
   ===================== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-option {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: rgba(42, 42, 42, 0.5);
    border-radius: 10px;
    border: 2px solid rgba(95, 174, 47, 0.2);
    transition: all 0.3s ease;
}

.contact-option:hover {
    background-color: rgba(42, 42, 42, 0.8);
    border-color: rgba(200, 255, 0, 0.4);
    transform: translateY(-3px);
}

.contact-option.primary {
    border-color: rgba(200, 255, 0, 0.4);
    background-color: rgba(42, 42, 42, 0.7);
}

.contact-option.primary:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(200, 255, 0, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.contact-icon svg {
    filter: drop-shadow(0 2px 8px rgba(200, 255, 0, 0.3));
}

.contact-icon img.discord-icon {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(88%) sepia(75%) saturate(494%) hue-rotate(9deg) brightness(103%) contrast(106%) drop-shadow(0 2px 8px rgba(200, 255, 0, 0.3));
}

.discord-embed-container {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.discord-embed-container iframe {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.contact-option h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-option p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-email {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    user-select: all;
}

.contact-email:hover {
    color: var(--primary-green);
}

.social-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* =====================
   Legal Pages
   ===================== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-page h1,
.legal-page h2 {
    color: var(--primary-green);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.legal-page a {
    color: var(--primary-green);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* =====================
   Footer
   ===================== */
footer {
    background-color: var(--bg-medium);
    padding: 2.5rem 2rem 1.5rem 2rem;
    color: var(--text-gray);
    margin-top: 4rem;
    position: relative;
    z-index: 1000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-column p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(200, 255, 0, 0.1);
    border: 2px solid rgba(200, 255, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 255, 0, 0.4);
    text-decoration: none;
}

.social-link:hover svg {
    color: var(--bg-dark);
    transform: scale(1.1);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

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

    h2 {
        font-size: 2rem;
    }

    .brand-title,
    .game-page .brand-title {
        font-size: 3rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .game-card {
        max-width: 100%;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 0.25rem 0.75rem;
    }

    .carousel-btn-prev {
        left: 0.5rem;
    }

    .carousel-btn-next {
        right: 0.5rem;
    }

    /* Reduce content section padding on mobile */
    .content-section {
        padding: 1.5rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-option {
        padding: 1.5rem 1rem;
    }

    .discord-embed-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .brand-title,
    .game-page .brand-title {
        font-size: 2.5rem;
    }

    .game-tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .logo img {
        height: 70px;
    }

    nav ul {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 1rem;
    }
}
