@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* =============================================
   SPEAKERS & GUESTS — Custom Stylesheet
   Hello Confexa Design System (Obsidian & Gold)
   ============================================= */

/* Color Tokens (Matching Hello Confexa Site Theme) */
:root {
    --speakers-gold: #b8860b;
    --speakers-gold-light: #d4af37;
    --speakers-gold-pale: rgba(212, 175, 55, 0.15);
    --speakers-navy-light: #16284e;
    --speakers-navy-deep: #0b1329;
    --speakers-card-bg: rgba(11, 19, 41, 0.85);
    --speakers-card-border: rgba(184, 134, 11, 0.25);
    --speakers-card-border-hover: #d4af37;
    --speakers-text-muted: rgba(240, 236, 226, 0.82);
}

/* 1. Hero & Background Animations */
.speakers-hero-banner {
    background: linear-gradient(180deg, rgba(7, 13, 30, 0.82) 0%, rgba(11, 19, 41, 0.9) 100%),
                url('../assets/images/speakers-banner-bg.png') center/cover no-repeat !important;
    position: relative;
    border-bottom: 2px solid rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 -20px 40px rgba(0, 0, 0, 0.4);
}

.speakers-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 40, 78, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.hero-glow-right {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 195, 77, 0.15) 0%, transparent 70%);
    bottom: -50px;
    right: -100px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* 2. Premium Speaker & Guest Cards */
.premium-card {
    background: var(--speakers-card-bg);
    border: 1px solid var(--speakers-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--speakers-card-border-hover);
    box-shadow: 0 20px 45px rgba(245, 195, 77, 0.2), 0 0 25px rgba(245, 195, 77, 0.1);
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #0b1329;
    transform: translateZ(0);
    margin-bottom: 0;
}

.card-img-container img {
    display: block;
    width: 100%;
    height: calc(100% + 2px);
    object-fit: cover;
    object-position: center 12%;
    border: none !important;
    outline: none !important;
    margin: 0;
    margin-bottom: -2px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.premium-card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-overlay-glow {
    position: absolute;
    inset: -1px;
    background: linear-gradient(to top, #0b1329 0%, rgba(11, 19, 41, 0.85) 12%, rgba(11, 19, 41, 0.25) 35%, transparent 65%);
    pointer-events: none;
    z-index: 2;
}

/* Social & Actions */
.card-social-links {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.premium-card:hover .card-social-links {
    opacity: 1;
    transform: translateX(0);
}

.social-pill {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(11, 19, 41, 0.85);
    border: 1px solid rgba(245, 195, 77, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--speakers-gold);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-pill:hover {
    background: var(--speakers-gold);
    color: #0b1329;
    border-color: var(--speakers-gold);
    transform: scale(1.1);
}

/* Card Body Content */
.premium-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 3;
    background: #0b1329;
    margin-top: -1px;
    position: relative;
}

.guest-badge {
    align-self: flex-start;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    background: rgba(212, 175, 55, 0.15);
    font-weight: 700;
}

.card-title {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 6px;
    min-height: 3rem;
    display: flex;
    align-items: flex-end;
}

.card-subtitle {
    font-size: 0.88rem;
    color: var(--speakers-gold);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-company {
    font-size: 0.82rem;
    color: rgba(232, 228, 220, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.card-topic {
    font-size: 0.85rem;
    color: rgba(232, 228, 220, 0.85);
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: italic;
    text-align: justify;
}

/* 3. Event Banners & Stats Layout */
.event-summary-card {
    background: var(--speakers-card-bg);
    border: 1px solid var(--speakers-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.event-banner-wrap {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.event-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 42, 53, 0.2) 0%, rgba(6, 42, 53, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.event-date-badge {
    font-size: 0.75rem;
    color: var(--speakers-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-banner-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFF;
}

.event-banner-venue {
    font-size: 0.95rem;
    color: var(--speakers-text-muted);
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* Stats Block */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(11, 19, 41, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(22, 40, 78, 0.35);
    border-color: var(--speakers-gold);
}

.stat-num {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--speakers-gold);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--speakers-text-muted);
}

/* 4. Masonry/Responsive Gallery */
.gallery-masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(245, 195, 77, 0.2);
    position: relative;
    cursor: pointer;
    background: #0b1329;
}

.gallery-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 19, 41, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
    text-align: center;
}

.gallery-masonry-item:hover img {
    transform: scale(1.08);
}

.gallery-masonry-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-hover-title {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--speakers-gold);
    margin-bottom: 4px;
}

.gallery-hover-desc {
    font-size: 0.8rem;
    color: var(--speakers-text-muted);
    letter-spacing: 0.5px;
}

/* 5. Infinite Scroll Marquees */
.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative;
    padding: 20px 0;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10%;
    z-index: 5;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, #0b1329 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, #0b1329 0%, transparent 100%);
}

.marquee-container .marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
    gap: 30px;
}

.marquee-container .marquee-track:hover {
    animation-play-state: paused;
}

.marquee-container .marquee-item {
    width: 280px;
    background: rgba(11, 19, 41, 0.85);
    border: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.marquee-container .marquee-item:hover {
    border-color: var(--speakers-gold);
    background: rgba(22, 40, 78, 0.35);
}

.marquee-container .marquee-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--speakers-gold);
    flex-shrink: 0;
}

.marquee-container .marquee-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marquee-container .marquee-info {
    flex-grow: 1;
    min-width: 0;
}

.marquee-container .marquee-name {
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marquee-container .marquee-company {
    font-size: 0.75rem;
    color: var(--speakers-gold);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marquee-container .marquee-topic {
    font-size: 0.7rem;
    color: var(--speakers-text-muted);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 6. Final CTA Glow Container */
.cta-glow-container {
    position: relative;
    background: linear-gradient(135deg, #070d1e 0%, #0d1733 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 60px rgba(7, 13, 30, 0.4);
    border-radius: 20px;
    padding: 80px 40px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cta-glow-container .section-heading {
    color: #ffffff !important;
}

.cta-glow-container .section-heading em {
    color: #f5c34d !important;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .gallery-masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .gallery-masonry-grid {
        column-count: 2;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .event-banner-wrap {
        height: 250px;
    }
    .event-banner-overlay {
        padding: 20px;
    }
    .event-banner-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .gallery-masonry-grid {
        column-count: 1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.event-banner-wrap {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.event-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: right center; /* trophy right side */
    transition: transform .6s ease;
}

.event-summary-card:hover .event-banner-wrap img {
    transform: scale(1.03);
}

.event-banner-overlay {
    position: absolute;
    inset: 0;

    /* Better overlay */
    background:
    linear-gradient(
        90deg,
        rgba(4,22,30,.88) 0%,
        rgba(4,22,30,.70) 35%,
        rgba(4,22,30,.30) 70%,
        rgba(4,22,30,.45) 100%
    );

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 55px;
}

.event-date-badge{
    display:inline-flex;
    width:fit-content;
    padding:8px 18px;
    border-radius:30px;

    background:rgba(255,196,72,.12);
    border:1px solid rgba(255,196,72,.35);

    color:#f6c44d;

    letter-spacing:2px;
    text-transform:uppercase;
    font-size:.78rem;
    font-weight:600;

    margin-bottom:18px;
}

.event-banner-title{
    font-family:"Playfair Display",serif;
    font-size:3rem;
    font-weight:700;
    color:#fff;

    line-height:1.1;

    text-shadow:0 4px 15px rgba(0,0,0,.45);

    max-width:650px;
}

.event-banner-venue{
    margin-top:15px;
    font-size:1rem;
    color:#d7d7d7;
}