@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #f4f5f7;
    --text-main: #0f172a;
    --accent: #4361ee;
    --accent-glow: rgba(67, 97, 238, 0.4);
    --surface: #ffffff;
    --surface-dark: #1e293b;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --font-modern: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-modern);
    background-color: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}


h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-modern);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Bento Grid System */
.bento-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.bento-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}

.bento-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.bento-card.dark {
    background: var(--surface-dark);
    color: #fff;
}

.bento-card.accent {
    background: var(--accent);
    color: #fff;
}

.bento-card.img-bg {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-card.img-bg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}
.bento-card.img-bg:hover img {
    transform: scale(1.05);
}

/* Specific Bento Sizes */
.bento-hero-main { grid-column: span 8; grid-row: span 2; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-hero-img { grid-column: span 4; grid-row: span 2; min-height: 400px; }
.bento-hero-timer { grid-column: span 4; display: flex; align-items: center; justify-content: center; }
.bento-hero-location { grid-column: span 4; display: flex; align-items: center; }
.bento-hero-cta { grid-column: span 4; display: flex; align-items: center; justify-content: center; }

@media (max-width: 991px) {
    .bento-hero-main { grid-column: span 12; }
    .bento-hero-img { grid-column: span 12; height: 300px; }
    .bento-hero-timer, .bento-hero-location, .bento-hero-cta { grid-column: span 12; }
}

/* Disable Hover on Hero */
.bento-hero-main:hover,
.bento-hero-img:hover,
.bento-hero-timer:hover,
.bento-hero-location:hover {
    transform: none !important;
    box-shadow: inherit !important;
}
.bento-hero-img:hover img {
    transform: none !important;
}

/* Typography Overrides */
.title-massive {
    font-size: clamp(2.5rem, 3.75vw, 3.75rem);
    line-height: 1.05;
    margin-bottom: 0;
    text-wrap: balance;
}

/* Custom Timer */
.modern-timer {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
}

.timer-block {
    text-align: center;
}

.timer-block .num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.timer-block .lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

/* Marquee Scroller */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background: var(--surface);
    border-radius: var(--radius-xl);
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--surface), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--surface), transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

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

.marquee-item img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

/* Modern Speakers List */
.speaker-modern-row {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    background: var(--surface);
    border-radius: 100px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.speaker-modern-row:hover {
    background: var(--surface-dark);
    color: white;
    transform: scale(1.02);
}

.speaker-modern-row .s-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.speaker-modern-row:hover .s-img {
    border-color: var(--accent);
}

.speaker-modern-row .s-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.speaker-modern-row .s-role {
    font-size: 1rem;
    opacity: 0.7;
    flex: 1;
}

.speaker-modern-row .s-icon {
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.speaker-modern-row:hover .s-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Buttons */
.btn-modern {
    background: var(--surface-dark);
    color: #fff;
    border-radius: 100px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modern:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-modern-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(0,0,0,0.1);
}

.btn-modern-outline:hover {
    border-color: var(--text-main);
    background: transparent;
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title-modern {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title-modern::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent-glow);
    border-radius: 50%;
    z-index: -1;
    left: -15px;
    top: -10px;
}

/* Utilities */
.text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}