body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background-color: #000;
    color: #e2e8f0;
    overflow: hidden;
}

/* Start Overlay to enable sound by user interaction */
.start-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1e293b 0%, #0a0f1d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.start-overlay-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.start-card {
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.pulse-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: iconBounce 2s infinite ease-in-out;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.6)); }
}

.start-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #f8fafc;
    line-height: 1.6;
}

.start-play-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.start-play-btn:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: scale(1.03);
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.8);
}

.btn-arrow {
    font-size: 1rem;
}

.vpn-tip {
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 999px;
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Video Container */
.fullscreen-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

/* Invitation & Celebration Cards */
.card {
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    max-width: 90%;
    width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.glass-effect {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.glow-text {
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    min-height: 120px;
}

.btn {
    padding: 16px 40px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-yes {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.8);
}

.btn-yes:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.btn-no {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 10px 20px -10px rgba(239, 68, 68, 0.8);
}

.btn-no:hover {
    background: linear-gradient(135deg, #f87171, #ef4444);
}

#toast-container {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-right: 4px solid #ef4444;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-left: 1px solid rgba(255,255,255,0.05);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-100%);
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, fadeOut 0.4s forwards 2.6s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}
