:root {
    --primary: #d946ef;
    --primary-gradient: linear-gradient(135deg, #ec4899, #8b5cf6);
    --bg-deep: #06080f;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
}

.nv-event-body,
.nv-event-embed {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    color: var(--text-main);
}

.nv-event-body *,
.nv-event-embed * { box-sizing: border-box; }

.nv-event-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.nv-event-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: -1;
}

.nv-top-header {
    width: 100%;
    max-width: 1400px;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    direction: ltr;
    z-index: 10;
}

.nv-header-left { display: flex; align-items: center; gap: 15px; }
.nv-logo-sphere {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e, #3b82f6, #06b6d4);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}
.nv-logo-text { display: flex; flex-direction: column; }
.nv-logo-text strong {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.2;
}
.nv-logo-text span {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.65rem; letter-spacing: 2px; color: #cbd5e1; text-transform: uppercase;
}
.nv-header-right { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.nv-header-right .date-loc {
    font-family: 'Segoe UI', sans-serif; font-size: 0.85rem; color: #e2e8f0; letter-spacing: 1px;
}
.nv-header-right .secure-badge {
    font-family: 'Segoe UI', sans-serif; font-size: 0.7rem; color: #94a3b8; font-style: italic; letter-spacing: 1px;
}

.nv-layout-wrapper {
    flex: 1; display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 0 2rem 2rem; z-index: 10;
}
.nv-layout-container {
    display: flex; width: 100%; max-width: 1100px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.8);
    overflow: hidden;
}

.nv-right-panel {
    width: 40%;
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.nv-poster-card {
    width: 100%; max-width: 340px; height: 215px; border-radius: 16px;
    background: var(--primary-gradient);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.3);
    position: relative; overflow: hidden; margin-bottom: 2rem;
}
.nv-poster-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-poster-card .nv-poster-fallback {
    height: 100%; display: flex; align-items: center; justify-content: center;
    padding: 24px; text-align: center; font-weight: 800; font-size: 1.15rem;
}
.nv-poster-card::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg); pointer-events: none;
}

.nv-event-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 25px; width: 100%; max-width: 340px;
}
.nv-event-info-box h3 {
    font-size: 1rem; margin: 0 0 15px; color: #e2e8f0;
    border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 10px;
}
.nv-info-row, .nv-receipt-row {
    display: flex; justify-content: space-between; gap: 12px;
    margin-bottom: 12px; font-size: 0.85rem;
}
.nv-info-row .label, .nv-receipt-row span:first-child { color: var(--text-muted); }
.nv-receipt-details { margin-top: 20px; padding-top: 15px; border-top: 1px dashed rgba(255,255,255,0.1); }
.nv-receipt-total {
    display: flex; justify-content: space-between; margin-top: 15px; padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; font-weight: 700; color: #ec4899;
}

.nv-left-panel { width: 60%; padding: 3rem; }
.nv-type-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(139, 92, 246, 0.15); color: #e9d5ff;
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 999px; padding: 6px 12px; font-size: 0.8rem; margin-bottom: 14px;
}
.nv-header-title { font-size: 1.7rem; margin: 0 0 8px; font-weight: 800; color: #fff; }
.nv-header-subtitle { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 22px; line-height: 1.8; }
.nv-section-title {
    font-size: 1rem; color: #e2e8f0; margin: 25px 0 15px;
    display: flex; align-items: center; gap: 8px; font-weight: 700;
}
.nv-section-title::before {
    content: ''; width: 6px; height: 6px; background: #8b5cf6; border-radius: 50%;
    box-shadow: 0 0 8px #8b5cf6;
}
.nv-goals { margin: 0; padding: 0 1.2rem 0 0; color: #e2e8f0; line-height: 2; }
.nv-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nv-chip {
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 12px 14px;
}
.nv-chip small { display: block; color: var(--text-muted); font-size: 0.75rem; margin-bottom: 4px; }
.nv-chip b { font-size: 0.92rem; font-weight: 700; }

.nv-register-btn {
    width: 100%; background: var(--primary-gradient); color: #fff; border: none;
    padding: 16px; border-radius: 10px; font-size: 1rem; font-weight: 700;
    cursor: pointer; margin-top: 28px; text-decoration: none;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25);
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease;
}
.nv-register-btn:hover { box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4); transform: translateY(-2px); color: #fff; }
.nv-register-btn.is-disabled {
    background: #334155; color: #94a3b8; pointer-events: none; box-shadow: none; transform: none;
}

@media (max-width: 992px) {
    .nv-top-header { flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 2rem 1rem; }
    .nv-header-right { text-align: center; }
    .nv-layout-wrapper { padding: 0 1rem 2rem; }
    .nv-layout-container { flex-direction: column; background: transparent; border: none; box-shadow: none; }
    .nv-right-panel {
        width: 100%; border: 1px solid var(--glass-border); border-bottom: none;
        background: var(--glass-bg); border-radius: 24px 24px 0 0; padding: 2rem 1rem;
    }
    .nv-left-panel {
        width: 100%; border: 1px solid var(--glass-border); border-top: 1px dashed rgba(255,255,255,0.1);
        background: var(--glass-bg); border-radius: 0 0 24px 24px; padding: 2rem 1.5rem;
    }
    .nv-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .nv-logo-text strong { font-size: 1.2rem; }
    .nv-left-panel { padding: 1.5rem 1rem; }
    .nv-poster-card { height: 190px; }
}
