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

html {
    height: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #5f9ba4;
    --secondary-color: #474b94;
    --accent-color: #8c60bb;
    --bg-color: #000;
    --text-color: #5f9ba4;
    --glow-color: #8c60bb;
    --warning-color: #ff6b35;
    --error-color: #ff3333;
    --success-color: #00ff41;
}

body {
    font-family: 'VT323', monospace;
    background:
        /* CRT scanlines pattern */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(95, 155, 164, 0.08) 2px,
            rgba(95, 155, 164, 0.08) 4px
        ),
        /* CRT phosphor glow */
        radial-gradient(ellipse at center, rgba(95, 155, 164, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 20%, rgba(140, 96, 187, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(71, 75, 148, 0.05) 0%, transparent 50%),
        /* Base CRT background */
        radial-gradient(ellipse at center, #001122 0%, #000 70%),
        linear-gradient(180deg, #000 0%, #111 50%, #000 100%);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    position: relative;

    /* CRT screen curvature and glow */
    box-shadow:
        inset 0 0 100px rgba(95, 155, 164, 0.1),
        inset 0 0 200px rgba(95, 155, 164, 0.03),
        inset 20px 20px 60px rgba(0, 0, 0, 0.6),
        inset -20px -20px 60px rgba(0, 0, 0, 0.6);

    /* Subtle screen effects */
    animation:
        flicker 0.15s infinite linear alternate,
        screenInterference 3s infinite ease-in-out;

    /* CRT color characteristics */
    filter:
        contrast(1.05)
        brightness(1.02)
        saturate(1.1);
}

/* Matrix Rain Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

/* CRT Monitor Container - Simplified */
.crt-monitor {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 2;
}

.crt-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 3;
}



/* Terminal Container */
.terminal-container {
    position: relative;
    z-index: 4;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

/* Header Section */
.terminal-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: 
        drop-shadow(0 0 10px var(--glow-color))
        drop-shadow(0 0 20px var(--glow-color))
        drop-shadow(0 0 30px var(--glow-color));
}

.motto-text {
    max-width: 400px;
    height: auto;
    filter: 
        drop-shadow(0 0 5px var(--primary-color))
        drop-shadow(0 0 10px var(--primary-color));
}

/* Terminal Output */
.terminal-output {
    flex: 1;
    font-size: 18px;
    line-height: 1.4;
    padding: 20px 0;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.prompt {
    color: var(--accent-color);
    margin-right: 10px;
    text-shadow: 0 0 5px var(--accent-color);
}

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

/* Boot Sequence */
.boot-sequence {
    margin: 30px 0;
    padding: 20px;
    border-left: 3px solid var(--primary-color);
    background: rgba(95, 155, 164, 0.05);
}

.boot-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.status-ok {
    color: var(--success-color);
    margin-right: 10px;
    text-shadow: 0 0 5px var(--success-color);
}

.status-warning {
    color: var(--warning-color);
    margin-right: 10px;
    text-shadow: 0 0 5px var(--warning-color);
}

.status-error {
    color: var(--error-color);
    margin-right: 10px;
    text-shadow: 0 0 5px var(--error-color);
}

/* Content Sections */
.content-section {
    margin: 40px 0;
    padding: 20px;
    border: 1px solid var(--primary-color);
    background: rgba(95, 155, 164, 0.03);
    border-radius: 5px;
    /* Ensure content doesn't interfere with global CRT effects */
    position: relative;
    z-index: 4;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px var(--accent-color);
}

.content-block p {
    margin-bottom: 10px;
    font-size: 20px;
}

.emphasis {
    font-size: 24px !important;
    font-weight: bold;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    background: rgba(71, 75, 148, 0.1);
}

.spec-label {
    color: var(--text-color);
}

.spec-value {
    color: var(--accent-color);
    font-weight: bold;
}

.contract-address {
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    word-break: break-all;
}

.contract-address:hover {
    color: var(--glow-color);
    text-shadow: 0 0 10px var(--glow-color);
}

/* Movement Text */
.movement-text {
    text-align: center;
    font-size: 22px;
}

.movement-line {
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.movement-line:nth-child(1) { animation-delay: 0.2s; }
.movement-line:nth-child(2) { animation-delay: 0.4s; }
.movement-line:nth-child(3) { animation-delay: 0.6s; }
.movement-line:nth-child(4) { animation-delay: 0.8s; }
.movement-line:nth-child(5) { animation-delay: 1.0s; }
.movement-line:nth-child(6) { animation-delay: 1.2s; }

.final-line {
    font-size: 28px;
    font-weight: bold;
}

/* Clicker Game Styles */
.clicker-game-panel {
    margin-top: 30px;
    padding: 25px;
    border: 2px solid var(--accent-color);
    background:
        linear-gradient(135deg, rgba(95, 155, 164, 0.1) 0%, rgba(140, 96, 187, 0.1) 100%),
        rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow:
        0 0 30px rgba(140, 96, 187, 0.3),
        inset 0 0 20px rgba(95, 155, 164, 0.1);
    animation: slideDown 0.5s ease-out;
    backdrop-filter: blur(5px);
}

.clicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--primary-color);
}

.clicker-title {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
    margin: 0;
}

.clicker-close {
    background: none;
    border: 2px solid var(--error-color);
    color: var(--error-color);
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'VT323', monospace;
}

.clicker-close:hover {
    background: var(--error-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--error-color);
}

.clicker-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    background: rgba(71, 75, 148, 0.2);
    border-radius: 5px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-value {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: var(--glow-color);
    text-shadow: 0 0 5px var(--glow-color);
}

.stat-unit {
    font-size: 12px;
    color: var(--text-color);
    margin-left: 3px;
}

.clicker-main {
    text-align: center;
    margin-bottom: 25px;
}

.clicker-coin-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.clicker-coin {
    position: relative;
    width: 120px;
    height: 120px;
    border: 3px solid var(--glow-color);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 96, 187, 0.3) 0%, rgba(95, 155, 164, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow:
        0 0 20px rgba(140, 96, 187, 0.5),
        inset 0 0 20px rgba(140, 96, 187, 0.2);
    animation: coinPulse 2s infinite ease-in-out;
}

.clicker-coin:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(140, 96, 187, 0.7),
        inset 0 0 30px rgba(140, 96, 187, 0.3);
}

.clicker-coin:active {
    transform: scale(0.95);
    animation: coinClick 0.1s ease-out;
}

.clicker-coin-image {
    width: 80px;
    height: 80px;
    filter:
        drop-shadow(0 0 10px var(--glow-color))
        drop-shadow(0 0 20px var(--glow-color));
}

.click-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 96, 187, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.click-counter {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: var(--success-color);
    text-shadow: 0 0 10px var(--success-color);
    opacity: 0;
    pointer-events: none;
    font-family: 'Orbitron', monospace;
}

.clicker-instructions {
    margin-top: 15px;
}

.instruction-text {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.warning-text {
    font-size: 14px;
    color: var(--warning-color);
    text-shadow: 0 0 5px var(--warning-color);
    animation: blink 2s infinite;
}

.clicker-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--glow-color) 100%);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(140, 96, 187, 0.5);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-color);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.action-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: 2px solid var(--accent-color);
    color: var(--bg-color);
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px rgba(140, 96, 187, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(140, 96, 187, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

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

.action-btn:active {
    transform: translateY(0);
    box-shadow:
        0 0 15px rgba(140, 96, 187, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

.btn-text {
    font-weight: 900;
    letter-spacing: 1px;
}

.chart-btn:hover {
    background: linear-gradient(135deg, #00ff41 0%, var(--accent-color) 100%);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #1da1f2 0%, var(--accent-color) 100%);
}

/* Terminal Input */
.terminal-input {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
}

.cursor {
    color: var(--glow-color);
    font-size: 20px;
    margin-left: 5px;
}

/* Utility Classes */
.highlight {
    color: var(--glow-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--glow-color);
}

.glow {
    text-shadow: 
        0 0 5px var(--glow-color),
        0 0 10px var(--glow-color),
        0 0 15px var(--glow-color),
        0 0 20px var(--glow-color);
}

.status-active {
    color: var(--success-color);
    text-shadow: 0 0 5px var(--success-color);
}

/* Enhanced CRT Animations */
@keyframes flicker {
    0% { opacity: 1; }
    96% { opacity: 1; }
    97% { opacity: 0.92; }
    98% { opacity: 1; }
    99% { opacity: 0.96; }
    100% { opacity: 1; }
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(3px); }
}

@keyframes scanlineFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes screenInterference {
    0%, 100% {
        filter: contrast(1.1) brightness(1.05) saturate(1.2);
    }
    25% {
        filter: contrast(1.15) brightness(1.1) saturate(1.3) hue-rotate(1deg);
    }
    50% {
        filter: contrast(1.05) brightness(1.0) saturate(1.1) hue-rotate(-1deg);
    }
    75% {
        filter: contrast(1.2) brightness(1.08) saturate(1.25) hue-rotate(0.5deg);
    }
}

@keyframes phosphorGlow {
    0% {
        box-shadow:
            inset 0 0 100px rgba(95, 155, 164, 0.15),
            inset 0 0 200px rgba(95, 155, 164, 0.05),
            0 0 150px rgba(0, 0, 0, 0.9),
            0 0 300px rgba(95, 155, 164, 0.3),
            0 0 500px rgba(95, 155, 164, 0.1);
    }
    100% {
        box-shadow:
            inset 0 0 120px rgba(95, 155, 164, 0.2),
            inset 0 0 250px rgba(95, 155, 164, 0.08),
            0 0 180px rgba(0, 0, 0, 0.9),
            0 0 350px rgba(95, 155, 164, 0.35),
            0 0 550px rgba(95, 155, 164, 0.15);
    }
}

@keyframes screenNoise {
    0% { opacity: 1; }
    10% { opacity: 0.98; }
    20% { opacity: 1; }
    30% { opacity: 0.99; }
    40% { opacity: 1; }
    50% { opacity: 0.97; }
    60% { opacity: 1; }
    70% { opacity: 0.99; }
    80% { opacity: 1; }
    90% { opacity: 0.98; }
    100% { opacity: 1; }
}

@keyframes phosphorPersistence {
    0%, 100% {
        filter: blur(0px) brightness(1);
    }
    50% {
        filter: blur(0.2px) brightness(1.05);
    }
}

/* Clicker Game Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes coinPulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(140, 96, 187, 0.5),
            inset 0 0 20px rgba(140, 96, 187, 0.2);
    }
    50% {
        box-shadow:
            0 0 30px rgba(140, 96, 187, 0.7),
            inset 0 0 30px rgba(140, 96, 187, 0.3);
    }
}

@keyframes coinClick {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes counterPop {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px) scale(1);
    }
}

@keyframes screenShake {
    0%, 100% { transform: perspective(1000px) rotateX(1deg) translateX(0); }
    25% { transform: perspective(1000px) rotateX(1deg) translateX(-2px); }
    75% { transform: perspective(1000px) rotateX(1deg) translateX(2px); }
}

/* Self-Destruct Sequence Animations */
@keyframes destructionGlitch {
    0% {
        background: #000;
        filter: none;
    }
    10% {
        background: #ff0000;
        filter: contrast(3) brightness(2) saturate(0);
    }
    20% {
        background: #000;
        filter: invert(1) hue-rotate(180deg);
    }
    30% {
        background: #ffffff;
        filter: contrast(5) brightness(3);
    }
    40% {
        background: #ff0000;
        filter: blur(2px) contrast(2);
    }
    50% {
        background: #000;
        filter: sepia(1) hue-rotate(90deg);
    }
    60% {
        background: #00ff00;
        filter: contrast(4) saturate(3);
    }
    70% {
        background: #ff0000;
        filter: invert(1) blur(1px);
    }
    80% {
        background: #000;
        filter: contrast(10) brightness(0.1);
    }
    90% {
        background: #ffffff;
        filter: blur(5px);
    }
    100% {
        background: #000;
        filter: none;
    }
}

@keyframes destructionShake {
    0% { transform: perspective(1000px) rotateX(1deg) translateX(0) translateY(0); }
    10% { transform: perspective(1000px) rotateX(5deg) translateX(-10px) translateY(-5px) rotateZ(1deg); }
    20% { transform: perspective(1000px) rotateX(-3deg) translateX(8px) translateY(3px) rotateZ(-2deg); }
    30% { transform: perspective(1000px) rotateX(7deg) translateX(-15px) translateY(-8px) rotateZ(3deg); }
    40% { transform: perspective(1000px) rotateX(-5deg) translateX(12px) translateY(6px) rotateZ(-1deg); }
    50% { transform: perspective(1000px) rotateX(10deg) translateX(-20px) translateY(-10px) rotateZ(4deg); }
    60% { transform: perspective(1000px) rotateX(-8deg) translateX(18px) translateY(9px) rotateZ(-3deg); }
    70% { transform: perspective(1000px) rotateX(15deg) translateX(-25px) translateY(-12px) rotateZ(5deg); }
    80% { transform: perspective(1000px) rotateX(-12deg) translateX(22px) translateY(11px) rotateZ(-4deg); }
    90% { transform: perspective(1000px) rotateX(20deg) translateX(-30px) translateY(-15px) rotateZ(6deg); }
    100% { transform: perspective(1000px) rotateX(1deg) translateX(0) translateY(0) rotateZ(0deg); }
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Effect Classes */
.blink {
    animation: blink 1s infinite;
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(20) 1s forwards;
    width: 0;
}

.glitch-effect:hover {
    animation: glitch 0.3s ease-in-out;
}

.glitch-text {
    position: relative;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text:hover::before {
    animation: glitch 0.3s ease-in-out;
    color: var(--error-color);
    z-index: -1;
}

.glitch-text:hover::after {
    animation: glitch 0.3s ease-in-out reverse;
    color: var(--primary-color);
    z-index: -2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .crt-screen {
        padding: 20px;
        width: 98%;
        height: 98%;
    }

    .terminal-output {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .logo {
        max-width: 120px;
    }

    .motto-text {
        max-width: 300px;
    }

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

    .spec-item {
        flex-direction: column;
        gap: 5px;
    }

    .contract-address {
        font-size: 12px;
    }

    .movement-text {
        font-size: 18px;
    }

    .final-line {
        font-size: 22px;
    }

    /* Clicker Game Mobile Styles */
    .clicker-game-panel {
        padding: 15px;
        margin-top: 20px;
    }

    .clicker-title {
        font-size: 16px;
    }

    .clicker-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .clicker-coin {
        width: 100px;
        height: 100px;
    }

    .clicker-coin-image {
        width: 70px;
        height: 70px;
    }

    /* Action Buttons Mobile */
    .action-buttons {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }

    .action-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .crt-screen {
        padding: 15px;
        border-radius: 10px;
    }

    .terminal-output {
        font-size: 14px;
    }

    .section-title {
        font-size: 18px;
    }

    .logo {
        max-width: 100px;
    }

    .motto-text {
        max-width: 250px;
    }

    .content-block p {
        font-size: 16px;
    }

    .emphasis {
        font-size: 18px !important;
    }

    .movement-text {
        font-size: 16px;
    }

    .final-line {
        font-size: 20px;
    }

    /* Clicker Game Small Mobile Styles */
    .clicker-game-panel {
        padding: 10px;
        margin-top: 15px;
    }

    .clicker-title {
        font-size: 14px;
    }

    .clicker-coin {
        width: 80px;
        height: 80px;
    }

    .clicker-coin-image {
        width: 60px;
        height: 60px;
    }

    .stat-value {
        font-size: 16px;
    }

    .click-counter {
        font-size: 20px;
    }

    /* Action Buttons Small Mobile */
    .action-btn {
        padding: 10px 15px;
        font-size: 12px;
    }

    .btn-icon {
        font-size: 16px;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .scanlines {
        background-size: 100% 2px;
    }
}

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

    .scanlines {
        animation: none;
    }

    .crt-screen {
        animation: none;
    }
}

/* Print Styles */
@media print {
    #matrix-canvas,
    .scanlines,
    .crt-effects {
        display: none;
    }

    .crt-screen {
        background: white;
        color: black;
        box-shadow: none;
        border: 1px solid black;
    }
}
