* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #0b0f19;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
}

/* Background Stars Effect */
.stars, .twinkling {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: block;
}

.stars {
    background: #000 url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png') repeat top center;
    z-index: -2;
}

.twinkling {
    background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/twinkling.png') repeat top center;
    z-index: -1;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

.container {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 2rem;
    padding: 3rem 2rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    margin-bottom: 2.5rem;
}

.greeting {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.question {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #e0e7ff, #818cf8, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.movie-title span {
    display: block;
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.glitch {
    font-size: 2rem;
    font-weight: 900;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #f43f5e, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery {
    margin-bottom: 3rem;
}

.gallery-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.images-container {
    display: flex;
    justify-content: center;
    gap: -20px;
    margin: 0 auto;
    position: relative;
    height: 150px;
    width: 100%;
    perspective: 1000px;
}

.image-wrapper {
    width: 120px;
    height: 150px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    cursor: pointer;
}

.img-1 {
    left: 20%;
    transform: rotate(-10deg) scale(0.9);
    z-index: 1;
}

.img-2 {
    left: 50%;
    transform: translateX(-50%) rotate(0deg) scale(1.1);
    z-index: 3;
}

.img-3 {
    right: 20%;
    transform: rotate(10deg) scale(0.9);
    z-index: 2;
}

.image-wrapper:hover {
    transform: scale(1.3) translateY(-10px) rotate(0deg) translateX(calc(10% - 10px));
    z-index: 10 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(99, 102, 241, 0.5);
    border-color: rgba(99, 102, 241, 0.8);
}
.img-2:hover {
    transform: scale(1.3) translateY(-10px) translateX(-40%);
}
.img-3:hover {
    transform: scale(1.3) translateY(-10px) translateX(0) rotate(0);
}

.action-section {
    margin-top: 2rem;
}

.prompt-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.buttons form {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    min-height: 60px;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-yes {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    z-index: 5;
}

.btn-yes:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6);
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
}

.btn-no:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

.overlay-content {
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.overlay.show .overlay-content {
    transform: scale(1);
}

.overlay-content h2 {
    font-size: 4rem;
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.overlay-content p {
    font-size: 1.5rem;
    color: #e2e8f0;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.spaceship {
    font-size: 5rem;
    display: inline-block;
    animation: blast 2s infinite alternate ease-in-out;
}

@keyframes blast {
    0% { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(-20px) rotate(10deg); }
}

@media (max-width: 480px) {
    .question { font-size: 1.8rem; }
    .glitch { font-size: 1.5rem; }
    .image-wrapper { width: 90px; height: 110px; }
    .img-2:hover { transform: scale(1.3) translateY(-10px) translateX(-35%); }
    .buttons form { flex-direction: column; gap: 1rem; align-items: center; }
    .btn { width: 100%; max-width: 200px; }
}

/* Cat & Date Selection Styles */
.begging-cat {
    display: block;
    margin: 0 auto 1.5rem auto;
    max-width: 150px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: float 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.days-selection {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.day-label {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.day-label input[type="radio"] {
    display: none;
}

.day-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.day-label input[type="radio"]:checked + .day-btn {
    background: rgba(79, 70, 229, 0.6);
    border-color: #818cf8;
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    transform: scale(1.05);
}
