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

body {
    font-family: 'Segoe UI', 'Poppins', system-ui, sans-serif;
    overflow-x: hidden;
    color: white;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #010118;
}

canvas {
    display: block;
}

.event-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 1.5rem;
    backdrop-filter: blur(2px);
    background: radial-gradient(circle at 20% 30%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

header h1 {
    font-size: clamp(1.6rem, 7vw, 2.8rem);
    background: linear-gradient(135deg, #fff, #88ddff, #ff88cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

header p {
    font-size: clamp(0.8rem, 4vw, 1rem);
    opacity: 0.9;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 0;
}

.card {
    background: rgba(20, 20, 40, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 1.2rem;
    border: 1px solid rgba(100, 150, 255, 0.3);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #4c9aff;
}

.card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    border-left: 3px solid #0ff;
    padding-left: 0.6rem;
}

.card ul {
    list-style: none;
    margin: 0.5rem 0;
}

.card li {
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
}

.time {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffaa66;
    margin: 0.5rem 0;
}

button {
    background: linear-gradient(45deg, #2266ff, #aa44ff);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.chat-mock {
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 0.5rem;
    font-size: 0.8rem;
    max-height: 100px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 40px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    outline: none;
}

footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.7rem;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

@media (max-width: 768px) {
    .event-container { padding: 1rem; }
    footer { flex-direction: column; align-items: center; }
}