﻿:root{
    --border:rgba(255,255,255,.12);
    --text:#eae6ff;
    --sectionsPadding: 3rem 2rem;
    --glow: 0 0 12px rgba(140, 90, 255, .6), 0 0 28px rgba(51, 225, 255, .25);
    --muted:#bfb8ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ANIMATED BACKGROUND +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a, #1a0a2a, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ GLITCH EFFECT +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.glitch {
    position: relative;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    90% { transform: translate(-2px, -2px); }
}

/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ LANDING TITLE SECTION +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.section-title {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23000" width="1200" height="800"/><g fill="%23663399" opacity="0.1"><path d="M100 200h100v100h-100zM300 400h100v100h-100zM500 100h100v100h-100zM700 300h100v100h-100zM900 500h100v100h-100z"/></g></svg>');
    background-size: cover;
    background-position: center;
}

.hero-logo {
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #663399, #ff0066, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 20px #663399); }
    to { filter: drop-shadow(0 0 30px #00ffff); }
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.cta-button {
    padding: 15px 40px;
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-image: url("../Content/btn2-normal.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.cta-button:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 10px 30px rgba(102, 51, 153, 0.8);*/
    background-image: url("../Content/btn2-hovered.png");
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .section h2 {
        font-size: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ SECTIONS UTILITIES +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.section {
    align-self: center;
    justify-self: center;
    width: 90%;
    scroll-margin-top: 70px;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #663399;
    text-shadow: 0 0 10px #663399;
}

.section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ GAME INFO SECTION +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.game-info {
    background: rgba(102, 51, 153, 0.1);
    border: 1px solid #663399;
    border-radius: 20px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    padding: var(--sectionsPadding);
}

.game-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

.game-features {
    display: grid;
    grid-template-columns: auto;
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
    padding: 0 5%;
}

.feature {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #00ffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 5%;
}
.reverse {
    flex-direction: row-reverse;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.feature h3 {
    color: #ff0066;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.feature img {
    width: 60%;
}

.textContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 800px){
    .feature{
        flex-direction: column;
    }

    .feature img{
        width: 100%;
    }
}

/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TRAILER SECTION +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.trailer-section {
    background: rgb(120 184 236 / 10%);
    border-radius: 20px;
    padding: var(--sectionsPadding);
    margin: 4rem 0;
}

.vc{
    --gap: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .6rem;
    position: relative;
}

.vc__viewport{
    overflow: hidden;
    border-radius: 1rem;
    scroll-snap-type: x mandatory;
}

.vc__track{
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    gap: 0;
}

.vc__slide{
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 .5rem;
}

.yt-card{
    position: relative;
    width: 55%;
    margin: 15px;
    align-self: center;
    justify-self: center;
    aspect-ratio: 16/9;
    border-radius: .9rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    cursor: pointer;
    box-shadow: var(--glow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.yt-card:hover{ transform: translateY(-2px); border-color: rgba(124,58,237,.6) }
.yt-card:focus-visible{
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 0 0 4px rgba(124,58,237,.6), var(--glow);
}
.yt-thumb{ width:100%; height:100%; object-fit: cover; display:block; }
.yt-play{ position:absolute; inset:0; display:grid; place-items:center; background: radial-gradient(closest-side, rgba(0,0,0,.0), rgba(0,0,0,.35)); }
.yt-play svg{ width:66px; height:66px; fill:#fff; filter: drop-shadow(0 0 8px rgba(124,58,237,.7)) drop-shadow(0 0 14px rgba(51,225,255,.45)); transition: transform .18s ease; }
.yt-card:hover .yt-play svg{ transform: scale(1.06) }

.vc__arrow{
    background: transparent;
    border: 1px solid rgba(139,92,246,0.7);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 0 8px rgba(124,58,237,.6), 0 0 16px rgba(51,225,255,.4);
}
.vc__arrow:hover:not(:disabled){
    transform: scale(1.12) translateY(-2px);
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}
.vc__arrow:active{ transform: scale(0.95) }
.vc__arrow:disabled{
    opacity: 0.3;
    cursor: auto;
    box-shadow: none;
    border-color: var(--border);
    text-shadow: none;}

/* Dots (scoped) */
.vc__dots{
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}
.vc__dot{
    width: 10px; height: 10px; border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform .18s, box-shadow .18s, background-color .18s, border-color .18s;
}
.vc__dot:hover{ transform: scale(1.2); box-shadow: 0 0 8px rgba(51,225,255,.5); border-color: #00ffff }
.vc__dot--active{ background:#fff; border-color: rgba(255,255,255,.9); box-shadow: 0 0 10px rgba(124,58,237,.6), 0 0 16px rgba(51,225,255,.4) }
.vc__dot:focus,
.vc__dot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 0 0 4px rgba(124,58,237,.6);
}

@media (max-width: 640px){
    .yt-card{
        width: 100%;
    }

    .vc .vc__arrow{ display: none; }

    .vc .vc__viewport{
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .vc .vc__viewport::-webkit-scrollbar{ display: none; }
    .vc .vc__viewport{
        -ms-overflow-style: none;   /* legacy Edge/IE */
    }
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ COMMUNITY SECTION +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.community-section {
    background: rgba(255, 0, 102, 0.1);
    border-radius: 20px;
    padding: var(--sectionsPadding);
    margin: 4rem 0;
}

.community-grid{
    display: grid; gap: 1rem;
}

.community-featured{
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 800px){
    .community-featured{ grid-template-columns: repeat(2, 1fr); }
}

.community-others{
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.comm-tile{
    position:relative;
    display:flex;
    gap:.8rem;
    align-items:center;
    justify-content:center;
    min-height:110px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #ff0066;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.comm-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 102, 0.3);
    border-color: #00ffff;
}
.comm-tile .info{ display:flex; gap:.6rem; align-items:center; flex-direction: column; }
.comm-tile .icon{ width:28px; height:28px; display:grid; place-items:center; }
.comm-tile .icon svg, .comm-tile .icon img{ width:100%; height:100%; }

.comm-tile.large{ display:grid; grid-template-columns: 1fr 1.6fr; gap:1rem; grid-column: span 1; align-items: center; justify-items: center;}

.comm-tile.large .thumb{ aspect-ratio: 16/9; overflow:hidden; border-radius:.6rem; }

.comm-tile.large .icon {width:48px; height:48px;}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ CONTACT SECTION +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.contact-section {
    background: rgba(102, 51, 153, 0.1);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.contact-email {
    color: #00ffff;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #00ffff;
    border-radius: 30px;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-email:hover {
    background: #00ffff;
    color: #000;
    transform: scale(1.05);
}

@media (max-width: 800px){
    .contact-email{
        width: 100%;
    }
}

/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ SCROLL EFFECTS +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ HEADER +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/
.site-header{
    position: fixed;
    top: 0;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(11, 6, 20, .7), rgba(11, 6, 20, .2));
    border-bottom: 1px solid var(--border);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 1rem;
    width: 100%;
    -webkit-backdrop-filter: blur(10px); /* Safari */
}

.site-header .brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    margin-right: auto;
}

.site-header .brand img {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, .6))
}

.site-header nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem
}

.site-header nav a {
    padding: .4rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.site-header .icon svg, .icon img{ width:100%; height:100% }
.site-header .icon{ width:28px; height:28px; display:grid; place-items:center }
.site-header .icon.only{ width:36px; height:36px }
.site-header .cta {padding-left: 0.1rem}


@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))){
    .site-header{
        background: rgba(11, 6, 20, .92);
    }
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TEAM SECTION +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.team-section {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 20px;
    padding: var(--sectionsPadding);
    margin: 4rem 0;
}

.team-member {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #00ffff;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.member-photo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 3px solid #663399;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #663399, #00ffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.member-name {
    color: #00ffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #ff0066;
    margin-bottom: 1rem;
}

.team-carousel{
    --cards-per-view: 3;   /* desktop shows 3 */
    --gap: 1rem;
    display:grid;
    grid-template-columns: auto 1fr auto;
    align-items:center;
    gap:.6rem;
}

.team-carousel .viewport{
    overflow:hidden;
    position:relative;
    border-radius: 1rem;
    scroll-snap-type: x mandatory;   /* snap pages */
}

.team-carousel .track{
    list-style:none;
    padding:0; margin:0;
    display:flex;                   /* pages laid out horizontally */
    gap:0;                          /* gap is inside the page grid */
}

.team-carousel .page{
    flex: 0 0 100%;                 /* each page = viewport width */
    scroll-snap-align: start;
}

.team-carousel .page-grid{
    display:grid;
    grid-template-columns: repeat(var(--cards-per-view), minmax(0, 1fr));
    gap: var(--gap);
    padding: 0 clamp(12px, 4vw, 20px);
    margin-top: 15px;
}

.carousel-arrow{
    background: transparent;
    border: 1px solid rgba(139,92,246,0.7);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 0 8px rgba(124,58,237,.6), 0 0 16px rgba(51,225,255,.4);
}

.carousel-arrow:hover:not(:disabled){
    transform: scale(1.12) translateY(-2px);
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.carousel-arrow:disabled{
    opacity: 0.3;
    cursor: auto;
    box-shadow: none;
    border-color: var(--border);
    text-shadow: none;
}

.carousel-dots{
    grid-column: 1 / -1;           /* span under both arrows + viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.carousel-dots .dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;       /* default transparent */
    cursor: pointer;
    padding: 0;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.carousel-dots .dot:hover{
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(51,225,255,.5);
    border-color: #00ffff;
}

.carousel-dots .dot.active{
    background: #fff;               /* active = white */
    border-color: rgba(255,255,255,.9);
    box-shadow: 0 0 10px rgba(124,58,237,.6), 0 0 16px rgba(51,225,255,.4);
}

.carousel-dots .dot:focus,
.carousel-dots .dot:focus-visible{
    outline: none;
    box-shadow:
            0 0 0 2px rgba(255,255,255,.15),
            0 0 0 4px rgba(124,58,237,.6);
}

/* Responsiveness: drop to 2 then 1 per view */
@media (max-width: 920px){
    .team-carousel{ --cards-per-view: 2; }
}

@media (max-width: 640px){
    .team-carousel{ --cards-per-view: 1; }

    .team-carousel .carousel-arrow{ display: none; }

    .team-carousel .viewport{
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;    /* smooth iOS momentum */
        scrollbar-width: none;                /* Firefox: hide scrollbar */
    }
    .team-carousel .viewport::-webkit-scrollbar{ display: none; } /* WebKit */
    .team-carousel .viewport { -ms-overflow-style: none;}   /* legacy Edge/IE */

    .team-carousel .page{ flex: 0 0 100%; scroll-snap-align: start; }

    .team-section .team-member{
        width: 100%;
        max-width: 520px;     /* keep it from growing wider than the viewport */
        margin: 0 auto;       /* center the card */
        box-sizing: border-box;
    }
}


/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Responsive Nav +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*/

.menu-toggle{
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(139,92,246,0.7);
    background: transparent;
    color: var(--text);
    align-items: center; justify-content: center;
    gap: 4px; cursor: pointer;
    box-shadow: 0 0 8px rgba(124,58,237,.6), 0 0 16px rgba(51,225,255,.4);
}
.menu-toggle .bar{ display:block; width:22px; height:2px; background: currentColor; border-radius:2px; }
.menu-toggle .bar + .bar{ margin-top:5px; }

html.nav-open{ overflow: hidden; }

@media (max-width: 900px){
    .site-header{ padding: .6rem .8rem; }
    .menu-toggle{ display: inline-flex; flex-direction: column; }
    #primary-nav{
        position: fixed;
        top: 56px; left: 0; right: 0;
        z-index: 30;
        background: rgba(11, 6, 20, .96);
        border-bottom: 1px solid var(--border);
        display: grid;
        gap: .5rem;
        padding: .8rem;
        max-height: 0; opacity: 0; pointer-events: none;
        transition: max-height .25s ease, opacity .25s ease;
    }
    #primary-nav.open{ max-height: 70vh; opacity: 1; pointer-events: auto; }
    #primary-nav a{
        display: block;
        padding: .9rem 1rem;
        border: 1px solid var(--border);
        border-radius: .8rem;
    }
}


/* +-+-+-+-+-+-+ Respect prefers-reduced-motion +-+-+-+-+-+-+ */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
