* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overscroll-behavior: none;
}

.top-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FFB7CE, #4A9B95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-align: center;
}

main img {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    z-index: 10;
}

main img.show {
    opacity: 1;
}

main {
    position: relative;
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 183, 206, 0.1), 
                0 8px 32px rgba(74, 155, 149, 0.1);
}

.bottom-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1.5rem;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.slider-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

sub {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    writing-mode: vertical-lr;
    direction: rtl;
    width: 40px;
    height: 280px;
    touch-action: none;
}

input[type="range"].pink::-webkit-slider-runnable-track {
    background: linear-gradient(180deg, #FFB7CE 0%, #FF9BB8 100%);
    width: 20px;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(255, 183, 206, 0.3);
}

input[type="range"].pink::-moz-range-track {
    background: linear-gradient(180deg, #FFB7CE 0%, #FF9BB8 100%);
    width: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255, 183, 206, 0.3);
}

input[type="range"].pink::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: #FFB7CE;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(255, 183, 206, 0.5), 0 0 0 4px rgba(255, 183, 206, 0.25);
    transition: all 0.15s ease;
    margin-left: -6px;
}

input[type="range"].pink::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: #FFB7CE;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(255, 183, 206, 0.5), 0 0 0 4px rgba(255, 183, 206, 0.25);
    transition: all 0.15s ease;
}

input[type="range"].green::-webkit-slider-runnable-track {
    background: linear-gradient(180deg, #4A9B95 0%, #2D5F5D 100%);
    width: 20px;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(74, 155, 149, 0.3);
}

input[type="range"].green::-moz-range-track {
    background: linear-gradient(180deg, #4A9B95 0%, #2D5F5D 100%);
    width: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(74, 155, 149, 0.3);
}

input[type="range"].green::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: #4A9B95;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(74, 155, 149, 0.5), 0 0 0 4px rgba(74, 155, 149, 0.25);
    transition: all 0.15s ease;
    margin-left: -6px;
}

input[type="range"].green::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: #4A9B95;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(74, 155, 149, 0.5), 0 0 0 4px rgba(74, 155, 149, 0.25);
    transition: all 0.15s ease;
}

input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 183, 206, 0.6), 0 0 0 6px rgba(255, 183, 206, 0.3);
}

input[type="range"]:hover::-moz-range-thumb {
    transform: scale(1.08);
}

input[type="range"].green:hover::-webkit-slider-thumb {
    box-shadow: 0 6px 20px rgba(74, 155, 149, 0.6), 0 0 0 6px rgba(74, 155, 149, 0.3);
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.12);
}

input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.12);
}

.hidden {
    display: none !important;
}

.question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    backdrop-filter: blur(10px);
}

.question h2 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.question button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    font-family: inherit;
}

.question button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.question button:active {
    transform: translateY(0);
}

.question #bitch {
    box-shadow: 0 4px 20px rgba(255, 183, 206, 0.2);
}

.question #nerd {
    box-shadow: 0 4px 20px rgba(74, 155, 149, 0.2);
}

.question #bitch:hover {
    box-shadow: 0 6px 25px rgba(255, 183, 206, 0.3);
}

.question #nerd:hover {
    box-shadow: 0 6px 25px rgba(74, 155, 149, 0.3);
}

.password {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    backdrop-filter: blur(10px);
}

.password h2 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.password input[type="text"] {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    outline: none;
    transition: all 0.2s ease;
    min-width: 280px;
    text-align: center;
}

.password input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(255, 183, 206, 0.2);
}

.password input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.password span {
    font-size: 0.95rem;
    color: rgba(255, 183, 206, 0.8);
    min-height: 1.5rem;
}

.shake {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

.middle-section {
    flex: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#bomb {
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #FFB7CE, #FF8FC7);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 183, 206, 0.4);
    letter-spacing: 0.3px;
    opacity: 0;
    pointer-events: none;
}

#bomb.show {
    opacity: 1;
    pointer-events: auto;
}

#bomb:hover {
    box-shadow: 0 6px 20px rgba(255, 183, 206, 0.6);
    background: linear-gradient(135deg, #FF8FC7, #FFB7CE);
}

#bomb:active {
    box-shadow: 0 2px 12px rgba(255, 183, 206, 0.5);
}

@keyframes shake {
  0% { transform: translate(-50%, -50%) translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-50%, -50%) translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-50%, -50%) translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(-50%, -50%) translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(-50%, -50%) translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-50%, -50%) translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-50%, -50%) translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(-50%, -50%) translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-50%, -50%) translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(-50%, -50%) translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) translate(1px, -2px) rotate(-1deg); }
}

@keyframes heartExplosion {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    100% { transform: scale(3) rotate(360deg); opacity: 0; }
}

.heart {
    position: absolute;
    font-size: 2rem;
    pointer-events: none;
    animation: heartExplosion 1s ease-out forwards;
}

