 /* Basic styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


 #s-m-t-tooltip {
padding: 5px;
    display: none;
    text-align: center;
    position: absolute;
    font-style:normal;
    text-transform: uppercase;
    margin-top:4px;
    margin-left:13px;
    line-height:9px;
    z-index: 999999999999999999999999999;
    background: rgba(0,0,0,0.8);
    color: #a6a6a6;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 400;
    padding: 10px;
    border-radius: 10px;
    
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
          background: url('https://bangboo.feyradio.moe/bg.png') repeat;
        animation: backgroundScroll 25s linear infinite;
        transform-origin: center center;
        color: #fff;
        display: grid;
        font-family: "Nunito Sans";
        touch-action: manipulation;
        }


::-webkit-scrollbar {
	width:6px;
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background:#ff5900;
    border-radius: 5px; 
}

        .container {
            display: grid;
            grid-template-columns: 1fr 300px;
            grid-template-rows: auto 1fr;
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            gap: 20px;
            min-height: 50vh;
            background: rgba(0,0,0,1);
             position: relative;
             top: 40px;
               border-radius: 10px;
        }

        .main-game {
            grid-column: 1;
            grid-row: 1 / 3;
            border-radius: 15px;
            padding: 30px;
           
        }

        .container::after, .container::before{
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: conic-gradient(from var(--angle), transparent 90%, orange);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 3px;
  border-radius: 10px;
  animation: 5s spin linear infinite;
}
.container::before{
  filter: blur(1.5rem);
  opacity: 0.5;
}


@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

        @keyframes backgroundScroll {
	0% {
    background-position: 0 0;
  }
	100% {
    /* pattern bg texture is 1000x1000px */
    background-position:0 -250px;
  }
}

@keyframes spin{
  from{
    --angle: 0deg;
  }
  to{
    --angle: 360deg;
  }
}

a:link {
    color: orange;
    text-decoration: none;
}
a:hover {
    color: white;
}

        .achievements-panel {
            grid-column: 2;
            grid-row: 1;
            background: rgba(0,0,0,1);
            border-radius: 15px;
            padding: 20px;
            max-height: 300px;
            overflow-y: auto;
        }

        .sidebar {
            grid-column: 2;
            grid-row: 2;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .sidebar-panel {
            background: rgba(0,0,0,0.2);
            border-radius: 15px;
            padding: 20px;
            backdrop-filter: blur(10px);
            display: none;
            animation: slideIn 0.3s ease-out;
        }

        .sidebar-panel.active {
            display: block;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
       h1 {
            color: rgba(255, 140, 0, 1);
            font-family: "Bebas Neue";
            font-size: 48px;
            letter-spacing: .6;
        }

        .control-buttons {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            gap: 15px;
        }

        .control-btn {
            padding: 8px 20px;
            background: #111;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 12px;
            font-weight: bold;
            transition: all 0.3s ease;
            text-transform: uppercase
        }

        .control-btn:hover {
            background: rgba(255, 165, 0,0.7);
        }

        .control-btn.active {
            background:rgba(255, 165, 0,0.7);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .close-btn {
            background: transparent;
            float: right;
            border: none;
            border-radius: 50%;
            color: #800000;
            width: 30px;
            height: 30px;
            cursor: pointer;
            font-size: 24px;
            margin-bottom: 15px;
            transition: background 0.3s ease;
        }

        .close-btn:hover {
            color: #ff0000;
        }

        .game-stats {
            text-align: center;
            margin-bottom: 30px;
        }

        .headpats {
            font-size: 2.5em;
            font-weight: bold;
            color: orange;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            margin-bottom: 10px;
            font-family: "Bebas Neue"
        }

        .cps {
            font-size: 1.2em;
            font-weight: bold;
            color: transparent;
            background-clip: text;
            background-image: linear-gradient(0deg,rgba(255, 89, 0, 1) 0%, rgba(191, 143, 0, 1));
        }

        .click-image {
            display: block;
            width: 200px;
            height: 200px;
            margin: 30px auto;
            cursor: pointer;
            transition: all 0.1s ease;
            border-radius: 50%;
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
            object-fit: cover;
        }

        .click-image:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 35px rgba(0,0,0,0.4);
        }

        .click-image:active {
            transform: scale(0.95);
        }

        .click-button {
            display: block;
            width: 200px;
            height: 200px;
            margin: 30px auto;
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            border: none;
            border-radius: 50%;
            font-size: 1.5em;
            font-weight: bold;
            color: #333;
            cursor: pointer;
            transition: all 0.1s ease;
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }

        .click-button:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 35px rgba(0,0,0,0.4);
        }

        .click-button:active {
            transform: scale(0.95);
        }

        .shop-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-height: 70vh;
            overflow-y: auto;
            padding: 10px;
            width: 290px;
        }

        .shop-item {
            background:#111;
            padding: 15px;
        }

        .shop-item h3 {
            color: #ff5900;
            margin-bottom: 8px;
            font-size: 1em;
            text-transform: uppercase;
        }

        .shop-item p {
            margin-bottom: 10px;
            line-height: 1.4;
            font-size: 0.9em;
        }

        .shop-item-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
        }

        .shop-btn {
            padding: 6px 12px;
            background: #ff5900;
            border: none;
            color: white;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .shop-btn:hover:not(:disabled) {
        background-color: orange;
        }

        .shop-btn:disabled {
            background: #666;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .price {
            font-weight: bold;
          color: transparent;
            background-clip: text;
            background-image: linear-gradient(0deg,rgba(255, 89, 0, 1) 0%, rgba(191, 143, 0, 1));
        }

        .owned {
            color: #ccc;
            font-size: 0.8em;
            margin-bottom: 5px;
            text-transform: uppercase;
        }

        .save-section {
               background:#111;
            padding: 15px;
            padding: 15px;
            margin-bottom: 15px;
        }

        .save-section h3 {
                color: #ff5900;
            margin-bottom: 8px;
            font-size: 1em;
            text-transform: uppercase;
        }

        .save-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }

        .save-btn {
          padding: 6px 12px;
            background: #ff5900;
            border: none;
            color: white;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        .save-btn:hover {
            background: #444;
        }

        .import-export {
            margin-top: 10px;
        }

        .creds {
            font-size: .8em;
        }

        .creds b{
            color: orange;
        }

        .save-textarea {
            width: 100%;
            height: 120px;
            background: rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 6px;
            padding: 10px;
            color: white;
            font-family: monospace;
            font-size: 0.8em;
            resize: vertical;
        }

        .floating-text {
            position: absolute;
            pointer-events: none;
            font-weight: bold;
            font-size: 1.2em;
            color: #ffd700;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
            animation: float-up 1s ease-out forwards;
        }

        @keyframes float-up {
            0% {
                opacity: 1;
                transform: translateY(0);
            }
            100% {
                opacity: 0;
                transform: translateY(-50px);
            }
        }

        .achievement {
            transform: translateY(-20px);
            background: #111;
            border-radius: 10px;
            padding: 10px;
            margin: 5px 0;
            font-size: 0.85em;
            transition: opacity 0.5s ease, transform 0.5s ease;
            opacity: 0;
        }

        .achievement.show {
    opacity: 1;
    transform: translateY(0);
}

        .achievement h4 {
            margin-bottom: 5px;
            font-size: 1em;
                color: transparent;
            background-clip: text;
            background-image: linear-gradient(0deg,rgba(255, 89, 0, 1) 0%, rgba(191, 143, 0, 1));
                 font-size: 1.0em;
            text-transform: uppercase;
        }

        .achievements-title {
              color: transparent;
            background-clip: text;
            background-image: linear-gradient(0deg,rgba(255, 89, 0, 1) 0%, rgba(191, 143, 0, 1));
            text-align: center;
            margin-bottom: 15px;
            font-size: 1.0em;
            text-transform: uppercase;
        }

            .helper-figure {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.helper-figure:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.7em;
    white-space: nowrap;
    border-radius: 4px;
}

        }
        
        
        
        
        .changelog-panel {
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    display: none;
    animation: slideIn 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.changelog-panel.active {
    display: block;
}

.changelog-entry {
    background: #111;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.changelog-version {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.changelog-date {
    color: #ccc;
    font-size: 0.9em;
    margin-bottom: 10px;
}

        .footer {
            text-align: center;
            font-size: 0.8em;
            margin: auto;
        }
        

    @keyframes bounceIn {
	0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
	40% {
    transform: translateY(-30px);
  }
	60% {
    transform: translateY(-15px);
  }
}

        @media (max-width: 1200px) {
            .container {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto;
                max-width: 800px;
            }
            
            .main-game {
                grid-column: 1;
                grid-row: 1;
            }

            .achievements-panel {
                grid-column: 1;
                grid-row: 2;
                max-height: 200px;
            }
            
            .sidebar {
                grid-column: 1;
                grid-row: 3;
            }
        }
        
    
        
        
        
        