:root {
    --primary: #00f0ff;
    --secondary: #8000ff;
    --accent: #ff00ff;
    --gold: #FFD700;
    --orange: #FF6B00;
    --dark: #0a0e27;
    --darker: #050814;
    --card: rgba(15, 20, 40, 0.85);
    --text: #ffffff;
    --gray: #a0aec0;
    --green: #00ff88;
}

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

.coin-particle {
    position: absolute;
    top: -10%;
    user-select: none;
    pointer-events: none;
    animation-name: fall, rotate;
    animation-timing-function: linear, linear;
    animation-iteration-count: infinite, infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* SNOW */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.25);
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.4em;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media(max-width:600px) {
    .navbar-right {
        gap: 10px;
    }
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 22px;
    border-radius: 8px;
    transition: all 0.25s;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.nav-link:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* LANG SELECTOR */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--darker);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    padding: 8px;
    min-width: 140px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lang-selector:hover .lang-dropdown {
    display: flex;
}

.lang-option {
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    color: var(--gray);
    transition: all 0.2s;
}

.lang-option:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--text);
}

/* ===== HERO — BATTLE BANNER FULL SCREEN ===== */
#dashboard {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 64px;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('img/pika-hero-bg.png');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.55) saturate(1.2);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(5, 8, 20, 0.1) 0%,
            rgba(5, 8, 20, 0.05) 50%,
            rgba(5, 8, 20, 0.5) 85%,
            rgba(5, 8, 20, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 860px;
    width: 100%;
}

.hero-eyebrow {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    letter-spacing: 6px;
    color: var(--primary);
    opacity: 0.85;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3em, 9vw, 7em);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.hero-title .accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1em, 2.5vw, 1.5em);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

/* TOKEN BOX */
.token-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1), inset 0 0 20px rgba(0, 240, 255, 0.03);
    backdrop-filter: blur(10px);
}

.token-box-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7em;
    letter-spacing: 4px;
    color: rgba(0, 240, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-box-label::before,
.token-box-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 240, 255, 0.25);
}

.token-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
}

.token-addr {
    flex: 1;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #050814;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.copy-btn.copied {
    background: linear-gradient(135deg, var(--green), #00cc66);
}

/* SCROLL CUE */
.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(0, 240, 255, 0.5);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65em;
    letter-spacing: 3px;
    animation: bounce 2s ease-in-out infinite;
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(0, 240, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrolldot 2s infinite;
}

@keyframes scrolldot {
    0% {
        top: 6px;
        opacity: 1
    }

    100% {
        top: 22px;
        opacity: 0
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(-8px)
    }
}

/* ===== SECTION COMMON ===== */
section {
    padding: 90px 0;
    position: relative;
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6em, 4vw, 2.8em);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.title-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-sub {
    font-size: 1.1em;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== CONOCE A LA PIKA — two-column ===== */
.conoce-section {
    background: var(--darker);
}

.conoce-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left: info cards */
.conoce-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.9em;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
}

.conoce-info p {
    color: var(--gray);
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05em;
}

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

.check-icon {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1em;
}

/* Right: image */
.conoce-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.15);
}

.conoce-img-wrap img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    transition: transform 0.4s ease;
    filter: saturate(1.1);
}

.conoce-img-wrap:hover img {
    transform: scale(1.03);
}

.conoce-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0, 240, 255, 0.1);
    border-radius: 18px;
    pointer-events: none;
}

/* ===== WAR SECTION (soldado de las alturas) ===== */
.war-section {
    background: var(--dark);
    padding: 80px 0;
}

.war-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.war-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4em, 3vw, 2.2em);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.war-content p {
    color: var(--gray);
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 18px;
}

.war-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.war-tag {
    padding: 6px 18px;
    background: rgba(255, 100, 0, 0.1);
    border: 1px solid rgba(255, 120, 0, 0.4);
    border-radius: 20px;
    font-size: 0.82em;
    color: #ff9944;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== HOW TO BUY ===== */
.howtobuy-section {
    background: var(--darker);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    opacity: 0.4;
    z-index: 0;
}

.step-card {
    background: var(--card);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    padding: 32px 24px 28px;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 8px;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 50px rgba(0, 240, 255, 0.15);
}

.step-number {
    position: absolute;
    top: -14px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--gold);
    color: #050814;
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    margin-bottom: 18px;
}

.icon-purple {
    background: linear-gradient(135deg, #6c3fc5, #8b5cf6);
}

.icon-orange {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.icon-blue {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.icon-teal {
    background: linear-gradient(135deg, #0d9488, #2dd4bf);
}

.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: 0.5px;
}

.step-desc {
    color: var(--gray);
    font-size: 0.95em;
    line-height: 1.7;
}

/* ===== GAME ===== */
.game-section {
    background: var(--dark);
}

.topdown-wrap {
    background: var(--card);
    border: 2px solid rgba(0, 240, 255, 0.25);
    border-radius: 20px;
    padding: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.game-hud {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.hud-stat {
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.hud-label {
    display: block;
    font-size: 0.7em;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hud-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7em;
    font-weight: 900;
    color: var(--primary);
}

#gameCanvas {
    display: block;
    margin: 0 auto;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.1);
    cursor: crosshair;
    max-width: 100%;
    height: auto;
}

.game-controls-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.game-button {
    padding: 11px 32px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.82em;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 8px;
    color: var(--darker);
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.35);
}

.game-button.secondary {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.4);
}

.game-hint {
    color: var(--gray);
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;
}

.game-hint span {
    color: var(--primary);
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 2000;
}

.modal-overlay.show {
    display: block;
}

.score-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--card);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 44px;
    z-index: 2001;
    transition: transform 0.3s ease;
    max-width: 460px;
    width: 90%;
    box-shadow: 0 30px 80px rgba(0, 240, 255, 0.3);
}

.score-modal.show {
    transform: translate(-50%, -50%) scale(1);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
}

.modal-score {
    text-align: center;
    margin-bottom: 20px;
}

.score-label {
    display: block;
    font-size: 0.9em;
    color: var(--gray);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.score-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.modal-message {
    text-align: center;
    font-size: 1.1em;
    color: var(--green);
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.modal-button {
    padding: 12px 32px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    font-size: 0.8em;
}

.modal-button:hover {
    background: var(--primary);
    color: var(--darker);
}

.modal-button.primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--darker);
    border: none;
}

/* FOOTER */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    padding: 50px 0 28px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 36px;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 0.95em;
}

.footer-section p,
.footer-section a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95em;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85em;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--green);
    color: #050814;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    letter-spacing: 2px;
    padding: 12px 28px;
    border-radius: 40px;
    z-index: 9999;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE */
@media(max-width:900px) {

    .conoce-grid,
    .war-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .steps-grid::before {
        display: none;
    }

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

    .conoce-img-wrap img {
        height: 300px;
    }
}

@media(max-width:600px) {
    .navbar {
        padding: 0 16px;
        justify-content: space-between;
    }

    .navbar-logo {
        font-size: 1.1em;
    }

    /* Hide text "PIKA WORLD" on mobile, keep logo icon if exists (emoji in this case) */
    .navbar-logo span {
        display: none;
    }

    .navbar-links {
        gap: 8px;
    }

    .navbar-links a {
        padding: 6px 10px;
        font-size: 0.7em;
    }

    /* Ensure lang selector and social icons are visible */
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.7em;
    }

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

    .token-box {
        padding: 20px 16px;
    }

    .modal-buttons {
        flex-direction: column;
    }
}

/* JOYSTICK */
#joystick-zone {
    position: fixed;
    /* Fixed to viewport */
    bottom: 30px;
    left: 30px;
    width: 80px;
    /* Larger touch area */
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    touch-action: none;
    display: none;
    z-index: 9999;
    /* Ensure on top */
}

#joystick-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    /* Larger knob */
    height: 35px;
    background: rgba(0, 240, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    pointer-events: none;
}

@media (max-width: 900px) {
    #joystick-zone {
        display: block;
    }
}

/* ===== ABOUT CARDS (war section right column) ===== */
.about-cards-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.acard {
    background: var(--card);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.acard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.acard:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.12);
}

.acard-icon {
    font-size: 1.8em;
    margin-bottom: 8px;
}

.acard h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95em;
    color: var(--primary);
    margin-bottom: 6px;
}

.acard p {
    color: var(--gray);
    font-size: 0.9em;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    background: #050814;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    padding: 60px 0 30px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* Brand - Logo - Social */
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Removed small logo, now using big centered logo */

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    color: var(--text);
    letter-spacing: 2px;
}

.footer-desc {
    color: var(--gray);
    font-size: 0.9em;
    line-height: 1.6;
    max-width: 300px;
}

.footer-center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-big-logo {
    width: 180px;
    /* Adjust size as needed */
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.4));
    transition: transform 0.3s ease;
}

.footer-big-logo:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6));
}

.footer-links h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 1em;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95em;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align to right */
    gap: 16px;
}

.footer-social h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 1em;
    margin-bottom: 0;
    /* Adjusted */
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1em;
}

.social-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.footer-conservation {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    max-width: 300px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-highlight {
    color: var(--primary);
    opacity: 0.8;
}

@media(max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand,
    .footer-logo-wrap,
    .footer-links ul,
    .social-icons {
        align-items: center;
        justify-content: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-social {
        align-items: center;
    }

    .footer-conservation {
        text-align: center;
    }

    .footer-big-logo {
        width: 100px;
    }

    .footer-desc {
        margin: 0 auto;
    }
}

/* JOYSTICK */
#joystick-zone {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    touch-action: none;
    display: none;
    z-index: 20000;
}

#joystick-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    background: rgba(0, 240, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
    pointer-events: none;
}

@media (max-width: 900px) {
    #joystick-zone.show {
        display: block !important;
    }
}