/*
Theme Name: Live Roulette Ireland
Theme URI: https://liveroulette.ie/
Description: Custom child theme for LiveRoulette.ie (green & gold casino design).
Author: LiveRoulette.ie
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.5
Text Domain: liveroulette
*/

:root {
	--lr-bg: var(--wp--preset--color--base, #0b1610);
	--lr-card: var(--wp--preset--color--accent-3, #112018);
	--lr-surface: var(--wp--preset--color--accent-5, #182b20);
	--lr-line: var(--wp--preset--color--accent-6, #27412f);
	--lr-text: var(--wp--preset--color--contrast, #f4f3ee);
	--lr-muted: var(--wp--preset--color--accent-4, #a9b5ad);
	--lr-gold: var(--wp--preset--color--accent-1, #e2b33c);
	--lr-green: var(--wp--preset--color--accent-2, #3fae5c);
	--lr-red: #c8323a;
	--lr-radius: 14px;
}
body { background: var(--lr-bg); color: var(--lr-text); }
::selection { background: var(--lr-gold); color: #14110a; }
.lr-muted { color: var(--lr-muted); }
.lr-small, .lr-small p { font-size: .85rem; }
.lr-main { padding-bottom: 3rem; }
.lr-main > .wp-block-post-content > * + * { margin-block-start: 1.2rem; }
img { height: auto; }

/* ---------- Top bar & header ---------- */
.lr-topbar { background: #07100b; border-bottom: 1px solid var(--lr-line); padding: .35rem 1rem; }
.lr-topbar p { margin: 0; font-size: .8rem; color: var(--lr-muted); }
.lr-topbar a { color: var(--lr-muted); }
.lr-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 22, 16, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lr-line); padding: .7rem 1rem; }
.admin-bar .lr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lr-header { top: 0; position: relative; } }
.lr-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--lr-text); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; white-space: nowrap; }
.lr-brand__tld { color: var(--lr-gold); }
.lr-brand__wheel { width: 34px; height: 34px; border-radius: 50%; flex: none;
	background: radial-gradient(circle at 50% 50%, var(--lr-gold) 0 18%, #1a120a 19% 30%, transparent 31%),
		repeating-conic-gradient(var(--lr-red) 0 10deg, #111 10deg 20deg);
	box-shadow: 0 0 0 3px var(--lr-gold), 0 0 0 5px #1a120a; }
.lr-nav a { color: var(--lr-text); text-decoration: none; }
.lr-nav a:hover { color: var(--lr-gold); }
.lr-nav .wp-block-navigation__submenu-container { background: var(--lr-card) !important; border: 1px solid var(--lr-line) !important; border-radius: 10px; padding: .4rem 0; min-width: 240px !important; }
.lr-nav .wp-block-navigation__submenu-container a { padding: .45rem 1rem !important; font-weight: 600; }
.lr-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--lr-bg) !important; color: var(--lr-text) !important; padding: 2rem 1.5rem; }
.lr-header-cta .wp-block-button__link { padding: .55rem 1.1rem; font-size: .92rem; }
@media (max-width: 900px) { .lr-header .lr-header-cta { display: none !important; } }
html, body { overflow-x: clip; }
.lr-brand__name { font-size: clamp(1.05rem, 4vw, 1.25rem); }
.lr-hero > .wp-block-columns { gap: 2.5rem; }
@media (max-width: 781px) { .lr-hero .wp-block-column { flex-basis: 100% !important; } }
.wp-block-post-content h1 { overflow-wrap: anywhere; }

/* ---------- Hero ---------- */
.lr-hero { position: relative; padding: clamp(2rem, 5vw, 4rem) 1rem; border-bottom: 1px solid var(--lr-line);
	background: radial-gradient(ellipse at 15% 0%, rgba(63, 174, 92, .22), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(226, 179, 60, .12), transparent 50%), var(--lr-bg); }
.lr-hero h1 { margin-top: .4rem; }
.lr-hero h1 .lr-year, .lr-gold { color: var(--lr-gold); }
.lr-hero .wp-block-image img { border-radius: var(--lr-radius); border: 1px solid var(--lr-line); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.lr-crumbs { font-size: .85rem; color: var(--lr-muted); margin: 0; }
.lr-crumbs a { color: var(--lr-muted); text-decoration: none; }
.lr-crumbs a:hover { color: var(--lr-gold); }
.lr-byline { position: relative; display: block; min-height: 40px; padding-left: 52px; padding-top: .45rem; font-size: .9rem; color: var(--lr-muted); }
.lr-byline::before { content: "EA"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lr-surface); border: 2px solid var(--lr-gold); color: var(--lr-gold); font-weight: 800; font-size: .85rem; }
.lr-byline strong { color: var(--lr-text); }
.lr-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; list-style: none; font-size: .9rem; font-weight: 700; }
.lr-trust li::before { content: "✓"; color: var(--lr-green); margin-right: .4rem; }

/* ---------- Casino toplist ---------- */
.lr-toplist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
.lr-card { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 1.2rem; align-items: center;
	background: linear-gradient(180deg, var(--lr-card), #0e1b14); border: 1px solid var(--lr-line); border-radius: var(--lr-radius); padding: 1.3rem 1.4rem 1.1rem 3.6rem; }
.lr-card:first-child { border-color: var(--lr-gold); box-shadow: 0 0 0 1px rgba(226, 179, 60, .35), 0 12px 30px rgba(0, 0, 0, .35); }
.lr-card__rank { position: absolute; left: 1rem; top: 1.2rem; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lr-gold); color: #14110a; font-weight: 800; }
.lr-card__brand { display: flex; gap: 1rem; align-items: center; }
.lr-logo { width: 120px; height: 64px; flex: none; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 6px; }
.lr-logo__img { max-width: 100%; max-height: 52px; width: auto; object-fit: contain; }
.lr-logo__word { font-weight: 900; color: #6a1fd0; font-size: 1.05rem; letter-spacing: -.02em; }
.lr-card__name { margin: 0 0 .25rem; font-size: 1.2rem; }
.lr-badge { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--lr-gold); background: rgba(226, 179, 60, .12); border: 1px solid rgba(226, 179, 60, .4); padding: .15rem .5rem; border-radius: 999px; margin-bottom: .35rem; }
.lr-score { display: flex; align-items: baseline; gap: .15rem; font-weight: 800; }
.lr-score__num { font-size: 1.15rem; color: var(--lr-text); }
.lr-score__of { font-size: .8rem; color: var(--lr-muted); margin-right: .5rem; }
.lr-score__bar { width: 70px; height: 6px; border-radius: 6px; background: var(--lr-line); overflow: hidden; align-self: center; }
.lr-score__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--lr-green), var(--lr-gold)); }
.lr-card__bonus { display: flex; flex-direction: column; gap: .2rem; }
.lr-card__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lr-muted); font-weight: 700; }
.lr-card__bonus strong { color: var(--lr-gold); font-size: 1.12rem; line-height: 1.3; }
.lr-card__bonus small { color: var(--lr-muted); font-size: .78rem; line-height: 1.4; }
.lr-card__features { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.lr-card__features li { padding-left: 1.3rem; position: relative; margin: .15rem 0; }
.lr-card__features li::before { content: "✓"; position: absolute; left: 0; color: var(--lr-green); font-weight: 800; }
.lr-card__cta { display: flex; flex-direction: column; align-items: stretch; gap: .45rem; text-align: center; min-width: 170px; }
.lr-card__review { font-size: .88rem; color: var(--lr-muted); }
.lr-card__small { grid-column: 1 / -1; margin: 0; padding-top: .7rem; border-top: 1px dashed var(--lr-line); font-size: .74rem; color: var(--lr-muted); }
.lr-btn { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; padding: .75rem 1.2rem; border-radius: 10px; font-weight: 800; text-decoration: none !important; transition: transform .15s ease, background .15s ease; }
.lr-btn--gold { background: var(--lr-gold); color: #14110a !important; }
.lr-btn--gold:hover { background: #f0c75a; transform: translateY(-1px); }
@media (max-width: 960px) {
	.lr-card { grid-template-columns: 1fr 1fr; padding-left: 1.2rem; padding-top: 3.2rem; }
	.lr-card__rank { top: .9rem; }
	.lr-card__brand { grid-column: 1 / -1; }
	.lr-card__cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.lr-card { grid-template-columns: 1fr; }
	.lr-logo { width: 100px; height: 56px; }
}

/* ---------- Review summary box ---------- */
.lr-box { background: var(--lr-card); border: 1px solid var(--lr-gold); border-radius: var(--lr-radius); padding: 1.4rem; display: grid; gap: 1.1rem; }
.lr-box__head { display: flex; align-items: center; gap: 1rem; }
.lr-box__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin: 0; }
.lr-box__facts div { background: var(--lr-surface); border-radius: 10px; padding: .7rem .9rem; }
.lr-box__facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lr-muted); font-weight: 700; }
.lr-box__facts dd { margin: .2rem 0 0; font-weight: 700; font-size: .95rem; }
.lr-box__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.lr-box__cta small, .lr-cta-line small { color: var(--lr-muted); font-size: .78rem; }
.lr-cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }

/* ---------- Tables ---------- */
.wp-block-table, .lr-table-wrap { overflow-x: auto; }
.wp-block-table table, .lr-compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--lr-line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.wp-block-table th, .wp-block-table td, .lr-compare th, .lr-compare td { border: 0; border-bottom: 1px solid var(--lr-line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.wp-block-table thead th, .lr-compare thead th { background: var(--lr-surface); color: var(--lr-gold); font-weight: 800; border-bottom: 1px solid var(--lr-line); }
.wp-block-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.wp-block-table tbody tr:last-child td, .lr-compare tbody tr:last-child > * { border-bottom: 0; }
.lr-compare tbody th { color: var(--lr-muted); font-weight: 700; white-space: nowrap; }
.lr-compare .lr-btn { padding: .5rem .9rem; font-size: .9rem; }

/* ---------- Content blocks ---------- */
.lr-panel { background: var(--lr-card); border: 1px solid var(--lr-line); border-radius: var(--lr-radius); padding: 1.4rem 1.5rem; }
.lr-panel > :first-child { margin-top: 0; }
.lr-tip { background: rgba(63, 174, 92, .1); border-left: 4px solid var(--lr-green); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; }
.lr-warn { background: rgba(226, 179, 60, .08); border-left: 4px solid var(--lr-gold); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; }
.lr-tip > *, .lr-warn > * { margin: 0; }
.lr-tip > * + *, .lr-warn > * + * { margin-top: .6rem; }
.wp-block-post-content ul.wp-block-list li, .wp-block-post-content ol.wp-block-list li { margin: .3rem 0; }
.wp-block-post-content ul.wp-block-list li::marker { color: var(--lr-gold); }
.wp-block-image img { border-radius: 12px; }
.wp-block-image figcaption { color: var(--lr-muted); font-size: .85rem; text-align: center; }
hr.wp-block-separator { border-color: var(--lr-line); opacity: 1; }

/* FAQ accordions */
.wp-block-details { background: var(--lr-card); border: 1px solid var(--lr-line); border-radius: 12px; padding: 0; margin-block-start: .6rem !important; }
.wp-block-details summary { cursor: pointer; font-weight: 800; padding: 1rem 2.6rem 1rem 1.2rem; position: relative; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 1.1rem; top: .75rem; font-size: 1.4rem; color: var(--lr-gold); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { padding: 0 1.2rem; margin-top: 0; }
.wp-block-details > :last-child { padding-bottom: 1rem; }

/* Pros / cons */
.lr-proscons { gap: 1rem !important; }
.lr-proscons > .wp-block-column { background: var(--lr-card); border: 1px solid var(--lr-line); border-radius: var(--lr-radius); padding: 1.1rem 1.3rem; }
.lr-proscons h3 { margin-top: 0; }
.lr-proscons ul { list-style: none; padding-left: 0; }

/* Hub tiles */
.lr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.lr-tile { display: flex; flex-direction: column; background: var(--lr-card); border: 1px solid var(--lr-line); border-radius: var(--lr-radius); overflow: hidden; text-decoration: none !important; color: var(--lr-text) !important; transition: border-color .15s, transform .15s; }
.lr-tile:hover { border-color: var(--lr-gold); transform: translateY(-2px); }
.lr-tile__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.lr-tile__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.lr-tile__body strong { font-size: 1.08rem; }
.lr-tile__body span { color: var(--lr-muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Footer ---------- */
.lr-footer { background: #07100b; border-top: 1px solid var(--lr-line); padding: 3rem 1rem 2rem; margin-top: 3rem; }
.lr-footer h4 { color: var(--lr-gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8rem; }
.lr-footer-links { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.lr-footer-links li { margin: .35rem 0 !important; }
.lr-footer-links a, .lr-footer a { color: var(--lr-text); text-decoration: none; }
.lr-footer-links a:hover { color: var(--lr-gold); }
.lr-footer-rg { border-top: 1px solid var(--lr-line); margin-top: 2rem; padding-top: 1.5rem; font-size: .92rem; }
.lr-footer-rg a { color: var(--lr-gold) !important; }
.lr-18 { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lr-red); color: #fff; font-weight: 900; font-size: .78rem; margin-right: .5rem; vertical-align: middle; }
