:root {
    --bg-color: #0b0e11;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-blue: #4285F4;
    --accent-red: #EA4335;
    --accent-yellow: #FBBC04;
    --accent-green: #34A853;
    --glass-blur: blur(12px);
    color-scheme: dark;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 { background: var(--accent-blue); top: -100px; left: -100px; }
.blob-2 { background: var(--accent-red); bottom: -100px; right: -100px; animation-duration: 25s; }
.blob-3 { background: var(--accent-yellow); top: 40%; left: 30%; animation-duration: 30s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

/* Header */
header {
    padding: 40px 0;
    border-bottom: 1px solid var(--card-border);
    background: rgba(11, 14, 17, 0.8);
    backdrop-filter: var(--glass-blur);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Search Section */
.search-section {
    padding: 60px 0 30px;
}

.search-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: var(--glass-blur);
}

.search-card h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filters {
    display: flex;
    gap: 15px;
}

input, select {
    background: #1a1e23;
    border: 1px solid var(--card-border);
    padding: 12px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    color-scheme: dark; /* Forces native UI elements like dropdowns to use dark theme */
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

select option {
    background-color: #1a1e23;
    color: #fff;
}

input { flex: 1; }

input:focus, select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: #252a31;
}

/* Schedule Section */
.schedule-section {
    padding-bottom: 80px;
}

.talk-card {
    display: flex;
    gap: 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: var(--glass-blur);
    animation: fadeIn 0.5s ease backwards;
}

.talk-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.talk-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue);
    min-width: 100px;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: rgba(66, 133, 244, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.talk-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.speaker {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
}

.linkedin-link {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.linkedin-link:hover {
    color: var(--accent-blue);
}

/* Break Card Styling */
.break-card {
    border-left: 4px solid var(--accent-green);
    background: rgba(52, 168, 83, 0.05);
}

.break-card .category-tag {
    color: var(--accent-green);
    background: rgba(52, 168, 83, 0.1);
}

/* No Results */
#noResults {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-style: italic;
}

.hidden { display: none; }

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Button Styles */
.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #5a95f5;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    header .container { flex-direction: column; text-align: center; gap: 20px; }
    .filters { flex-direction: column; }
    .talk-card { flex-direction: column; gap: 10px; }
    .talk-time { font-size: 1.2rem; }
}
