/*
Theme Name: BollyFlix Single Page
Text Domain: bollyflix-single-page
Description: Original single-page home with a Bollywood and movie guide article.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
	--bf-bg: #0e0b10;
	--bf-surface: #181320;
	--bf-surface-2: #221a2c;
	--bf-text: #efe8f2;
	--bf-muted: #a99fb3;
	--bf-saffron: #ffb02e;
	--bf-crimson: #e0294a;
	--bf-line: rgba(255, 255, 255, 0.09);
	--bf-display: 'Fraunces', Georgia, serif;
	--bf-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.bf-body {
	margin: 0;
	background: var(--bf-bg);
	color: var(--bf-text);
	font-family: var(--bf-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

.bf-body img { max-width: 100%; height: auto; display: block; }
.bf-body a { color: var(--bf-saffron); }

.bf-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.bf-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.bf-header {
	position: sticky; top: 0; z-index: 20;
	background: rgba(14, 11, 16, 0.88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bf-line);
}
.bf-header .bf-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.bf-logo {
	font-family: var(--bf-display); font-weight: 800; font-size: 26px;
	color: var(--bf-text) !important; text-decoration: none; letter-spacing: -0.5px;
}
.bf-logo span { color: var(--bf-crimson); }
.bf-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.bf-nav a { color: var(--bf-muted) !important; text-decoration: none; }
.bf-nav a:hover { color: var(--bf-saffron) !important; }

/* Hero */
.bf-hero {
	position: relative; min-height: 78vh; display: flex; align-items: flex-end;
	background-size: cover; background-position: center;
	border-bottom: 1px solid var(--bf-line);
}
.bf-hero::before {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(14,11,16,0.35) 0%, rgba(14,11,16,0.93) 85%, var(--bf-bg) 100%),
		radial-gradient(circle at 80% 10%, rgba(224,41,74,0.35), transparent 55%);
}
.bf-hero-inner { position: relative; padding-bottom: 72px; padding-top: 120px; }
.bf-kicker {
	display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px;
	text-transform: uppercase; color: var(--bf-saffron);
	border: 1px solid rgba(255,176,46,0.45); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.bf-hero h1 {
	font-family: var(--bf-display); font-weight: 800;
	font-size: clamp(38px, 7vw, 76px); line-height: 1.05; letter-spacing: -1.5px;
	margin: 0 0 20px; max-width: 880px;
}
.bf-hero h1 em { font-style: normal; color: var(--bf-crimson); }
.bf-hero p { font-size: 20px; color: #d9cfe0; max-width: 640px; margin: 0 0 32px; }
.bf-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.bf-btn {
	display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700;
	text-decoration: none; font-size: 15px; transition: transform .2s, background .2s;
}
.bf-btn:hover { transform: translateY(-2px); }
.bf-btn-primary { background: var(--bf-crimson); color: #fff !important; }
.bf-btn-ghost { border: 1px solid var(--bf-line); color: var(--bf-text) !important; background: rgba(255,255,255,0.04); }

/* Stats strip */
.bf-strip { background: var(--bf-surface); border-bottom: 1px solid var(--bf-line); }
.bf-strip .bf-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.bf-stat { padding: 28px 12px; text-align: center; border-right: 1px solid var(--bf-line); }
.bf-stat:last-child { border-right: 0; }
.bf-stat b { display: block; font-family: var(--bf-display); font-size: 30px; color: var(--bf-saffron); line-height: 1.2; }
.bf-stat span { font-size: 13px; color: var(--bf-muted); letter-spacing: 1px; text-transform: uppercase; }

/* Article */
.bf-article { padding: 72px 0 40px; }
.bf-article h2 {
	font-family: var(--bf-display); font-weight: 800; font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15; letter-spacing: -0.8px; margin: 56px 0 18px;
	padding-left: 18px; border-left: 4px solid var(--bf-crimson);
}
.bf-article h2:first-child { margin-top: 0; }
.bf-article h3 { font-family: var(--bf-display); font-size: 24px; margin: 34px 0 10px; color: var(--bf-saffron); }
.bf-article p { margin: 0 0 20px; color: #ddd4e4; }
.bf-article ul { padding-left: 0; list-style: none; margin: 0 0 24px; }
.bf-article li {
	position: relative; padding: 12px 16px 12px 44px; margin-bottom: 10px;
	background: var(--bf-surface); border: 1px solid var(--bf-line); border-radius: 10px;
}
.bf-article li::before {
	content: ''; position: absolute; left: 16px; top: 22px; width: 14px; height: 14px;
	border-radius: 50%; background: var(--bf-crimson); box-shadow: 0 0 0 4px rgba(224,41,74,0.2);
}
.bf-article li strong { color: var(--bf-text); }
.bf-figure { margin: 36px -60px; }
.bf-figure img { border-radius: 14px; width: 100%; border: 1px solid var(--bf-line); }
.bf-figure figcaption { font-size: 13px; color: var(--bf-muted); text-align: center; margin-top: 10px; }

/* Genre grid */
.bf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 32px; }
.bf-card {
	background: var(--bf-surface-2); border: 1px solid var(--bf-line);
	border-radius: 14px; padding: 22px;
}
.bf-card h3 { margin: 0 0 8px; font-size: 20px; }
.bf-card p { margin: 0; font-size: 15px; color: var(--bf-muted); }

/* Platforms table */
.bf-table-wrap { overflow-x: auto; margin: 24px 0 32px; border: 1px solid var(--bf-line); border-radius: 12px; }
.bf-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.bf-table th, .bf-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--bf-line); }
.bf-table th { background: var(--bf-surface-2); color: var(--bf-saffron); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.bf-table tr:last-child td { border-bottom: 0; }

/* Callout */
.bf-callout {
	background: linear-gradient(135deg, rgba(224,41,74,0.18), rgba(255,176,46,0.1));
	border: 1px solid rgba(224,41,74,0.4); border-radius: 14px; padding: 26px 28px; margin: 36px 0;
}
.bf-callout h3 { margin-top: 0; color: var(--bf-text); }
.bf-callout p { margin: 0; }

/* FAQ */
.bf-faq details { background: var(--bf-surface); border: 1px solid var(--bf-line); border-radius: 12px; margin-bottom: 12px; }
.bf-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; position: relative; padding-right: 50px; }
.bf-faq summary::-webkit-details-marker { display: none; }
.bf-faq summary::after { content: '+'; position: absolute; right: 22px; top: 14px; font-size: 24px; color: var(--bf-crimson); }
.bf-faq details[open] summary::after { content: '\2212'; }
.bf-faq details p { padding: 0 22px 18px; margin: 0; color: var(--bf-muted); }

/* Footer */
.bf-footer { margin-top: 70px; border-top: 1px solid var(--bf-line); background: var(--bf-surface); padding: 40px 0; text-align: center; }
.bf-footer p { margin: 6px 0; font-size: 14px; color: var(--bf-muted); }
.bf-footer .bf-logo { font-size: 22px; }

@media (max-width: 900px) {
	.bf-figure { margin: 30px 0; }
	.bf-grid { grid-template-columns: 1fr; }
	.bf-strip .bf-wrap { grid-template-columns: repeat(2, 1fr); }
	.bf-stat:nth-child(2) { border-right: 0; }
	.bf-stat:nth-child(-n+2) { border-bottom: 1px solid var(--bf-line); }
	.bf-nav { gap: 16px; }
}
@media (max-width: 520px) {
	.bf-nav a:nth-child(n+3) { display: none; }
	.bf-hero { min-height: 70vh; }
}
