:root {
    --primary-bg: #111;
    --card-bg: #222;
    --accent-color: #f27a21;
    --text-color: #eee;
    --button-bg: #444;
    --button-hover: #555;
    --price-color: #ffcc00;
    --price-decrease: #ff4444;
    --border-color: #333;
    --modal-bg: #111;
    --input-bg: #333;
    --fire-color-1: #ff4500;
    --fire-color-2: #ff8c00;
    --fire-color-3: #ffcc00;
    --pixelated-border: 4px solid #444;
    --pixel-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-radius: 0;
    --glow: 0 0 15px rgba(255, 120, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Press Start 2P', monospace;
    transition-timing-function: steps(5) !important;
    max-width: 100%;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    image-rendering: pixelated;
    background-image: 
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
        linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1a1a1a 75%),
        linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
    background-size: 4px 4px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding-bottom: 60px;
}

.scene {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 20px;
    max-width: 100vw;
    box-sizing: border-box;
}

.top-panel {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 20px;
    border-bottom: 2px solid #ff8000;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.logo {
    height: 60px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--accent-color)) brightness(1.3);
    animation: logo-pulse 1.5s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 15px var(--accent-color)) brightness(1.2);
    }
    50% { 
        filter: drop-shadow(0 0 25px var(--accent-color)) brightness(1.4);
    }
}

@keyframes logo-float {
    0%, 100% { 
        transform: translateY(0px);
        filter: drop-shadow(0 0 10px var(--accent-color));
    }
    50% { 
        transform: translateY(-8px);
        filter: drop-shadow(0 0 15px var(--accent-color)) brightness(1.1);
    }
}

.top-panel-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.user-balance {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 15px;
}

.balance-display {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 5px 10px;
    border-radius: 0;
    border: 3px solid #444;
    box-shadow: var(--pixel-shadow);
    margin-left: auto;
}

.balance-amount {
    font-weight: bold;
    font-size: 18px;
    margin-right: 5px;
    font-family: 'Courier New', monospace;
}

.balance-currency {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.replenish-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    border: 3px solid #333;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.replenish-btn:hover {
    background-color: #ff8800;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

.tab-content {
    padding: 20px;
    transition: opacity 0.3s ease;
}

.tab-content.hidden {
    display: none;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
    padding: 15px;
    position: relative;
}

.card {
    background-color: var(--card-bg);
    border: 4px solid #444;
    width: 100%; 
    margin: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
    transform: translateZ(0);
    box-shadow: var(--pixel-shadow);
    image-rendering: pixelated;
    backface-visibility: visible;
}

.card:hover {
    box-shadow: 0 0 20px rgba(242, 122, 33, 0.4);
    transform: translateZ(0.1px);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-bottom: 2px solid #444;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: pixelated;
}

.card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-content {
    padding: 10px;
    background-color: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.card-info {
    margin-bottom: 10px;
}

.card h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: auto;
}

.fire-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    overflow: hidden;
}

.fire-container.active {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.fire-container.intensity-low .fire-particle {
    opacity: 0.7;
    height: 6px;
    width: 6px;
}

.fire-container.intensity-medium .fire-particle {
    opacity: 0.8;
    height: 8px;
    width: 8px;
}

.fire-container.intensity-high .fire-particle {
    opacity: 0.9;
    height: 10px;
    width: 10px;
}

.fire-container.intensity-max .fire-particle {
    opacity: 1;
    height: 12px;
    width: 12px;
    box-shadow: 0 0 8px currentColor;
}

.fire-group {
    position: relative;
    width: 100%;
    height: 100%;
}

.fire-particle {
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background-color: #ff4500;
    opacity: 0;
    animation: rise-pixel 2s ease-out infinite;
    will-change: transform, opacity;
    transition: height 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
    border-radius: 2px;
}

@keyframes rise-pixel {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
        opacity: 0;
        border-radius: 2px;
    }

    5% {
        opacity: 0.9;
    }

    15% {
        opacity: 1;
        border-radius: 50%;
    }

    25% {
        transform: translateY(-80px) translateX(-5px) scale(1.1) rotate(5deg);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-160px) translateX(3px) scale(1.2) rotate(-3deg);
        opacity: 0.8;
        border-radius: 60%;
    }

    75% {
        transform: translateY(-240px) translateX(-2px) scale(1.0) rotate(2deg);
        opacity: 0.6;
        border-radius: 70%;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-350px) translateX(6px) scale(0.7) rotate(-2deg);
        opacity: 0;
        border-radius: 80%;
    }
}

.fire-container.intensity-max .fire-particle {
    animation-name: rise-pixel-max;
    animation-duration: 1.5s;
}

@keyframes rise-pixel-max {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
        opacity: 0;
        border-radius: 2px;
        filter: blur(0px) brightness(1);
    }

    3% {
        opacity: 1;
        filter: blur(0px) brightness(1.2);
    }

    10% {
        opacity: 1;
        border-radius: 40%;
        filter: blur(0.5px) brightness(1.3);
    }

    20% {
        transform: translateY(-70px) translateX(-6px) scale(1.3) rotate(8deg);
        opacity: 1;
        filter: blur(0.5px) brightness(1.4);
    }

    35% {
        transform: translateY(-140px) translateX(4px) scale(1.4) rotate(-5deg);
        opacity: 0.95;
        border-radius: 60%;
        filter: blur(1px) brightness(1.3);
    }

    50% {
        transform: translateY(-210px) translateX(-3px) scale(1.3) rotate(3deg);
        opacity: 0.85;
        border-radius: 70%;
        filter: blur(1.5px) brightness(1.2);
    }

    70% {
        transform: translateY(-280px) translateX(7px) scale(1.1) rotate(-4deg);
        opacity: 0.7;
        filter: blur(2px) brightness(1.1);
    }

    85% {
        opacity: 0.4;
        filter: blur(2.5px) brightness(1);
    }

    100% {
        transform: translateY(-380px) translateX(-4px) scale(0.6) rotate(6deg);
        opacity: 0;
        border-radius: 90%;
        filter: blur(3px) brightness(0.8);
    }
}

.fire-particle.orange {
    background-color: var(--fire-color-2);
    box-shadow: 0 0 4px rgba(255, 140, 0, 0.6);
}

.fire-particle.yellow {
    background-color: var(--fire-color-3);
    box-shadow: 0 0 6px rgba(255, 204, 0, 0.8);
}

.fire-particle.red {
    background-color: var(--fire-color-1);
    box-shadow: 0 0 5px rgba(255, 69, 0, 0.7);
}

.fire-container.intensity-high .fire-particle,
.fire-container.intensity-max .fire-particle {
    filter: blur(0.5px);
}

.fire-container.intensity-max .fire-particle.red {
    background: radial-gradient(circle, #ff3300 0%, #ff4500 50%, #cc3300 100%);
    box-shadow: 0 0 12px #ff3300, 0 0 20px rgba(255, 51, 0, 0.3);
}

.fire-container.intensity-max .fire-particle.orange {
    background: radial-gradient(circle, #ff7800 0%, #ff8c00 50%, #e6690a 100%);
    box-shadow: 0 0 12px #ff7800, 0 0 20px rgba(255, 120, 0, 0.3);
}

.fire-container.intensity-max .fire-particle.yellow {
    background: radial-gradient(circle, #ffcc00 0%, #ffdd44 50%, #e6b800 100%);
    box-shadow: 0 0 12px #ffcc00, 0 0 20px rgba(255, 204, 0, 0.3);
}

.fire-container.intensity-low .fire-particle {
    animation-duration: 2.5s;
}

.fire-container.intensity-medium .fire-particle {
    animation-duration: 2s;
}

.fire-container.intensity-high .fire-particle {
    animation-duration: 1.8s;
}

.fire-container.intensity-max .fire-particle {
    animation-duration: 1.5s;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    color: var(--text-primary);
    height: 60px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.loader.initial-loader {
    height: 200px;
    background: var(--card-bg);
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    margin: 40px auto;
    flex-direction: column;
    gap: 20px;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    background-image: url('/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: float 2s ease-in-out infinite;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px);
        filter: drop-shadow(0 0 10px var(--accent-color));
    }
    50% { 
        transform: translateY(-15px);
        filter: drop-shadow(0 0 15px var(--accent-color)) brightness(1.2);
    }
}

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

.loading-text {
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    text-align: center;
    animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    animation: loader-shine 1.5s infinite;
}

@keyframes loader-shine {
    100% {
        left: 100%;
    }
}

.bump-price {
    font-weight: bold;
    font-size: 18px;
    color: var(--price-color);
    transition: color 0.5s ease;
}

.bump-price.price-decreased {
    animation: price-flash 1s ease;
}

@keyframes price-flash {
    0% {
        color: white;
        text-shadow: 0 0 10px white;
    }
    50% {
        color: var(--price-decrease);
        text-shadow: 0 0 5px var(--price-decrease);
    }
    100% {
        color: var(--price-color);
        text-shadow: none;
    }
}

.price-button-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    padding: 15px;
    border: 3px solid #444;
    margin-top: 10px;
}

.prev-price, .next-price {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    padding: 8px 8px;
    margin: 0 4px;
    color: #b3e5fc;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 125, 150, 0.3);
    border-radius: 4px;
    transition: all 0.2s;
}

.prev-price {
    color: #ffcc80;
    background-color: rgba(230, 150, 0, 0.2);
}

.next-price {
    color: #80deea;
    background-color: rgba(0, 150, 136, 0.2);
}

.prev-price:hover, .next-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fire-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    transition: all 0.2s ease;
    text-align: center;
    border: 3px solid #333;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    image-rendering: pixelated;
}

.fire-button:hover {
    background-color: #ff8800;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #111;
    max-height:90vh;
    overflow-y:auto;
    padding: 30px;
    border: 5px solid #444;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    will-change: transform, opacity;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    background-color: #333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #444;
}

.close-modal:hover {
    color: white;
    background-color: #444;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
    text-shadow: 0 0 5px var(--accent-color);
}

.input-container label {
    display: block;
    margin-bottom: 3px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.token-input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 3px solid #444;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 16px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.token-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.slider-container {
    position: relative;
    padding: 10px 0 25px;
}

.token-slider {
    width: 100%;
    height: 10px;
    background: #333;
    outline: none;
    margin: 10px 0;
    border: 2px solid #444;
}

.token-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    cursor: pointer;
    border: 2px solid #d86500;
}

.token-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    cursor: pointer;
    border: 2px solid #d86500;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cost-breakdown {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border: 3px solid #444;
    margin-bottom: 25px;
}

.cost-breakdown h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-align: center;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cost-value {
    color: var(--text-primary);
    font-weight: 600;
}

.total-cost {
    display: flex;
    justify-content: space-between;
    padding: 12px 0 4px;
    font-weight: 700;
}

.total-cost .cost-label {
    color: var(--text-primary);
}

.total-cost .cost-value {
    color: var(--accent-color);
}

.purchase-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    border: 3px solid #d86500;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.purchase-btn:hover {
    background-color: #ff8800;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.test-notice {
    background-color: rgba(0, 150, 255, 0.1);
    border: 3px solid #0088cc;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    animation: notice-pulse 2s ease-in-out infinite;
}

.test-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.test-notice-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: icon-bounce 1.5s ease-in-out infinite;
}

.test-notice-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 136, 204, 0.5);
    font-weight: bold;
}

@keyframes notice-pulse {
    0%, 100% {
        border-color: #0088cc;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    }
    50% {
        border-color: #00aaff;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 136, 204, 0.3);
    }
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .test-notice {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .test-notice-text {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    .test-notice-icon {
        font-size: 16px;
    }
}

.tv-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
    overflow: hidden;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0.1) 1px,
        rgba(0, 0, 0, 0.1) 2px
    );
    pointer-events: none;
    z-index: 12;
    opacity: 0.3;
}

.noise {
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QMaAyYJbGMsZAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAADqSURBVGje7ZhBDoMwDATXqP//WeWWHvq0QhGpE9vZXLysRoHFjjGAqenUSTgSjkTi+ixM7gXcp3vl9s6XZYXfnWEyA+rWmqWvjMBBmUTDDMjFRUrA3kSNhBXIxUVKwKFEjYSPQS4uUgIGiRoJT4NcXKQEHE3Uj2U/fAXk4iIloCRRI+FvIBcXKQFliRoJL0EuLlICyhM1El6GXFykBBwlaiT8CHJxkRJwnKiR8GPIxUVKwFmiRsIzkIuLlIDzRH2YCBKlgBJBIpaCF1GWgkRpiY6L+J8sWKROuCjxUVa/BtCKJ9quwCNhl2if1C9+mQAAAABJRU5ErkJggg==');
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 13;
    opacity: 0.08;
    animation: noise 0.3s steps(1) infinite;
}

@keyframes noise {
    0% {
        opacity: 0.05;
    }

    100% {
        opacity: 0.12;
    }
}

.horizontal-distortion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 11;
    animation: horizontal-wave 15s linear infinite;
    opacity: 0.1;
    background-size: 100% 4px;
    background-image: linear-gradient(transparent 2px, rgba(255, 255, 255, 0.3) 2px, transparent 3px);
}

@keyframes horizontal-wave {
    0% {
        transform: translateY(0) scaleY(1);
    }

    25% {
        transform: translateY(30%) scaleY(1.2);
    }

    50% {
        transform: translateY(50%) scaleY(0.8);
    }

    75% {
        transform: translateY(70%) scaleY(1.2);
    }

    100% {
        transform: translateY(100%) scaleY(1);
    }
}

.rgb-shift {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: screen;
    opacity: 0.03;
}

.rgb-shift::before,
.rgb-shift::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 4px 4px;
    animation: rgb-shift 10s steps(10) infinite alternate;
}

.rgb-shift::after {
    background-image: 
        linear-gradient(rgba(0, 0, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 255, 0.1) 1px, transparent 1px);
    animation-duration: 7s;
    animation-direction: alternate-reverse;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 14;
    opacity: 0.8;
}

.glitch-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(242, 122, 33, 0.1);
    box-shadow: 0 0 10px rgba(242, 122, 33, 0.5);
    z-index: 10;
    animation: glitch-animation 0.3s ease-out;
    transform: translateX(-100%);
    pointer-events: none;
    will-change: transform;
}

@keyframes glitch-animation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.search-container {
    flex: 1;
    max-width: 400px;
    margin-right: 20px;
    margin-left: 20px;
}

.sort-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
    padding: 0 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-btn {
    background-color: var(--button-bg);
    color: #999;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    border: 3px solid #333;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.sort-btn:hover {
    color: white;
}

.sort-btn.active {
    color: white;
    background-color: var(--accent-color);
    border-color: #d86500;
}

@media (max-width: 600px) {
    .sort-container {
        flex-direction: column;
        gap: 10px;
    }
}

#searchInput {
    padding: 8px 15px;
    border: 3px solid #444;
    background-color: var(--input-bg);
    color: var(--text-color);
    width: 100%;
    font-size: 14px;
    box-shadow: var(--pixel-shadow);
    font-family: 'Courier New', monospace;
}

#searchInput:focus {
    outline: none;
    border-color: var(--accent-color);
}

.no-results {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

.new-card {
    animation: highlight-new-card 2s ease;
}

@keyframes highlight-new-card {
    0% {
        box-shadow: 0 0 30px var(--accent-color);
        transform: scale(1.05) translateY(-10px);
    }

    100% {
        box-shadow: 0 0 15px rgba(242, 122, 33, 0.5);
        transform: scale(1) translateY(0);
    }
}

.token-id {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ccc;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: background-color 0.2s;
}

.max-price-badge {
    display: inline-block;
    background-color: rgba(230, 150, 0, 0.3);
    color: #ffcc80;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Press Start 2P', monospace;
    margin-left: 8px;
    transition: all 0.2s;
}

.max-price-badge:hover {
    background-color: rgba(230, 150, 0, 0.5);
    transform: translateY(-2px);
}

.token-id:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.token-id:active {
    transform: translateY(1px);
}

.progress-container {
    width: 100%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s steps(20);
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
    background-size: 4px 100%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: var(--text-primary);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.create-token-btn {
    background-color: #d86500;
    color: white;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    margin-left: 15px;
    font-weight: bold;
    font-size: 14px;
    border: 3px solid #bb0b0b;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.create-token-btn:hover {
    background-color: #f32400;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

#tokenDescription.token-input {
    resize: vertical;
    min-height: 60px;
    max-height: 160px;
}

.image-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.image-preview img {
    max-width: 80px;
    max-height: 80px;
    border: 3px solid #444;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    background: #222;
}

.no-more-tokens {
    background: #222;
    color: var(--text-secondary);
    text-align: center;
    padding: 15px;
    margin: 20px auto;
    border: 3px solid #444;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    grid-column: 1 / -1;
}

@keyframes copy-success {
    0% {
        background-color: var(--accent-color);
    }
    100% {
        background-color: #333;
    }
}

.token-id.copied {
    animation: copy-success 1s ease;
    color: white;
}

.back-btn {
    display: inline-block;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    background-color: var(--button-bg);
    border: 3px solid #333;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.back-btn:hover {
    background-color: var(--button-hover);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

.token-detail-container {
    width: 100%;
    margin: 0 auto;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.token-detail-card {
    background-color: var(--card-bg);
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
}

.token-detail-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.token-detail-image img {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 10px;
    margin-bottom: 10px;
}

.token-detail-image .progress-container {
    width: 100%;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.token-detail-content {
    flex: 2;
    min-width: 300px;
    padding: 8px;
    position: relative;
}

.token-detail-content h1 {
    font-size: 28px;
    margin: 0 0 10px;
    color: var(--text-color);
}

.token-detail-meta {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.token-detail-meta .token-id,
.token-detail-meta .max-price-badge {
    margin-bottom: 5px;
}

.token-detail-meta .max-price-badge {
    font-size: 10px;
    padding: 4px 10px;
}

.token-description {
    margin: 15px 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.token-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.token-stat {
    background: #222;
    padding: 12px;
    min-width: 150px;
    flex: 1;
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    position: relative;
    transition: all 0.2s steps(5);
}

.stat-label {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 16px;
    font-family: 'Press Start 2P', monospace;
    font-weight: 400;
    color: var(--text-primary);
    display: block;
    letter-spacing: 0.5px;
}

.detail-progress {
    margin-top: 8px;
}

.token-bump-container {
    margin-top: 30px;
}

.token-bump-container h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-color);
}

.price-button-container.large {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.fire-button.large {
    font-size: 24px;
    padding: 15px 30px;
    min-width: 120px;
}

.token-not-found {
    padding: 40px;
    text-align: center;
}

.token-not-found h2 {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .token-detail-card {
        flex-direction: column;
    }
    
    .token-detail-image {
        padding: 20px;
    }
    
    .token-detail-content {
        padding: 20px;
    }

    .token-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .token-detail-meta .max-price-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}

.token-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.token-link:hover {
    color: #f5c542;
}

.token-stat .progress-container {
    width: 100%;
    height: 16px;
}

.card-bumped {
    animation: card-bump 0.3s steps(3);
}

@keyframes card-bump {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Press Start 2P', monospace;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 20px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

.fire-button, .sort-btn, .purchase-btn, .create-token-btn, .replenish-btn, .back-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.fire-button, .purchase-btn, .create-token-btn, .sort-btn, .back-btn {
    border: 4px solid #333;
    position: relative;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    transform: translate(0, 0);
    transition: transform 0.1s steps(2), box-shadow 0.1s steps(2);
}

.fire-button:hover, .purchase-btn:hover, .create-token-btn:hover, .sort-btn:hover, .back-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.fire-button:active, .purchase-btn:active, .create-token-btn:active, .sort-btn:active, .back-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.balance-currency {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    margin-left: 5px;
}

.balance-amount {
    font-family: 'Press Start 2P', monospace;
    font-size: 16px;
}

#searchInput {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 10px;
    height: 40px;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #222;
    border: 2px solid #444;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border: 2px solid #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.card h2 {
    font-size: 14px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

.timer-progress-container {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.timer-progress-bar {
    height: 100%;
    width: 100%;
    background-color: #ff4500;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.token-timer-progress-container {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.token-timer-progress-bar {
    height: 100%;
    width: 100%;
    background-color: #ff4500;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.fire-button.price-decreased {
    animation: price-flash 1s;
}

@media (max-width: 768px) {
    .timer-progress-container,
    .token-timer-progress-container {
        height: 3px;
        margin-bottom: 6px;
    }
}

.token-stat:nth-child(2) .stat-value {
    color: #14F195;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3);
}

.token-stat:nth-child(3) .stat-value {
    color: #E6007A;
    text-shadow: 0 0 8px rgba(230, 0, 122, 0.3);
}

.token-stat:nth-child(4) .stat-value {
    color: #ffcc00;
}

@media (max-width: 768px) {
    .token-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .token-stat {
        min-width: 100%;
        padding: 10px;
    }
    
    .stat-label {
        font-size: 8px;
        margin-bottom: 8px;
    }
    
    .stat-value {
        font-size: 12px;
    }
    
    .progress-container {
        height: 12px;
    }
    
    .progress-text {
        font-size: 8px;
    }
}

.fire-button.max-reached {
    background-color: #444;
    color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    border-color: #555;
    opacity: 0.8;
}

.fire-button.max-reached:hover {
    background-color: #444;
    transform: none;
    box-shadow: none;
}

.token-detail-card .progress-bar {
    transition: background-color 0.5s ease;
    gap: 10px;
}

.token-detail-card.max-reached .progress-bar {
    background-color: #ffcc00;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 0 0; }
    to { background-position: 20px 0; }
}

.user-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #222;
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    animation: summary-appear 0.4s steps(4) forwards;
}

.token-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #222;
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    animation: summary-appear 0.4s steps(4) forwards;
}

@keyframes summary-appear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.token-summary h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 2px solid #333;
    transition: background-color 0.2s steps(3);
}

.summary-row:hover {
    background-color: #333;
}

.summary-label {
    color: var(--text-secondary);
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    letter-spacing: 0.5px;
}

.summary-value {
    color: var(--text-primary);
    font-weight: bold;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.summary-row:nth-child(1) .summary-value {
    color: #14F195;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3);
}

.summary-row:nth-child(3) .summary-value {
    color: #E6007A;
    text-shadow: 0 0 8px rgba(230, 0, 122, 0.3);
}

.summary-row:nth-child(5) .summary-value {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

.user-bumps-stat {
    margin-top: 8px;
    background: #222;
    border: 4px solid #ff6432;
    padding: 12px;
    box-shadow: var(--pixel-shadow);
}

.user-bumps-stat .stat-label {
    color: #ff9966;
}

.user-bumps-stat .stat-value {
    color: #ff6432;
    text-shadow: 0 0 8px rgba(255, 100, 50, 0.3);
}

.token-value-stat {
    margin-top: 8px;
    background: #222;
    border: 4px solid #14F195;
    padding: 12px;
    box-shadow: var(--pixel-shadow);
}

.token-value-stat .stat-label {
    color: #a7f2dd;
}

.token-value-stat .stat-value {
    color: #14F195;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3);
}

.token-stat-group {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--pixel-shadow);
    position: relative;
    overflow: hidden;
    border: 4px solid #333;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.reserve-group::before, .user-stats-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #333);
}

.reserve-group::after, .user-stats-group::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0.5;
}

.token-stat-group h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: var(--accent-color);
    text-align: center;
    font-family: 'Press Start 2P', monospace;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
}

.token-stat {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid #444;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.token-stat:last-child {
    margin-bottom: 0;
}

.token-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--accent-color);
    opacity: 0.7;
}

.token-stat:nth-child(1) .stat-value {
    color: #ff8800;
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.3);
}

.token-stat:nth-child(2) .stat-value {
    color: #14F195;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3);
}

.user-bumps-stat .stat-value {
    color: #ff8800;
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.3);
}

.user-bumps-stat .stat-value:nth-of-type(2) {
    color: #ff6432;
}

.value-amount {
    color: #14F195 !important;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3) !important;
}

@media (max-width: 768px) {
    .token-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .token-stat-group {
        padding: 12px;
    }
    
    .token-stat-group h3 {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .stat-label {
        font-size: 8px;
    }
    
    .stat-value {
        font-size: 14px;
    }
}

.summary-row:nth-child(3) {
    margin: 12px 0;
    padding: 8px;
    background: rgba(255, 100, 50, 0.1);
    border-radius: 6px;
}

.summary-row:nth-child(3) .summary-value {
    color: #ff6432;
    font-weight: bold;
}

.help-btn {
    background-color: rgba(255, 100, 0, 0.8);
    color: #fff;
    border: 2px solid #ff8000;
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.2s ease;
    z-index: 10;
}

.help-btn:hover {
    background-color: rgba(255, 128, 0, 0.9);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 128, 0, 0.7);
}

.help-btn:active {
    transform: scale(0.95);
}

.help-section {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #ff6400;
    border-radius: 4px;
}

.help-section h3 {
    color: #ff8000;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px;
}

.help-section p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.help-list {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
}

.help-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.help-list li::before {
    content: ">";
    color: #ff8000;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    position: absolute;
    left: 0;
    top: 2px;
}

.help-list strong {
    color: #ff8000;
    font-weight: normal;
}

#helpModal .modal-content {
    max-width: 750px;
    max-height: 80vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .help-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-right: 8px;
    }
    
    #helpModal .modal-content {
        max-width: 90%;
    }
    
    .help-section {
        padding: 10px;
    }
    
    .help-list li {
        font-size: 13px;
        padding-left: 18px;
    }
}

.help-schematic {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #ff4500;
}

.schematic-step {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(30, 30, 30, 0.8) 100%);
  border: 2px solid #ff6600;
  padding: 20px;
  margin: 20px 0;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease-out forwards;
  overflow: hidden;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff4500 0%, #ff8800 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
  color: #ff7700;
  font-size: 16px;
  text-shadow: 0 0 5px rgba(255, 119, 0, 0.7);
}

.step-joke {
  font-style: italic;
  font-size: 12px;
  color: #ff9966;
  margin-top: 8px;
}

.schematic-arrow {
  font-size: 32px;
  margin: 10px 0;
  filter: drop-shadow(0 0 5px #ff7700);
}

.schematic-split {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 15px;
}

.split-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48%;
}

.side-arrow {
  font-size: 28px;
  margin: 5px 0;
}

.help-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.help-detail-item {
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid #ff6600;
  border-radius: 8px;
  padding: 12px;
  margin: 5px 0;
  width: 48%;
}

.help-detail-item h4 {
  margin-top: 0;
  color: #ff7700;
  font-size: 14px;
}

.help-detail-item p {
  margin: 5px 0;
  font-size: 12px;
  color: #ddd;
}

@media (max-width: 768px) {
  .schematic-split {
    flex-direction: column;
    align-items: center;
  }
  
  .split-path {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .help-details {
    flex-direction: column;
  }
  
  .help-detail-item {
    width: 100%;
  }
}

.token-value-stat {
    margin-top: 8px;
    background: rgba(20, 241, 149, 0.15);
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid #14F195;
}

.token-value-stat .stat-value {
    color: #14F195;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3);
}

.reserve-group {
    border-left: 4px solid #2196F3;
}

.token-stat-group .token-stat {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.token-stat-group .token-stat:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

@media (max-width: 768px) {
    .token-detail-image .progress-container {
        height: 15px;
    }
    
    .token-stat-group {
        padding: 10px;
    }
}

.token-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "token-detail transaction-logs token-holders"
        "token-detail price-charts price-charts";
    gap: 20px;
    margin: 0 auto;
    width: 100%;
    padding: 10px;
    max-width: 100vw;
    box-sizing: border-box;
}

.token-detail-card {
    grid-area: token-detail;
    flex: 1;
    background-color: var(--card-bg);
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
}

.transaction-logs-container {
    max-height: 830px;
    grid-area: transaction-logs;
    background-color: var(--card-bg);
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    padding: 15px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.token-holders-container {
    max-height: 830px;
    grid-area: token-holders;
    background-color: var(--card-bg);
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    padding: 15px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.price-charts-column {
    grid-area: price-charts;
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .token-detail-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "token-detail token-detail"
            "transaction-logs token-holders"
            "price-charts price-charts";
    }
}

@media (max-width: 768px) {
    .token-detail-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "token-detail"
            "transaction-logs"
            "token-holders"
            "price-charts";
    }
    
    .price-charts-column {
        flex-direction: column;
    }
}

.price-chart-container {
    background-color: var(--card-bg);
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    border-radius: 6px;
    padding: 15px;
    width: 100%;
    height: auto;
}

.price-chart-container h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    text-align: center;
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 69, 0, 0.5);
}

.price-chart-placeholder {
    width: 100%;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #555;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.price-chart-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 69, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0) 25%, 
        rgba(0, 0, 0, 0) 50%, 
        rgba(255, 69, 0, 0.2) 50%, 
        rgba(255, 69, 0, 0.2) 75%, 
        rgba(0, 0, 0, 0) 75%, 
        rgba(0, 0, 0, 0) 100%);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: chart-pattern 10s linear infinite;
}

@keyframes chart-pattern {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.chart-placeholder-text {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    border: 1px solid #555;
}

.chart-coming-soon {
    font-size: 10px;
    color: rgba(255, 69, 0, 0.8);
    margin-top: 8px;
    font-style: italic;
    text-shadow: 0 0 4px rgba(255, 69, 0, 0.5);
}

.transaction-logs-container h3,
.token-holders-container h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    text-align: center;
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 69, 0, 0.5);
}

.logs-list,
.holders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.log-item,
.holder-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.log-item.buy {
    border-left: 4px solid #00ff00;
}

.log-item.sell {
    border-left: 4px solid #ff0000;
}

.log-item.bump {
    border-left: 4px solid #ff8800;
}

.log-icon {
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background-color: #333;
    border: 2px solid #444;
}

.log-item.buy .log-icon {
    color: #00ff00;
}

.log-item.sell .log-icon {
    color: #ff0000;
}

.log-item.bump .log-icon {
    color: #ff8800;
}

.log-details,
.holder-details {
    flex: 1;
}

.log-action {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    margin-bottom: 5px;
}

.log-item.buy .log-action {
    color: #00ff00;
}

.log-item.sell .log-action {
    color: #ff0000;
}

.log-item.bump .log-action {
    color: #ff8800;
}

.log-address,
.holder-address {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ccc;
}

.log-amount,
.holder-amount {
    font-size: 14px;
    font-weight: bold;
}

.holder-amount {
    color: #ff8800;
}

.log-time {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-left: 10px;
}

.holder-rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background-color: #333;
    border: 2px solid #444;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
}

.holder-item:nth-child(1) .holder-rank {
    background-color: rgba(255, 215, 0, 0.3);
    color: #FFD700;
    border-color: #FFD700;
}

.holder-item:nth-child(2) .holder-rank {
    background-color: rgba(192, 192, 192, 0.3);
    color: #C0C0C0;
    border-color: #C0C0C0;
}

.holder-item:nth-child(3) .holder-rank {
    background-color: rgba(205, 127, 50, 0.3);
    color: #CD7F32;
    border-color: #CD7F32;
}

.holder-item.you {
    border-color: #ff8800;
    background-color: rgba(255, 136, 0, 0.1);
}

.holder-item.you .holder-rank {
    background-color: rgba(255, 136, 0, 0.3);
    color: #ff8800;
    border-color: #ff8800;
    font-size: 10px;
}

.token-info-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #444;
    border-radius: 4px;
    padding: 12px;
    margin: 15px 0;
    box-shadow: var(--pixel-shadow);
}

.info-item {
    flex: 1;
    min-width: 22%;
    padding: 6px 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 4px;
    border-radius: 2px;
    border-bottom: 2px solid var(--accent-color);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-label {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.info-item:nth-child(1) {
    border-bottom-color: #E6007A;
}

.info-item:nth-child(1) .info-value {
    color: #E6007A;
    text-shadow: 0 0 8px rgba(230, 0, 122, 0.3);
}

.info-item:nth-child(2) {
    border-bottom-color: #ff8800;
}

.info-item:nth-child(2) .info-value {
    color: #ff8800;
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.3);
}

.info-item:nth-child(3) {
    border-bottom-color: #14F195;
}

.info-item:nth-child(3) .info-value {
    color: #14F195;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.3);
}

.info-item:nth-child(4) {
    border-bottom-color: #2196F3;
}

.info-item:nth-child(4) .info-value {
    color: #2196F3;
    text-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

.connect-wallet-btn {
    background-color: #ff8800;
    color: #fff;
    padding: 8px 18px;
    border: 4px solid #d86500;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.1s;
}

.connect-wallet-btn:hover {
    background-color: #ffb366;
    color: #222;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

#walletModal .modal-content {
    background: #181818;
    border: 5px solid #ff8800;
    box-shadow: 0 0 20px #ff8800, 8px 8px 0 rgba(0,0,0,0.6);
    max-width: 350px;
    text-align: center;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.wallet-option-btn {
    background: #222;
    color: #ff8800;
    border: 3px solid #ff8800;
    font-family: 'Press Start 2P', monospace;
    font-size: 13px;
    padding: 12px 0;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 2px 2px 0 #ff8800, 0 0 8px #ff880044;
    transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.1s;
}

.wallet-option-btn:hover, .wallet-option-btn:focus {
    background: #ff8800;
    color: #fff;
    border-color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #ff8800, 0 0 12px #ff8800aa;
}

#walletAddress {
    display: inline-block;
    background: #222;
    color: #ff8800;
    border: 4px solid #333;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 8px 12px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.1s steps(2), box-shadow 0.1s steps(2), background 0.2s ease;
    text-transform: uppercase;
}

#walletAddress:hover {
    background: #333;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}


.fire-button.wallet-required::after {
    font-size: 14px;
    color: #ff8800;
    pointer-events: none;
}

@media (max-width: 768px) {
    .token-info-panel {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 8px;
    }
    
    .info-item {
        min-width: 45%;
    }
    
    .info-label {
        font-size: 6px;
    }
    
    .info-value {
        font-size: 12px;
    }
}

.wallet-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.wallet-address {
    display: inline-block;
    background: #222;
    color: #ff8800;
    border: 4px solid #333;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 8px 12px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.1s steps(2), box-shadow 0.1s steps(2), background 0.2s ease;
    text-transform: uppercase;
}

.wallet-address:hover {
    background: #333;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.wallet-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #222;
    border: 4px solid #333;
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.wallet-dropdown:hover .wallet-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wallet-action-btn {
    width: 100%;
    background: #222;
    color: #ff8800;
    border: none;
    border-bottom: 1px solid #444;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    letter-spacing: 1px;
}

.wallet-action-btn:last-child {
    border-bottom: none;
}

.wallet-action-btn:hover {
    background: #333;
    color: #ffaa00;
    padding-left: 16px;
}

.wallet-action-btn.profile-btn:hover {
    background: #2a4d3a;
    color: #88ff88;
}

.wallet-action-btn.disconnect-btn:hover {
    background: #4d2a2a;
    color: #ff8888;
}

#walletAddress {
    display: inline-block;
    background: #222;
    color: #ff8800;
    border: 4px solid #333;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 8px 12px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.1s steps(2), box-shadow 0.1s steps(2), background 0.2s ease;
    text-transform: uppercase;
}

#walletAddress:hover {
    background: #333;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .wallet-dropdown {
        margin-left: 5px;
    }
    
    .wallet-address {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .wallet-action-btn {
        font-size: 8px;
        padding: 6px 8px;
    }
}

.profile-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    padding: 20px;
    margin-bottom: 20px;
    gap: 20px;
}

.profile-avatar {
    position: relative;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: #333;
    border: 4px solid #ff8800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.avatar-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 24px;
    color: #ff8800;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.profile-info {
    flex: 1;
}

.profile-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 24px;
    color: var(--accent-color);
    margin: 0 0 15px 0;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.profile-address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.address-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

.address-value {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ff8800;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border: 2px solid #333;
}

.copy-btn {
    background: #333;
    color: #ff8800;
    border: 2px solid #444;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.copy-btn:hover {
    background: #444;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00;
}

.status-indicator.offline {
    background: #666;
    box-shadow: none;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "stats achievements"
        "holdings activity";
    gap: 20px;
}

.profile-stats-card,
.profile-activity-card,
.profile-holdings-card,
.profile-achievements-card {
    background: var(--card-bg);
    border: 4px solid #444;
    box-shadow: var(--pixel-shadow);
    padding: 20px;
}

.profile-stats-card {
    grid-area: stats;
}

.profile-activity-card {
    grid-area: activity;
}

.profile-holdings-card {
    grid-area: holdings;
}

.profile-achievements-card {
    grid-area: achievements;
}

.profile-stats-card h3,
.profile-activity-card h3,
.profile-holdings-card h3,
.profile-achievements-card h3 {
    font-family: 'Press Start 2P', monospace;
    font-size: 16px;
    color: var(--accent-color);
    margin: 0 0 20px 0;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    padding: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-item:hover {
    border-color: #ff8800;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.stat-label {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: #ff8800;
    font-weight: bold;
}

.stat-value.rank-value {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

.activity-list,
.holdings-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item,
.holding-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    transition: all 0.2s ease;
}

.activity-item:hover,
.holding-item:hover {
    border-color: #ff8800;
    background: rgba(255, 136, 0, 0.1);
}

.activity-action,
.holding-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: var(--text-primary);
}

.activity-time,
.holding-amount {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--text-secondary);
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.achievement-item {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    padding: 15px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item.unlocked {
    border-color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
}

.achievement-item.locked {
    opacity: 0.5;
}

.achievement-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.achievement-icon {
    font-size: 24px;
    margin-bottom: 8px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.achievement-item.unlocked .achievement-icon {
    filter: none;
}

.achievement-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.achievement-desc {
    font-size: 9px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.achievement-item.unlocked .achievement-name {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "holdings"
            "activity"
            "stats"
            "achievements";
    }
    
    .stats-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-address {
        flex-direction: column;
        gap: 8px;
    }
    
    .address-value {
        word-break: break-all;
        text-align: center;
    }
    
    .avatar-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .avatar-text {
        font-size: 18px;
    }
    
    .profile-title {
        font-size: 18px;
    }
}

.activity-action,
.holding-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: var(--text-primary);
}

.activity-time,
.holding-amount {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--text-secondary);
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-details {
    display: flex;
    gap: 10px;
    font-size: 9px;
    margin-top: 4px;
}

.heat-spent {
    color: #ff6666;
    font-family: 'Press Start 2P', monospace;
}

.tokens-earned {
    color: #66ff66;
    font-family: 'Press Start 2P', monospace;
}

.holding-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.holding-name-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    transition: color 0.2s ease;
}

.holding-name-link:hover {
    color: #ff8800;
    text-shadow: 0 0 4px rgba(255, 136, 0, 0.3);
}

.holding-mint {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: #888;
}

.token-link {
    color: #ff8800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.token-link:hover {
    color: #ffaa00;
    text-shadow: 0 0 4px rgba(255, 170, 0, 0.3);
}

.animated-help {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
  border: 2px solid #ff4500;
  padding: 25px;
  position: relative;
  overflow: hidden;
}

.animated-help::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.1), transparent);
  animation: shimmer 3s infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.help-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.help-title-container {
  position: relative;
}

.help-main-title {
  margin: 0;
  font-size: 28px;
  font-family: 'Press Start 2P', monospace;
  color: #ff4500;
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
  text-align: center;
}

.title-word {
  display: inline-block;
  animation: titleBounce 2s ease-in-out infinite;
}

.title-word:nth-child(1) { animation-delay: 0s; }
.title-word:nth-child(2) { animation-delay: 0.3s; }
.title-word:nth-child(3) { animation-delay: 0.6s; }

@keyframes titleBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.help-subtitle {
  font-size: 14px;
  color: #ff8800;
  margin-top: 10px;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
  text-align: center;
}

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

.help-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 20px;
  animation: float 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
  top: 5%;
  left: 50%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(5deg); }
  50% { transform: translateY(-20px) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-5deg); }
}

.schematic-step {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(30, 30, 30, 0.8) 100%);
  border: 2px solid #ff6600;
  padding: 20px;
  margin: 20px 0;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease-out forwards;
  overflow: hidden;
}

.step-1 { animation-delay: 0.5s; }
.step-2 { animation-delay: 1s; }
.step-3 { animation-delay: 1.5s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.schematic-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 102, 0, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.schematic-step:hover::before {
  transform: translateX(100%);
}

.step-number-container {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  float: left;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff4500 0%, #ff8800 100%);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

.step-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { transform: scale(1); opacity: 0.5; }
  to { transform: scale(1.2); opacity: 0.8; }
}

.step-title {
  font-size: 18px;
  color: #ff7700;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 119, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.highlight-text {
  background: linear-gradient(45deg, #ff4500, #ff8800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

.arrow-text {
  color: #ff8800;
  font-size: 20px;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.bump-icon, .cooked-icon {
  font-size: 24px;
  animation: iconSpin 3s linear infinite;
}

@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.conversion-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
  flex-wrap: wrap;
  padding: 15px;
}

.conversion-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #ff6600;
  transition: transform 0.3s ease;
}

.conversion-item:hover {
  transform: scale(1.05);
}

.conversion-item.result {
  background: rgba(255, 69, 0, 0.2);
  border-color: #ff4500;
  animation: resultGlow 2s ease-in-out infinite;
}

@keyframes resultGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.6); }
}

.token-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}

.plus-sign, .equals-sign {
  font-size: 20px;
  color: #ff8800;
  font-weight: bold;
}

.benefits-list {
  margin: 15px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border-left: 3px solid #ff6600;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  animation: benefitSlideIn 0.5s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 2s; }
.benefit-item:nth-child(2) { animation-delay: 2.2s; }
.benefit-item:nth-child(3) { animation-delay: 2.4s; }
.benefit-item:nth-child(4) { animation-delay: 2.6s; }

@keyframes benefitSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.benefit-item:hover {
  background: rgba(255, 102, 0, 0.1);
  border-left-color: #ff4500;
  transform: translateX(5px);
}

.benefit-icon {
  font-size: 20px;
  width: 30px;
  text-align: center;
}

.warning-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  padding: 12px;
  background: rgba(255, 0, 0, 0.1);
  border: 2px solid #ff3300;
  border-radius: 8px;
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { border-color: #ff3300; }
  50% { border-color: #ff6600; }
}

.warning-icon {
  font-size: 20px;
  animation: warningShake 1s ease-in-out infinite;
}

@keyframes warningShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.completion-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.progress-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-bar-demo {
  width: 120px;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #ff6600;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill-demo {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff4500, #ff8800);
  animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 100%; }
}

.progress-text-demo {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: #ff4500;
  text-shadow: 0 0 5px rgba(255, 69, 0, 0.5);
}

.completion-arrow {
  font-size: 24px;
  color: #ff8800;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

.pool-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 150, 255, 0.1);
  border: 2px solid #0096ff;
  border-radius: 8px;
}

.pool-icon {
  font-size: 24px;
}

.animated-arrow {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.arrow-body {
  font-size: 32px;
  color: #ff7700;
  filter: drop-shadow(0 0 10px #ff7700);
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.arrow-trail {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, #ff7700, transparent);
  transform: translateX(-50%);
  animation: trailFlow 2s ease-in-out infinite;
}

@keyframes trailFlow {
  0% { opacity: 0; height: 0; }
  50% { opacity: 1; height: 30px; }
  100% { opacity: 0; height: 30px; }
}

.help-footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 69, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #ff4500;
}

.footer-message {
  font-size: 16px;
  color: #ff8800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon {
  font-size: 20px;
  animation: iconBounce 1s ease-in-out infinite alternate;
}

@keyframes iconBounce {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.token-highlight {
  color: #ff4500;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 69, 0, 0.5);
}

.sol-highlight {
  color: #0096ff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 150, 255, 0.5);
}

.completion-highlight {
  color: #00ff00;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.percentage-highlight {
  color: #ff8800;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 136, 0, 0.5);
}

@media (max-width: 768px) {
  .help-main-title {
    font-size: 20px;
    gap: 10px;
  }
  
  .conversion-visual {
    flex-direction: column;
    gap: 10px;
  }
  
  .completion-visual {
    flex-direction: column;
    gap: 15px;
  }
  
  .step-number-container {
    float: none;
    margin-bottom: 15px;
  }
  
  .step-title {
    font-size: 16px;
  }
  
  .floating-icon {
    display: none;
  }
  
  .animated-help::before {
    animation: none;
  }
  
  .title-word {
    animation-duration: 3s;
  }
  
  .schematic-step {
    animation-duration: 1s;
  }
}

.animated-help * {
  will-change: auto;
}

.animated-help .step-number,
.animated-help .floating-icon,
.animated-help .arrow-body {
  will-change: transform;
}

.animated-help .progress-fill-demo {
  will-change: width;
}

@media (prefers-reduced-motion: reduce) {
  .animated-help * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-icon {
    display: none;
  }
  
  .animated-help::before {
    display: none;
  }
}

@media (prefers-contrast: high) {
  .animated-help {
    border-width: 3px;
  }
  
  .schematic-step {
    border-width: 3px;
  }
  
  .step-number {
    border: 2px solid #000;
  }
}

@media (prefers-color-scheme: dark) {
  .animated-help {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
  }
}

.help-slider {
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.slider-container-create-token {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.slider-container-buy-heat {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin: 20px 0;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide:not(.active) {
  pointer-events: none;
}

.slide-content {
  width: 100%;
  max-width: 600px;
  position: relative;
}

.slide-number {
  position: absolute;
  top: -10px;
  right: 0;
  background: rgba(255, 69, 0, 0.8);
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  z-index: 10;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.slider-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #ff4500;
}

.slider-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #ff4500;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  font-family: 'Press Start 2P', monospace;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 100;
  padding: 3px 3px;
  opacity: 0.7;
}

.arrow-btn:hover {
  color: #ff8800;
  transform: translateY(-50%) scale(1.2);
  text-shadow: 0 0 15px rgba(0, 0, 0, 1);
  opacity: 1;
}

.arrow-btn.arrow-left {
  left: 0px;
}

.arrow-btn.arrow-right {
  right: 0px;
}

.arrow-btn.disabled {
  color: #666;
  cursor: not-allowed;
  transform: translateY(-50%);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  opacity: 0.5;
}

.arrow-btn.disabled:hover {
  color: #666;
  transform: translateY(-50%);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  opacity: 0.5;
}

.slide-counter {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: #ff8800;
  text-shadow: 0 0 5px rgba(255, 136, 0, 0.5);
  min-width: 60px;
  text-align: center;
}

.slide-dots {
  display: flex;
  gap: 15px;
  align-items: center;
}

.dot {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot:hover {
  background: rgba(255, 136, 0, 0.5);
  border-color: #ff8800;
  transform: scale(1.2);
}

.dot.active {
  background: #ff4500;
  border-color: #ff8800;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.8);
  transform: scale(1.4);
}

.dot.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #ff4500;
  animation: dotPulse 2s ease-in-out infinite;
}

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

.slide .schematic-step {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.6s ease;
}

.slide.active .schematic-step {
  transform: translateX(0);
  opacity: 1;
  animation: slideInFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slides-wrapper.transitioning {
  pointer-events: none;
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.slide-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff4500, #ff8800);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.slide.active .slide-progress-bar {
  transform: translateX(0);
}

.swipe-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Press Start 2P', monospace;
  animation: swipeHintBlink 2s ease-in-out infinite;
}

@keyframes swipeHintBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .help-slider {
    max-height: 500px;
  }
  
  .slider-container {
    height: 350px;
  }
  
  .slide {
    padding: 10px;
  }
  
  .slide-number {
    font-size: 8px;
    padding: 3px 8px;
    top: -5px;
  }

  .help-main-title {
    font-size: 20px;
  }
  
  .arrow-btn {
    font-size: 24px;
    padding: 3px 3px;
  }
  
  .arrow-btn.arrow-left {
    left: 5px;
  }
  
  .arrow-btn.arrow-right {
    right: 5px;
  }
}

@media (min-width: 769px) {
  .swipe-hint {
    display: none;
  }
  
  .keyboard-hint {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Press Start 2P', monospace;
  }
}

.slide-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 69, 0, 0.3);
  border-top-color: #ff4500;
  border-radius: 50%;
  animation: slideLoading 1s linear infinite;
}

@keyframes slideLoading {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.slide[data-slide="2"] .help-footer {
  animation: footerSlideUp 0.8s ease-out 0.5s both;
}

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

.slide.active .benefit-item {
  animation-delay: 0.2s, 0.4s, 0.6s, 0.8s;
}

.slide.active .conversion-item {
  animation: slideUpFade 0.6s ease-out forwards;
}

.slide.active .conversion-item:nth-child(1) { animation-delay: 0.1s; }
.slide.active .conversion-item:nth-child(3) { animation-delay: 0.2s; }
.slide.active .conversion-item:nth-child(5) { animation-delay: 0.3s; }

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

@media (prefers-reduced-motion: reduce) {
  .slides-wrapper {
    transition: none;
  }
  
  .slide {
    transition: none;
  }
  
  .slide .schematic-step,
  .slide.active .schematic-step,
  .slide.active .benefit-item,
  .slide.active .conversion-item {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

@media (prefers-contrast: high) {
  .slider-navigation {
    border-width: 2px;
  }
  
  .dot {
    border-width: 3px;
  }
}

@media (max-width: 768px) {
    .top-panel {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .top-panel-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .logo {
        height: 35px;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .search-container {
        flex: 1;
        min-width: 0;
        margin-left: 0;
        margin-right: 10px;
    }

    #searchInput {
        font-size: 10px;
        padding: 8px 10px;
        height: 35px;
    }

    .help-btn {
        margin-right: 10px;
        width: 30px;
        height: 30px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .sort-options {
        order: 3;
        flex: 1 0 100%;
        justify-content: center;
        margin: 5px 0;
    }

    .user-balance {
        order: 4;
        flex: 1 0 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 5px;
        gap: 10px;
    }

    .balance-display {
        flex: 1;
        justify-content: flex-start;
    }

    .replenish-btn {
        width: auto;
        min-width: 40px;
    }
    
    .connect-wallet-btn {
        order: 5;
        flex: 1 0 100%;
        margin-top: 5px;
    }
    
    .wallet-dropdown {
        order: 5;
        flex: 1 0 100%;
        margin-top: 5px;
        text-align: center;
    }
}

.landing-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(34, 34, 34, 0.9);
  z-index: 1000;
  padding: 12px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.token-address-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 6px 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }

 
.token-address-link:hover {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-color);
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px;
  font-size: 16px;
}

.social-icon-link svg {
  width: 16px;
  height: 16px;
  transition: all 0.2s ease;
}

.social-icon-link:hover {
  transform: scale(1.1);
}

.twitter-icon:hover svg path {
  fill: #1da1f2;
  filter: drop-shadow(0 0 4px #1da1f2);
}

.telegram-icon:hover svg path {
  fill: #0088cc;
  filter: drop-shadow(0 0 4px #0088cc);
}

@media (max-width: 768px) {
  .landing-footer {
    padding: 10px 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .token-address-link {
    font-size: 9px;
  }

  .social-links {
    gap: 12px;
  }

  .social-icon-link {
    font-size: 16px;
  }

  .social-icon-link svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .token-address-link {
    font-size: 8px;
  }

  .social-icon-link {
    font-size: 14px;
  }

  .social-icon-link svg {
    width: 14px;
    height: 14px;
  }
}