html, body { margin: 0; padding: 0; background: #0c0714; }
* { box-sizing: border-box; }
a { color: #f2f2ea; text-decoration: none; }
a:hover { color: #00e5ff; }
@keyframes px-blink2 { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.15; } }

/* Layout */
.site-root { min-height: 100vh; background: #0c0714; color: #f2f2ea; font-family: 'Space Mono', monospace; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.main-container { position: relative; z-index: 3; perspective: 1400px; padding: 28px 20px 24px; width: 100%; max-width: 1020px; }

/* Decorative layers */
.carpet { position: absolute; left: -20%; right: -20%; bottom: -8%; height: 46%; will-change: transform; pointer-events: none; opacity: 0.65; transform-origin: 50% 100%; background-color: #12063a; background-image: repeating-linear-gradient(115deg, rgba(255,45,111,0.55) 0 10px, transparent 10px 46px), repeating-linear-gradient(-115deg, rgba(0,229,255,0.4) 0 8px, transparent 8px 52px), repeating-linear-gradient(to right, rgba(255,213,0,0.25) 0 4px, transparent 4px 90px); mask-image: linear-gradient(to top, #000 0%, transparent 92%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 92%); }
.neon { position: absolute; left: 50%; top: 8%; width: 120vw; height: 60vh; transform: translateX(-50%); pointer-events: none; will-change: transform; background: radial-gradient(ellipse at 20% 30%, rgba(255,45,111,0.28), transparent 55%), radial-gradient(ellipse at 82% 22%, rgba(0,229,255,0.24), transparent 55%); }

/* Navigation */
.site-nav { position: relative; z-index: 4; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 34px; font-family: 'Press Start 2P', monospace; font-size: 10px; flex-wrap: wrap; }
.nav-brand { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: #ff2d6f; }
.nav-group { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-link { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: #f2f2ea; display: flex; gap: 6px; }
.nav-cta { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: #ffd500; }

/* Cab / Card */
.cab { will-change: transform; transform-style: preserve-3d; }
.card-top { position: relative; background: linear-gradient(#2a2038, #1a1326); border: 3px solid #000; border-radius: 20px 20px 6px 6px; padding: 14px 14px 0; box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 2px 0 rgba(255,255,255,0.12); }
.title-wrap { position: relative; border: 3px solid #000; border-radius: 12px 12px 4px 4px; overflow: hidden; background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px), linear-gradient(#3a2c4e, #241a33); padding: 18px 18px; text-align: center; box-shadow: 0 0 44px rgba(255,45,111,0.55); }
.title { position: relative; font-family: 'Archivo Black', sans-serif; font-size: clamp(28px, 6.2vw, 76px); line-height: 0.86; letter-spacing: -0.05em; text-transform: uppercase; white-space: nowrap; }
.title-layer { position: absolute; inset: 0; }
.title-blue { color: #00e5ff; transform: translate(-6px, -4px); }
.title-pink { color: #ff2d6f; transform: translate(6px, 4px); }
.title-base { position: relative; display: block; color: #14140f; }
.subtitle { margin-top: 12px; font-family: 'Press Start 2P', monospace; font-size: clamp(8px, 1.1vw, 12px); color: #f2f2ea; }
.logo-img { display: block; max-width: min(78%, 640px); width: auto; height: auto; max-height: 220px; margin: 0 auto; background: transparent; }

/* Screen panel */
.screen-panel { position: relative; margin: 16px 0 0; border: 4px solid #000; border-radius: 10px; background: #05010c; overflow: hidden; box-shadow: inset 0 0 60px rgba(0,0,0,0.9); }
.s-grid { position: absolute; inset: -20%; pointer-events: none; will-change: transform; opacity: 0.34; background-image: repeating-linear-gradient(to right, rgba(0,229,255,0.5) 0 1px, transparent 1px 54px), repeating-linear-gradient(to bottom, rgba(0,229,255,0.28) 0 1px, transparent 1px 54px); }
.s-stars { position: absolute; inset: -12%; pointer-events: none; will-change: transform; background-image: none; background: transparent; }
.screen { position: relative; height: min(62vh, 520px); overflow-y: auto; padding: 40px 34px 44px; }

.s-copy { will-change: transform; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; min-height: 100%; justify-content: center; }
.s-copy .date { font-family: 'Press Start 2P', monospace; font-size: clamp(11px, 2vw, 20px); color: #ffd500; line-height: 1.9; }
.s-copy .bullets { font-family: 'Press Start 2P', monospace; font-size: clamp(9px, 1.4vw, 13px); line-height: 2.3; color: #f2f2ea; }
.s-copy p { margin: 6px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.6; color: #a79cc7; }
.s-copy .prompt { font-family: 'Press Start 2P', monospace; font-size: 11px; color: #f2f2ea; animation: px-blink2 1s steps(1, end) infinite; margin-top: 6px; }

/* Headings and text */
.h2-archivo { margin: 12px 0 0; font-family: 'Archivo Black', sans-serif; font-size: clamp(26px, 4.4vw, 46px); line-height: 0.94; letter-spacing: -0.04em; text-transform: uppercase; }
.lead { margin: 0; max-width: 56ch; font-size: 15px; line-height: 1.65; color: #a79cc7; }
.muted { color: #8e83a8; }

/* Lists and items */
.list-grid { display: grid; gap: 14px; }
.list-row { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #241a3a; }
.list-row .index { font-family: 'Press Start 2P', monospace; font-size: 9px; color: #ff2d6f; padding-top: 3px; }
.list-row .index.alt { color: #00e5ff; }
.list-row .title { font-weight: 700; font-size: 15px; }
.list-row .body { font-size: 13px; color: #8e83a8; line-height: 1.55; margin-top: 4px; }

/* Buttons */
.btn-primary { align-self: start; font-family: 'Press Start 2P', monospace; font-size: 10px; background: #ff2d6f; color: #05010c; border: 0; padding: 16px 22px; cursor: pointer; margin-bottom: 32px; }
.btn-primary.alt { background: #ffd500; }

/* Secondary button (used for Back/Guidelines) */
.btn-secondary {
	align-self: start;
	font-family: 'Press Start 2P', monospace;
	font-size: 10px;
	background: #00aaff;
	color: #05010c;
	border: 0;
	padding: 16px 22px;
	cursor: pointer;
	margin-bottom: 32px;
	text-decoration: none; /* for anchors */
	display: inline-block; 
}
.btn-secondary:hover { background: #00e5ff; }

/* Bottom selector area */
.selector { margin-top: 18px; background: linear-gradient(#3a2c4e, #241a33); border: 3px solid #000; border-radius: 8px 8px 0 0; padding: 22px 28px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.selector button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: #f2f2ea; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.selector .dot { width: 62px; height: 62px; border-radius: 50%; border: 3px solid #0a0512; box-shadow: 0 6px 0 #0a0512; }
.dot.dev { background: radial-gradient(circle at 34% 28%, #7df4ff, #00b8cf 64%, #005e6b); }
.dot.play { background: radial-gradient(circle at 34% 28%, #ffe680, #ffb800 64%, #8a6200); }

/* Footer */
.site-footer { position: relative; z-index: 4; width: 100%; max-width: 1020px; padding: 0 20px 44px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-family: 'Press Start 2P', monospace; font-size: 8px; line-height: 2.2; }

/* Misc */
.panel-overlay-lines { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(to bottom, rgba(0,0,0,0.16) 0 1px, transparent 1px 5px); }
.panel-overlay-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,0.62) 100%); border-radius: 6px; }


/* Utilities */
.col { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-26 { gap: 26px; }
.gap-24 { gap: 24px; }
.gap-22 { gap: 22px; }
.gap-20 { gap: 20px; }
.gap-14 { gap: 14px; }
.grid { display: grid; }
.grid-gap-14 { display: grid; gap: 14px; }
.grid-gap-10 { display: grid; gap: 10px; }
.grid-auto-fit-140 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.grid-auto-fit-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.grid-gap-2 { display: grid; gap: 2px; }
.footer-button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: #a69cc2; }
.band { height: 26px; background: linear-gradient(#120c1c, #06030c); border-left: 3px solid #000; border-right: 3px solid #000; border-bottom: 3px solid #000; border-radius: 0 0 10px 10px; margin: 0 26px; box-shadow: 0 24px 46px rgba(0,0,0,0.8); }
.item-title { font-size: 15px; font-weight: 700; }
.copyright { color: #2e93e6; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px; }
.travel-grid { display: grid; gap: 16px; }
.news-wrap {
	max-width: 46ch;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Keep the small label (MAILING LIST) left-aligned inside the centered news block */
.news-wrap .label-press {
	align-self: flex-start;
	text-align: left;
}
.email-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Ensure embedded newsletter form appears above decorative overlays */
.email-row { position: relative; z-index: 20; }
.email-row > * { position: relative; z-index: 21; }
.coc-grid { display: grid; gap: 14px; }

/* Ensure contact embed (JotForm) appears above decorative overlays */
.contact-embed { position: relative; z-index: 9999; transform: translateZ(0); }
#view-contact { position: relative; z-index: 9998; }
#view-contact iframe { position: relative; z-index: 9999; }

/* Styled container for embedded contact form (JotForm) */

.contact-embed {
    position: relative;
    z-index: 9999;
    max-width: 820px;
    width: 100%;
    margin: 14px auto 0;
    background: linear-gradient(#2a2038, #1a1326);
    border: 4px solid #000;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 2px 0 rgba(255,255,255,0.04);
    max-height: calc(80vh);
    overflow: auto;
}

.contact-embed iframe,
.contact-embed > iframe {
    width: 100% !important;
    min-height: 800px !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 8px;
    background: transparent;
    display: block;
}

/* Provide a graceful fallback container when embed injects inline form markup */
.contact-embed form {
	background: transparent;
	color: #f2f2ea;
	font-family: 'Space Mono', monospace;
}

/* Limit embedded form elements so they visually match site inputs where possible */
.contact-embed input,
.contact-embed textarea,
.contact-embed select {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 6px !important;
	padding: 10px 12px !important;
	border: 1px solid #d0d0d6 !important;
	font-family: 'Space Mono', monospace !important;
	font-size: 14px !important;
}

@media (max-width: 640px) {
	.contact-embed { padding: 8px; }
	.contact-embed iframe { min-height: 380px; }
}
.coc-body { font-size: 14px; color: #a79cc7; line-height: 1.6; }
.active-indicator { width: 30px; height: 3px; display: inline-block; }
.active-cyan { background: #00e5ff; }
.active-yellow { background: #ffd500; }
.muted { color: #8e83a8; margin-top: 4px; }
.coc-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }

/* Hover / Focus conversions */
.nav-link:hover { color: #00e5ff; }
.nav-cta:hover { color: #f2f2ea; }
.btn-primary:hover { background: #00e5ff; }
.btn-primary.alt:hover { background: #00e5ff; }
.select-link:hover { color: #f2f2ea; }
.label-press.c-cyan:hover { color: #f2f2ea; }
.btn-join:hover { background: #00e5ff; }
.selector button:hover { color: #ffd500; }
.selector button:hover .dot { transform: translateY(3px); box-shadow: 0 3px 0 #0a0512; }
.footer-button:hover { color: #00e5ff; }
.email-input:focus { border-color: #00e5ff; outline: none; }
.email-input:focus-visible { outline: none; }

/* Labels and small text */
.label-press { font-family: 'Press Start 2P', monospace; font-size: 18px; line-height: 2; }
.label-small { font-size: 12px; }
.muted-compact { font-size: 12px; color: #6d6389; }

/* Coming soon placeholder */
.coming-soon { 
	font-family: 'Press Start 2P', monospace;
	font-size: clamp(14px, 3.2vw, 32px);
	color: #ffd500;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	text-align: center;
	width: 100%;
	/* place 25% down from the top of the .screen area: halfway between top and center */
	padding-top: calc((min(62vh, 520px) - 84px) / 4);
	/* keep a usable min-height matching the .screen content area */
	min-height: calc(min(62vh, 520px) - 84px);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Colors */
.c-magenta { color: #ff2d6f; }
.c-cyan { color: #00e5ff; }
.c-yellow { color: #ffd500; }
.c-muted { color: #8e83a8; }
.c-grey { color: #6d6389; }

/* Stats and cards */
.stat-card { border: 1px solid #2e2247; padding: 16px; }
.stat-number { font-family: 'Archivo Black', sans-serif; font-size: 30px; color: #00e5ff; line-height: 1; }
.stat-label { font-size: 12px; color: #8e83a8; margin-top: 8px; line-height: 1.5; }

/* Speakers */
.speaker-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid #241a3a; }
.speaker-meta { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.speaker-name { font-family: 'Archivo Black', sans-serif; font-size: 19px; letter-spacing: -0.02em; }
.speaker-studio { font-size: 12px; color: #ff2d6f; }
.speaker-talk { font-size: 14px; color: #a79cc7; line-height: 1.55; }

/* Schedule */
.schedule-col { display: grid; gap: 12px; }
.schedule-day-title { font-family: 'Press Start 2P', monospace; font-size: 9px; line-height: 2; padding-bottom: 12px; }
.schedule-row { display: grid; grid-template-columns: 66px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #241a3a; }
.schedule-time { font-size: 12px; color: #8e83a8; padding-top: 2px; }
.schedule-title { font-size: 14px; font-weight: 700; }
.schedule-room { font-size: 12px; color: #6d6389; margin-top: 3px; }

/* Venue & travel */
.venue-h2 { margin: 0; font-family: 'Archivo Black', sans-serif; font-size: clamp(24px, 4vw, 40px); line-height: 0.96; letter-spacing: -0.04em; text-transform: uppercase; }
.venue-body { font-size: 15px; color: #a79cc7; margin-top: 10px; line-height: 1.6; }
.travel-item { border-left: 2px solid #ff2d6f; padding: 2px 0 2px 16px; }
.travel-head { font-family: 'Press Start 2P', monospace; font-size: 9px; color: #f2f2ea; line-height: 1.9; }
.travel-body { font-size: 14px; color: #a79cc7; line-height: 1.6; margin-top: 8px; }

/* Map embed for venue */
.map-wrap { margin-top: 16px; border: 2px solid #241a3a; border-radius: 8px; overflow: hidden; position: relative; z-index: 6; }
.venue-map { width: 100%; height: 400px; display: block; border: 0; position: relative; z-index: 7; }

@media (max-width: 640px) {
	.venue-map { height: 260px; }
}

/* Lower decorative overlays so map can appear above them */
.panel-overlay-lines { z-index: 0; }
.panel-overlay-vignette { z-index: 0; }

/* Ensure submission form elements sit above decorative overlays */
.submission-form {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
	background: transparent;
}

.submission-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: stretch;
}

.submission-form input,
.submission-form textarea {
	position: relative;
	z-index: 11;
	width: 100%;
	background: #ffffff;
	color: #111111;
	border: 1px solid #d0d0d6;
	padding: 10px 12px;
	border-radius: 6px;
	font-family: 'Space Mono', monospace;
	font-size: 14px;
}

.submission-form textarea { min-height: 120px; resize: vertical; }

.submission-form .form-actions { display: flex; gap: 10px; margin-top: 8px; z-index: 11; }

.submission-note { position: relative; z-index: 10; }

/* Contact form: wider and vertically stacked inputs */
.contact-form {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: stretch;
	background: transparent;
	max-width: 760px; /* wider than submission form */
	width: 100%;
	margin: 0 auto;
}

.contact-form label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
}

.contact-form input,
.contact-form textarea {
	position: relative;
	z-index: 11;
	width: 100%;
	background: #ffffff;
	color: #111111;
	border: 1px solid #d0d0d6;
	padding: 12px 14px;
	border-radius: 6px;
	font-family: 'Space Mono', monospace;
	font-size: 14px;
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form .form-actions { display: flex; gap: 10px; margin-top: 8px; z-index: 11; }

@media (max-width: 640px) {
	.contact-form { padding: 0; max-width: 100%; }
}

/* Passes */
.pass-card { border: 2px solid #2e2247; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pass-name { font-family: 'Press Start 2P', monospace; font-size: 9px; color: #00e5ff; line-height: 1.9; }
.pass-price { font-family: 'Archivo Black', sans-serif; font-size: 34px; line-height: 1; }
.pass-body { font-size: 13px; color: #8e83a8; line-height: 1.55; }
.select-link { margin-top: auto; font-family: 'Press Start 2P', monospace; font-size: 9px; color: #ffd500; }

/* FAQ */
.faq-item { padding-bottom: 16px; border-bottom: 1px solid #241a3a; }
.faq-q { font-size: 15px; font-weight: 700; line-height: 1.45; }
.faq-a { font-size: 14px; color: #a79cc7; line-height: 1.6; margin-top: 8px; }

/* Mailing list */
.news-h2 { margin: 0; font-family: 'Archivo Black', sans-serif; font-size: clamp(24px, 4vw, 40px); line-height: 0.96; letter-spacing: -0.04em; text-transform: uppercase; }
.email-input { flex: 1; min-width: 190px; font-family: 'Space Mono', monospace; font-size: 14px; background: #100822; color: #f2f2ea; border: 2px solid #2e2247; padding: 14px 14px; }
.btn-join { font-family: 'Press Start 2P', monospace; font-size: 9px; background: #ff2d6f; color: #05010c; border: 0; padding: 14px 20px; cursor: pointer; }

/* Sponsors list */
.sponsor-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #241a3a; align-items: baseline; }
.sponsor-name { font-family: 'Archivo Black', sans-serif; font-size: 18px; letter-spacing: -0.02em; }
.sponsor-tier { font-family: 'Press Start 2P', monospace; font-size: 8px; color: #ffd500; }

.rel { position: relative; }

/* Inline link used in the Passes note */
.link-inline { color: #ffd500; text-decoration: none; font-weight: 700; }
.link-inline:hover { color: #f2f2ea; text-decoration: underline; }

/* Sponsor contact note styling */
.sponsor-contact { font-size: 15px; color: #ffd500; margin-top: 8px; line-height: 1.5; }


