:root {
    --neon-blue: #03befc;
    --neon-gold: #ffd700;
    --dark-bg: #000a12;
    --panel-bg: #001a2c;
    --border-color: #004060;
    --text-main: #e0f7ff;
    --highlight: #00f2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image:
        linear-gradient(rgba(0, 10, 20, 0.85), rgba(0, 15, 30, 0.95)),
        url('https://turbo-cdn.dev/banner/pg-soft-background.webp');
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(3, 190, 252, 0.05),
            rgba(3, 190, 252, 0.05) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    z-index: 20;
}

.main-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--neon-blue);
    padding-bottom: 15px;
}

.main-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
    margin-bottom: 5px;
}

.subtitle {
    color: var(--highlight);
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 700;
}

.control-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(3, 190, 252, 0.2);
    backdrop-filter: blur(5px);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-blue);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-blue);
    color: #fff;
    font-family: 'Rajdhani', monospace;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
    border-radius: 5px;
}

.input-group input:focus,
.input-group select:focus {
    box-shadow: 0 0 15px rgba(3, 190, 252, 0.6);
    background: rgba(0, 0, 0, 0.8);
}

.cyber-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #005a80, #03befc);
    border: none;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(3, 190, 252, 0.4);
}

.cyber-btn:active {
    transform: scale(0.97);
}

.cyber-btn:hover {
    box-shadow: 0 0 25px var(--neon-blue);
    filter: brightness(1.1);
}

.hidden {
    display: none;
}

#status-display {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in;
}

.terminal-window {
    background: #000;
    border: 1px solid #004060;
    padding: 10px;
    font-family: 'Courier New', monospace;
    height: 150px;
    overflow-y: auto;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #004060;
    padding-bottom: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.blue {
    background: #03befc;
}

.terminal-content {
    font-size: 0.85rem;
    color: var(--neon-blue);
    line-height: 1.4;
}

.result-card {
    text-align: center;
    background: rgba(3, 190, 252, 0.03);
    padding: 20px;
    border: 1px solid var(--neon-blue);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(3, 190, 252, 0.1);
}

.result-card h2 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(3, 190, 252, 0.5);
}

/* Speedometer Styles Enhanced */
.gauge-container {
    width: 250px;
    margin: 20px auto;
    text-align: center;
    position: relative;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    border: 1px solid rgba(3, 190, 252, 0.3);
}

.gauge {
    width: 100%;
    max-width: 200px;
    height: 100px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.gauge__body {
    width: 100%;
    height: 200%;
    background: #001020;
    position: relative;
    border-top-left-radius: 100% 50%;
    border-top-right-radius: 100% 50%;
    overflow: hidden;
    border: 2px solid #003050;
}

.gauge__body::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    background: repeating-conic-gradient(from 0deg, transparent 0 2deg, #004060 2deg 3deg);
    mask-image: radial-gradient(circle at 50% 100%, transparent 60%, black 61%);
    opacity: 0.3;
    top: 0;
}

.gauge__fill {
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    background: linear-gradient(90deg, #004060 0%, #03befc 100%);
    transform-origin: center top;
    transform: rotate(0deg);
}

.gauge__cover {
    width: 75%;
    height: 150%;
    background: var(--panel-bg);
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.8);
    z-index: 4;
}

.gauge__needle {
    width: 3px;
    height: 60%;
    background: var(--neon-blue);
    position: absolute;
    bottom: 52%;
    left: calc(50% - 1.5px);
    transform-origin: bottom center;
    transform: rotate(-90deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    z-index: 10;
    border-radius: 10px;
    box-shadow: 0 0 15px var(--neon-blue);
}

.gauge__needle::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #000;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    position: absolute;
    bottom: -7px;
    left: -5.5px;
}

.gauge-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--neon-blue);
    margin-top: 10px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.gauge-label {
    font-size: 0.85rem;
    color: var(--neon-gold);
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

.gauge__scale {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.gauge__scale span {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: #006080;
    font-weight: bold;
}

.s-0 {
    bottom: 0px;
    left: 5px;
}

.s-10 {
    bottom: 25px;
    left: 8px;
}

.s-20 {
    top: 45px;
    left: 15px;
}

.s-30 {
    top: 25px;
    left: 35px;
}

.s-40 {
    top: 12px;
    left: 30%;
}

.s-50 {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.s-60 {
    top: 12px;
    right: 30%;
}

.s-70 {
    top: 25px;
    right: 35px;
}

.s-80 {
    top: 45px;
    right: 15px;
}

.s-90 {
    bottom: 25px;
    right: 8px;
}

.s-100 {
    bottom: 0px;
    right: 5px;
}

#gacor-alert {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-blue);
    font-weight: 900;
    text-shadow: 0 0 15px var(--neon-blue);
    animation: flash 0.3s infinite alternate;
}

@keyframes flash {
    from {
        opacity: 0.4;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.meter-wrapper {
    margin-bottom: 12px;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
}

.progress-bar {
    height: 14px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid #004060;
}

.fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #005a80, #03befc);
    box-shadow: 0 0 10px rgba(3, 190, 252, 0.5);
}

.status-badge {
    display: inline-block;
    padding: 8px 15px;
    background: var(--neon-blue);
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 15px;
    border-radius: 5px;
    box-shadow: 0 0 15px var(--neon-blue);
    text-transform: uppercase;
}

.recommendation {
    margin-top: 15px;
    font-style: italic;
    color: #e0f7ff;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.main-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.75rem;
    color: #006080;
}

.blink {
    animation: blinker 1s linear infinite;
    color: var(--neon-blue);
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#selected-game-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 160px;
    margin: 0 auto;
    display: block;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
}