@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #fafafa;
    --bg-alt: #ffffff;
    --text: #0a0a0a;
    --text-secondary: #525252;
    --text-muted: #a3a3a3;
    --cyan: #00d4ff;
    --cyan-dark: #00a8cc;
    --cyan-light: #67e8f9;
    --border: #e5e5e5;
    --border-hover: #00d4ff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
    border-bottom-color: var(--border);
}

.header-logo {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-logo:hover {
    color: var(--cyan);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.header-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.header-links a:hover {
    color: var(--text);
}

.header-links a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta:hover {
    border-color: var(--cyan);
    background: var(--cyan);
    color: var(--bg);
}

@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
        height: 70px;
    }

    .header-links {
        display: none;
    }

    .header-nav {
        gap: 1rem;
    }

    .header-cta {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.loader-overlay.hidden {
    animation: loaderFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderFade {
    0% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.loader-line {
    width: 200px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    animation: loaderSlide 1.5s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

.loader-text {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.main-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.main-content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.05em;
}

.badge:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

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

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

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--text);
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title span {
    display: inline-block;
    position: relative;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--cyan);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title .highlight:hover {
    color: var(--cyan);
    -webkit-text-stroke: 2px transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 3rem;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

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

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem 2rem;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover::before {
    border-color: var(--cyan);
    transform: translate(-4px, -4px);
}

.stat-item:hover::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--cyan);
    opacity: 0.3;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.stat-item:hover .stat-number {
    color: var(--cyan);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg);
    border: 1px solid var(--cyan);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    padding: 8px 16px;
    border: 1px solid var(--cyan);
    transition: all 0.4s ease;
}

.section-tag:hover {
    background: var(--cyan);
    color: var(--bg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    width: 100%;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::after {
    width: 100%;
}

.feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-8px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    border-color: var(--cyan);
    background: var(--cyan);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text);
    transition: stroke 0.4s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: var(--bg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 900px) {
    .showcase {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.showcase-visual {
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
}

.showcase-visual.visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-frame {
    border: 1px solid var(--border);
    padding: 2rem;
    background: var(--bg-alt);
    position: relative;
}

.showcase-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid var(--cyan);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.showcase-visual:hover .showcase-frame::before {
    opacity: 1;
    top: -12px;
    left: -12px;
}

.showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.showcase-stat {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.showcase-stat:hover {
    border-color: var(--cyan);
}

.showcase-stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.showcase-stat:hover .showcase-stat-value {
    color: var(--cyan);
}

.showcase-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.showcase-content {
    opacity: 0;
    transform: translateX(40px);
}

.showcase-content.visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.showcase-content .section-tag,
.showcase-content .section-title,
.showcase-content .section-desc {
    text-align: left;
}

@media (max-width: 900px) {
    .showcase-content .section-tag,
    .showcase-content .section-title,
    .showcase-content .section-desc {
        text-align: center;
    }
}

.showcase-list {
    list-style: none;
    margin-top: 2.5rem;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

.showcase-list li:hover {
    color: var(--text);
    border-color: var(--cyan);
    padding-left: 1rem;
}

.showcase-list li:last-child {
    border-bottom: none;
}

.showcase-list svg {
    width: 18px;
    height: 18px;
    stroke: var(--cyan);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.showcase-list li:hover svg {
    transform: scale(1.2);
}

.community {
    text-align: center;
}

.discord-container {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 3rem;
    background: var(--bg-alt);
    position: relative;
    max-width: 450px;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s ease;
}

.discord-container.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.discord-container:hover::before {
    opacity: 1;
}

.discord-container:hover {
    border-color: var(--cyan);
}

.discord-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.discord-header svg {
    width: 28px;
    height: 28px;
    fill: var(--cyan);
}

.discord-header span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.discord-container iframe {
    border: 1px solid var(--border);
    width: 100%;
    max-width: 350px;
}

.download-section {
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--border));
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.store-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--cyan);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.store-btn:hover::before {
    height: 100%;
}

.store-btn:hover {
    border-color: var(--cyan);
    color: var(--bg);
}

.store-btn svg,
.store-btn .store-text {
    position: relative;
    z-index: 1;
}

.store-btn svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s ease;
}

.store-btn:hover svg {
    transform: scale(1.1);
}

.store-btn .store-text {
    text-align: left;
}

.store-btn .store-text small {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
    transition: color 0.4s ease;
}

.store-btn:hover .store-text small {
    color: rgba(255,255,255,0.7);
}

.store-btn .store-text span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-logo {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.footer-logo:hover {
    color: var(--cyan);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-divider {
    color: var(--text-muted);
}

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

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    z-index: 10;
    transition: opacity 0.4s ease;
}

@media (max-width: 900px) {
    .scroll-indicator {
        display: none;
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 0%; }
    100% { top: 100%; }
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
}

.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border: 1px solid var(--border);
    opacity: 0.6;
    transition: border-color 0.4s ease;
}

.floating-shape:hover {
    border-color: var(--cyan);
}

.shape-square {
    width: 60px;
    height: 60px;
}

.shape-rect {
    width: 120px;
    height: 40px;
}

.shape-circle {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.shape-1 {
    top: 15%;
    left: 8%;
    animation: floatShape 12s ease-in-out infinite;
}

.shape-2 {
    top: 25%;
    right: 12%;
    animation: floatShape 15s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.shape-3 {
    bottom: 30%;
    left: 15%;
    animation: floatShape 10s ease-in-out infinite;
    animation-delay: -4s;
}

.shape-4 {
    bottom: 20%;
    right: 8%;
    animation: floatShape 14s ease-in-out infinite reverse;
    animation-delay: -6s;
}

.shape-5 {
    top: 50%;
    left: 5%;
    border-color: var(--cyan);
    opacity: 0.3;
    animation: floatShape 18s ease-in-out infinite;
    animation-delay: -3s;
}

.shape-6 {
    top: 10%;
    right: 25%;
    animation: floatShape 16s ease-in-out infinite;
    animation-delay: -8s;
}

.shape-7 {
    bottom: 40%;
    right: 20%;
    border-color: var(--cyan);
    opacity: 0.4;
    animation: floatShape 20s ease-in-out infinite reverse;
}

@keyframes floatShape {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(2deg); 
    }
    50% { 
        transform: translateY(10px) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(1deg); 
    }
}

.moving-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
    opacity: 0;
    animation: lineMove 4s ease-in-out infinite;
}

.line-1 {
    height: 150px;
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.line-2 {
    height: 100px;
    right: 15%;
    top: 40%;
    animation-delay: 1s;
}

.line-3 {
    height: 120px;
    left: 35%;
    bottom: 25%;
    animation-delay: 2s;
}

.line-4 {
    height: 80px;
    right: 30%;
    bottom: 35%;
    animation-delay: 3s;
}

.line-5 {
    height: 200px;
    left: 50%;
    top: 10%;
    animation-delay: 0.5s;
}

@keyframes lineMove {
    0% { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    20% { 
        opacity: 0.6; 
    }
    80% { 
        opacity: 0.6; 
    }
    100% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
}

.horizontal-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    animation: hLineMove 8s ease-in-out infinite;
}

.h-line-1 {
    width: 200px;
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.h-line-2 {
    width: 150px;
    bottom: 40%;
    right: 5%;
    animation-delay: 2s;
}

.h-line-3 {
    width: 180px;
    top: 60%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes hLineMove {
    0%, 100% { 
        opacity: 0.3;
        transform: translateX(0) scaleX(1); 
    }
    50% { 
        opacity: 0.6;
        transform: translateX(20px) scaleX(1.2); 
    }
}

.dot-pulse {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0;
    animation: dotPulse 3s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.dot-2 {
    top: 45%;
    right: 25%;
    animation-delay: 1s;
}

.dot-3 {
    bottom: 35%;
    left: 20%;
    animation-delay: 2s;
}

.dot-4 {
    bottom: 25%;
    right: 35%;
    animation-delay: 0.5s;
}

.dot-5 {
    top: 35%;
    left: 45%;
    animation-delay: 1.5s;
}

.dot-6 {
    top: 55%;
    right: 40%;
    animation-delay: 2.5s;
}

@keyframes dotPulse {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.5);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.5);
    }
}

.corner-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cyan);
    opacity: 0.3;
}

.bracket-tl {
    top: 15%;
    left: 10%;
    border-right: none;
    border-bottom: none;
    animation: bracketFloat 6s ease-in-out infinite;
}

.bracket-tr {
    top: 25%;
    right: 15%;
    border-left: none;
    border-bottom: none;
    animation: bracketFloat 8s ease-in-out infinite reverse;
}

.bracket-bl {
    bottom: 30%;
    left: 20%;
    border-right: none;
    border-top: none;
    animation: bracketFloat 7s ease-in-out infinite;
    animation-delay: -2s;
}

.bracket-br {
    bottom: 20%;
    right: 10%;
    border-left: none;
    border-top: none;
    animation: bracketFloat 9s ease-in-out infinite reverse;
    animation-delay: -3s;
}

@keyframes bracketFloat {
    0%, 100% { 
        transform: translate(0, 0); 
        opacity: 0.3;
    }
    50% { 
        transform: translate(10px, -10px); 
        opacity: 0.5;
    }
}

.cross {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.4;
}

.cross::before,
.cross::after {
    content: '';
    position: absolute;
    background: var(--border);
}

.cross::before {
    width: 1px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.cross::after {
    width: 100%;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.cross-1 {
    top: 40%;
    left: 12%;
    animation: crossRotate 10s linear infinite;
}

.cross-2 {
    top: 15%;
    right: 35%;
    animation: crossRotate 12s linear infinite reverse;
}

.cross-3 {
    bottom: 45%;
    right: 18%;
    animation: crossRotate 8s linear infinite;
}

@keyframes crossRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .bg-decorations {
        display: none;
    }
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-outline.active {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .hero {
        padding: 1.5rem;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .showcase-stats {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-animate {
    position: relative;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--cyan);
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.4s ease;
}

.border-animate:hover::before {
    opacity: 1;
    transform: scale(1);
}

.easter-egg-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.easter-egg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.easter-egg-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.easter-egg-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.easter-egg-btn:hover .easter-egg-icon {
    transform: scale(1.2) rotate(-10deg);
}

.easter-egg-text {
    text-transform: uppercase;
}

.game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 250, 0.98);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.game-overlay.active {
    display: flex;
    animation: gameOverlayIn 0.5s ease;
}

@keyframes gameOverlayIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.game-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.game-title span {
    color: var(--cyan);
}

.game-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.game-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.game-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.game-stat-value.lives {
    color: #ef4444;
}

.game-close {
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-close:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.game-arena {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    overflow: hidden;
    cursor: crosshair;
}

.game-arena::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #ef4444, transparent);
    opacity: 0.5;
}

.game-base {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    border: 2px solid var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-base::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyan);
    transform: rotate(45deg);
}

.enemy {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease;
    cursor: pointer;
}

.enemy:hover {
    transform: scale(1.1);
}

.enemy.hit {
    animation: enemyHit 0.15s ease;
}

@keyframes enemyHit {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(2) drop-shadow(0 0 10px var(--cyan)); }
}

.enemy.dying {
    animation: enemyDie 0.3s ease forwards;
}

@keyframes enemyDie {
    0% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.3); 
    }
    100% { 
        transform: scale(0); 
        opacity: 0; 
    }
}

.enemy-knight {
    width: 40px;
    height: 50px;
}

.enemy-knight::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 35px;
    background: var(--text);
    border: 2px solid var(--border);
}

.enemy-knight::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 20px;
    height: 12px;
    background: var(--text);
    border: 2px solid var(--border);
}

.enemy-dwarf {
    width: 35px;
    height: 35px;
}

.enemy-dwarf::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: #78716c;
    border: 2px solid var(--border);
    border-radius: 4px;
}

.enemy-dwarf::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 35px;
    height: 8px;
    background: #a8a29e;
    border: 2px solid var(--border);
}

.enemy-shadow {
    width: 30px;
    height: 45px;
}

.enemy-shadow::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 40px;
    background: #1c1917;
    border: 2px solid #525252;
    clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0% 100%, 0% 25%);
}

.enemy-shadow::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 15px;
    height: 4px;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.enemy-health {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.enemy-health-fill {
    height: 100%;
    background: var(--cyan);
    transition: width 0.1s ease;
}

.damage-number {
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    pointer-events: none;
    animation: damageFloat 0.6s ease forwards;
    text-shadow: 0 0 5px var(--cyan);
}

@keyframes damageFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.5);
    }
}

.explosion {
    position: absolute;
    pointer-events: none;
}

.explosion-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    animation: explosionParticle 0.4s ease forwards;
}

@keyframes explosionParticle {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

.game-start-screen,
.game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(250, 250, 250, 0.95);
    z-index: 10;
}

.game-start-screen h2,
.game-over-screen h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.game-over-screen h2 {
    color: #ef4444;
}

.game-start-screen p,
.game-over-screen p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 300px;
}

.game-final-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 2rem;
}

.game-btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--cyan);
    color: var(--bg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.game-instructions {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.game-instructions strong {
    color: var(--text);
}

@media (max-width: 768px) {
    .game-arena {
        height: 300px;
    }
    
    .game-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .game-stats {
        gap: 1rem;
    }
}
