/* Modern Obsidian & Velvet Red Design System for Elite BDSM Platform */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

:root {
    --bg-dark: #0a0b10;
    --bg-card: #121420;
    --bg-card-hover: #191c2b;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(220, 38, 38, 0.4);
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --accent-gold: #f59e0b;
    --accent-purple: #9333ea;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glass-bg: rgba(10, 11, 16, 0.85);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .font-heading {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    letter-spacing: 0.02em;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(18, 20, 32, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-nav {
    background: rgba(10, 11, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Glow & Hover Effects */
.hover-glow {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 12px 30px -10px rgba(220, 38, 38, 0.35);
}

.text-gradient-red {
    background: linear-gradient(135deg, #ffffff 0%, #fecaca 30%, #ef4444 70%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fff 0%, #fef08a 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Role Badges */
.badge-master {
    background: linear-gradient(135deg, #991b1b, #dc2626);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.badge-slave {
    background: linear-gradient(135deg, #581c87, #9333ea);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(147, 51, 234, 0.3);
}

.badge-switch {
    background: linear-gradient(135deg, #c2410c, #ea580c);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0b10;
}

::-webkit-scrollbar-thumb {
    background: #26293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Modal Animations */
.modal-overlay {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.modal-content {
    animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hero Carousel */
.slide-bg {
    transition: opacity 1s ease-in-out;
}

.slide-content {
    transition: all 0.8s ease-in-out;
}

/* Pulse animation for live indicators */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* FAQ Accordion Styling */
.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(220, 38, 38, 0.3);
}

.accordion-header {
    cursor: pointer;
    user-select: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-icon {
    transition: transform 0.3s ease;
}
