/* ============================================
   OB/GYN Conference Calendar — Burgundy Velvet Edition
   Redesigned: unified conference list with filters
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core palette — BURGUNDY VELVET */
    --bg-deep: #faf5f6;
    --bg-primary: #f7f0f2;
    --bg-card: #ffffff;
    --bg-card-hover: #faf7f8;
    --bg-elevated: #f5edef;
    --bg-surface: #faf7f8;

    /* Text */
    --text-primary: #2d1a1e;
    --text-secondary: #5c3a44;
    --text-muted: #8c6b74;
    --text-accent: #6b2737;

    /* Accents */
    --accent-pink: #912338;
    --accent-pink-light: #b5485d;
    --accent-hot: #800020;
    --accent-rose: #a4303f;
    --accent-blush: #d4a0a7;
    --accent-fuchsia: #722f37;
    --accent-gold: #f5a623;
    --accent-lavender: #d8b4fe;
    --accent-mint: #a7f3d0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a4303f 0%, #800020 40%, #912338 70%, #6b2737 100%);
    --gradient-card: linear-gradient(135deg, rgba(164, 48, 63, 0.06) 0%, rgba(128, 0, 32, 0.03) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(164, 48, 63, 0.12) 0%, rgba(212, 160, 167, 0.06) 40%, transparent 70%);
    --gradient-bubblegum: linear-gradient(135deg, #deb3b9 0%, #a4303f 50%, #800020 100%);
    --gradient-glam: linear-gradient(135deg, #f0dde0, #d4a0a7, #a4303f);

    /* Borders */
    --border-subtle: rgba(145, 35, 56, 0.1);
    --border-card: rgba(145, 35, 56, 0.12);
    --border-hover: rgba(128, 0, 32, 0.35);

    /* Shadows */
    --shadow-card: 0 2px 16px rgba(145, 35, 56, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 12px 40px rgba(128, 0, 32, 0.15), 0 4px 12px rgba(145, 35, 56, 0.1);
    --shadow-glow: 0 0 60px rgba(128, 0, 32, 0.12);
    --shadow-pink: 0 4px 24px rgba(164, 48, 63, 0.25);

    /* Spacing */
    --container-max: 1280px;
    --section-gap: 6rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Quicksand', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === Floating Uterus Background Pattern === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 32 32'%3E%3Cpath d='M16 22 C16 22 16 18 16 16 C16 14 15 13 14 13 L12 13 C9 13 7 11 7 8 C7 5 9 3 12 3 C14 3 15 4 15 4 M16 22 C16 22 16 18 16 16 C16 14 17 13 18 13 L20 13 C23 13 25 11 25 8 C25 5 23 3 20 3 C18 3 17 4 17 4' fill='none' stroke='%23d4a0a780' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='24' r='2.5' fill='%23d4a0a740'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    opacity: 0.4;
}

/* === Ambient Background === */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(164, 48, 63, 0.25), transparent 70%);
    top: -200px;
    left: -100px;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(128, 0, 32, 0.18), transparent 70%);
    top: 40%;
    right: -150px;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 167, 0.22), transparent 70%);
    bottom: 10%;
    left: 20%;
    animation: float-orb 30s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s var(--ease-out);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(250, 245, 246, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 2px 20px rgba(164, 48, 63, 0.08);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-hot);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 100px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--accent-hot);
    background: rgba(128, 0, 32, 0.06);
}

/* Language toggle switch */
.lang-switch {
    display: flex;
    border: 2px solid rgba(164, 48, 63, 0.2);
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: var(--text-muted);
    line-height: 1;
}

.lang-btn:hover {
    color: var(--accent-hot);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(128, 0, 32, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(128, 0, 32, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent-pink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(250, 245, 246, 0.96);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem 1.5rem;
    z-index: 999;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-link {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 600;
}

.mobile-link:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .lang-switch {
        margin-right: 0.5rem;
    }
}

/* === Hero === */
.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 7rem 2rem 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-hero);
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--accent-fuchsia);
    background: rgba(114, 47, 55, 0.08);
    border: 1.5px solid rgba(114, 47, 55, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-hot);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-hot);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 36px;
    background: var(--gradient-bubblegum);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
    border: none;
}

.btn-primary {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 4px 20px rgba(128, 0, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(128, 0, 32, 0.4);
}

.btn-ghost {
    color: var(--accent-pink);
    background: rgba(128, 0, 32, 0.06);
    border: 2px solid rgba(128, 0, 32, 0.2);
}

.btn-ghost:hover {
    color: var(--accent-hot);
    background: rgba(128, 0, 32, 0.1);
    border-color: rgba(128, 0, 32, 0.35);
    transform: translateY(-1px);
}

/* Hero uterus icon */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-uterus-icon {
    width: 260px;
    height: 260px;
    animation: hero-uterus-float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(128, 0, 32, 0.2));
}

.hero-uterus-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes hero-uterus-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        padding-bottom: 2rem;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-uterus-icon {
        width: 160px;
        height: 160px;
    }
}

/* === Sparkle decoration === */
.hero-badge::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23800020'%3E%3Cpath d='M12 0L14.59 8.41L23 11L14.59 13.59L12 22L9.41 13.59L1 11L9.41 8.41Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: sparkle-spin 3s linear infinite;
}

@keyframes sparkle-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(0.8); }
    100% { transform: rotate(360deg) scale(1); }
}

/* === Filter Bar === */
.filter-bar {
    position: sticky;
    top: 56px;
    z-index: 100;
    padding: 1rem 0 0.75rem;
    background: rgba(250, 245, 246, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    border-top: 1px solid var(--border-subtle);
}

.filter-inner {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--accent-rose);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.9rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    border: 2px solid rgba(164, 48, 63, 0.15);
    border-radius: 100px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(164, 48, 63, 0.06);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    border-color: var(--accent-hot);
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1), 0 4px 16px rgba(164, 48, 63, 0.1);
}

.search-kbd {
    position: absolute;
    right: 1rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--accent-rose);
    background: rgba(164, 48, 63, 0.08);
    border: 1px solid rgba(164, 48, 63, 0.15);
    border-radius: 6px;
    pointer-events: none;
}

/* Filter toggle button */
.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: var(--bg-elevated);
    border: 1.5px solid rgba(145, 35, 56, 0.25);
    border-radius: 999px;
    color: var(--accent-pink);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.3rem;
}
.filter-toggle-btn:hover {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 2px 12px rgba(145, 35, 56, 0.3);
}
.filter-toggle-btn.active {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
}
.filter-chevron {
    transition: transform 0.3s ease;
}
.filter-toggle-btn.active .filter-chevron {
    transform: rotate(180deg);
}

.filter-rows {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    animation: filterSlideDown 0.25s ease-out;
}

@keyframes filterSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 50px;
    flex-shrink: 0;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.filter-tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-secondary);
    background: white;
    border: 1.5px solid rgba(164, 48, 63, 0.12);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s var(--ease-spring);
    white-space: nowrap;
}

.filter-tag:hover {
    color: var(--accent-hot);
    border-color: var(--accent-rose);
    background: rgba(164, 48, 63, 0.04);
    transform: translateY(-1px);
}

.filter-tag.active {
    color: white;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.2);
}

.filter-results {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.3rem;
}

.results-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.clear-filters-btn {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    color: var(--accent-hot);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.clear-filters-btn:hover {
    color: var(--accent-fuchsia);
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    .filter-tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
    }
    .filter-tags::-webkit-scrollbar {
        display: none;
    }
}

/* === Conference Grid === */
.conferences-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0 var(--section-gap);
    min-height: 50vh;
}

.conference-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

/* === Conference Card === */
.conf-card {
    position: relative;
    padding: 0.3rem 1rem;
    background: var(--bg-card);
    border: 2px solid rgba(164, 48, 63, 0.1);
    border-radius: 14px;
    transition: all 0.35s var(--ease-spring);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.conf-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* Uterus watermark on cards */
.conf-card::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 22 C16 22 16 18 16 16 C16 14 15 13 14 13 L12 13 C9 13 7 11 7 8 C7 5 9 3 12 3 C14 3 15 4 15 4 M16 22 C16 22 16 18 16 16 C16 14 17 13 18 13 L20 13 C23 13 25 11 25 8 C25 5 23 3 20 3 C18 3 17 4 17 4' fill='none' stroke='%23a4303f18' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='24' r='2' fill='%23a4303f10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.conf-card:hover {
    border-color: rgba(128, 0, 32, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.conf-card:hover::before {
    opacity: 1;
}

.conf-card:hover::after {
    opacity: 1;
}

/* Card header: date block + name */
.conf-card-header {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    align-items: center;
}

.conf-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 0.25rem 0.4rem;
    background: linear-gradient(135deg, rgba(164, 48, 63, 0.1), rgba(128, 0, 32, 0.05));
    border: 2px solid rgba(164, 48, 63, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.conf-date-month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-fuchsia);
    line-height: 1;
}

.conf-date-day {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-hot);
    line-height: 1.1;
}

.conf-date-year {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1;
}

.conf-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.conf-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 0;
}

/* Inline meta row */
.conf-meta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
}

.conf-meta-sep {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1;
}

.conf-location-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.conf-location-inline svg {
    color: var(--accent-rose);
    flex-shrink: 0;
}

.conf-venue {
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    margin-left: 4px;
}

.conf-description {
    font-size: 0.78rem;
    color: #888;
    margin: 1px 0 2px;
    line-height: 1.25;
}

.conf-name-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.conf-type-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    top: -1px;
    color: var(--text-primary);
}

.conf-organizer-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.conf-name-alt {
    display: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
    margin-bottom: 0.2rem;
    margin-top: 0;
}

.conf-date-range {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Location row (legacy — now inline) */
.conf-location {
    display: none;
}

/* Badges row */
.conf-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.conf-badge {
    padding: 0.12rem 0.45rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 100px;
    text-transform: uppercase;
}

.badge-organizer {
    color: var(--accent-fuchsia);
    background: rgba(114, 47, 55, 0.08);
    border: 1.5px solid rgba(114, 47, 55, 0.15);
}

.badge-type {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.06);
    border: 1.5px solid rgba(124, 58, 237, 0.12);
}

.badge-region-global { color: #6b2737; background: rgba(107, 39, 55, 0.06); border: 1.5px solid rgba(107, 39, 55, 0.12); }
.badge-region-europe { color: #0ea5e9; background: rgba(14, 165, 233, 0.06); border: 1.5px solid rgba(14, 165, 233, 0.12); }
.badge-region-namerica { color: #059669; background: rgba(5, 150, 105, 0.06); border: 1.5px solid rgba(5, 150, 105, 0.12); }
.badge-region-asia { color: #d97706; background: rgba(217, 119, 6, 0.06); border: 1.5px solid rgba(217, 119, 6, 0.12); }
.badge-region-latam { color: #912338; background: rgba(145, 35, 56, 0.06); border: 1.5px solid rgba(145, 35, 56, 0.12); }
.badge-region-africa { color: #ea580c; background: rgba(234, 88, 12, 0.06); border: 1.5px solid rgba(234, 88, 12, 0.12); }
.badge-region-russia { color: #dc2626; background: rgba(220, 38, 38, 0.06); border: 1.5px solid rgba(220, 38, 38, 0.12); }

/* Specialty tags (now inline in meta row) */
.conf-tags {
    display: none;
}

.conf-tag {
    padding: 0.1rem 0.4rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--accent-pink);
    background: rgba(128, 0, 32, 0.04);
    border: 1.5px solid rgba(164, 48, 63, 0.13);
    border-radius: 100px;
}

/* Card link (inline in meta row) */
.conf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    position: relative;
    z-index: 1;
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.15);
    white-space: nowrap;
    text-decoration: none;
    width: fit-content;
    flex-shrink: 0;
    margin-left: auto;
}

.conf-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(128, 0, 32, 0.3);
}

.conf-link svg {
    transition: transform 0.2s ease;
}

.conf-link:hover svg {
    transform: translate(2px, -2px);
}

/* Month separator */
.month-separator {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.month-separator-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-fuchsia);
    white-space: nowrap;
}

.month-separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(164, 48, 63, 0.2), transparent);
    border-radius: 2px;
}

/* No results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: none;
    font-weight: 600;
}

.no-results.visible {
    display: block;
}

.no-results svg {
    margin-bottom: 1rem;
    opacity: 0.4;
    color: var(--accent-rose);
}

/* Hidden state */
.conf-card.hidden {
    display: none;
}

/* Card animation */
.conf-card {
    animation: fade-in-up 0.4s var(--ease-out) both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Safety Section === */
.safety-section {
    position: relative;
    z-index: 1;
    padding: var(--section-gap) 0;
    background: var(--bg-surface);
    border-top: 2px solid rgba(164, 48, 63, 0.08);
}

.safety-header {
    text-align: center;
    margin-bottom: 3rem;
}

.safety-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(164, 48, 63, 0.08);
    border: 2px solid rgba(164, 48, 63, 0.15);
    border-radius: 20px;
    color: var(--accent-hot);
}

.safety-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.safety-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.safety-card {
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(164, 48, 63, 0.1);
    background: white;
    box-shadow: var(--shadow-card);
}

.safety-good {
    border-color: rgba(5, 150, 105, 0.2);
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.12), white);
}

.safety-bad {
    border-color: rgba(220, 38, 38, 0.15);
    background: linear-gradient(135deg, rgba(254, 202, 202, 0.15), white);
}

.safety-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.safety-good .safety-card-header svg { color: #059669; }
.safety-bad .safety-card-header svg { color: #dc2626; }

.safety-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.safety-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.safety-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.safety-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.safety-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 7px;
    height: 7px;
    background: #059669;
    border-radius: 50%;
}

.predatory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.predatory-tag {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.06);
    border: 1.5px solid rgba(220, 38, 38, 0.12);
    border-radius: 100px;
}

@media (max-width: 500px) {
    .safety-grid {
        grid-template-columns: 1fr;
    }
}

/* === Footer === */
.footer {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(164, 48, 63, 0.08);
    background: linear-gradient(180deg, var(--bg-deep), #f0dde0);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 320px;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-fuchsia);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--accent-hot);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(164, 48, 63, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    :root {
        --section-gap: 4rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* === Floating Uterus Elements === */
.uterus-floaters {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.uterus-float {
    position: absolute;
    animation: uterus-drift linear infinite;
}

.uf-1  { top: 5%;   left: 3%;   animation-duration: 22s; animation-delay: 0s; }
.uf-2  { top: 12%;  right: 8%;  animation-duration: 28s; animation-delay: -3s; }
.uf-3  { top: 25%;  left: 15%;  animation-duration: 25s; animation-delay: -7s; }
.uf-4  { top: 8%;   right: 25%; animation-duration: 30s; animation-delay: -2s; }
.uf-5  { top: 35%;  right: 5%;  animation-duration: 20s; animation-delay: -10s; }
.uf-6  { top: 45%;  left: 5%;   animation-duration: 26s; animation-delay: -5s; }
.uf-7  { top: 55%;  right: 12%; animation-duration: 23s; animation-delay: -8s; }
.uf-8  { top: 65%;  left: 10%;  animation-duration: 27s; animation-delay: -1s; }
.uf-9  { top: 72%;  right: 20%; animation-duration: 24s; animation-delay: -6s; }
.uf-10 { top: 80%;  left: 25%;  animation-duration: 29s; animation-delay: -4s; }
.uf-11 { top: 88%;  right: 3%;  animation-duration: 21s; animation-delay: -9s; }
.uf-12 { top: 92%;  left: 8%;   animation-duration: 26s; animation-delay: -11s; }

@keyframes uterus-drift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(30px, -20px) rotate(15deg) scale(1.1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-20px, 15px) rotate(-10deg) scale(0.95);
        opacity: 0;
    }
}

/* === Selection === */
::selection {
    background: rgba(128, 0, 32, 0.2);
    color: var(--text-primary);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(164, 48, 63, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 0, 32, 0.5);
}
