:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
}

.event-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.banner {
    width: 100%;
    aspect-ratio: 16 / 5.33;
    background: #000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content {
    padding: 40px;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-right: 20px;
}

.top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #f1f5f9;
}

.timezone-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.info-item .material-icons {
    font-size: 20px;
}

.btn-container {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.add-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.add-btn:hover {
    background: var(--primary-hover);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    width: 260px;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.dropdown.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.dropdown-item:last-child { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }

.dropdown-item:hover {
    background: #f8fafc;
}

.dropdown-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.dropdown-item .online {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main-footer {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.poweredby a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.poweredby a span {
    font-weight: 600;
}

.poweredby a:hover {
    color: var(--primary);
}

@media (max-width: 640px) {
    .content {
        padding: 24px;
    }
    
    .header-row {
        flex-direction: column;
        gap: 16px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .top-actions {
        width: 100%;
        justify-content: space-between;
    }
}
