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

@keyframes matrix {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 255, 0, 0.1) 0%,
        rgba(0, 255, 0, 0.05) 100%);
    background-size: 50px 50px;
    background-image: 
        linear-gradient(90deg, 
            rgba(0, 255, 0, 0.1) 1px, 
            transparent 1px),
        linear-gradient(0deg, 
            rgba(0, 255, 0, 0.1) 1px, 
            transparent 1px);
    animation: matrix 20s linear infinite;
    z-index: -1;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow-x: hidden;
}

.game-container {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    max-width: 800px;
    width: 90%;
    border: 2px solid #00ff00;
    position: relative;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00ff00; }
    to { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
}

.battle-arena {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 1.5rem 0;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid #00ff00;
    position: relative;
}

.character {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.character-image {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.vapor-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0,255,0,0.3) 0%, transparent 70%);
    opacity: 0;
    z-index: 0;
}

.vapor-effect.active {
    animation: vapor 1s ease-out;
}

@keyframes vapor {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -100%) scale(1.5); opacity: 0.8; }
    100% { transform: translate(-50%, -150%) scale(2); opacity: 0; }
}

.defeat-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.defeat-effect.active {
    animation: explode 0.5s ease-out;
}

@keyframes explode {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.character-name {
    font-size: 0.8rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.vs {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
    animation: pulse 1s infinite;
}

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

.meme-message {
    font-size: 1.2rem;
    min-height: 2em;
    margin: 0.8rem 0;
    color: #ff3366;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.meme-message.active {
    opacity: 1;
    transform: translateY(0);
}

.score {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hopium-button {
    background: linear-gradient(45deg, #00ff00, #00ff88);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #000;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.hopium-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
}

.hopium-button:active {
    transform: scale(0.95);
}

.hopium-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.sound-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #00ff00;
}

.sound-toggle input {
    width: 1rem;
    height: 1rem;
}

.music-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #00ff00;
}

.music-toggle input {
    width: 1rem;
    height: 1rem;
}

/* Animations */
@keyframes inhale {
    0% { transform: scale(1); }
    50% { 
        transform: scale(1.2);
        filter: brightness(1.5) hue-rotate(90deg);
    }
    100% { transform: scale(1); }
}

@keyframes defeat {
    0% { 
        transform: translateX(0) rotate(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(50px) rotate(180deg) scale(1.5);
        opacity: 0.5;
    }
    100% { 
        transform: translateX(100px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

.inhaling {
    animation: inhale 0.5s ease;
}

.defeated {
    animation: defeat 0.5s ease forwards;
}

/* Game Stats */
.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.combo-counter {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.combo-counter.active {
    opacity: 1;
    transform: scale(1);
}

.hopium-mode-indicator {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
}

.hopium-mode-indicator.active {
    opacity: 1;
    animation: pulse 1s infinite;
}

/* Hopium Particles */
.hopium-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hopium-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #00ff00 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes float-up {
    0% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -100px) scale(0);
        opacity: 0;
    }
}

/* Enemy Reaction */
.enemy-reaction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
}

.enemy-reaction.active {
    animation: reaction-pop 0.5s ease-out;
}

@keyframes reaction-pop {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -100%) scale(1.5); opacity: 1; }
    100% { transform: translate(-50%, -150%) scale(1); opacity: 0; }
}

/* Meme Commentary */
.meme-commentary {
    font-size: 1.2rem;
    min-height: 2em;
    margin: 1rem 0;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.meme-commentary.active {
    opacity: 1;
    transform: translateY(0);
}

/* Tweet Feed */
.tweet-feed {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff00;
    border-radius: 10px;
    padding: 0.8rem;
    margin: 0.8rem 0;
    max-height: 150px;
    overflow-y: auto;
}

.tweet-header {
    color: #00ff00;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid #00ff00;
    padding-bottom: 0.5rem;
}

.tweet {
    color: #fff;
    font-size: 0.7rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-left: 2px solid #00ff00;
    background: rgba(0, 255, 0, 0.1);
    animation: tweet-slide 0.5s ease-out;
}

@keyframes tweet-slide {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Hopium Mode Effects */
@keyframes screen-shake {
    0% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(-5px, -5px) rotate(-1deg); }
    50% { transform: translate(5px, 5px) rotate(1deg); }
    75% { transform: translate(-5px, 5px) rotate(-1deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

.hopium-mode .game-container {
    animation: screen-shake 0.1s infinite;
}

.hopium-mode .virgen-pepe .character-image {
    transform: scale(1.5);
    filter: brightness(1.5) hue-rotate(90deg);
    transition: all 0.3s ease;
}

/* Auto-defeat animation for hopium mode */
@keyframes auto-defeat {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

.hopium-mode .enemy.auto-defeat {
    animation: auto-defeat 0.3s ease-out forwards;
}

/* Header Controls */
.header-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

/* Progress Bar */
.progress-container {
    margin: 0.8rem 0;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff00;
    border-radius: 10px;
}

.progress-label {
    color: #00ff00;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.progress-bar {
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #00ff00;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00ff88);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-stages {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.6rem;
    color: #00ff00;
}

/* Health Bars */
.health-bar {
    width: 100%;
    height: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #00ff00;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.health-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff3366, #ff6b6b);
    width: 100%;
    transition: width 0.3s ease;
}

.health-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
    color: #fff;
    text-shadow: 0 0 2px #000;
}

/* Pepe Emotes */
.pepe-emote {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.pepe-emote.active {
    animation: emote-pop 0.5s ease-out;
}

@keyframes emote-pop {
    0% { transform: translate(-50%, 0) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -10px) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -20px) scale(1); opacity: 0; }
}

/* Share Button */
.control-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    background: linear-gradient(45deg, #1da1f2, #00acee);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.share-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(29, 161, 242, 0.5);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .game-container {
        padding: 0.5rem;
        margin: 0.5rem auto;
        max-width: 100%;
    }

    .header-controls {
        text-align: center;
    }

    h1 {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }

    .progress-container {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }

    .progress-stages {
        font-size: 0.4rem;
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .game-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        margin: 0.5rem 0;
    }

    .battle-arena {
        gap: 1rem;
        margin: 1rem 0;
    }

    .character {
        width: 120px;
    }

    .character-image {
        font-size: 2.5rem;
    }

    .character-name {
        font-size: 0.6rem;
    }

    .vs {
        font-size: 1rem;
    }

    .health-bar {
        height: 10px;
    }

    .health-label {
        font-size: 0.4rem;
    }

    /* Optimize meme messages for mobile */
    .meme-message {
        font-size: 0.7rem;
        padding: 0.3rem;
        margin: 0.4rem 0;
        min-height: 1.5em;
        line-height: 1.2;
    }

    .meme-commentary {
        font-size: 0.7rem;
        padding: 0.3rem;
        margin: 0.4rem 0;
        min-height: 1.5em;
        line-height: 1.2;
    }

    .score {
        font-size: 0.8rem;
        margin: 0.5rem 0;
    }

    .tweet-feed {
        max-height: 80px;
        margin: 0.5rem 0;
    }

    .tweet-header {
        font-size: 0.6rem;
        padding: 0.3rem;
    }

    .tweet {
        font-size: 0.5rem;
        padding: 0.3rem;
    }

    .hopium-button {
        width: 100%;
        max-width: 280px;
        margin: 1rem auto;
        font-size: 0.8rem;
        padding: 1rem;
    }

    .control-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .control-buttons > * {
        width: 100%;
        max-width: 280px;
        margin: 0.2rem 0;
    }

    .sound-toggle, .music-toggle {
        font-size: 0.7rem;
    }

    .shop-button, .achievements-button {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .share-button {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .credits {
        margin-top: 1rem;
        padding-top: 0.5rem;
        font-size: 0.6rem;
        padding-bottom: 2rem;
    }

    .credits p {
        margin: 0.3rem 0;
    }

    .creator-credit {
        position: static !important;
        text-align: center !important;
        margin-top: 1rem !important;
    }

    .hopium-coins-display {
        font-size: 12px;
    }

    .active-powerups {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }

    .active-powerup {
        font-size: 10px;
        padding: 3px 6px;
    }

    .combo-counter {
        font-size: 0.7rem;
    }

    .hopium-mode-indicator {
        font-size: 0.7rem;
    }

    .powerup-notification {
        width: 90%;
        max-width: 280px;
        font-size: 0.7rem;
        padding: 0.5rem;
    }

    .achievement-popup {
        width: 90%;
        max-width: 280px;
    }

    .achievement-title {
        font-size: 0.8rem;
    }

    .achievement-description {
        font-size: 0.6rem;
    }
}

/* Credits */
.credits {
    margin-top: 1.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    font-size: 0.8rem;
    color: #00ff00;
    text-align: center;
    position: relative;
}

.credits a {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 2px;
}

.credits a:hover {
    color: #fff;
    text-shadow: 0 0 10px #00ff00;
}

.credits a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: #00ff00;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.credits a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.creator-credit {
    font-size: 0.6rem !important;
    opacity: 0.7;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0 !important;
}

/* Light mode removed */

/* Version Indicator */
.version-indicator {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 0.7rem;
    color: rgba(0, 255, 0, 0.6);
    font-family: 'Press Start 2P', cursive;
    z-index: 1000;
    pointer-events: none;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

/* Light mode removed */

/* New Game Features v1.2 */

/* Hopium Coins Display */
.hopium-coins-display {
    font-size: 14px;
    color: #ffd700;
    margin: 5px 0;
    text-shadow: 0 0 10px #ffd700;
}

/* Active Power-ups Display */
.active-powerups {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    min-height: 30px;
}

.active-powerup {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: powerupGlow 2s ease-in-out infinite alternate;
    position: relative;
}

.active-powerup .powerup-timer {
    font-size: 10px;
    opacity: 0.8;
}

@keyframes powerupGlow {
    from { box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

/* Shop Button */
.shop-button, .achievements-button {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin: 5px;
}

.shop-button:hover, .achievements-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Shop Modal */
.shop-modal, .achievements-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.shop-content, .achievements-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: 5% auto;
    padding: 20px;
    border: 3px solid #4ecdc4;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.5);
}

.shop-header, .achievements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4ecdc4;
}

.shop-header h2, .achievements-header h2 {
    color: #4ecdc4;
    margin: 0;
    font-family: 'Press Start 2P', monospace;
    font-size: 16px;
    text-shadow: 0 0 10px #4ecdc4;
}

.shop-close, .achievements-close {
    background: #ff6b6b;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-close:hover, .achievements-close:hover {
    background: #ff4757;
    transform: scale(1.1);
}

.shop-currency {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffd700;
}

/* Shop Items */
.shop-section {
    margin-bottom: 30px;
}

.shop-section h3 {
    color: #ff6b6b;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #ff6b6b;
}

.shop-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.shop-item:hover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}

.item-icon {
    font-size: 30px;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
}

.item-info {
    flex: 1;
    color: #fff;
}

.item-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    margin-bottom: 5px;
    color: #4ecdc4;
}

.item-description {
    font-size: 11px;
    color: #bbb;
    margin-bottom: 5px;
}

.item-price {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #ffd700;
}

.buy-button {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.buy-button:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Achievements */
.achievements-list {
    display: grid;
    gap: 15px;
}

.achievement-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.achievement-item.unlocked {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.3);
}

.achievement-item.locked {
    opacity: 0.5;
    border-color: #666;
}

.achievement-icon {
    font-size: 30px;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
}

.achievement-info {
    flex: 1;
    color: #fff;
}

.achievement-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    margin-bottom: 5px;
    color: #4ecdc4;
}

.achievement-desc {
    font-size: 11px;
    color: #bbb;
}

/* Power-up Notification */
.powerup-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: 3px solid #fff;
    border-radius: 15px;
    padding: 15px 20px;
    color: #fff;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    z-index: 999;
    transform: translateX(300px);
    transition: all 0.5s ease;
}

.powerup-notification.show {
    transform: translateX(0);
}

/* Achievement Popup */
.achievement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: 4px solid #fff;
    border-radius: 20px;
    padding: 20px;
    z-index: 1001;
    transition: all 0.5s ease;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

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

.achievement-content {
    display: flex;
    align-items: center;
    color: #333;
}

.achievement-content .achievement-icon {
    font-size: 40px;
    margin-right: 15px;
}

.achievement-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.achievement-description {
    font-size: 11px;
    color: #666;
}

/* Power-up Effects */
.diamond-hands-effect {
    box-shadow: 0 0 30px #4ecdc4, inset 0 0 30px rgba(78, 205, 196, 0.3);
    border: 3px solid #4ecdc4;
    animation: diamondHandsGlow 1s ease-in-out infinite alternate;
}

@keyframes diamondHandsGlow {
    from { 
        box-shadow: 0 0 30px #4ecdc4, inset 0 0 30px rgba(78, 205, 196, 0.3);
        transform: scale(1);
    }
    to { 
        box-shadow: 0 0 50px #4ecdc4, inset 0 0 50px rgba(78, 205, 196, 0.5);
        transform: scale(1.05);
    }
}

.moon-rocket-effect {
    animation: rocketPulse 0.5s ease-in-out infinite alternate;
}

@keyframes rocketPulse {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1.2) rotate(5deg); }
}

.hodl-shield-effect {
    position: relative;
}

.hodl-shield-effect::before {
    content: '🛡️';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 30px;
    animation: shieldRotate 2s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .shop-content, .achievements-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }
    
    .shop-item, .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .item-icon, .achievement-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .powerup-notification {
        right: 10px;
        top: 10px;
        font-size: 10px;
        padding: 10px 15px;
    }
    
    .active-powerups {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .shop-button, .achievements-button {
        padding: 8px 12px;
        font-size: 9px;
        margin: 3px;
    }
} 