/* ============================================
   DRAGON MANIA LEGENDS - KINETIC DESIGN SYSTEM
   DiversaoPlayHub.com
   ============================================ */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
    --primary: #1a1a2e;
    --primary-dark: #0f0f1e;
    --primary-light: #252545;
    --secondary: #eaeaea;
    --secondary-dark: #d0d0d0;
    --accent: #e94560;
    --accent-dark: #c73650;
    --accent-light: #ff6b84;
    --accent-glow: rgba(233, 69, 96, 0.4);
    --accent-glow-strong: rgba(233, 69, 96, 0.7);
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f7f7f8;
    --gray-200: #e5e5e7;
    --gray-300: #c8c8cc;
    --gray-400: #a0a0a8;
    --gray-500: #72727e;
    --gray-600: #4a4a56;
    --gray-700: #2d2d3a;
    --gray-800: #1e1e2a;
    --success: #4ade80;
    --error: #ef4444;
    --warning: #fbbf24;

    --font-display: 'Cinzel Decorative', serif;
    --font-body: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 64px rgba(0,0,0,0.3);
    --shadow-accent: 0 4px 30px var(--accent-glow);
    --shadow-accent-strong: 0 8px 40px var(--accent-glow-strong);

    --transition-fast: 200ms ease;
    --transition-base: 350ms ease;
    --transition-slow: 500ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    --z-particles: 0;
    --z-content: 1;
    --z-header: 100;
    --z-overlay: 200;
    --z-modal: 300;
    --z-cookie: 400;

    --container-max: 1280px;
    --container-padding: 24px;
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--primary);
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

ul {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ---- UTILITY ---- */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-accent {
    color: var(--accent);
}

/* ---- PARTICLES BACKGROUND ---- */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-particles);
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite ease-in-out;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ---- COOKIE CONSENT ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border-top: 1px solid rgba(233, 69, 96, 0.2);
    padding: 20px 24px;
    z-index: var(--z-cookie);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    backdrop-filter: blur(20px);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--white);
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.btn-accept:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-reject {
    background: transparent;
    color: var(--gray-400);
    border: 1px solid var(--gray-600);
}

.btn-reject:hover {
    border-color: var(--gray-400);
    color: var(--white);
}

.btn-settings {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-settings:hover {
    background: rgba(233, 69, 96, 0.1);
}

.cookie-settings-panel {
    max-width: var(--container-max);
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--gray-700);
}

.cookie-setting-item {
    margin-bottom: 10px;
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-300);
    font-size: 0.875rem;
    cursor: pointer;
}

.cookie-setting-item input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

/* ---- HEADER / NAVIGATION ---- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(233, 69, 96, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.03);
    color: var(--white);
}

.logo-icon {
    display: flex;
    animation: floatSoft 4s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.nav-link {
    display: inline-block;
    padding: 8px 16px;
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-layers {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.hero-layer-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
    animation: layerDrift1 20s ease-in-out infinite;
}

.hero-layer-2 {
    width: 400px;
    height: 400px;
    background: #16213e;
    bottom: -100px;
    left: -100px;
    animation: layerDrift2 25s ease-in-out infinite;
}

.hero-layer-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: layerDrift3 15s ease-in-out infinite;
}

@keyframes layerDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes layerDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes layerDrift3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.4; }
}

.hero-container {
    position: relative;
    z-index: var(--z-content);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-visual {
    flex: 0 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    width: fit-content;
    animation: floatSoft 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    text-shadow: 0 0 60px rgba(233, 69, 96, 0.3);
}

.title-line-2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #ff8fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-700);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--accent-glow-strong), transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.hero-game-icon {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 80px var(--accent-glow);
    animation: floatSoft 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.hero-game-icon:hover {
    transform: scale(1.05) rotate(2deg);
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    box-shadow: var(--shadow-xl), 0 0 120px var(--accent-glow-strong);
}

.hero-orbit {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(233, 69, 96, 0.2);
    border-radius: 50%;
    animation: orbitSpin 30s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
}

.orbit-dot-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit-dot-2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.orbit-dot-3 { top: 50%; right: 0; transform: translate(50%, -50%); }

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-accent-strong);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-glow {
    box-shadow: var(--shadow-accent);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
    filter: blur(12px);
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray-600);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---- SECTION HEADERS ---- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- ABOUT SECTION ---- */
.about-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(233, 69, 96, 0.1);
    border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
}

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

.about-card-main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    padding: 0;
    overflow: hidden;
}

.about-card-main:hover {
    border-radius: var(--radius-lg);
}

.about-card-image {
    overflow: hidden;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-card-main:hover .about-card-image img {
    transform: scale(1.05);
}

.about-card-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.about-card-content p {
    color: var(--gray-400);
    line-height: 1.7;
}

.about-icon {
    width: 64px;
    height: 64px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.about-card:hover .about-icon {
    background: rgba(233, 69, 96, 0.2);
    border-radius: 50%;
    transform: rotate(10deg) scale(1.1);
}

.about-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 10px;
}

.about-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- FEATURES SECTION ---- */
.features-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
    overflow: hidden;
}

.features-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.feature-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.feature-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(233, 69, 96, 0.08);
    top: -200px;
    left: -200px;
    animation: layerDrift1 25s ease-in-out infinite;
}

.feature-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(22, 33, 62, 0.5);
    bottom: -100px;
    right: -100px;
    animation: layerDrift2 20s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(37, 37, 69, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(233, 69, 96, 0.1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(233, 69, 96, 0.08);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-number {
    color: rgba(233, 69, 96, 0.15);
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    background: rgba(233, 69, 96, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-spring);
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(233, 69, 96, 0.15);
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    transform: rotate(-5deg) scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ---- GALLERY SECTION ---- */
.gallery-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item-large {
    grid-column: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-caption {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.gallery-image-wrap:hover img {
    transform: scale(1.08);
}

.gallery-image-wrap:hover .gallery-overlay {
    opacity: 1;
}

.gallery-image-wrap:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image-wrap {
    border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
}

/* ---- COMMUNITY SECTION ---- */
.community-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
    background: linear-gradient(180deg, transparent, rgba(15, 15, 30, 0.5), transparent);
}

.community-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.counter-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.counter-card:hover {
    transform: translateY(-6px);
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: var(--shadow-lg);
}

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

.counter-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
}

.counter-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
}

.counter-live {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(233, 69, 96, 0.15);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
}

.author-location {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---- FAQ SECTION ---- */
.faq-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(233, 69, 96, 0.15);
}

.faq-item.active {
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    transition: all var(--transition-base);
    background: none;
    border: none;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--gray-500);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
}

/* ---- SIGNUP SECTION ---- */
.signup-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
    overflow: hidden;
}

.signup-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.signup-orb-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(233, 69, 96, 0.06);
    border-radius: 50%;
    filter: blur(100px);
    top: -150px;
    right: -100px;
    animation: layerDrift1 20s ease-in-out infinite;
}

.signup-orb-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(22, 33, 62, 0.5);
    border-radius: 50%;
    filter: blur(100px);
    bottom: -150px;
    left: -100px;
    animation: layerDrift2 18s ease-in-out infinite;
}

.signup-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(233, 69, 96, 0.03) 0%, transparent 50%);
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.signup-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}

.signup-info .section-tag {
    margin-bottom: 12px;
}

.signup-info .section-title {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 16px;
}

.signup-info p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
}

.signup-benefits svg {
    flex-shrink: 0;
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    padding: 14px 18px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    outline: none;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: var(--gray-600);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.form-group input.invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    min-height: 1rem;
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--gray-600);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
    margin-top: 1px;
}

.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) scale(0);
    transition: transform var(--transition-fast);
    position: absolute;
    top: 3px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input:checked + .checkbox-custom::after {
    transform: rotate(-45deg) scale(1);
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
}

.btn-text,
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--success);
}

.form-error-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

/* ---- TRUST SECTION ---- */
.trust-section {
    padding: 120px 0;
    position: relative;
    z-index: var(--z-content);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
}

.trust-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    transition: all var(--transition-base);
}

.trust-card:hover .trust-icon {
    transform: scale(1.15) rotate(5deg);
}

.trust-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 12px;
}

.trust-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ---- FOOTER ---- */
.main-footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
    position: relative;
    z-index: var(--z-content);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a {
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
}

.footer-links-group a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-address {
    color: var(--gray-500);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
}

.footer-support-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-age-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.85rem;
}

.footer-age-badge span:last-child {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ---- LEGAL PAGES ---- */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 140px var(--container-padding) 80px;
    position: relative;
    z-index: var(--z-content);
}

.legal-content .legal-card {
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-xl);
}

.legal-content .legal-card h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.legal-content .legal-card .legal-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    display: block;
}

.legal-content .legal-card h2 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(233, 69, 96, 0.2);
}

.legal-content .legal-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-light);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-content .legal-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-content .legal-card ul,
.legal-content .legal-card ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content .legal-card li {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 6px;
    list-style: disc;
}

.legal-content .legal-card ol li {
    list-style: decimal;
}

.legal-content .legal-card a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-content .legal-card strong {
    color: var(--primary);
}

.legal-content .legal-card .contact-info {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 16px 0;
    border-left: 4px solid var(--accent);
}

.legal-content .legal-card .contact-info p {
    margin-bottom: 4px;
}

/* ---- ANIMATIONS ---- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(50px);
}

[data-animate="fade-right"] {
    transform: translateX(-50px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-game-icon {
        width: 200px;
        height: 200px;
    }

    .hero-image-glow {
        width: 220px;
        height: 220px;
    }

    .hero-orbit {
        width: 260px;
        height: 260px;
    }

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

    .about-card-main {
        grid-template-columns: 1fr;
    }

    .about-card-image {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .about-card-content {
        padding: 32px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 2;
    }

    .community-counters {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .signup-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .signup-info .section-title {
        text-align: center;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        border-left: 1px solid rgba(233, 69, 96, 0.1);
        z-index: 5;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        width: 100%;
        display: block;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }

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

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

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }

    .community-counters {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .signup-wrapper {
        padding: 28px;
    }

    .legal-content .legal-card {
        padding: 32px 24px;
    }

    .cookie-inner {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn-cookie {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .community-counters {
        grid-template-columns: 1fr;
    }

    .counter-value {
        font-size: 1.8rem;
    }
}

/* ---- PRINT ---- */
@media print {
    .main-header,
    .cookie-banner,
    .particles-container,
    .scroll-indicator {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section-title,
    .hero-title .title-line {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
