/* Mobile-first styles for InterEuropa landing page */
:root {
	--bg: #0a0a0a;
	--text: #e9e9e9;
	--muted: #bdbdbd;
	--gold: #b08d57;
	--white: #ffffff;
	--black: #000000;
	--accent: #1f1f1f;
}

* {
	box-sizing: border-box;
}

[hidden] { display: none !important; visibility: hidden !important; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	line-height: 1.5;
}

img {
	max-width: 100%;
	display: block;
}

a { color: inherit; text-decoration: none; }

.btn {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 4px;
	font-weight: 600;
	border: 1px solid transparent;
}
.btn-primary { background: #3c3c3c; color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--black); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	background: rgba(10,10,10,0.9);
	backdrop-filter: blur(4px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 14px;
	z-index: 100;
	border-bottom: 1px solid #161616;
}
.branding .logo { font-weight: 700; letter-spacing: 0.5px; }
.branding .tag { font-size: 12px; color: var(--muted); }
.branding-logo { height: 30px; width: auto; display: block; }

.hamburger { background: none; border: 0; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; transition: transform .2s ease; }
.mobile-nav { position: absolute; top: 54px; right: 10px; background: #151515; border: 1px solid #222; border-radius: 8px; padding: 8px; width: 78vw; max-width: 340px; display: grid; gap: 8px; z-index: 120; }
.mobile-nav a { padding: 10px 12px; border-radius: 6px; background: #111; }
.mobile-nav a.cta { background: var(--gold); color: var(--black); font-weight: 700; }

/* Backdrop for menu */
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 110; }

/* Hero */
.hero { position: relative; }
.hero-media img { width: 100%; height: 56vh; min-height: 260px; object-fit: cover; filter: grayscale(10%); }
.hero-content { position: absolute; left: 14px; bottom: 18px; }
.hero h1 { margin: 0 0 4px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 28px; }
.hero .sub { color: var(--muted); font-size: 12px; }

/* Categories strip */
.categories { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 16px 14px; background: #0e0e0e; }
.category { position: relative; border-radius: 8px; overflow: hidden; }
.category img { width: 100%; height: 140px; object-fit: cover; filter: grayscale(100%); }
.category .label { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,0.55); padding: 6px 10px; border-radius: 4px; font-weight: 700; }
.category .label span { margin-right: 6px; color: var(--gold); }

/* CTA ribbon */
.cta-ribbon { padding: 12px 14px; background: linear-gradient(90deg, var(--gold), #c9a36c); display: flex; justify-content: center; }

/* Video teaser */
.video-teaser { position: relative; }
.video-teaser img { width: 100%; height: auto; filter: grayscale(100%); }
.video-teaser .play-btn {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	background: var(--white); color: var(--black); border: 0; width: 52px; height: 52px; border-radius: 999px; font-size: 18px; font-weight: 700; cursor: pointer;
}

/* Info blocks */
.info-block { padding: 24px 14px; border-bottom: 1px solid #171717; }
.info-block .count { color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.info-block h2 { font-family: 'Playfair Display', serif; margin: 0 0 6px; }
.info-block p { margin: 0 0 10px; color: #d5d5d5; }
.info-block small { color: var(--muted); }

/* Registration cards */
.registration-grid { padding: 12px 14px 24px; display: grid; gap: 14px; background: radial-gradient(1200px 300px at 50% -100px, rgba(176,141,87,0.15), transparent 70%); }
.reg-card { background: #111; border: 1px solid #212121; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 #1a1a1a, 0 20px 40px rgba(0,0,0,0.25); }
.reg-head { background: linear-gradient(180deg, #1a1a1a, #101010); padding: 18px 16px; border-bottom: 1px solid #222; }
.reg-card.solo .reg-head { box-shadow: inset 0 2px 0 rgba(255,255,255,0.04); }
.reg-card.duet .reg-head { box-shadow: inset 0 2px 0 rgba(255,255,255,0.04); }
.reg-card.pas .reg-head { box-shadow: inset 0 2px 0 rgba(255,255,255,0.04); }
.reg-card.group .reg-head { box-shadow: inset 0 2px 0 rgba(255,255,255,0.04); }
.reg-icon { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgba(176,141,87,0.18); color: var(--white); margin-bottom: 8px; }
.reg-head h4 { margin: 0; font-size: 18px; font-weight: 700; }
.reg-head .subtitle { color: var(--muted); font-size: 12px; margin-top: 2px; }
.reg-body { padding: 16px; }
.reg-body p { margin: 0 0 12px; color: #d5d5d5; }
.reg-features { margin: 0 0 14px; padding-left: 18px; color: #cfcfcf; }
.reg-features li { margin: 6px 0; }
.btn.full { display: block; text-align: center; width: 100%; }

@media (min-width: 768px) {
	.registration-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.registration-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Data table */
.data-table { width: 100%; border-collapse: collapse; border-spacing: 0; background: #0f0f0f; border-radius: 10px; overflow: hidden; }
.data-table thead { background: #151515; }
.data-table th { text-align: left; padding: 12px; font-weight: 600; font-size: 12px; color: #a5a5a5; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid #222; }
.data-table td { padding: 10px 12px; border-bottom: 1px solid #1a1a1a; color: #ddd; font-size: 13px; }
.data-table tbody tr { transition: background .15s ease; }
.data-table tbody tr:hover { background: #141414; }
.data-table tbody tr:last-child td { border-bottom: none; }

/* Forms */
.solo-form { padding: 14px; }
.card { background: #111; border: 1px solid #222; border-radius: 10px; padding: 14px; margin: 14px; }
.card legend { font-family: 'Playfair Display', serif; padding: 0 6px; }
.field { display: grid; gap: 6px; margin: 10px 0; }
.field input[type="text"], .field input[type="number"], .field input[type="file"], .field input[type="date"], .field select, .field textarea { background: #121212; border: 1px solid #222; color: var(--text); padding: 10px 12px; border-radius: 6px; }
.checkboxes { display: grid; gap: 6px; background: #0f0f0f; border: 1px solid #1f1f1f; padding: 10px; border-radius: 8px; }
.note { color: var(--muted); font-size: 12px; }
.perf-box { background: #0f0f0f; border: 1px dashed #2a2a2a; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.perf-box h4 { margin: 0 0 6px; }
.pricing { background: #103116; color: #b7f0c1; border: 1px solid #1f4a25; padding: 10px 12px; border-radius: 8px; font-weight: 700; }
.actions { display: flex; gap: 10px; padding: 14px; }
.check { display: block; margin: 8px 0; color: #d3d3d3; }
.alert.info { background: #112338; color: #cfe7ff; border: 1px solid #1f3c60; padding: 10px 12px; border-radius: 8px; margin-bottom: 10px; }
.pricing-details { color: #c8c8c8; font-size: 13px; margin: 10px 0 0; }

/* Application list cards */
.apps { display: grid; gap: 12px; }
.app-card { background: #0f0f0f; border: 1px solid #262626; border-radius: 12px; padding: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.app-card:hover { border-color: #3a3a3a; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-ref { font-weight: 700; }
.app-meta { font-size: 12px; color: var(--muted); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.badge { padding: 6px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; border: 1px solid transparent; letter-spacing: .03em; text-transform: uppercase; }
.badge-paid { background: #103116; color: #b7f0c1; border-color: #1f4a25; }
.badge-unpaid { background: #3a1b1b; color: #ffd0d0; border-color: #5b2a2a; }
.badge-status { background: #1b1b1b; color: #e0e0e0; border-color: #2a2a2a; }
.badge-warn { background: #3a300f; color: #ffe8a3; border-color: #5a4b1a; }
.app-total { margin-top: 6px; font-size: 14px; }
.app-actions { display: flex; gap: 8px; margin-top: 8px; }

@media (min-width: 768px) {
	.apps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.apps { grid-template-columns: repeat(3, 1fr); }
}

/* Stats grid */
.stats { display: grid; gap: 12px; margin: 8px 0 14px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Director */
.director { display: grid; gap: 10px; padding: 22px 14px; }
.director img { width: 100%; height: auto; filter: grayscale(100%); border-radius: 10px; }
.director .eyebrow { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.director h3 { margin: 6px 0; font-family: 'Playfair Display', serif; }

/* Partners */
.partners { padding: 24px 14px; }
.partners h2 { margin: 0 0 12px; font-family: 'Playfair Display', serif; }
.partners .logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.partners .logos img { width: 100%; object-fit: contain; filter: grayscale(100%) contrast(1.1); }

/* About */
.about { padding: 26px 14px; display: grid; gap: 12px; }
.about .copy h2 { margin: 0 0 8px; font-family: 'Playfair Display', serif; }

/* Jury slider */
.jury { padding: 26px 14px; }
.jury h2 { font-family: 'Playfair Display', serif; margin: 0 0 12px; }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transform: translateX(0); transition: transform .3s ease; }
.slide { min-width: 86%; margin-right: 12px; background: #121212; border-radius: 10px; padding: 12px; }
.slide img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; filter: grayscale(100%); }
.slide h3 { margin: 8px 0 4px; font-size: 16px; }
.slide p { margin: 0; color: var(--muted); font-size: 12px; }
.controls { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 8px; }
.controls button { width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid #2a2a2a; color: var(--white); }

/* Footer CTA */
.footer-cta { padding: 20px 14px; display: flex; justify-content: center; }

/* Footer */
.site-footer { padding: 20px 14px 40px; background: #0b0b0b; border-top: 1px solid #171717; }
.subscribe label { display: block; margin-bottom: 6px; color: var(--muted); }
.subscribe .field { display: flex; gap: 8px; }
.subscribe input { flex: 1; background: #121212; border: 1px solid #222; color: var(--text); padding: 10px 12px; border-radius: 6px; }
.subscribe button { background: var(--gold); color: var(--black); border: 0; padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.copyright { color: #7f7f7f; font-size: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.modal-dialog { position: relative; width: 92vw; max-width: 640px; background: #000; border: 1px solid #222; border-radius: 10px; }
.modal-close { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 999px; border: 1px solid #333; background: #111; color: #fff; }
.modal-body { aspect-ratio: 16 / 9; }
.modal-body iframe { width: 100%; height: 100%; border: 0; }

/* Larger screens */
@media (min-width: 768px) {
	.categories { grid-template-columns: repeat(2, 1fr); }
	.slide { min-width: 45%; }
	.footer-nav { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 1024px) {
	.categories { grid-template-columns: repeat(4, 1fr); }
	.hero h1 { font-size: 40px; }
}


