/* ==========================================================================
   Components: buttons, cards, badges, forms, stars
   ========================================================================== */

/* ---- BUTTONS ---- */
.wcb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--wcb-radius);
	font-weight: 700;
	font-size: var(--wcb-fs-sm);
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all var(--wcb-transition);
	font-family: inherit;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.wcb-btn:focus-visible { outline: 2px solid var(--wcb-emerald); outline-offset: 2px; }

/* Primary — solid emerald */
.wcb-btn-primary {
	background: var(--wcb-emerald-dark);
	color: #fff;
}
.wcb-btn-primary::before { display: none; }
.wcb-btn-primary:hover {
	background: var(--wcb-emerald);
	color: #fff;
}
.wcb-btn-primary:active { transform: translateY(0); }

/* Outline */
.wcb-btn-outline {
	background: transparent;
	color: var(--wcb-navy);
	border-color: var(--wcb-border-strong);
}
.wcb-btn-outline:hover {
	background: var(--wcb-navy);
	color: #fff;
	border-color: var(--wcb-navy);
}

.wcb-btn-outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.25);
}
.wcb-btn-outline-light:hover {
	background: #fff;
	color: var(--wcb-navy);
	border-color: #fff;
}

/* Ghost */
.wcb-btn-ghost {
	background: var(--wcb-surface);
	color: var(--wcb-text);
	border-color: var(--wcb-border);
	box-shadow: var(--wcb-shadow-sm);
}
.wcb-btn-ghost:hover {
	background: var(--wcb-bg-soft);
	color: var(--wcb-emerald-dark);
	border-color: var(--wcb-emerald);
}

/* Sizes */
.wcb-btn-sm { padding: 0.5rem 1rem; font-size: var(--wcb-fs-xs); }
.wcb-btn-lg { padding: 1rem 2rem; font-size: var(--wcb-fs-base); }
.wcb-btn-block { width: 100%; }

/* ---- BADGES ---- */
.wcb-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 0.35rem 0.75rem;
	border-radius: var(--wcb-radius-full);
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	z-index: 2;
	box-shadow: var(--wcb-shadow);
}
.wcb-badge-exclusive { background: var(--wcb-red); color: #fff; }
.wcb-badge-new { background: var(--wcb-emerald); color: #fff; top: 14px; right: auto; left: 14px; }
.wcb-badge-worldcup {
	background: var(--wcb-gold);
	color: var(--wcb-navy);
	top: 50px;
	right: 14px;
}

/* ---- STARS ---- */
.wcb-stars {
	position: relative;
	display: inline-block;
	color: var(--wcb-border-strong);
	font-size: 1rem;
	letter-spacing: 0.1em;
	line-height: 1;
}
.wcb-stars-bg { display: block; }
.wcb-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--wcb-gold);
}

/* ---- BREADCRUMBS ---- */
.wcb-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--wcb-fs-sm);
	color: var(--wcb-text-soft);
	margin-bottom: 1.5rem;
}
.wcb-breadcrumbs a {
	color: var(--wcb-text-soft);
	font-weight: 500;
}
.wcb-breadcrumbs a:hover { color: var(--wcb-emerald-dark); }
.wcb-breadcrumbs span { color: var(--wcb-text-muted); font-weight: 500; }
.wcb-breadcrumbs > span:not(:first-child) { color: var(--wcb-text); font-weight: 600; }

/* ---- FLAGS ---- */
.wcb-flag {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wcb-bg-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	border: 2px solid var(--wcb-border);
	box-shadow: var(--wcb-shadow-sm);
	flex-shrink: 0;
}
.wcb-flag-xl {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--wcb-bg-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	border: 3px solid var(--wcb-border);
	box-shadow: var(--wcb-shadow-md);
	margin: 0 auto 1rem;
}

/* ---- COPY BUTTON ---- */
.wcb-copy-btn {
	background: var(--wcb-navy);
	color: white;
	border: 0;
	padding: 0.4rem 0.75rem;
	border-radius: var(--wcb-radius-sm);
	font-size: var(--wcb-fs-xs);
	font-weight: 700;
	cursor: pointer;
	transition: all var(--wcb-transition);
	font-family: inherit;
}
.wcb-copy-btn:hover { background: var(--wcb-emerald-dark); }
.wcb-copy-btn.copied { background: var(--wcb-emerald); }

/* ---- FAQ ---- */
.wcb-faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 900px; margin: 0 auto; }
.wcb-faq-item {
	background: var(--wcb-surface);
	border: 1px solid var(--wcb-border);
	border-radius: var(--wcb-radius-md);
	transition: all var(--wcb-transition);
	overflow: hidden;
}
.wcb-faq-item[open] {
	border-color: var(--wcb-emerald);
	box-shadow: var(--wcb-shadow-sm);
}
.wcb-faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 1.25rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-weight: 700;
	color: var(--wcb-text);
}
.wcb-faq-item summary::-webkit-details-marker { display: none; }
.wcb-faq-q { flex: 1; }
.wcb-faq-icon {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wcb-bg-soft);
	color: var(--wcb-emerald-dark);
	border-radius: 50%;
	font-size: 1.25rem;
	font-weight: 400;
	transition: all var(--wcb-transition);
	flex-shrink: 0;
}
.wcb-faq-item[open] .wcb-faq-icon {
	background: var(--wcb-emerald);
	color: white;
	transform: rotate(45deg);
}
.wcb-faq-answer {
	padding: 0 1.5rem 1.25rem;
	color: var(--wcb-text-soft);
	line-height: 1.7;
	border-top: 1px solid var(--wcb-border-soft);
	padding-top: 1rem;
	margin-top: -1px;
}
.wcb-faq-answer p:last-child { margin-bottom: 0; }

/* ---- SLIDER ---- */
.wcb-slider {
	position: relative;
}
.wcb-slider-viewport {
	overflow: hidden;
	border-radius: var(--wcb-radius-lg);
}
.wcb-slider-track {
	display: flex;
	gap: 1.25rem;
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.wcb-slider-track > * {
	flex: 0 0 auto;
	width: calc((100% - 3.75rem) / 4);
}
.wcb-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: white;
	border: 1px solid var(--wcb-border);
	color: var(--wcb-navy);
	font-size: 1.75rem;
	font-weight: 300;
	cursor: pointer;
	box-shadow: var(--wcb-shadow-md);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding-bottom: 3px;
	transition: all var(--wcb-transition);
}
.wcb-slider-nav:hover {
	background: var(--wcb-emerald);
	color: white;
	border-color: var(--wcb-emerald);
	transform: translateY(-50%) scale(1.08);
}
.wcb-slider-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.wcb-slider-prev { left: -24px; }
.wcb-slider-next { right: -24px; }

.wcb-slider-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}
.wcb-slider-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wcb-border-strong);
	border: 0;
	cursor: pointer;
	transition: all var(--wcb-transition);
	padding: 0;
}
.wcb-slider-dots button.active {
	background: var(--wcb-emerald-dark);
	width: 24px;
	border-radius: 4px;
}

/* ---- PAGINATION ---- */
.wcb-pagination, .navigation.pagination {
	display: flex;
	justify-content: center;
	margin: var(--wcb-space-16) 0 0;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.page-numbers li .page-numbers,
.navigation .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border-radius: var(--wcb-radius);
	background: white;
	color: var(--wcb-text);
	border: 1px solid var(--wcb-border);
	font-weight: 600;
	font-size: var(--wcb-fs-sm);
	transition: all var(--wcb-transition);
}
.navigation .page-numbers.current {
	background: var(--wcb-emerald-dark);
	color: white;
	border-color: transparent;
}
.navigation .page-numbers:hover:not(.current) {
	border-color: var(--wcb-emerald);
	color: var(--wcb-emerald-dark);
}

/* ---- SEARCH FORM ---- */
.wcb-searchform, .wcb-404-search {
	display: flex;
	background: white;
	border: 1px solid var(--wcb-border);
	border-radius: var(--wcb-radius-full);
	padding: 0.3rem;
	box-shadow: var(--wcb-shadow);
	max-width: 500px;
}
.wcb-searchform input, .wcb-404-search input {
	flex: 1;
	border: 0;
	padding: 0.75rem 1.25rem;
	background: transparent;
	font-family: inherit;
	font-size: var(--wcb-fs-sm);
	outline: none;
	color: var(--wcb-text);
}
.wcb-searchform input::placeholder, .wcb-404-search input::placeholder { color: var(--wcb-text-muted); }
.wcb-searchform button, .wcb-404-search button {
	padding: 0.65rem 1.5rem;
	background: var(--wcb-emerald-dark);
	color: white;
	border: 0;
	border-radius: var(--wcb-radius-full);
	font-weight: 700;
	cursor: pointer;
	font-size: var(--wcb-fs-sm);
	font-family: inherit;
}

/* ---- FILTER BUTTONS ---- */
.wcb-casino-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
	padding: 0.5rem;
	background: white;
	border-radius: var(--wcb-radius-full);
	border: 1px solid var(--wcb-border);
	box-shadow: var(--wcb-shadow-sm);
	max-width: max-content;
}
.wcb-filter-btn {
	padding: 0.55rem 1.1rem;
	background: transparent;
	color: var(--wcb-text-soft);
	border: 0;
	border-radius: var(--wcb-radius-full);
	font-weight: 600;
	font-size: var(--wcb-fs-sm);
	cursor: pointer;
	transition: all var(--wcb-transition);
	font-family: inherit;
	text-decoration: none;
	display: inline-block;
}
.wcb-filter-btn:hover { color: var(--wcb-text); background: var(--wcb-bg-soft); }
.wcb-filter-btn.wcb-filter-active,
.wcb-filter-btn.active {
	background: var(--wcb-navy);
	color: white;
}

/* ---- ICON helper ---- */
svg { flex-shrink: 0; }

/* ---- ARROW ARROWS ---- */
.wcb-arrow-right { display: inline-block; transition: transform var(--wcb-transition); }
a:hover .wcb-arrow-right { transform: translateX(4px); }

/* ---- EMPTY STATE ---- */
.wcb-empty {
	text-align: center;
	padding: 4rem 2rem;
	background: white;
	border: 1px dashed var(--wcb-border-strong);
	border-radius: var(--wcb-radius-lg);
}
.wcb-empty h2 { color: var(--wcb-text); margin-bottom: 1rem; }
.wcb-empty p { color: var(--wcb-text-soft); }

/* ---- Content typography in articles ---- */
.wcb-casino-content {
	color: var(--wcb-text-soft);
	font-size: var(--wcb-fs-lg);
	line-height: 1.75;
}
.wcb-casino-content h2 {
	margin-top: var(--wcb-space-10);
	font-size: var(--wcb-fs-3xl);
	color: var(--wcb-text);
	letter-spacing: -0.02em;
}
.wcb-casino-content h3 {
	margin-top: var(--wcb-space-8);
	font-size: var(--wcb-fs-2xl);
	color: var(--wcb-text);
}
.wcb-casino-content p { margin-bottom: 1.25rem; }
.wcb-casino-content strong { color: var(--wcb-text); font-weight: 700; }
.wcb-casino-content a { text-decoration: underline; text-underline-offset: 3px; }
.wcb-casino-content ul, .wcb-casino-content ol { margin-bottom: 1.5rem; }
.wcb-casino-content li { margin-bottom: 0.5rem; }
.wcb-casino-content blockquote {
	border-left: 4px solid var(--wcb-emerald);
	background: var(--wcb-emerald-soft);
	padding: 1.5rem 1.75rem;
	margin: 2rem 0;
	border-radius: var(--wcb-radius);
	font-style: italic;
	color: var(--wcb-navy);
}

/* ---- SEO UL / OL ---- */
.wcb-seo-ul, .wcb-seo-ol {
	list-style: none;
	padding-left: 0;
	margin: 1.5rem 0;
}
.wcb-seo-ul li, .wcb-seo-ol li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2.5rem;
	border-bottom: 1px solid var(--wcb-border-soft);
	color: var(--wcb-text-soft);
}
.wcb-seo-ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0.75rem;
	width: 24px;
	height: 24px;
	background: var(--wcb-emerald-soft);
	color: var(--wcb-emerald-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.8rem;
}
.wcb-seo-ol { counter-reset: seo-counter; }
.wcb-seo-ol li { padding-left: 3rem; }
.wcb-seo-ol li::before {
	counter-increment: seo-counter;
	content: counter(seo-counter);
	position: absolute;
	left: 0;
	top: 0.75rem;
	width: 28px;
	height: 28px;
	background: var(--wcb-emerald-dark);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.8rem;
}

/* ---- SEO TABLE ---- */
.wcb-seo-table-wrap {
	overflow-x: auto;
	margin: 2rem 0;
	border-radius: var(--wcb-radius-md);
	border: 1px solid var(--wcb-border);
	background: white;
}
.wcb-seo-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wcb-fs-sm);
}
.wcb-seo-table th {
	background: var(--wcb-navy);
	color: white;
	padding: 0.9rem 1rem;
	text-align: left;
	font-weight: 700;
	font-size: var(--wcb-fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.wcb-seo-table td {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid var(--wcb-border-soft);
	color: var(--wcb-text-soft);
	vertical-align: top;
}
.wcb-seo-table tr:last-child td { border-bottom: 0; }
.wcb-seo-table tbody tr:hover { background: var(--wcb-bg-soft); }
.wcb-seo-table td:first-child { font-weight: 700; color: var(--wcb-text); }

/* ---- Widgets ---- */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--wcb-text); }

/* ---- Link pages for paginated single ---- */
.page-links {
	margin-top: 2rem;
	padding: 1rem;
	background: var(--wcb-bg-soft);
	border-radius: var(--wcb-radius);
	display: flex;
	gap: 0.5rem;
	align-items: center;
}
.page-links a, .page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--wcb-radius-sm);
	font-weight: 700;
}
.page-links a { background: white; border: 1px solid var(--wcb-border); color: var(--wcb-text); }
.page-links > span { background: var(--wcb-emerald-dark); color: white; }
