/* ==========================================================================
   iGaming SEO theme - custom stylesheet
   All page copy lives in real Gutenberg blocks (heading/paragraph/table/
   columns/buttons) - this file only styles those blocks via className
   hooks. Nothing here holds text content, so it never fights with what the
   editor shows.
   ========================================================================== */

/* ---------- base ---------- */
.igseo-theme { overflow-x: hidden; }
.igseo-section { position: relative; padding-left: clamp(1.25rem, 4vw, 3rem); padding-right: clamp(1.25rem, 4vw, 3rem); }
.igseo-lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.igseo-benefit-title,
.igseo-service-num,
.igseo-reason-num,
.igseo-stat-num,
.igseo-stat-label,
.igseo-timeline-dot,
.igseo-timeline-text,
.igseo-big-stat-num,
.igseo-big-stat-label,
.igseo-stat-card-eyebrow,
.igseo-benefit-desc { margin: 0; }

/* button style overrides for variants that must NOT inherit the solid-blue default */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--electric-blue) !important;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--electric-blue) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--electric-blue) !important;
	color: #fff !important;
}

/* ---------- header ---------- */
.igseo-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--wp--preset--color--border-gray);
}
.igseo-logo { display: inline-flex; align-items: center; gap: 0.5rem; }
.igseo-logo-mark { display: inline-flex; }
.igseo-header .wp-block-site-title,
.igseo-header .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--heading) !important;
	font-weight: 700 !important;
	font-size: 1.125rem !important;
	color: var(--wp--preset--color--ink-navy) !important;
	text-decoration: none !important;
	margin: 0 !important;
}
.igseo-footer .wp-block-site-title,
.igseo-footer .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--heading) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	color: #fff !important;
	text-decoration: none !important;
	margin: 0 !important;
}
.igseo-header-right { align-items: center; gap: 1.5rem; }
.igseo-nav-wrap { align-items: center; gap: 1.75rem; }
.igseo-nav-links { display: flex; }
.igseo-nav-links .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--slate-black) !important;
	box-shadow: none !important;
	font-weight: 500 !important;
	font-size: 0.9375rem !important;
	padding: 0.4rem 0.6rem !important;
}
.igseo-nav-links .wp-block-button__link:hover { color: var(--wp--preset--color--electric-blue) !important; }
.igseo-nav-cta .wp-block-button__link { padding: 0.65rem 1.25rem !important; font-size: 0.9375rem; }
.igseo-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: 1px solid var(--wp--preset--color--border-gray);
	border-radius: 8px;
	cursor: pointer;
}
.igseo-nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--wp--preset--color--ink-navy);
	transition: transform .2s ease, opacity .2s ease;
}
.igseo-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.igseo-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.igseo-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.igseo-hero-buttons { margin-top: 1.75rem; }
.igseo-hero-visual { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.igseo-hero-visual::before,
.igseo-hero-visual::after {
	content: ""; position: absolute; border-radius: 50%; filter: blur(38px); opacity: 0.35; z-index: 0;
}
.igseo-hero-visual::before { width: 260px; height: 260px; background: var(--wp--preset--color--electric-blue); top: -30px; right: 10%; }
.igseo-hero-visual::after { width: 220px; height: 220px; background: var(--wp--preset--color--sky-cyan); bottom: -40px; left: 5%; }
.igseo-stat-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 320px;
	background: #fff;
	border-radius: 18px;
	padding: 1.5rem;
	box-shadow: 0 30px 60px -20px rgba(11, 23, 48, 0.25);
	transform: rotate(-2deg);
}
.igseo-stat-card-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
	color: var(--wp--preset--color--cool-gray); margin-bottom: 0.75rem !important;
}
.igseo-stat-chart { width: 100%; height: auto; display: block; margin: 0.5rem 0 1rem; }
.igseo-stat-card-foot { margin-top: 0 !important; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--border-gray); }
.igseo-stat-num { font-family: var(--wp--preset--font-family--mono); color: var(--wp--preset--color--ink-navy); font-size: 1.0625rem; font-weight: 600; }
.igseo-stat-label { font-size: 0.7rem; color: var(--wp--preset--color--cool-gray); }

/* ---------- benefit rows (what-is section) ---------- */
.igseo-benefit-list { display: flex; flex-direction: column; gap: 1.25rem; }
.igseo-benefit-row { display: flex; gap: 1rem; align-items: flex-start; padding-top: 1.1rem; border-top: 1px solid var(--wp--preset--color--border-gray); }
.igseo-benefit-row:first-child { border-top: none; padding-top: 0; }
.igseo-benefit-icon {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--electric-blue);
	display: flex; align-items: center; justify-content: center;
}
.igseo-benefit-icon svg { width: 20px; height: 20px; }
.igseo-benefit-title { font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--ink-navy) !important; margin-bottom: 0.15rem !important; }
.igseo-benefit-desc { color: var(--wp--preset--color--cool-gray); font-size: 0.9375rem; }

/* ---------- comparison table (native core/table) ---------- */
.wp-block-table.is-style-igseo-compare {
	max-width: 900px; margin: 2.5rem auto 0;
	overflow-x: auto;
}
.wp-block-table.is-style-igseo-compare table {
	width: 100%; min-width: 640px; border-collapse: collapse;
	border-radius: 16px; overflow: hidden;
	box-shadow: 0 20px 40px -24px rgba(11,23,48,.18);
	background: #fff;
}
.wp-block-table.is-style-igseo-compare thead tr {
	background: var(--wp--preset--color--ink-navy);
}
.wp-block-table.is-style-igseo-compare th {
	color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 600;
	text-align: left; padding: 1rem 1.25rem; font-size: 0.9375rem;
}
.wp-block-table.is-style-igseo-compare th:first-child { width: 26%; }
.wp-block-table.is-style-igseo-compare td {
	padding: 1rem 1.25rem; font-size: 0.9375rem; border-bottom: 1px solid var(--wp--preset--color--border-gray);
	color: var(--wp--preset--color--cool-gray);
}
.wp-block-table.is-style-igseo-compare tr:last-child td { border-bottom: none; }
.wp-block-table.is-style-igseo-compare tr:nth-child(even) td { background: var(--wp--preset--color--cool-ice); }
.wp-block-table.is-style-igseo-compare td:first-child { font-weight: 600; color: var(--wp--preset--color--ink-navy); }
.wp-block-table.is-style-igseo-compare td:last-child { color: var(--wp--preset--color--ink-navy); font-weight: 500; }

/* ---------- three reasons ---------- */
.igseo-reasons { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; }
.igseo-reason-row { display: flex; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--wp--preset--color--border-gray); }
.igseo-reason-row:first-child { border-top: none; padding-top: 0; }
.igseo-reason-num,
.igseo-reason-num * { flex: 0 0 auto; font-family: var(--wp--preset--font-family--mono) !important; font-size: 1.5rem !important; font-weight: 600 !important; color: var(--wp--preset--color--electric-blue) !important; width: 3.5rem; }
.igseo-reason-body h3 { margin: 0 0 0.5rem; }

/* ---------- verticals tabs ---------- */
.igseo-tabs { max-width: 960px; margin: 2.5rem auto 0; }
.igseo-tabs-nav.wp-block-buttons { row-gap: 0.5rem; column-gap: 0.5rem; margin-bottom: 1.75rem !important; }
.igseo-tab-btn .wp-block-button__link {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.9375rem !important; font-weight: 600 !important;
	padding: 0.7rem 1.25rem !important; border-radius: 999px !important;
	border: 1px solid var(--wp--preset--color--border-gray) !important;
	background: #fff !important; color: var(--wp--preset--color--cool-gray) !important;
	box-shadow: none !important; transition: all .18s ease;
}
.igseo-tab-btn .wp-block-button__link:hover { border-color: var(--wp--preset--color--electric-blue) !important; color: var(--wp--preset--color--electric-blue) !important; }
.igseo-tab-btn.is-active .wp-block-button__link {
	background: var(--wp--preset--color--electric-blue) !important; border-color: var(--wp--preset--color--electric-blue) !important; color: #fff !important;
}
.igseo-tab-panel {
	display: none;
	background: #fff; border-radius: 18px; padding: 2.5rem;
	box-shadow: 0 20px 40px -24px rgba(11,23,48,.18);
}
.igseo-tab-panel.is-active { display: block; }
.igseo-tab-icon {
	width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 14px;
	background: var(--wp--preset--color--cool-ice); color: var(--wp--preset--color--electric-blue);
	display: flex; align-items: center; justify-content: center;
}
.igseo-tab-icon svg { width: 26px; height: 26px; }
.igseo-tab-panel h3 { margin: 0 0 0.75rem; }
.igseo-tab-panel p { max-width: 560px; margin: 0 auto; }
.igseo-tab-visual {
	margin: 1.75rem auto 0; max-width: 320px;
	background: var(--wp--preset--color--cool-ice);
	border-radius: 16px; padding: 0.75rem;
}
.igseo-tab-visual svg { width: 100%; height: auto; display: block; }

/* ---------- services grid ---------- */
.igseo-services-row { align-items: flex-start; margin-top: 1.5rem !important; }
.igseo-services-row:first-child { margin-top: 2.5rem !important; }
.igseo-service-card {
	background: var(--wp--preset--color--cool-ice); border-radius: 16px; padding: 1.5rem; width: 100%;
}
.igseo-service-num,
.igseo-service-num * {
	display: block; font-family: var(--wp--preset--font-family--mono) !important; font-weight: 600 !important;
	color: var(--wp--preset--color--electric-blue) !important; font-size: 0.9375rem !important; margin-bottom: 0.6rem !important;
}
.igseo-service-card h3,
.igseo-service-card h3 * {
	font-size: 1.0625rem !important; line-height: 1.3 !important; font-family: var(--wp--preset--font-family--heading) !important;
	font-weight: 600 !important; color: var(--wp--preset--color--ink-navy) !important; margin: 0 0 0.5rem !important;
}
.igseo-service-card p,
.igseo-service-card p * {
	font-size: 0.9375rem !important; line-height: 1.55 !important; font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 400 !important; color: var(--wp--preset--color--cool-gray) !important; margin: 0 !important;
}

/* ---------- dark results section ---------- */
.igseo-section-dark, .igseo-section-dark h2, .igseo-section-dark h3 { color: #fff; }
.igseo-section-dark h2 { text-wrap: balance; }
.igseo-case-highlight {
	max-width: 700px; margin: 1rem auto 0 !important; color: rgba(255,255,255,0.82);
	font-size: 1.0625rem; border-left: 3px solid var(--wp--preset--color--sky-cyan);
	padding-left: 1rem; text-align: left !important;
}
.igseo-stat-row.wp-block-columns { margin: 3rem 0 !important; }
.igseo-big-stat-num,
.igseo-big-stat-num * {
	display: block; font-family: var(--wp--preset--font-family--mono) !important; font-weight: 600 !important;
	font-size: var(--wp--preset--font-size--stat) !important; line-height: 1 !important;
	background: linear-gradient(135deg, #fff 0%, #9fc4ff 100%) !important;
	-webkit-background-clip: text !important; background-clip: text !important;
	color: transparent !important; -webkit-text-fill-color: transparent !important;
}
.igseo-big-stat-label,
.igseo-big-stat-label * {
	display: block; margin-top: 0.5rem !important; font-size: 0.875rem !important;
	font-family: var(--wp--preset--font-family--body) !important; font-weight: 400 !important;
	color: rgba(255,255,255,0.65) !important; background: none !important; -webkit-text-fill-color: initial !important;
}
.igseo-dark-columns { margin-top: 1rem !important; }
.igseo-dark-text { color: rgba(255,255,255,0.72); margin: 0; }

/* ---------- process timeline ---------- */
.igseo-timeline { position: relative; max-width: 1000px; margin: 3rem auto 0; display: flex; justify-content: space-between; gap: 1rem; }
.igseo-timeline::before {
	content: ""; position: absolute; top: 18px; left: 4%; right: 4%; height: 2px;
	background: var(--wp--preset--color--border-gray); z-index: 0;
}
.igseo-timeline-step { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 0.5rem; }
.igseo-timeline-dot,
.igseo-timeline-dot * {
	width: 38px; height: 38px; margin: 0 auto 1.25rem !important; border-radius: 50%;
	background: var(--wp--preset--color--electric-blue) !important; color: #fff !important;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--mono) !important; font-weight: 600 !important; font-size: 1rem !important;
	box-shadow: 0 0 0 6px #fff;
}
.igseo-timeline-text { font-size: 0.875rem; color: var(--wp--preset--color--cool-gray); }
.igseo-timeline-text strong { display: block; font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--ink-navy); font-size: 0.9375rem; margin-bottom: 0.35rem; }

/* ---------- FAQ ---------- */
.igseo-faq-list .wp-block-details { background: #fff; border-radius: 12px; padding: 0 1.5rem; margin-bottom: 0.75rem; border-bottom: none !important; }
.igseo-faq-list .wp-block-details summary {
	cursor: pointer; padding: 1.25rem 0; font-family: var(--wp--preset--font-family--heading);
	font-weight: 600; color: var(--wp--preset--color--ink-navy); list-style: none;
	display: flex; align-items: center; justify-content: space-between;
}
.igseo-faq-list .wp-block-details summary::-webkit-details-marker { display: none; }
.igseo-faq-list .wp-block-details summary::after {
	content: '+'; font-size: 1.5rem; color: var(--wp--preset--color--electric-blue); flex: 0 0 auto; margin-left: 1rem; line-height: 1;
}
.igseo-faq-list .wp-block-details[open] summary::after { content: '\2212'; }
.igseo-faq-list .wp-block-details p { padding-bottom: 1.25rem; }

/* ---------- footer ---------- */
.igseo-footer { gap: 1rem; }
.igseo-footer-copy { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin: 0; }
.igseo-footer-nav.wp-block-buttons { gap: 1.5rem !important; }
.igseo-footer-nav .wp-block-button__link {
	background: transparent !important; box-shadow: none !important; padding: 0 !important;
	color: rgba(255,255,255,0.7) !important; font-size: 0.875rem !important; font-weight: 400 !important;
}
.igseo-footer-nav .wp-block-button__link:hover { color: #fff !important; }

/* ---------- scroll reveal ---------- */
.igseo-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.igseo-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.igseo-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 782px) {
	.igseo-nav-toggle { display: flex !important; }
	.igseo-nav-wrap {
		display: none !important;
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column !important; align-items: stretch !important; gap: 1rem;
		background: #fff; padding: 1.25rem var(--wp--preset--spacing--sm) 1.5rem;
		border-bottom: 1px solid var(--wp--preset--color--border-gray);
		box-shadow: 0 16px 24px -20px rgba(11,23,48,.2);
		z-index: 50;
	}
	.igseo-nav-wrap.is-open { display: flex !important; }
	.igseo-nav-links { flex-direction: column !important; gap: 0.25rem; }
	.igseo-nav-cta { width: 100%; }
	.igseo-nav-cta .wp-block-button__link { width: 100%; text-align: center; }

	.igseo-hero-row { flex-direction: column-reverse !important; }
	.igseo-hero-row .wp-block-column { flex-basis: 100% !important; }
	.igseo-hero-visual { min-height: 240px; margin-bottom: 1rem; }

	.igseo-timeline { flex-direction: column !important; gap: 2rem; align-items: flex-start !important; }
	.igseo-timeline::before { top: 0; bottom: 0; left: 18px; right: auto; width: 2px; height: auto; }
	.igseo-timeline-step { text-align: left; padding-left: 3.25rem; }
	.igseo-timeline-dot { position: absolute; left: 0; top: 0; margin: 0 !important; }

	.igseo-reason-row { flex-direction: column !important; gap: 0.75rem; }
}

@media (max-width: 480px) {
	.igseo-tab-btn .wp-block-button__link { padding: 0.65rem 0.9rem !important; font-size: 0.875rem !important; }
	.igseo-tab-panel { padding: 1.75rem 1.25rem; }
}

@media (max-width: 600px) {
	.wp-block-table.is-style-igseo-compare table { min-width: 0; }
	.wp-block-table.is-style-igseo-compare th,
	.wp-block-table.is-style-igseo-compare td { padding: 0.6rem 0.55rem; font-size: 0.75rem; }
	.wp-block-table.is-style-igseo-compare th:first-child,
	.wp-block-table.is-style-igseo-compare td:first-child { width: 32%; }
}
