:root {
    --color-bg-start: #2c001e;
    --color-bg-end: #5a0038;
    --color-primary: #ff4081;
    --color-primary-hover: #f50057;
    --color-secondary: #9e9e9e;
    --color-text: #ffffff;
    --color-text-dim: #ffcce0;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--color-bg-start), var(--color-bg-end));
    color: var(--color-text);
    height: 100vh;
    overflow: hidden; /* Prevent scrollbars from "NE" button movement */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Background Effects */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.haze {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 64, 129, 0.15) 0%, transparent 70%);
}

.floating-heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: floatUp 15s linear infinite;
    user-select: none;
}

@keyframes floatUp {
    0% { transform: translateY(110vh) scale(0.5); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Main Container */
.container {
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    z-index: 10;
     /* Ensure it's above background but below modal */
}

.headline {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    margin-bottom: 2.5rem;
}

/* Buttons */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative; /* Context for absolute positioning if needed inside, though we use fixed for NE safety */
    min-height: 80px; /* Space for buttons */
}

.btn {
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

/* "NE" Button Specifics */
#btn-ne {
    position: relative; /* Starts relative, becomes absolute when running */
    z-index: 20;
}

.wiggle {
    animation: wiggle 0.4s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    75% { transform: translateX(5px) rotate(5deg); }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
    display: none; /* simple toggle */
}

.modal-content {
    background: white;
    color: #333;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal:not(.hidden) .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
    .headline {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .buttons-container {
        gap: 1rem;
    }
}
