/* Meme Zone Styles */
#meme-zone {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

#meme-zone h2 {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    margin-bottom: 1.5rem;
}

#meme-zone p {
    color: #fff;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.meme-content {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.meme-content h3 {
    color: #00ff00;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.meme-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.meme-image:hover {
    transform: scale(1.02);
}

.meme-content p {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Loading State */
.meme-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid transparent;
    border-top-color: #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.meme-loading p {
    color: #00ff00;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Error State */
.meme-error {
    padding: 2rem;
    border: 2px solid #ff0000;
    border-radius: 8px;
}

.meme-error p {
    color: #ff0000;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* New Meme Button */
#new-meme-button {
    background: linear-gradient(45deg, #00ff00, #00ffff);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

#new-meme-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

#new-meme-button:active {
    transform: translateY(0);
}

#new-meme-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(45deg, #008800, #008888);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #meme-zone {
        padding: 1rem;
        margin: 1rem auto;
    }

    .meme-content {
        padding: 0.8rem;
    }

    #new-meme-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #0d0d0d;
    color: #0f0;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative; /* Needed for the pseudo-element overlay */
    background-image: url('images/potato-background.jpg'); /* Set background image */
    background-size: cover; /* Cover the entire viewport */
    background-position: center center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* Keep background fixed during scroll */
    padding-bottom: 270px; /* Space for fixed terminal */
    /* Animated background grid */
    background-image: 
        linear-gradient(45deg, #ff00ff40 25%, transparent 25%), 
        linear-gradient(-45deg, #ff00ff40 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #00ffff40 75%),
        linear-gradient(-45deg, transparent 75%, #00ffff40 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: bg-move 1s linear infinite;
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAPdJREFUSEvtlb0NwjAQhV8nQAmggFABpIRwEaAENAClhIkARwgOARoACnAYhBQQyQJtOYtklWTrl96/7T6bHQBxT5KcAjyAI5DXAHqS7GkAT+BxDF4FnoB8KeATSDPJ/k+AxyAfM/ALJNvkhQdYJQBc0Qp/AMuSLgaY5aP1B1jpbQDPJNsdwBJsA/gDMg3QZIM0nSgA8kXgHkgzpQFskO8CeAVyJd0/AEdk+4BqgAsgwzQBJ8k+AF3AA6isdrQTnAEsJkGWm/cBfAF5gKEPGE+AW8kXQGLEBDIC/EWd/KPcD2+kH8FrSFXAHciXAL7J/kAM2AnY6AIAAAAASUVORK5CYII=') 12 0, auto; /* Rocket cursor */
}

@keyframes bg-move {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

/* Background Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75); /* Dark overlay with 75% opacity */
    z-index: -1; /* Place overlay behind content but above background image */
}

/* Particles Container */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1; /* Behind content */
}

/* --- Preloader Styles --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999; /* Start on top */
    color: #00ff00;
    font-family: 'Courier New', monospace;
    overflow: hidden; /* Keep hidden to contain rain */
}

#preloader-text-content {
    position: absolute; /* Position text content absolutely */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text content */
    z-index: 1; /* Ensure text is above matrix rain initially */
    text-align: center;
    padding: 2rem;
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

.loader-text {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    overflow: hidden; /* Hide text before animation */
    border-right: .15em solid #00ff00; /* Simulate typewriter cursor */
    white-space: pre-wrap; /* Preserve line breaks and spaces */
    width: 0; /* Start with zero width */
    animation: 
        matrix-type 3s steps(60, end) forwards, /* Typing animation */
        blink-caret .75s step-end infinite;
    position: relative; /* Needed for glitch pseudo-elements */
}

.progress-bar {
    width: 300px;
    height: 5px;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 2.5px;
    overflow: hidden;
    margin: 2rem auto 0;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: #00ff00;
    border-radius: 2.5px;
    transition: width 0.5s ease;
    width: 0; /* Start at 0 width */
}

/* Matrix-style falling characters */
.preloader .matrix-fall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Rain behind text */
    overflow: hidden;
}

.matrix-char {
    position: absolute;
    top: -20px; /* Start above the screen */
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    user-select: none;
    animation: matrix-fall linear infinite; /* Duration set by JS */
    opacity: 0.8;
}

@keyframes matrix-fall {
    to {
        transform: translateY(105vh); /* Fall slightly off screen */
        opacity: 0;
    }
}

/* Glitch effect for preloader text */
.loader-text::before,
.loader-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000; /* Match background */
    overflow: hidden;
    color: #00ff00;
    white-space: pre-wrap; /* Ensure line breaks are copied */
}

.loader-text::before {
    left: 2px;
    text-shadow: -1px 0 red;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.loader-text::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%); transform: translate(-2px, 0); }
  10% { clip-path: polygon(0 15%, 100% 15%, 100% 18%, 0 18%); transform: translate(2px, 0); }
  /* ... add more steps if needed */
  100% { clip-path: polygon(0 25%, 100% 25%, 100% 28%, 0 28%); transform: translate(-2px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip-path: polygon(0 7%, 100% 7%, 100% 10%, 0 10%); transform: translate(2px, 0); }
  10% { clip-path: polygon(0 22%, 100% 22%, 100% 25%, 0 25%); transform: translate(-2px, 0); }
  /* ... add more steps if needed */
  100% { clip-path: polygon(0 60%, 100% 60%, 100% 63%, 0 63%); transform: translate(2px, 0); }
}

/* Matrix-style typing animation */
@keyframes matrix-type {
    from { width: 0; }
    to { width: 100%; }
}

/* Typewriter cursor animation */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #00ff00; }
}

/* Body loading state */
body.loading main {
    display: none;
}

body.loaded main {
    display: block;
    opacity: 0; /* Start faded out */
    animation: fade-in 0.8s ease-out forwards;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- General Content Styles --- */
main {
    padding: 2rem;
}

section {
    background-color: rgba(20, 20, 20, 0.7);
    margin-bottom: 2rem;
    padding: 2rem;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 15px #00ffff80;
}

section h2 {
    color: #ff00ff;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    text-shadow: 0 0 5px #ff00ff;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* --- Header and Navigation --- */
header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.7); /* Slightly transparent header */
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    z-index: 1000;
    border-bottom: 1px solid #0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ADDED: Logo Styling */
header img.logo {
    height: 50px; /* Adjust height as needed */
    width: auto;
    display: block; /* Remove extra space below image */
}

/* REMOVE/REPLACE: Old H1 Styling */
/* header h1 {
    font-family: 'Press Start 2P', cursive;
    color: #0f0;
    font-size: 2em;
    text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
    margin: 0;
} */

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

nav a:hover, nav a.active {
    color: #ff00ff;
    border-bottom-color: #ff00ff;
}

/* --- Hero Section --- */
#hero {
    text-align: center;
    border-color: #ffff00;
    box-shadow: 0 0 20px #ffff0080;
}

#hero h2 {
    font-size: 2rem;
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
    animation: pulse 1.5s infinite alternate;
    min-height: 2.5em; /* Space for typed text */
    display: inline-block; /* Needed for Typed.js cursor */
}

@keyframes pulse {
    from { text-shadow: 0 0 5px #ffff00; }
    to { text-shadow: 0 0 20px #ff00ff, 0 0 30px #00ffff; }
}

/* Style Typed.js cursor */
.typed-cursor{
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
    color: #ffff00;
    font-weight: bold;
}
@keyframes typedjsBlink{
    50% { opacity: 0.0; }
}

/* --- CTA Button --- */
.cta-button {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    animation: gradient-cycle 3s ease infinite, button-glow 1.5s infinite alternate;
    border: none;
    color: #111;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px #ff00ff80, 0 0 15px #00ffff80;
    transition: box-shadow 0.3s ease;
    display: inline-block;
    margin-top: 1rem; /* Add some margin */
}

.cta-button:hover {
    box-shadow: 0 0 20px #ff00ff, 0 0 30px #00ffff; /* Enhanced glow on hover */
}

.cta-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    animation: none; /* Disable animations when disabled */
}

@keyframes gradient-cycle {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes button-glow {
    from { box-shadow: 0 0 10px #ff00ff80, 0 0 15px #00ffff80; }
    to { box-shadow: 0 0 15px #ff00ff, 0 0 25px #00ffff; }
}

/* --- Tokenomics Section --- */
#tokenomics .tokenomics-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.tokenomics-image-container {
    flex: 1 1 400px; /* Allow image container to grow/shrink */
    position: relative;
    min-width: 300px;
}

.tokenomics-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #111; /* Placeholder bg */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

/* Style for missing image */
.tokenomics-image img[alt]:not([src]),
.tokenomics-image img:error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-align: center;
    content: attr(alt); /* Show alt text */
}

.tokenomics-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    display: block;
}

.tokenomics-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    border-radius: 8px;
    padding: 1rem;
    width: 300px;
    max-width: 90%;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.tokenomics-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
}

.tokenomics-overlay h3 {
    color: #00ff00;
    margin: 0 0 1rem 0;
    text-align: center;
}

.tokenomics-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #00ff00;
    font-weight: 500;
}

.stat-value {
    color: #fff;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tokenomics-overlay {
        width: 90%;
        bottom: 10px;
        right: 5%;
        padding: 0.8rem;
    }

    .stat-item {
        padding: 0.4rem;
    }
}

.tokenomics-details {
    flex: 1 1 350px; /* Allow details to grow/shrink */
    padding: 1.5rem;
    background-color: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
}

.tokenomics-details h3 {
    margin-top: 0;
    color: #00ff00;
    text-shadow: 0 0 3px #00ff00;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.tokenomics-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tokenomics-details li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tokenomics-details strong {
    color: #adff2f; /* Brighter green */
    display: block;
    margin-bottom: 0.25rem;
}

/* Tokenomics Chart Styles */
#tokenomics-chart-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

#tokenomics-chart-container h3 {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    margin-bottom: 1rem;
    text-align: center;
}

#tokenomicsChart {
    width: 100% !important;
    height: 300px !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Chart.js Custom Styles */
@keyframes chart-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.canvasjs-chart-credit {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #tokenomics-chart-container {
        padding: 0.8rem;
        margin-top: 0.5rem;
    }

    #tokenomicsChart {
        height: 250px !important;
    }
}

/* --- Roadmap Section --- */
#roadmap ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

#roadmap li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

#roadmap li::before {
    content: '✔';
    color: #00ffff;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Community Section --- */
#community {
    text-align: center; /* Center align the content */
}

.social-links {
    margin: 1.5rem 0; /* Add some spacing */
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: #00ff00; /* Green icon color */
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #ff00ff; /* Magenta on hover */
    transform: scale(1.2); /* Slightly enlarge icon on hover */
}

.social-links i {
    font-size: 32px; /* Control icon size using font-size */
}

/* Video Section */
.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    aspect-ratio: 16/9;
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        margin: 1rem auto;
    }
}

/* Audio Controls */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.audio-btn {
    background: none;
    border: none;
    color: #00ff00;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.audio-btn:hover {
    color: #00ff00;
    transform: scale(1.1);
}

.volume-slider {
    width: 100px;
    height: 5px;
    -webkit-appearance: none;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 2.5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
}

/* Terminal Styles */
.terminal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 270px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #00ff00;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid #00ff00;
}

.terminal-buttons {
    display: flex;
    gap: 5px;
}

.terminal-button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff0000;
}

.terminal-button.yellow {
    background: #ffff00;
}

.terminal-button.green {
    background: #00ff00;
}

.terminal-content {
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    white-space: pre-wrap;
}

.terminal-input {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-top: 2px solid #00ff00;
}

.prompt {
    color: #00ff00;
    margin-right: 5px;
}

#terminal-input-field {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #00ff00;
    color: #00ff00;
    font-family: inherit;
    padding: 5px;
    outline: none;
    width: 100%;
}

#terminal-input-field::placeholder {
    color: #00ff00;
    opacity: 0.5;
}

.tx-buy {
    color: #00ff00;
}

.tx-sell {
    color: #ff0000;
}

.tx-large {
    font-weight: bold;
}

/* Audio Controls */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.audio-btn {
    background: none;
    border: none;
    color: #00ff00;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.audio-btn:hover {
    color: #00ff00;
    transform: scale(1.1);
}

.volume-slider {
    width: 100px;
    height: 5px;
    -webkit-appearance: none;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 2.5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #00ff00;
    border-radius: 50%;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background-color: rgba(10, 10, 10, 0.6);
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    margin-top: 2rem;
    position: relative; /* Needed if terminal overlaps */
    z-index: 1; /* Ensure footer is above particles but below terminal if overlapping */
    color: rgba(0, 255, 0, 0.7);
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* BTC Rain Styles */
.btc-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.btc-bit {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #00ff00;
    opacity: 0.8;
    animation: btc-fall linear infinite;
    will-change: transform;
}

@keyframes btc-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

#meme-zone {
    text-align: center;
}

#meme-container {
    margin: 20px auto;
    max-width: 500px;
    min-height: 200px;
    background-color: rgba(30, 30, 30, 0.5);
    padding: 15px;
    border: 1px dashed #ff00ff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#meme-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto 0;
    border: 1px solid #00ffff;
}

#meme-container p {
    font-style: italic;
}
