/* ==========================================================================
   MOONHOP ($MHOP) - Premium CSS Stylesheet
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
    --bg-primary: #060709;
    --bg-secondary: #0d0f14;
    --bg-card: rgba(18, 22, 30, 0.7);
    --bg-card-hover: rgba(26, 32, 44, 0.85);
    
    --accent-green: #39FF14;
    --accent-green-rgb: 57, 255, 20;
    --dark-green: #00C853;
    --dark-green-rgb: 0, 200, 83;
    
    --text-white: #FFFFFF;
    --text-gray: #8E8E8E;
    --border-color: rgba(57, 255, 20, 0.25);
    --border-hover: rgba(57, 255, 20, 0.6);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --glow-shadow: 0 0 15px rgba(57, 255, 20, 0.35);
    --glow-shadow-heavy: 0 0 25px rgba(57, 255, 20, 0.6);
    --glow-text: 0 0 8px rgba(57, 255, 20, 0.7);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

/* --- Starry Background Overlay --- */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.3;
    animation: starsMove 120s linear infinite;
}

@keyframes starsMove {
    from { background-position: 0 0, 40px 60px, 130px 270px; }
    to { background-position: 550px 550px, 390px 410px, 380px 820px; }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(57, 255, 20, 0.2);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
    box-shadow: var(--glow-shadow);
}

/* --- Layout Containers & Typography --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight {
    color: var(--accent-green);
}

.text-glow {
    text-shadow: var(--glow-text);
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--dark-green));
    margin: 16px auto 0;
    border-radius: 2px;
    box-shadow: var(--glow-shadow);
}

/* --- Reusable Components (Buttons, Cards) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    color: #000000;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.25);
    border: none;
}
.btn-primary:hover {
    box-shadow: var(--glow-shadow-heavy);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-green);
}
.btn-secondary:hover {
    background: rgba(57, 255, 20, 0.1);
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-normal);
}
.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 32px rgba(57, 255, 20, 0.08);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header.align-left {
    text-align: left;
}
.section-header.align-left .divider {
    margin-left: 0;
}
.subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-green);
    text-transform: uppercase;
}
.section-title {
    font-size: 2.5rem;
    margin-top: 8px;
    letter-spacing: -0.5px;
}

/* --- Navigation Header --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 7, 9, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    transition: var(--transition-normal);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 7, 9, 0.95);
    border-bottom: 1px solid rgba(57, 255, 20, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--text-white);
}
.logo-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.4));
    animation: pulseLogo 3s ease-in-out infinite;
}
.logo-img-horizontal {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.4));
    animation: pulseLogo 3s ease-in-out infinite;
}
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.7)); }
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-green);
    text-shadow: var(--glow-text);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.4rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 30%, rgba(57, 255, 20, 0.08) 0%, transparent 60%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.badge-container {
    margin-bottom: 16px;
}
.hero-badge {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 50px;
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}
.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

/* CA Copy Widget */
.ca-widget {
    background: rgba(18, 22, 30, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 36px;
    max-width: 580px;
}
.ca-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.ca-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.ca-address {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-green);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
}
.btn-copy {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px;
}
.btn-copy:hover {
    color: var(--accent-green);
    transform: scale(1.1);
}
.tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--accent-green);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--accent-green) transparent transparent transparent;
}
.btn-copy:hover .tooltip, .btn-copy.copied .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

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

/* Mascot Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mascot-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}
.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: rotateGlow 15s linear infinite;
}
@keyframes rotateGlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.mascot-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
    animation: floatMascot 6s ease-in-out infinite;
}
@keyframes floatMascot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Narrative Section --- */
.narrative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.narrative-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 28px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.narrative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    transform: translateX(-100%);
    transition: 0.5s ease;
}
.narrative-card:hover::before {
    transform: translateX(100%);
}
.narrative-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.06);
}
.card-icon {
    font-size: 2.2rem;
    color: var(--accent-green);
    margin-bottom: 24px;
    text-shadow: var(--glow-text);
    height: 50px;
    display: flex;
    align-items: center;
}
.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.card-desc {
    color: var(--text-gray);
    line-height: 1.55;
    font-size: 0.95rem;
}

/* --- Live Activity Hub --- */
.activity-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

/* Terminal Chat Box */
.chat-terminal-container {
    background: rgba(10, 12, 16, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.terminal-header {
    background: #141720;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.terminal-header .dots {
    display: flex;
    gap: 8px;
}
.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-header .title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-white);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 1px;
}
.pulse-light {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: var(--glow-shadow);
    animation: pulseGreen 1.5s infinite;
}
@keyframes pulseGreen {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

.terminal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Chat bubble styling */
.chat-msg {
    animation: messageSlideIn 0.3s ease forwards;
    line-height: 1.45;
    font-size: 0.9rem;
}
@keyframes messageSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.msg-user {
    font-weight: 700;
    color: var(--accent-green);
    margin-right: 6px;
}
.msg-time {
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-right: 8px;
}
.msg-text {
    color: var(--text-white);
}

/* Special Transaction alerts */
.chat-msg.tx-alert {
    background: rgba(57, 255, 20, 0.06);
    border-left: 3px solid var(--accent-green);
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
}
.chat-msg.tx-alert .msg-text {
    color: var(--accent-green);
    font-weight: 500;
}

.terminal-footer {
    background: #141720;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
}
#chat-username {
    width: 130px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.85rem;
}
#chat-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-white);
    font-size: 0.85rem;
}
#chat-input:focus, #chat-username:focus {
    outline: none;
    border-color: var(--accent-green);
}
.btn-send {
    background: var(--accent-green);
    border: none;
    color: #000;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-send:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
}

/* Stats dashboard */
.stats-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dashboard-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.price-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.04);
}
.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-gray);
    text-transform: uppercase;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
}
.highlight-text {
    color: var(--accent-green);
    text-shadow: var(--glow-text);
}
.percentage {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.percentage.green-text {
    color: var(--accent-green);
    background: rgba(57, 255, 20, 0.1);
}

.tx-feed-card {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 220px;
    overflow: hidden;
}
.tx-list {
    margin-top: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    animation: messageSlideIn 0.3s ease;
}
.tx-user {
    font-weight: 600;
    color: var(--text-white);
}
.tx-value {
    color: var(--accent-green);
    font-weight: 700;
}

/* --- Tokenomics Section --- */
.tokenomics-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    transition: var(--transition-normal);
}
.stat-box:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}
.stat-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.stat-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
}
.stat-val.highlight {
    color: var(--accent-green);
}
.tokenomics-quote {
    border-left: 3px solid var(--accent-green);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 30px;
}
.tokenomics-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.coin-3d-wrapper {
    max-width: 320px;
    position: relative;
}
.coin-3d-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(57, 255, 20, 0.2));
    animation: rotateCoin 8s linear infinite;
}
@keyframes rotateCoin {
    0% { transform: rotateY(0deg) rotate(0deg); }
    50% { transform: rotateY(180deg) rotate(5deg); }
    100% { transform: rotateY(360deg) rotate(0deg); }
}

/* --- MoonHop Arcade Canvas Game Section --- */
.game-section {
    background: radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.05) 0%, transparent 60%);
}
.game-arcade-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Arcade Cabinet Container */
.arcade-cabinet {
    background: #181d28;
    border: 8px solid #283244;
    border-bottom: 24px solid #283244;
    border-radius: 20px;
    padding: 16px;
    width: 440px;
    max-width: 100%;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6), 
        inset 0 0 20px rgba(57, 255, 20, 0.1),
        0 0 30px rgba(57, 255, 20, 0.15);
    position: relative;
    overflow: hidden;
}
.arcade-cabinet::after {
    content: 'INSERT COIN TO HOP';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 2px;
    opacity: 0.6;
    animation: blinkText 1.5s step-end infinite;
}
@keyframes blinkText {
    50% { opacity: 0; }
}

/* Arcade Game Tabs */
.arcade-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: space-between;
}
.arc-tab {
    flex: 1;
    background: rgba(40, 50, 68, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.arc-tab:hover {
    background: rgba(40, 50, 68, 0.7);
    color: var(--text-white);
}
.arc-tab.active {
    background: rgba(57, 255, 20, 0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
}

/* Live Chart Section */
.chart-section-live {
    background: radial-gradient(circle at 50% 50%, rgba(0, 200, 83, 0.03) 0%, transparent 65%);
}
.chart-container-wrapper {
    background: rgba(24, 29, 40, 0.4);
    border: 3px solid #202634;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 0 15px rgba(57, 255, 20, 0.05);
    overflow: hidden;
    height: 520px;
    display: flex;
    margin-top: 20px;
}
.live-chart-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: #131722;
}

/* Screen area */
.arcade-screen-container {
    background: #000;
    border: 6px solid #10141d;
    border-radius: 8px;
    height: 500px;
    position: relative;
    overflow: hidden;
}
#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #020305;
}

/* Game overlays (score, startup, gameover) */
.game-ui-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--accent-green);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    z-index: 20;
    transition: opacity 0.3s ease;
}
.overlay-content {
    animation: scalePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes scalePop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.overlay-title {
    font-size: 2.2rem;
    color: var(--accent-green);
    text-shadow: var(--glow-text);
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.overlay-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Arcade Console Panel */
.arcade-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    background: #12151f;
    border: 3px solid #202634;
    border-radius: 8px;
    padding: 16px 20px;
}
.joystick-container {
    width: 60px;
    height: 60px;
    background: #0b0c10;
    border: 3px solid #202634;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.joystick {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff0055, #990022);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    position: absolute;
    transition: transform 0.1s ease;
}
.arcade-buttons {
    display: flex;
    gap: 12px;
}
.arc-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 0 rgba(0,0,0,0.4);
    transform: translateY(0);
    transition: all 0.1s ease;
}
.arc-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.4);
}
.green-btn {
    background: #00c853;
    color: #fff;
    border: 2px solid #00e676;
}
.red-btn {
    background: #ff1744;
    color: #fff;
    border: 2px solid #ff5252;
}

/* Arcade Cheat Container */
.arcade-cheat-container {
    margin-top: 12px;
    background: #0a0c10;
    border: 2px dashed #202634;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
#cheat-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--accent-green);
    font-family: monospace;
    font-size: 0.72rem;
    text-align: center;
    width: 100%;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
#cheat-input::placeholder {
    color: rgba(57, 255, 20, 0.35);
}
.cheat-status {
    font-family: monospace;
    font-size: 0.65rem;
    text-align: center;
    min-height: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}
.cheat-status.active {
    color: var(--accent-green);
    text-shadow: var(--glow-text);
}
.cheat-status.error {
    color: #ff1744;
}

/* Mobile Screen Buttons */
.mobile-overlay-buttons {
    display: none;
    margin-top: 14px;
    width: 100%;
    gap: 12px;
}
.btn-mobile-nav {
    flex: 1;
    background: #202634;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    user-select: none;
}
.btn-mobile-nav:active {
    background: var(--accent-green);
    color: #000;
}

.game-subtitle-text {
    max-width: 600px;
    margin: 8px auto 0;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- How to Buy Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(57, 255, 20, 0.15);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: transparent;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-badge {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-green);
    box-shadow: var(--glow-shadow);
    color: var(--accent-green);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    top: 24px;
}
.timeline-item:nth-child(odd) .timeline-badge {
    right: -22px;
}
.timeline-item:nth-child(even) .timeline-badge {
    left: -22px;
}
.timeline-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 30px;
    transition: var(--transition-normal);
}
.timeline-panel:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.05);
}
.timeline-title {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 10px;
}
.timeline-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Meme Tweet Gallery --- */
.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: start;
}
.meme-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}
.meme-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
}

/* Twitter Style Post */
.tweet-style {
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.08);
}
.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}
.tweet-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.tweet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tweet-user-info {
    display: flex;
    flex-direction: column;
}
.tweet-display-name {
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.95rem;
}
.tweet-display-name i {
    color: var(--accent-green);
    margin-left: 2px;
}
.tweet-handle {
    color: var(--text-gray);
    font-size: 0.8rem;
}
.tweet-logo {
    position: absolute;
    right: 0;
    top: 4px;
    color: var(--text-gray);
    font-size: 1.2rem;
}
.tweet-body {
    font-size: 1rem;
    line-height: 1.5;
    color: #e1e8ed;
}
.tweet-body p {
    margin-bottom: 12px;
}
.tweet-tagline {
    font-weight: 700;
    color: var(--accent-green);
}
.tweet-hashtags {
    color: var(--accent-green);
    font-size: 0.9rem;
}
.tweet-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 12px;
    margin-top: 12px;
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Classic meme style */
.meme-img-style {
    position: relative;
    border: 2px solid var(--border-color);
    aspect-ratio: 1;
}
.meme-img-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.meme-overlay-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: 'Impact', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    -webkit-text-stroke: 2px #000;
    text-shadow: 0 2px 4px #000;
    letter-spacing: 1px;
    padding: 10px;
    pointer-events: none;
}
.meme-overlay-text.top-text {
    top: 10px;
}
.meme-overlay-text.bottom-text {
    bottom: 10px;
}

/* Quote card */
.meme-quote-style {
    padding: 36px 30px;
    border-left: 4px solid var(--accent-green);
}
.quote-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quote-icon {
    font-size: 2.5rem;
    color: rgba(57, 255, 20, 0.2);
    margin-top: -10px;
}
.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-white);
}
.quote-author {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Footer & Social Links --- */
.footer {
    background: #040507;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 40px;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand .logo {
    margin-bottom: 20px;
}
.footer-desc {
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 480px;
    font-size: 0.95rem;
}
.footer-socials h4 {
    color: var(--text-white);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #10131a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-normal);
}
.social-icon:hover {
    background: var(--accent-green);
    color: #000;
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
    border-color: var(--accent-green);
}

.disclaimer-container {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    text-align: center;
}
.disclaimer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.disclaimer-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}
.copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-container, .tokenomics-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-tagline, .ca-widget {
        max-width: 100%;
    }
    .hero-buttons {
        width: 100%;
        justify-content: center;
    }
    .section-header.align-left {
        text-align: center;
    }
    .section-header.align-left .divider {
        margin-left: auto;
    }
    .tokenomics-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .tokenomics-quote {
        text-align: center;
        border-left: none;
        border-top: 2px solid var(--accent-green);
        padding-left: 0;
        padding-top: 20px;
    }
    .activity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-badge,
    .timeline-item:nth-child(even) .timeline-badge {
        left: 9px;
        right: auto;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-desc {
        margin: 0 auto;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide default nav menu */
    }
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile Menu Drawer style (toggled via JS) */
    .navbar.nav-open .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d0f14;
        border-bottom: 2px solid var(--accent-green);
        padding: 30px 24px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-badge {
        font-size: 0.8rem;
    }
    
    .btn-nav {
        display: none;
    }
    
    .mobile-overlay-buttons {
        display: flex;
    }
    
    .arcade-cabinet {
        width: 100%;
        border-bottom: 12px solid #283244;
    }
    .arcade-screen-container {
        height: 420px;
    }
    .arcade-controls {
        display: none; /* Hide joystick control on mobile, use buttons */
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .ca-address {
        font-size: 0.8rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
