* {
    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;
}

.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;
}

.middle-section {
    flex: 0;
    display: flex;
    justify-content: center;
    align-items: 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;
}

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

/* Pink slider */
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;
}

/* Green slider */
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;
}

/* Hover effects */
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);
}

/* Active state */
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);
}
