:root {
    --primary-color: #e60000;
    --secondary-color: #ff3333;
    --text-color: #ffffff;
    --glass-bg: rgba(20, 0, 0, 0.7);
    --glass-border: rgba(255, 0, 0, 0.3);
    --shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

/* Floating Hearts Background */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    transform: rotate(-45deg);
    animation: floatUp 10s linear infinite;
    opacity: 0.6;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
}

.heart::before {
    top: -10px;
    left: 0;
}

.heart::after {
    left: 10px;
    top: 0;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) rotate(-45deg) scale(0.5); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-20vh) rotate(-45deg) scale(1.2); opacity: 0; }
}

/* Main Container */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    box-shadow: var(--shadow);
    z-index: 1;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

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

/* Typography */
h1, h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
}

/* Video Section */
.video-section {
    margin: 40px 0;
    position: relative;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 9/16;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    color: white;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.2);
}

.video-overlay .play-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.video-overlay:hover .play-icon {
    transform: scale(1.1);
}

/* Interaction Section */
.interaction-section {
    margin-top: 40px;
}

.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    min-height: 80px; /* space for absolute positioning */
    position: relative;
}

.btn {
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.btn-yes {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 75, 114, 0.4);
}

.btn-yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 75, 114, 0.6);
}

.btn-no {
    background: #333333;
    color: #ffffff;
    position: relative; /* relative by default, becomes absolute in JS */
}

/* Success Message Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-overlay.hidden {
    display: none;
}

.success-overlay:not(.hidden) {
    opacity: 1;
}

.success-content {
    text-align: center;
    animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.success-content p {
    font-size: 1.5rem;
    color: #cccccc;
}

.big-heart {
    font-size: 5rem;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Entry Screen Overlay */
.entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0b0000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.entry-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.entry-content {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.entry-content p {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.5;
}

.enter-heart {
    font-size: 6rem;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    display: inline-block;
    transition: transform 0.3s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.enter-heart:hover {
    transform: scale(1.2);
}

.click-hint {
    display: block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #aaaaaa;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .glass-panel { padding: 30px 20px; }
    .video-section h2 { font-size: 1.6rem; }
    .btn { font-size: 1rem; padding: 10px 20px; }
}
