:root {
    --bg-color: #000000;
    --card-bg: rgba(5, 5, 7, 0.75);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --cyan: #00e5ff;
    --magenta: #ff3366;
    --yellow: #ffcc00;
    --discord: #5865f2;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --gradient-text: linear-gradient(270deg, var(--cyan), var(--magenta), var(--cyan));
}

body, a, button, input, textarea {
    cursor: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    list-style: none;
}

html {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    scroll-behavior: initial;
}

::selection {
    background: var(--cyan);
    color: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
    to { background-position: 200% center; }
}

#roblox-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#roblox-cursor::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #999999;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

body.cursor-hover #roblox-cursor {
    width: 50px;
    height: 50px;
    border-color: var(--cyan);
    background-color: rgba(0, 229, 255, 0.05);
}

body.cursor-hover #roblox-cursor::after {
    background-color: var(--cyan);
    transform: scale(1.5);
}

.roblox-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    box-shadow: 0 0 10px var(--cyan);
}

#preloader {
    position: fixed;
    inset: 0;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -3px;
    animation: pulseGlow 2s infinite alternate;
}

.preloader-bar {
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--cyan);
    box-shadow: 0 0 15px var(--cyan);
    animation: preloadBar 1s ease forwards;
}

@keyframes preloadBar {
    to { width: 100%; }
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(0,229,255,0.2); }
    100% { text-shadow: 0 0 30px rgba(0,229,255,0.8); }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000000;
    overflow: hidden;
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 250px rgba(0,0,0,1);
    pointer-events: none;
    z-index: 5;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 80%);
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    animation: floatShape 20s infinite alternate linear;
}

.shape-1 {
    width: 35vw;
    height: 35vw;
    background: var(--cyan);
    top: -15%;
    left: -10%;
}

.shape-2 {
    width: 30vw;
    height: 30vw;
    background: var(--magenta);
    bottom: -15%;
    right: 5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 25vw;
    height: 25vw;
    background: var(--yellow);
    top: 25%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes floatShape {
    to { transform: translate(80px, 80px) scale(1.1); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: 0.4s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-link-text:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.6);
}

.nav-link-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    transition: 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-lang {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-lang:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0,229,255,0.3);
    color: var(--cyan);
}

.btn-discord {
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    transition: 0.4s;
}

.btn-discord:hover {
    background: var(--discord);
    border-color: var(--discord);
    box-shadow: 0 0 20px rgba(88,101,242,0.5);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    padding: 10px;
}

.magnetic-itemburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-wrapper-primary {
    position: relative;
    border-radius: 50px;
    display: inline-block;
}

.btn-wrapper-primary::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: var(--cyan);
    filter: blur(15px);
    opacity: 0.4;
    transition: 0.4s ease;
    z-index: -1;
    animation: pulseNeon 3s infinite alternate;
}

.btn-wrapper-primary:hover::before {
    opacity: 0.8;
    filter: blur(20px);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,255,255,0.5);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.03);
    color: #fff;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.tag-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255,255,255,0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.tag-label::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin-right: 15px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-weight: 400;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.loaded .reveal-up {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 45px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-big-logo {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 229, 255, 0.4));
    animation: floatMascot 6s infinite alternate ease-in-out;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 100px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.stat-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.stat-card h2 {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    display: inline-block;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.stat-card span {
    font-size: 3.8rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-left: 2px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.stat-card p {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
}

.about-section {
    padding: 150px 5%;
    position: relative;
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.about-interactive-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.about-image {
    width: 100%;
    max-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

.image-backdrop {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    z-index: -1;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.floating-mascot {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    filter: drop-shadow(0 0 40px rgba(0,229,255,0.2));
    animation: floatMascot 6s infinite alternate ease-in-out;
}

.interactive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.02);
    backdrop-filter: blur(20px);
    position: relative;
}

.grid-block {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.5));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 6px 0 rgba(0,0,0,0.6), 0 10px 15px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
}

.grid-block:hover {
    transform: translateY(6px);
    box-shadow: 0 0 0 rgba(0,0,0,0), 0 4px 10px rgba(0,229,255,0.3), inset 0 1px 5px rgba(255,255,255,0.4);
    background: var(--cyan);
    border-color: #fff;
}

.grid-block:nth-child(2n):hover {
    background: var(--magenta);
    box-shadow: 0 0 0 rgba(0,0,0,0), 0 4px 10px rgba(255,51,102,0.3), inset 0 1px 5px rgba(255,255,255,0.4);
}

.grid-block:nth-child(3n):hover {
    background: var(--yellow);
    box-shadow: 0 0 0 rgba(0,0,0,0), 0 4px 10px rgba(255,204,0,0.3), inset 0 1px 5px rgba(255,255,255,0.4);
}

.grid-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -4px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 30px rgba(255,255,255,0.3);
    pointer-events: none;
    z-index: 10;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 1.05rem;
    max-width: 450px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.about-features i {
    color: var(--cyan);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.games-section {
    padding: 150px 5%;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    position: relative;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.3), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
    pointer-events: none;
}

.game-card:hover::before { opacity: 1; }

.game-card:hover {
    transform: perspective(2000px) translateZ(20px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.9);
}

.card-image-box {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: #000;
}

.game-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.85;
}

.game-card:hover .game-thumb {
    transform: scale(1.08);
    opacity: 1;
}

.dev-mode .game-thumb { filter: grayscale(0%) brightness(0.6); }

.play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 2;
}

.game-card:hover .play-overlay { opacity: 1; }

.play-overlay i {
    font-size: 3rem;
    color: #fff;
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scale(0.5);
}

.game-card:hover .play-overlay i {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 3;
}

.game-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.game-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

.game-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.stat-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.game-card:hover .stat-pill {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #00ff66;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.6);
    animation: pulseDot 1.5s infinite alternate;
}

@keyframes pulseDot {
    0% { transform: scale(0.85); opacity: 0.8; box-shadow: 0 0 5px rgba(0, 255, 102, 0.4); }
    100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 15px rgba(0, 255, 102, 0.9); }
}

.game-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.btn-play {
    flex: 1;
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
}

.btn-game-discord {
    width: 60px;
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.game-card:hover .btn-play:not(.disabled) {
    background-color: white;
    color: black;
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.game-card:hover .btn-game-discord {
    background-color: var(--discord);
    border-color: var(--discord);
    box-shadow: 0 10px 30px rgba(88,101,242,0.4);
}

.btn-play.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.local-media-section {
    padding: 150px 5%;
    position: relative;
    z-index: 2;
}

.media-carousel-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    backdrop-filter: blur(25px);
}

.media-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
}

.media-track::-webkit-scrollbar {
    display: none;
}

.media-slide {
    min-width: 450px;
    width: 450px;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.4s ease;
    scroll-snap-align: center;
    position: relative;
}

.media-slide:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
}

.media-slide video, .media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    opacity: 0.85;
}

.media-slide:hover video, .media-slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    z-index: 2;
    transform: translateY(10px);
    transition: 0.4s ease;
}

.media-slide:hover .media-caption {
    transform: translateY(0);
}

.media-caption h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.media-caption p {
    font-size: 0.85rem;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.media-carousel-wrapper .nav-arrow {
    z-index: 10;
}

.media-carousel-wrapper .prev-media {
    left: -20px;
}

.media-carousel-wrapper .next-media {
    right: -20px;
}

.team-section {
    padding: 150px 5%;
    background: transparent;
    border-top: 1px solid var(--border);
}

.team-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: visible;
}

.team-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 40px 10px 60px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
}

.team-track::-webkit-scrollbar {
    display: none;
}

.team-member-minimal {
    min-width: 280px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
    margin-left: 10px;
}

.team-member-minimal:first-child {
    margin-left: 20px;
}

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

.minimal-photo {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    position: relative;
}

.minimal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    filter: grayscale(0%) brightness(0.8);
}

.team-member-minimal:hover .minimal-photo img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1.1);
}

.minimal-details {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 5px;
}

.minimal-details .member-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.minimal-details .member-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.minimal-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    transition: 0.3s;
}

.minimal-link i {
    transition: 0.3s;
}

.minimal-link:hover {
    color: var(--magenta);
}

.minimal-link:hover i {
    transform: translateX(6px);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer !important;
}

.nav-arrow:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    color: #000;
}

.prev-arrow { left: 0; }
.next-arrow { right: 0; }

.contact-section {
    padding: 150px 5%;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.contact-box {
    background: rgba(10, 10, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 229, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 60%);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: pulseOrb 8s infinite alternate ease-in-out;
}

@keyframes pulseOrb {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; background: radial-gradient(circle, var(--cyan) 0%, transparent 60%); }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.25; background: radial-gradient(circle, var(--magenta) 0%, transparent 60%); }
}

.contact-text, .contact-form-container {
    position: relative;
    z-index: 1;
}

.contact-text .section-title {
    font-size: 3.5rem;
}

.contact-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.03);
}

.social-icon:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
    background: rgba(0, 229, 255, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fun-form .input-group {
    position: relative;
    margin-bottom: 25px;
    z-index: 1;
}

.fun-form input, .fun-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s;
    resize: none;
    padding: 28px 20px 12px 20px;
}

.fun-form textarea {
    height: 150px;
}

.fun-form input:focus, .fun-form textarea:focus {
    background-color: rgba(0, 229, 255, 0.03);
    border-color: rgba(0, 229, 255, 0.3);
}

.fun-form label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    font-weight: 600;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left top;
}

.fun-form textarea ~ label {
    top: 24px;
    transform: none;
}

.fun-form input:focus ~ label, .fun-form input:not(:placeholder-shown) ~ label {
    transform: translateY(-130%) scale(0.8);
    color: var(--cyan);
    top: 22px;
}

.fun-form textarea:focus ~ label, .fun-form textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-12px) scale(0.8);
    color: var(--cyan);
    top: 20px;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transform: scaleX(0);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.fun-form input:focus ~ .input-line, .fun-form textarea:focus ~ .input-line {
    transform: scaleX(1);
}

.btn-submit.magnetic-wrap {
    width: 100%;
    display: block;
    border-radius: 12px;
    padding: 0;
    margin-top: 10px;
    background: none;
    border: none;
}

.submit-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    color: #000;
    padding: 20px;
    font-weight: 800;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer !important;
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-submit:hover .submit-content {
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.4);
    background: var(--cyan);
    color: #000;
    transform: scale(1.02);
}

.form-msg {
    font-size: 0.9rem;
    margin-top: 20px;
    text-align: center;
    min-height: 20px;
    font-weight: 600;
}

.form-msg.success {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.form-msg.error {
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

footer {
    border-top: 1px solid var(--border);
    padding: 60px 20px;
    background-color: #000000;
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-text-content {
        align-items: center;
        text-align: center;
    }
    .hero-title, .hero-subtitle {
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-big-logo {
        max-width: 350px;
    }
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 4rem; }
    .split-layout, .contact-box { grid-template-columns: 1fr; gap: 60px; }
    .contact-box { padding: 40px; }
}

@media (max-width: 768px) {
    * { cursor: auto !important; }
    #roblox-cursor, .roblox-particle, .magnetic-wrap { display: none; }
    header.scrolled .navbar { padding: 0 15px; }
    .menu-toggle { display: block; z-index: 1001; cursor: pointer; }
    .mobile-menu-active .nav-links { transform: translateX(0); }
    .mobile-menu-active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    .nav-links { position: fixed; inset: 0 0 0 0; width: 100%; height: 100vh; background-color: rgba(0,0,0,0.98); backdrop-filter: blur(20px); border-left: none; flex-direction: column; justify-content: center; gap: 30px; transform: translateX(100%); transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1); z-index: 1000; padding: 50px; }
    .nav-link-text { font-size: 1.5rem; }
    .btn-lang { margin-right: 15px; }
    .hero { padding-top: 120px; }
    .hero-title { font-size: 3rem; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 300px; }
    .hero-btns .btn { width: 100%; }
    .stats-section { grid-template-columns: 1fr; gap: 20px; }
    
    .interactive-grid { max-width: 300px; padding: 10px; gap: 4px; border-radius: 16px; }
    .grid-center-logo { font-size: 3.5rem; }

    .games-grid { grid-template-columns: 1fr; }
    
    .media-carousel-wrapper { padding: 20px 10px; border-radius: 12px; }
    .media-track { gap: 15px; padding: 10px; }
    .media-slide { min-width: 300px; width: 300px; }
    .media-carousel-wrapper .nav-arrow { display: none; }
    
    .team-carousel-wrapper { padding: 0; }
    .team-track { justify-content: flex-start; padding: 20px 10px 40px; gap: 20px; }
    .team-member-minimal { min-width: 240px; width: 240px; }
    .team-carousel-wrapper .nav-arrow { display: none; }
    
    .contact-box { padding: 30px 20px; display: flex; flex-direction: column; }
    .contact-text .section-title { font-size: 2.5rem; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
}