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

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 0;
    z-index: 0;
}

.grid-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.grid-item.hovered img.active {
    filter: blur(12px) brightness(0.7);
    transform: scale(1.15);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, filter 0.3s ease, transform 0.3s ease;
}

.grid-item img.active {
    opacity: 1;
}

.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    text-align: center;
    padding: 20px;
}


/* Question container */
.question-container {
    animation: fadeIn 0.8s ease-in;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.headline {
    font-size: 2rem;
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
    letter-spacing: 1px;
}

.subheadline {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.main-question {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Buttons */
.buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.btn:active {
    transform: scale(0.98);
}

.btn-yes {
    border-color: #4ade80;
    color: #4ade80;
}

.btn-yes:hover {
    background: rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.6);
}

.btn-no {
    border-color: #f87171;
    color: #f87171;
}

.btn-no:hover {
    background: rgba(248, 113, 113, 0.3);
    box-shadow: 0 0 30px rgba(248, 113, 113, 0.6);
}

/* Email container */
.email-container {
    animation: fadeIn 0.8s ease-in;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.email-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.email-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    padding: 0.9rem 2.5rem;
    font-size: 1.2rem;
    background: #4ade80;
    border-color: #4ade80;
    color: #000;
}

.btn-submit:hover {
    background: #22c55e;
    border-color: #22c55e;
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.8);
}

/* Success container */
.success-container {
    animation: fadeIn 0.8s ease-in;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4ade80;
}

.success-message {
    font-size: 1.2rem;
}

/* Hidden class */
.hidden {
    display: none !important;
}

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

/* Tablet - 4x4 grid */
@media (max-width: 1024px) {
    .background-grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    
    .headline {
        font-size: 1.8rem;
    }
    
    .subheadline {
        font-size: 1.15rem;
    }
    
    .badge {
        font-size: 1.1rem;
    }
    
    .main-question {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 0.9rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .email-title {
        font-size: 1.8rem;
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .question-container,
    .email-container,
    .success-container {
        padding: 1.8rem 2.5rem;
        max-width: 500px;
    }
}

/* Mobile - 3x6 grid */
@media (max-width: 768px) {
    .background-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    
    .headline {
        font-size: 1.5rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .badge {
        font-size: 1rem;
        padding: 0.3rem 0.9rem;
    }
    
    .main-question {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
        width: 180px;
    }
    
    .email-title {
        font-size: 1.5rem;
    }
    
    .email-input {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .success-title {
        font-size: 1.8rem;
    }
    
    .success-message {
        font-size: 1rem;
    }
    
    .question-container,
    .email-container,
    .success-container {
        padding: 1.5rem;
        max-width: 90%;
    }
}

/* Small Mobile - 2x8 grid */
@media (max-width: 480px) {
    .background-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }
    
    .headline {
        font-size: 1.3rem;
    }
    
    .subheadline {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .badge {
        font-size: 0.9rem;
        padding: 0.25rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .main-question {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        width: 160px;
    }
    
    .email-title {
        font-size: 1.3rem;
    }
    
    .email-form {
        max-width: 280px;
    }
    
    .email-input {
        font-size: 0.95rem;
        padding: 0.7rem;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
    
    .success-message {
        font-size: 0.9rem;
    }
    
    .question-container,
    .email-container,
    .success-container {
        padding: 1.2rem;
        max-width: 90%;
        border-radius: 12px;
    }
}
