@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Orbitron:wght@400;700;900&display=swap');

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

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0520 50%, #2d0a3d 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 0, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 0, 255, 0.03) 3px
        );
    pointer-events: none;
    animation: scanlines 8s linear infinite;
}


/* Simple grid background */
.geometric-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -5;
    overflow: hidden;
}

.geometric-lines::before {
    content: '';
    position: absolute;
    top: -202px;
    left: -202px;
    width: calc(100vw + 404px);
    height: calc(100vh + 404px);
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 98px,
            rgba(255, 105, 180, 0.10) 100px,
            rgba(255, 105, 180, 0.10) 102px,
            transparent 104px,
            transparent 202px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 98px,
            rgba(255, 0, 255, 0.08) 100px,
            rgba(255, 0, 255, 0.08) 102px,
            transparent 104px,
            transparent 202px
        );
    animation: grid-move 20s linear infinite;
}

.flying-elements-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    perspective: 1000px;
}

.flying-element {
    position: absolute;
    font-size: 30px;
    width: 40px;
    height: 40px;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flying-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}





@keyframes water-droplet-fall {
    0% {
        transform: translateY(-50px) translateX(0) scale(0.8) rotate(0deg);
        opacity: 0.7;
    }
    3% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) translateX(var(--horizontal-drift, 0px)) scale(0.9) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
}

.flying-element.droplet-animation {
    animation: water-droplet-fall var(--duration) cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}


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

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-202px, -202px); }
}

.game-container {
    display: flex;
    gap: 50px;
    max-width: 1600px;
    width: 100%;
    padding: 30px;
    z-index: 1;
    position: relative;
}

.main-section {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 120px;
    background: linear-gradient(45deg, #ff00ff, #ff69b4, #ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    text-shadow: 
        0 0 50px rgba(255, 0, 255, 0.5),
        0 0 100px rgba(255, 0, 255, 0.3);
    letter-spacing: 6px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.score-display {
    text-align: center;
    margin-bottom: 60px;
}

.score {
    font-size: 72px;
    font-weight: 900;
    color: #ff69b4;
    margin-bottom: 15px;
    text-shadow: 
        0 0 30px rgba(255, 105, 180, 0.8),
        0 0 60px rgba(255, 105, 180, 0.5);
    animation: score-glow 1.5s ease-in-out infinite;
}

@keyframes score-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(255, 105, 180, 0.8),
            0 0 40px rgba(255, 105, 180, 0.5);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(255, 105, 180, 1),
            0 0 60px rgba(255, 105, 180, 0.7);
    }
}

.per-second {
    font-size: 36px;
    color: #ff00ff;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
    font-weight: 700;
}

.clicker-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lotion-bottle {
    font-size: 280px;
    cursor: pointer;
    user-select: none;
    transition: all 0.1s;
    filter: 
        drop-shadow(0 0 50px rgba(255, 0, 255, 0.6))
        drop-shadow(0 0 100px rgba(255, 105, 180, 0.4));
    animation: bottle-float 3s ease-in-out infinite;
}

@keyframes bottle-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.lotion-bottle:hover {
    transform: scale(1.1);
    filter: 
        drop-shadow(0 0 40px rgba(255, 0, 255, 0.8))
        drop-shadow(0 0 80px rgba(255, 105, 180, 0.6))
        brightness(1.2);
}

.lotion-bottle:active {
    transform: scale(0.95);
}

.lotion-bottle.clicked {
    animation: bounce 0.3s ease;
}

@keyframes bounce {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(0.9) rotate(-2deg) scaleY(1.1); }
    50% { transform: scale(1.3) rotate(5deg); }
    75% { transform: scale(1.1) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.lotion-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 
        0 0 6px rgba(255,255,255,0.8),
        inset 0 0 3px rgba(255,255,255,0.5);
}

.lotion-splat {
    position: absolute;
    background: radial-gradient(ellipse, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 60%, rgba(255,255,255,0.1) 100%);
    border-radius: 50% 40% 60% 30%;
    pointer-events: none;
    z-index: 999;
    animation: splat-fade 4s ease-out forwards;
}

@keyframes particle-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--burst-x), var(--burst-y)) scale(0.2);
        opacity: 0;
    }
}

@keyframes splat-fade {
    0% {
        opacity: 0.8;
        transform: scale(0.5);
    }
    10% {
        opacity: 0.9;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.lotion-spray {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 0 4px rgba(255,255,255,0.6);
}

.upgrade-section {
    width: 500px;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(40, 20, 50, 0.95));
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 0 50px rgba(255, 0, 255, 0.3),
        inset 0 0 30px rgba(255, 0, 255, 0.1);
    max-height: 85vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.tab-navigation {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 0, 255, 0.3);
}

.tab-button {
    flex: 1;
    background: rgba(255, 0, 255, 0.1);
    color: #ff69b4;
    border: none;
    padding: 20px 25px;
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
}

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

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(255, 105, 180, 0.3));
    color: #ffffff;
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.6),
        inset 0 0 15px rgba(255, 0, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
}

.tab-button.active::before {
    display: none;
}

.tab-content {
    display: block;
    height: 650px;
    overflow-y: auto;
}

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

.volume-controls-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(40, 20, 50, 0.9));
    border: 2px solid rgba(255, 0, 255, 0.4);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 
        0 0 25px rgba(255, 0, 255, 0.4),
        inset 0 0 15px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
}

.compact-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compact-volume-label {
    color: #ff69b4;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
    min-width: 35px;
    text-align: right;
}

.compact-volume-slider {
    width: 80px;
    appearance: none;
    height: 4px;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8), rgba(40, 20, 50, 0.8));
    border-radius: 8px;
    outline: none;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 
        0 0 8px rgba(255, 0, 255, 0.3),
        inset 0 0 5px rgba(255, 0, 255, 0.1);
}

.compact-volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff00ff, #ff69b4);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 0 8px rgba(255, 0, 255, 0.8),
        inset 0 0 3px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.compact-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 12px rgba(255, 0, 255, 1),
        inset 0 0 5px rgba(255, 255, 255, 0.5);
}

.compact-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff00ff, #ff69b4);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 
        0 0 8px rgba(255, 0, 255, 0.8),
        inset 0 0 3px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.compact-volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 12px rgba(255, 0, 255, 1),
        inset 0 0 5px rgba(255, 255, 255, 0.5);
}

.compact-volume-value {
    color: #ff00ff;
    font-size: 11px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.6);
    background: rgba(255, 0, 255, 0.1);
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid rgba(255, 0, 255, 0.3);
}


.upgrades-container,
.buildings-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.upgrade-item,
.building-item {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(255, 105, 180, 0.2));
    color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 0, 255, 0.4);
    width: 100%;
    text-align: left;
    position: relative;
    overflow: hidden;
}

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

.upgrade-item:hover::before,
.building-item:hover::before {
    left: 100%;
}

.upgrade-item:hover,
.building-item:hover {
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.6),
        inset 0 0 20px rgba(255, 0, 255, 0.2);
    border-color: #ff69b4;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(255, 105, 180, 0.3));
}

.upgrade-item.disabled,
.building-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.3), rgba(30, 30, 30, 0.3));
    border-color: rgba(100, 100, 100, 0.3);
}

.upgrade-item.disabled:hover,
.building-item.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(100, 100, 100, 0.3);
}

.upgrade-item.disabled::before,
.building-item.disabled::before {
    display: none;
}

.coming-soon {
    background: linear-gradient(135deg, rgba(50, 50, 60, 0.4), rgba(30, 30, 40, 0.4)) !important;
    border: 2px dashed rgba(255, 105, 180, 0.3) !important;
    opacity: 0.7;
}

.coming-soon .item-name {
    color: #888 !important;
    font-style: italic;
    text-shadow: none !important;
}

.coming-soon .item-cost {
    color: #aaa !important;
    font-size: 14px !important;
}

.coming-soon .item-description {
    color: #666 !important;
    font-style: italic;
}

.item-name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 8px;
    color: #ff69b4;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

.item-cost {
    font-size: 18px;
    margin-bottom: 5px;
    color: #ff00ff;
    font-weight: 400;
}

.item-description {
    font-size: 16px;
    opacity: 0.8;
    color: #ffb3ff;
}

.item-owned {
    font-size: 18px;
    font-weight: bold;
    float: right;
    background: rgba(255, 0, 255, 0.3);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 105, 180, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
}

.floating-number {
    position: absolute;
    font-size: 28px;
    font-weight: 900;
    color: #ff69b4;
    pointer-events: none;
    animation: float-up 1s ease-out forwards;
    text-shadow: 
        0 0 20px rgba(255, 105, 180, 0.8),
        0 0 40px rgba(255, 0, 255, 0.6);
    z-index: 1000;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 255, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff00ff, #ff69b4);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

/* Social Links Styling */
.social-links {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(20, 20, 30, 0.9);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 50%;
    color: #ff69b4;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: #ff69b4;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.4);
}

.twitter-icon:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1da1f2;
    box-shadow: 0 5px 20px rgba(29, 161, 242, 0.4);
}

.pumpfun-icon:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Total Goons Counter Styling */
.total-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(20, 20, 30, 0.9);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 15px;
    padding: 12px 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    font-family: 'Orbitron', monospace;
    z-index: 1000;
    min-width: 200px;
}

.total-counter-label {
    color: #ff69b4;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-counter-value {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
}

@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .upgrade-section {
        width: 100%;
    }
    
    .game-title {
        font-size: 80px;
    }
    
    .score {
        font-size: 56px;
    }
    
    .per-second {
        font-size: 28px;
    }
    
    .lotion-bottle {
        font-size: 220px;
    }
}