:root {
    --dark: #06111f;
    --dark-2: #0b1930;
    --cyan: #48f7ff;
    --cyan-soft: rgba(72, 247, 255, 0.18);
    --pink: #ff45d3;
    --pink-soft: rgba(255, 69, 211, 0.18);
    --cream: #ffd9c8;
    --white: #f7fbff;
    --muted: #b8c8d6;
    --card: rgba(8, 20, 38, 0.88);
    --border: rgba(72, 247, 255, 0.28);
    --hero-image: url('../../images/Events-banner.jpg');
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
    background-color: var(--card); scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 69, 211, 0.18), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(72, 247, 255, 0.16), transparent 30%),
        linear-gradient(180deg, var(--dark), #03070d 70%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(3, 7, 13, 0.86);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}
.navbar {
    width: min(1180px, calc(100% - 32px)); min-height: 86px; margin: 0 auto;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo {
    width: 64px; height: 64px; object-fit: cover; border-radius: 50%;
    border: 2px solid var(--cyan); box-shadow: 0 0 16px var(--cyan-soft), 0 0 22px var(--pink-soft);
}
.brand-name {
    font-size: 1.15rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    text-shadow: 0 0 10px rgba(72, 247, 255, 0.7);
}
.nav-links { list-style: none; display: flex; align-items: center; justify-content: center; gap: 34px; }
.nav-links a {
    position: relative; color: var(--muted); font-weight: 700; letter-spacing: 0.03em;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -9px; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--pink)); box-shadow: 0 0 10px var(--cyan);
    transition: width 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); text-shadow: 0 0 9px var(--cyan); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.instagram-link {
    width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 69, 211, 0.55);
    border-radius: 50%; background: rgba(255, 69, 211, 0.08); box-shadow: 0 0 16px var(--pink-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instagram-link:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(255, 69, 211, 0.45); }
.instagram-link svg { width: 22px; height: 22px; fill: var(--pink); }
.language-select {
    min-height: 42px; color: var(--white); background: var(--dark-2); border: 1px solid var(--border);
    border-radius: 999px; padding: 0 14px; outline: none; font-weight: 700; box-shadow: 0 0 12px var(--cyan-soft);
}

.events-hero {
    position: relative; min-height: 62vh; display: grid; place-items: center; padding: 100px 20px;
    background-image: var(--hero-image); background-size: cover; background-position: center; overflow: hidden;
}
.events-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(3, 7, 13, 0.95), rgba(3, 7, 13, 0.56), rgba(3, 7, 13, 0.95)), radial-gradient(circle at center, rgba(72, 247, 255, 0.14), transparent 46%);
}
.events-hero-content {
    position: relative; width: min(900px, 100%); padding: 46px; text-align: center;
    background: rgba(3, 7, 13, 0.62); border: 1px solid var(--border); border-radius: 28px;
    box-shadow: 0 0 34px rgba(72, 247, 255, 0.15), 0 0 46px rgba(255, 69, 211, 0.10); backdrop-filter: blur(6px);
}
.eyebrow, .section-label {
    color: var(--cyan); font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
    text-shadow: 0 0 10px rgba(72, 247, 255, 0.8);
}
.events-hero-content h1 {
    margin-top: 18px; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.48), 0 0 32px rgba(255, 69, 211, 0.52);
}
.events-hero-content p:not(.eyebrow) { width: min(700px, 100%); margin: 22px auto 0; color: var(--muted); font-size: 1.16rem; line-height: 1.7; }
.primary-button, .secondary-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 28px; padding: 0 24px;
    border-radius: 999px; font-weight: 800; letter-spacing: 0.03em; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-button { color: #03101a; background: linear-gradient(90deg, var(--cyan), var(--pink)); box-shadow: 0 0 22px rgba(72, 247, 255, 0.35), 0 0 22px rgba(255, 69, 211, 0.25); }
.secondary-button { color: var(--white); border: 1px solid var(--pink); background: rgba(255, 69, 211, 0.08); box-shadow: 0 0 16px var(--pink-soft); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }

.event-intro {
    width: min(1180px, calc(100% - 32px)); margin: 70px auto 24px; padding: 32px;
    display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 34px; align-items: center;
    border: 1px solid var(--border); border-radius: 30px; background: var(--card); box-shadow: 0 0 30px rgba(72, 247, 255, 0.08);
}
.event-intro h2 { margin-top: 12px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; }
.event-intro p:not(.section-label) { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
.event-control {
    width: min(1180px, calc(100% - 32px)); margin: 24px auto 0; padding: 16px;
    display: flex; gap: 12px; overflow-x: auto; border: 1px solid var(--border); border-radius: 24px;
    background: rgba(3, 7, 13, 0.84); box-shadow: 0 0 30px rgba(72, 247, 255, 0.10); backdrop-filter: blur(14px);
}
.event-filter {
    flex: 0 0 auto; min-height: 42px; padding: 0 18px; color: var(--muted); font-weight: 800; letter-spacing: 0.03em;
    white-space: nowrap; border: 1px solid rgba(72, 247, 255, 0.20); border-radius: 999px; background: rgba(8, 20, 38, 0.74);
    cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.event-filter:hover, .event-filter.active { color: #03101a; border-color: transparent; background: linear-gradient(90deg, var(--cyan), var(--pink)); transform: translateY(-1px); }
.events-grid {
    width: min(1180px, calc(100% - 32px)); margin: 36px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.event-card {
    min-height: 300px; padding: 28px; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: stretch;
    border: 1px solid var(--border); border-radius: 30px; background: var(--card); box-shadow: 0 0 30px rgba(72, 247, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.event-card.featured { grid-column: 1 / -1; min-height: 340px; background: linear-gradient(135deg, rgba(8, 20, 38, 0.92), rgba(255, 69, 211, 0.12)); }
.event-card:hover { transform: translateY(-3px); border-color: rgba(255, 69, 211, 0.50); box-shadow: 0 0 24px rgba(255, 69, 211, 0.12); }
.event-card.is-hidden { display: none; }
.event-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid rgba(255, 69, 211, 0.38); border-radius: 24px; background: rgba(255, 69, 211, 0.08); text-align: center;
}
.event-date span { color: var(--cyan); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.event-date strong { color: var(--cream); font-size: 1.3rem; text-transform: uppercase; }
.event-type { color: var(--cyan); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.event-content h2 { margin-top: 12px; color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; }
.event-content p:not(.event-type) { margin-top: 16px; color: var(--muted); line-height: 1.8; }
.site-footer {
    width: min(1180px, calc(100% - 32px)); margin: 90px auto 0; padding: 42px 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--border);
}
.footer-column { padding: 24px; border-radius: 22px; background: rgba(8, 20, 38, 0.66); border: 1px solid rgba(72, 247, 255, 0.14); }
.footer-column h3 { margin-bottom: 16px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-column p, .footer-column a { display: block; margin-top: 10px; color: var(--muted); line-height: 1.6; }
.footer-column a:hover { color: var(--pink); text-shadow: 0 0 8px rgba(255, 69, 211, 0.6); }

@media (max-width: 900px) {
    html {
    background-color: var(--card); scroll-padding-top: 255px; }
    .navbar { grid-template-columns: 1fr; gap: 14px; padding: 14px 0 16px; }
    .logo-link, .nav-links, .nav-actions { justify-self: center; }
    .nav-links { width: 100%; flex-wrap: wrap; justify-content: center; gap: 14px 24px; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .nav-actions { justify-content: center; }
    .event-intro, .events-grid, .site-footer { grid-template-columns: 1fr; }
    .event-card.featured { grid-column: auto; }
}
@media (max-width: 620px) {
    .navbar { width: min(100% - 22px, 1180px); gap: 12px; }
    .nav-links { gap: 12px 16px; font-size: 0.88rem; }
    .brand-name { display: none; }
    .logo { width: 56px; height: 56px; }
    .events-hero { min-height: 58vh; padding: 76px 14px; }
    .events-hero-content { padding: 30px 18px; border-radius: 22px; }
    .event-intro { margin-top: 46px; padding: 22px; }
    .event-card { grid-template-columns: 1fr; padding: 22px; }
    .event-date { min-height: 110px; }
    .site-footer { margin-top: 54px; padding-bottom: 28px; }
}
