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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Impact, 'Arial Black', sans-serif;
}

body {
    background: #8B0000;
    position: relative;
    padding-top: 50px;
}

.ticker-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 3px solid #ff0000;
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.ticker {
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.crypto-symbol {
    color: #ff0000;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
    min-width: 55px;
}

.crypto-price {
    color: #ffffff;
    font-weight: 700;
    min-width: 90px;
}

.crypto-change {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.crypto-change.positive {
    background: #00ff00;
    color: #000000;
}

.crypto-change.negative {
    background: #ff0000;
    color: #ffffff;
}

.ticker-separator {
    color: #ff0000;
    font-size: 20px;
    font-weight: bold;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.quote-container {
    width: 90%;
    max-width: 800px;
    text-align: center;
    z-index: 15;
    margin-top: -10px;
}

.bear-quote {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 0, 0, 0.5);
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 10px;
    margin: 0;
    animation: quoteFade 5s ease-in-out infinite;
}

@keyframes quoteFade {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.7; }
}

.disappointment-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.counter-label {
    font-size: 16px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    text-align: center;
}

.counter-number {
    font-size: 32px;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 
        0 0 10px rgba(255, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    font-variant-numeric: tabular-nums;
    transition: transform 0.2s ease;
}

.counter-number.updated {
    transform: scale(1.2);
}

.stonks-img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
    animation: float 3s ease-in-out infinite, redGlow 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes redGlow {
    0%, 100% { 
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(255, 0, 0, 0.4));
    }
    50% { 
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(255, 0, 0, 0.8));
    }
}

.title {
    font-size: 120px;
    font-weight: 900;
    color: #ffffff;
    text-transform: lowercase;
    letter-spacing: -3px;
    text-shadow: 
        -6px -6px 0 #000,
        6px -6px 0 #000,
        -6px 6px 0 #000,
        6px 6px 0 #000,
        0 0 40px rgba(255, 0, 0, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

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

.buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 15px 40px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: lowercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.pump-btn {
    background: #ffffff;
    color: #000000;
    border: 4px solid #000000;
}

.pump-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.x-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    background: #000000;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.x-btn .x-icon {
    width: 24px;
    height: 24px;
    display: block;
    fill: #ffffff !important;
}

.x-btn .x-icon path {
    fill: #ffffff !important;
}

.x-btn .x-text {
    display: none;
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1;
}

.x-btn:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.x-btn:hover .x-icon path {
    fill: #000000 !important;
}

.x-btn:hover .x-text {
    color: #000000;
}

@media (max-width: 768px) {
    body {
        padding-top: 45px;
    }
    
    .ticker-container {
        height: 45px;
    }
    
    .quote-container {
        width: 95%;
        margin-top: -5px;
    }
    
    .bear-quote {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .counter-label {
        font-size: 14px;
    }
    
    .counter-number {
        font-size: 28px;
    }
    
    .crypto-item {
        font-size: 14px;
        gap: 3px;
    }
    
    .crypto-symbol {
        font-size: 16px;
        min-width: 45px;
    }
    
    .crypto-price {
        min-width: 75px;
    }
    
    .stonks-img {
        width: 200px;
    }
    
    .title {
        font-size: 60px;
        text-shadow: 
            -4px -4px 0 #000,
            4px -4px 0 #000,
            -4px 4px 0 #000,
            4px 4px 0 #000,
            0 0 30px rgba(255, 0, 0, 0.8);
    }
    
    .btn {
        font-size: 18px;
        padding: 12px 30px;
    }
    
    .x-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 40px;
    }
    
    .container {
        gap: 18px;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 10px;
    }
    
    .ticker-container {
        height: 40px;
    }
    
    .quote-container {
        width: 98%;
        margin-top: -5px;
    }
    
    .bear-quote {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .counter-label {
        font-size: 13px;
    }
    
    .counter-number {
        font-size: 24px;
    }
    
    .crypto-item {
        font-size: 12px;
        gap: 2px;
    }
    
    .crypto-symbol {
        font-size: 14px;
        min-width: 40px;
    }
    
    .crypto-price {
        min-width: 60px;
        font-size: 12px;
    }
    
    .crypto-change {
        font-size: 11px;
        padding: 1px 6px;
    }
    
    .stonks-img {
        width: 250px;
        margin: 0 auto;
        display: block;
        animation: float 3s ease-in-out infinite, redGlow 2s ease-in-out infinite;
    }
    
    .title {
        font-size: 65px;
        letter-spacing: -2px;
        text-align: center;
        text-shadow: 
            -4px -4px 0 #000,
            4px -4px 0 #000,
            -4px 4px 0 #000,
            4px 4px 0 #000,
            0 0 25px rgba(255, 0, 0, 0.8);
    }
    
    .buttons {
        gap: 18px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .btn {
        font-size: 20px;
        padding: 14px 32px;
    }
    
    .x-btn {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .x-btn .x-icon {
        display: none;
    }
    
    .x-btn .x-text {
        display: block;
        font-size: 36px;
        color: #ffffff;
    }
    
    .x-btn:hover .x-text {
        color: #000000;
    }
}
