:root {
    --primary-color: #ff004c;
    --secondary-color: #00d4ff;
    --bg-dark: #0a0a0c;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-dim: #a0a0a0;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #1a1a2e 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, #16213e 0%, transparent 50%);
    z-index: -1;
    filter: blur(50px);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
}

.premium {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.subtitle {
    color: var(--secondary-color);
    letter-spacing: 3px;
    font-weight: 700;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.input-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-white);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.input-row {
    display: flex;
    gap: 1rem;
}

.neon-button {
    width: 100%;
    padding: 1.2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.neon-button:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 30px var(--primary-color);
}

.result-card {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    background: rgba(255, 0, 76, 0.05);
    border: 1px solid rgba(255, 0, 76, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    display: none;
    /* Ensure it takes no space */
}

.multiplier {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    text-shadow: 0 0 20px var(--secondary-color);
    margin: 1rem 0;
}

.status {
    color: #00ff88;
    font-weight: 700;
    letter-spacing: 2px;
}

.info-section {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-dim);
    line-height: 1.6;
}

.info-section h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

footer {
    margin-top: auto;
    padding: 3rem 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.guide-link {
    margin-top: 1.5rem;
    text-align: center;
}

.link-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.guide-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 2rem;
    transition: all 0.3s ease;
}

.guide-section.hidden {
    opacity: 0;
    pointer-events: none;
}

.instruction-card {
    max-width: 500px;
}

.guide-list {
    list-style: none;
    margin: 2rem 0;
}

.guide-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-white);
}

.guide-list span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 0 10px var(--primary-color);
}

.neon-button.small {
    padding: 0.8rem;
    font-size: 1rem;
    margin-top: 0;
}

.guide-img {
    width: 100%;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid var(--glass-border);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .glass-card {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}

.visual-guide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
}

.step-box .icon {
    font-size: 2rem;
}

.step-box p {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.arrow {
    font-size: 1.5rem;
    color: var(--text-dim);
}