/*
Theme Name: Bollywood Countdown
Theme URI: https://www.bollywoodcountdownparty.com/
Author: GsvTec Pte Ltd
Author URI: https://www.gsvtec.com/
Description: A premium dark-and-gold block theme for Bollywood Countdown, Singapore's Bollywood New Year's Eve party. Built for the WordPress Site Editor, with a live countdown timer, event and FAQ structured data, and Robo Gallery support.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bollywood-countdown
Tags: block-theme, full-site-editing, dark, one-column, wide-blocks, custom-colors, editor-style, event
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	background-color: var(--wp--preset--color--midnight);
	background-image:
		radial-gradient(1.5px 1.5px at 12% 18%, rgba(241, 213, 142, .55), transparent 60%),
		radial-gradient(1px 1px at 78% 12%, rgba(255, 255, 255, .45), transparent 60%),
		radial-gradient(1.2px 1.2px at 46% 64%, rgba(241, 213, 142, .35), transparent 60%),
		radial-gradient(1px 1px at 88% 72%, rgba(255, 255, 255, .35), transparent 60%),
		radial-gradient(1px 1px at 28% 86%, rgba(255, 255, 255, .3), transparent 60%),
		radial-gradient(90% 60% at 50% -10%, rgba(91, 46, 140, .35), transparent 70%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--midnight); }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
img { height: auto; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--wp--preset--color--champagne); outline-offset: 3px; }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part,
.bcp-site-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
.bcp-header {
	background: rgba(11, 9, 18, .78);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--wp--custom--line);
}
.bcp-wordmark { margin: 0; line-height: 1; }
.bcp-wordmark a {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	font-weight: 700;
	letter-spacing: .01em;
	text-decoration: none;
	background: var(--wp--preset--gradient--gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}
.bcp-nav a { text-decoration: none; color: var(--wp--preset--color--ivory); }
.bcp-nav a:hover, .bcp-nav .current-menu-item > a { color: var(--wp--preset--color--champagne); }
.bcp-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--night) !important;
	border: 1px solid var(--wp--custom--line) !important;
	border-radius: 14px;
	padding: .5rem 0;
	min-width: 280px !important;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
}
.bcp-nav .wp-block-navigation__submenu-container a { padding: .45rem 1.1rem; font-weight: 500; }
.bcp-btn-sm .wp-block-button__link { padding: .6em 1.25em; font-size: .85rem; }


/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link {
	background-image: var(--wp--preset--gradient--gold);
	box-shadow: 0 10px 30px -12px rgba(217, 180, 90, .55);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 36px -12px rgba(217, 180, 90, .7); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	background-image: none;
	border: 1px solid var(--wp--preset--color--gold);
	color: var(--wp--preset--color--champagne);
	box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(217, 180, 90, .12); color: var(--wp--preset--color--ivory); }

/* ---------- Type helpers ---------- */
.bcp-eyebrow {
	font-size: .78rem !important;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin-bottom: .25rem;
}
.bcp-gold-text, .bcp-gold-text a {
	background: var(--wp--preset--gradient--gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.bcp-lead { font-size: var(--wp--preset--font-size--large); color: rgba(247, 241, 232, .88); line-height: 1.65; }
.bcp-muted, .bcp-small { color: var(--wp--preset--color--mist); }
.bcp-small { font-size: .9rem; }
.bcp-center { text-align: center; }
.bcp-center .wp-block-buttons { justify-content: center; }
.bcp-rule { border: 0 !important; height: 1px !important; width: 96px; background: var(--wp--preset--gradient--gold); opacity: 1; margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
.bcp-rule-full { border: 0 !important; height: 1px !important; background: var(--wp--custom--line); opacity: 1; }

/* ---------- Sections ---------- */
.bcp-section { padding-top: var(--wp--preset--spacing--60) !important; padding-bottom: var(--wp--preset--spacing--60) !important; }
.bcp-section-tight { padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.bcp-band {
	background: linear-gradient(180deg, rgba(29, 21, 50, .65), rgba(20, 16, 34, .9));
	border-top: 1px solid var(--wp--custom--line);
	border-bottom: 1px solid var(--wp--custom--line);
}
.bcp-glow { background: var(--wp--preset--gradient--night-glow); }
.bcp-main { padding-bottom: 0; }
.bcp-page-content { padding-bottom: var(--wp--preset--spacing--60); }
.bcp-page-content > .alignfull:last-child { margin-bottom: calc(-1 * var(--wp--preset--spacing--60)); }

/* Page title band */
.bcp-page-hero {
	padding-top: clamp(3rem, 8vw, 6rem) !important;
	padding-bottom: clamp(2rem, 5vw, 3.5rem) !important;
	background:
		radial-gradient(60% 120% at 85% 0%, rgba(227, 38, 127, .22), transparent 70%),
		radial-gradient(60% 120% at 10% 10%, rgba(217, 180, 90, .16), transparent 70%);
	border-bottom: 1px solid var(--wp--custom--line);
	margin-bottom: var(--wp--preset--spacing--50);
}
.bcp-page-title { font-size: var(--wp--preset--font-size--xx-large) !important; text-wrap: balance; }

/* ---------- Hero ---------- */
.bcp-hero { min-height: min(92vh, 860px) !important; }
.bcp-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(11, 9, 18, .6) 0%, rgba(11, 9, 18, .38) 38%, rgba(11, 9, 18, .82) 74%, #0b0912 90%), radial-gradient(70% 60% at 50% 40%, rgba(91, 46, 140, .25), transparent) !important;
	opacity: 1 !important;
}
.bcp-hero h1 { font-size: var(--wp--preset--font-size--hero) !important; line-height: 1.04; max-width: 15ch; margin-left: auto; margin-right: auto; text-shadow: 0 6px 40px rgba(0, 0, 0, .55); }
.bcp-hero .bcp-lead { max-width: 46rem; margin-left: auto; margin-right: auto; }

/* ---------- Countdown ---------- */
.bcp-countdown { display: flex; justify-content: center; gap: clamp(.5rem, 2vw, 1.1rem); margin: 1.6rem auto .5rem; flex-wrap: wrap; }
.bcp-cd-unit {
	min-width: clamp(70px, 14vw, 104px);
	padding: .9rem .6rem .7rem;
	border-radius: 16px;
	background: rgba(11, 9, 18, .55);
	border: 1px solid var(--wp--custom--line);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	text-align: center;
}
.bcp-cd-unit span {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.9rem, 5vw, 3rem);
	font-weight: 700;
	line-height: 1;
	background: var(--wp--preset--gradient--gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}
.bcp-cd-unit small { display: block; margin-top: .45rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wp--preset--color--mist); }
.bcp-cd-caption { font-size: .9rem; color: var(--wp--preset--color--mist); text-align: center; }
.bcp-countdown-done { font-family: var(--wp--preset--font-family--display); font-size: 1.8rem; color: var(--wp--preset--color--champagne); }

/* ---------- Cards ---------- */
.bcp-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
	border: 1px solid var(--wp--custom--line);
	border-radius: 20px;
	padding: clamp(1.25rem, 2.5vw, 2rem) !important;
	box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9);
	height: 100%;
	transition: transform .25s ease, border-color .25s ease;
}
.bcp-card:hover { transform: translateY(-3px); border-color: rgba(241, 213, 142, .55); }
.bcp-card > :first-child { margin-top: 0; }
.bcp-card h3 { font-size: 1.35rem !important; margin-bottom: .4rem; }
.bcp-card p { margin-top: .4rem; }
.bcp-icon { font-size: 1.6rem !important; line-height: 1; margin-bottom: .5rem !important; }
.bcp-fact-label { font-size: .72rem !important; letter-spacing: .22em; text-transform: uppercase; color: var(--wp--preset--color--gold); font-weight: 700; margin-bottom: .2rem !important; }
.bcp-fact-value { font-family: var(--wp--preset--font-family--display); font-size: 1.3rem !important; line-height: 1.3; margin-top: .2rem !important; color: var(--wp--preset--color--ivory); }
.bcp-facts .wp-block-column { display: flex; }
.bcp-facts .bcp-card { width: 100%; }

/* Prices */
.bcp-price-card { text-align: center; }
.bcp-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.6rem, 6vw, 3.6rem) !important;
	font-weight: 700;
	line-height: 1;
	margin: .4rem 0 .2rem !important;
	background: var(--wp--preset--gradient--gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.bcp-price-card.is-featured { border-color: rgba(241, 213, 142, .6); box-shadow: 0 30px 80px -30px rgba(217, 180, 90, .35); }

/* ---------- Images ---------- */
.bcp-photo img, .bcp-poster img { border-radius: 18px; }
.bcp-poster img { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--wp--custom--line); }
.bcp-photo img { box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9); }
.bcp-thumb img { border-radius: 12px; box-shadow: 0 0 0 1px var(--wp--custom--line); }
.wp-block-gallery.bcp-strip img { border-radius: 14px; }
.wp-block-embed.bcp-video iframe, .wp-block-embed.bcp-video .wp-block-embed__wrapper { border-radius: 18px; overflow: hidden; }

/* ---------- Tables ---------- */
.bcp-table table { border-collapse: collapse; width: 100%; }
.bcp-table td, .bcp-table th { border: 0; border-bottom: 1px solid var(--wp--custom--line); padding: .85rem .5rem; vertical-align: top; text-align: left; }
.bcp-table tr td:first-child { width: 32%; color: var(--wp--preset--color--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; padding-top: 1.05rem; }
.bcp-table thead th { color: var(--wp--preset--color--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.bcp-table figcaption { color: var(--wp--preset--color--mist); }

/* ---------- Lists ---------- */
.bcp-checks { list-style: none; padding-left: 0; }
.bcp-checks li { position: relative; padding-left: 1.8rem; margin: .55rem 0; }
.bcp-checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--wp--preset--gradient--gold); box-shadow: 0 0 12px rgba(217, 180, 90, .6); }
.bcp-menu-list { list-style: none; padding-left: 0; columns: 2 240px; column-gap: 2.5rem; }
.bcp-menu-list li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px dashed rgba(217, 180, 90, .2); }

/* ---------- Timeline (past editions) ---------- */
.bcp-timeline-item { position: relative; padding-left: clamp(1rem, 3vw, 2rem) !important; border-left: 1px solid var(--wp--custom--line); margin-top: 0 !important; padding-bottom: 2.2rem !important; }
.bcp-timeline-item::before { content: ""; position: absolute; left: -7px; top: .6rem; width: 13px; height: 13px; border-radius: 50%; background: var(--wp--preset--gradient--gold); box-shadow: 0 0 0 5px rgba(217, 180, 90, .15); }
.bcp-year { font-family: var(--wp--preset--font-family--display); font-size: 2.6rem !important; font-weight: 700; line-height: 1; margin: 0 !important; }
.bcp-venue-list { list-style: none; padding-left: 0; }
.bcp-venue-list li { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--wp--custom--line); }
.bcp-venue-list strong { min-width: 6.5rem; color: var(--wp--preset--color--champagne); font-family: var(--wp--preset--font-family--display); }

/* ---------- FAQ (Details) ---------- */
.wp-block-details { border-bottom: 1px solid var(--wp--custom--line); padding: 1.1rem 0; margin-top: 0 !important; }
.wp-block-details summary { cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; font-weight: 600; padding-right: 2.2rem; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: .2rem; top: -.1rem; font-size: 1.6rem; color: var(--wp--preset--color--gold); transition: transform .2s ease; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: rgba(247, 241, 232, .86); }

/* ---------- Edition navigation ---------- */
.bcp-edition-nav { border-top: 1px solid var(--wp--custom--line); padding-top: 1.5rem !important; }

/* ---------- Robo Gallery on dark ---------- */
.robo-gallery-wrap, .rbs-imges-container { background: transparent !important; }

/* ---------- Footer ---------- */
.bcp-footer { background: linear-gradient(180deg, rgba(20, 16, 34, .6), var(--wp--preset--color--night)); border-top: 1px solid var(--wp--custom--line); color: var(--wp--preset--color--mist); }
.bcp-footer a { color: var(--wp--preset--color--ivory); text-decoration: none; }
.bcp-footer a:hover { color: var(--wp--preset--color--champagne); }
.bcp-footer-title { font-family: var(--wp--preset--font-family--body) !important; font-size: .78rem !important; letter-spacing: .22em; text-transform: uppercase; color: var(--wp--preset--color--gold) !important; }
.bcp-footer-links { list-style: none; padding-left: 0; }
.bcp-footer-links li { margin: .45rem 0; }
.bcp-copyright { font-size: .82rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Mobile header: keep the Book tickets button on one line */
@media (max-width: 600px) { .bcp-header .bcp-wordmark a { font-size: 1.05rem; } .bcp-header .bcp-btn-sm .wp-block-button__link { padding: .5em .95em; font-size: .75rem; white-space: nowrap; } }
/* Mobile countdown: four boxes on one row */
@media (max-width: 600px) { .bcp-countdown { gap: .4rem; } .bcp-cd-unit { min-width: 0; flex: 1 1 0; padding: .7rem .2rem .55rem; } .bcp-cd-unit small { letter-spacing: .12em; font-size: .62rem; } }
/* Small phones: tighten the header so it never overflows */
@media (max-width: 400px) { .bcp-header .bcp-wordmark a { font-size: .92rem; } .bcp-header .alignwide { gap: .6rem; } .bcp-header .is-content-justification-right { gap: .7rem; } .bcp-header .bcp-btn-sm .wp-block-button__link { padding: .45em .8em; } }
/* Menu overlay: drop the header blur while the menu is open, so the full-screen menu is not trapped inside the header bar */
.bcp-header:has(.wp-block-navigation__responsive-container.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Tablets: use the menu button up to 1023px so the header never squeezes */
.bcp-header .bcp-btn-sm .wp-block-button__link { white-space: nowrap; }
@media (min-width: 600px) and (max-width: 1023px) { .bcp-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; } .bcp-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; } }