/*
 | Păcănele VIP theme (after the live pacanelevip.ro, same layout, modernized): black header with a gold glow
 | behind the logo, gold GIVEAWAY button, the first promotion big in a soft card, all offers 3 per row, the
 | sign-up call with red ticks and a green button, dark footer with the responsible-gaming column.
 | Loaded after components.css and base.css of the default theme (kept for the casino cards and the shared
 | pages), whose variables are set here to this palette.
 */

:root {
    --bg: #fff;
    --surface: #fff;
    --text: #111827;
    --text-soft: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --header-from: #000;
    --header-to: #1c1917;
    --footer-bg: #0a0a0a;
    --accent: #ef4444;
    --highlight: #dc2626;
    --button: #22c55e;
    --cta: #16a34a;
    --gold: #f5b301;
    --radius: 16px;
    --radius-sm: 10px;

    --pv-ink: #0a0a0a;
    --pv-gray: #f3f4f6;
    --pv-line: #e5e7eb;
    --pv-red: #ef4444;
    --pv-red-dark: #b91c1c;
    --pv-green: #22c55e;
    --pv-green-dark: #16a34a;
    --pv-gold: #f5b301;
    --pv-gold-light: #ffd05e;
    --pv-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 10px 30px -12px rgba(17, 24, 39, .18);
}

body { background: #fff; color: #111827; display: flex; flex-direction: column; min-height: 100vh; }
.pv-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; font-weight: 700; }
.pv-skip:focus { top: 12px; }
.pv-main { flex: 1; width: 100%; }

/* ===== HEADER ===== */
.pv-header { position: relative; padding: 10px 8px; font-weight: 700;
    background: radial-gradient(45% 140% at 50% 0%, rgba(245, 179, 1, .2), transparent 70%), #000; }
.pv-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 179, 1, .7), transparent); }
.pv-header-inner { position: relative; max-width: 1024px; margin: 0 auto; text-align: center; }
.pv-logo { display: inline-block; transition: transform .25s ease; }
.pv-logo:hover { transform: scale(1.015); }
.pv-logo img { display: block; width: 500px; max-width: 100%; height: auto; margin: 0 auto; padding: 0 20px; filter: drop-shadow(0 6px 24px rgba(245, 179, 1, .18)); }
.pv-header-social { position: absolute; left: 0; top: 14px; }
.pv-header-end { position: absolute; right: 0; top: 14px; display: flex; align-items: center; gap: 8px; }
.pv-account { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #e5e7eb; font: 700 .85rem var(--font); cursor: pointer; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.pv-account:hover, .pv-account:focus-visible { background: var(--pv-gold); border-color: var(--pv-gold); color: #000; }
.pv-account i { font-size: .85rem; }
/* Newsletter: gold outline, the main call of the header. */
.pv-newsletter { border-color: rgba(245, 179, 1, .55); color: var(--pv-gold); }

.pv-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pv-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #e5e7eb; font-size: .9rem; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.pv-social a:hover, .pv-social a:focus-visible { background: var(--pv-gold); border-color: var(--pv-gold); color: #000; transform: translateY(-2px); }
.pv-social img { width: 16px; height: 16px; object-fit: contain; }

.pv-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; max-width: 1024px; margin: 4px auto 0; padding: 4px 0 2px; }
.pv-nav a { padding: 4px 0; border-bottom: 2px solid transparent; color: #d1d5db; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.pv-nav a:hover, .pv-nav a.is-active { color: #fff; border-bottom-color: var(--pv-gold); }

@media (max-width: 767px) {
    .pv-header-social { display: none; }
    .pv-header-end { top: 4px; }
    .pv-account span { display: none; }
    .pv-account { width: 36px; padding: 0; justify-content: center; }
    .pv-header-end { top: 8px; right: 4px; }
}

/* ===== HOME ===== */
.pv-container { max-width: 1152px; margin: 0 auto; padding: 0 12px; }
@media (min-width: 768px) { .pv-container { padding: 0 16px; } }

/* Gold button with a crown and a light sweeping across it. */
.pv-giveaway { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 220px; margin: 30px auto 0; padding: 18px 28px; overflow: hidden; border-radius: 14px;
    background: linear-gradient(180deg, var(--pv-gold-light), #e09e00); box-shadow: 0 10px 24px -10px rgba(224, 158, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(146, 0, 0, .15);
    color: #920000; font-size: 20px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pv-giveaway i { font-size: .9em; }
.pv-giveaway::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-150%) skewX(-20deg); animation: pv-shine 3.2s ease-in-out infinite; pointer-events: none; }
.pv-giveaway:hover, .pv-giveaway:focus-visible { color: #920000; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(224, 158, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(146, 0, 0, .15); }
@keyframes pv-shine { 0%, 55% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
@media (prefers-reduced-motion: reduce) { .pv-giveaway::after { animation: none; display: none; } }
@media (min-width: 768px) { .pv-giveaway { margin-top: 50px; } }

/* First promotion, big (banner on the right on desktop). */
.pv-featured { display: flex; flex-direction: column; max-width: 1024px; margin: 32px 0; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #f9fafb, #eceef2); box-shadow: var(--pv-shadow), inset 0 0 0 1px rgba(17, 24, 39, .05); }
/* The whole banner, never cropped: a dark band fills the column when the text is taller. */
.pv-featured-media { display: flex; flex: 1; align-items: center; overflow: hidden; background: #0a0a0a; }
.pv-featured-media img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.pv-featured:hover .pv-featured-media img { transform: scale(1.03); }
.pv-featured-placeholder { display: grid; place-items: center; aspect-ratio: 3 / 2; color: #9ca3af; font-size: 3rem; }
.pv-featured-text { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 24px; }
.pv-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(239, 68, 68, .1); color: var(--pv-red-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pv-featured-title { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.pv-featured-title a { color: inherit; text-decoration: none; }
.pv-featured-title a:hover { color: var(--pv-red); }
.pv-featured-text p { margin: 0; color: #4b5563; }
.pv-featured-cta { margin-top: 6px; }
@media (min-width: 768px) {
    .pv-featured { flex-direction: row-reverse; margin: 48px auto 56px; }
    .pv-featured-media, .pv-featured-text { width: 50%; }
    .pv-featured-text { padding: 40px; }
    .pv-featured-title { font-size: 1.875rem; }
}

/* All offers: whole banners, 3 per row (grid of components.css). */
.pv-offers { margin: 12px 0; }
.pv-offers-title { position: relative; margin: 0 0 28px; padding-bottom: 14px; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.pv-offers-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--pv-red), var(--pv-gold)); transform: translateX(-50%); }
.pv-offers .promotions-grid { gap: 18px; }
.pv-offers .promotion-banner { border-radius: 14px; box-shadow: var(--pv-shadow); }
.pv-offers .promotion-banner:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(17, 24, 39, .06), 0 22px 40px -16px rgba(17, 24, 39, .35); }
@media (min-width: 1024px) { .pv-offers { padding: 0 40px; } }

.pv-casinos { margin: 32px 0; }

/* Text: title, sign-up call, the page's content. */
.pv-text { padding: 32px 4px 48px; }
@media (min-width: 640px) { .pv-text { padding: 56px 40px; } }
.pv-title { margin: 0 0 16px; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.pv-subtitle { margin: 0 0 20px; color: #4b5563; font-size: 1.05rem; }

.pv-signup { margin: 12px 0 32px; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #fff, #f9fafb); box-shadow: var(--pv-shadow), inset 0 0 0 1px rgba(17, 24, 39, .06); }
@media (min-width: 640px) { .pv-signup { padding: 32px 36px; } }
.pv-signup-lead { margin: 0; font-size: 1.05rem; }
.pv-signup-link { padding: 0; border: 0; background: none; color: var(--pv-red); font: inherit; font-weight: 800; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pv-signup-link:hover, .pv-signup-link:focus-visible { color: var(--pv-red-dark); }
.pv-signup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 16px; }
.pv-ticks { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.pv-ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pv-ticks i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(239, 68, 68, .1); color: var(--pv-red); font-size: .85rem; }
.pv-signup-action { display: flex; flex: 1; justify-content: center; }
@media (max-width: 639px) { .pv-ticks { grid-template-columns: 1fr; } .pv-signup-action .pv-btn-green { width: 100%; } }

.pv-btn-green { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 12px;
    background: linear-gradient(180deg, #34d36b, var(--pv-green-dark)); box-shadow: 0 10px 22px -10px rgba(22, 163, 74, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #fff; font: 800 .95rem var(--font); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.pv-btn-green:hover, .pv-btn-green:focus-visible { color: #fff; filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(22, 163, 74, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.pv-btn-green i { transition: transform .2s ease; }
.pv-btn-green:hover i { transform: translateX(3px); }

.pv-cms { color: #1f2937; font-size: 1.02rem; line-height: 1.75; }
.pv-cms h2 { margin: 32px 0 14px; color: #111827; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.pv-cms h3 { margin: 24px 0 10px; color: #111827; font-size: 1.25rem; font-weight: 800; }
.pv-cms p { margin: 0 0 16px; }
.pv-cms ul, .pv-cms ol { padding-left: 1.6em; }
.pv-cms li { margin-bottom: .5em; }
.pv-cms li::marker { color: var(--pv-red); }
.pv-cms a { color: var(--pv-red); font-weight: 700; text-underline-offset: 3px; }
.pv-cms a:hover { color: var(--pv-red-dark); }

/* ===== FOOTER ===== */
.pv-footer { position: relative; background: radial-gradient(60% 80% at 50% 0%, rgba(245, 179, 1, .08), transparent 70%), var(--pv-ink); color: #a1a1aa; font-size: .92rem; }
.pv-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 179, 1, .6), transparent); }
.pv-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; max-width: 1152px; margin: 0 auto; padding: 56px 24px 40px; }
.pv-footer-logo img { display: block; width: 220px; max-width: 100%; height: auto; }
.pv-footer-brand p { max-width: 32ch; margin: 16px 0 20px; line-height: 1.6; }
.pv-footer-col h2 { margin: 0 0 16px; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pv-footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pv-footer-col a, .pv-link-button { color: #d4d4d8; text-decoration: none; transition: color .2s ease; }
.pv-footer-col a:hover, .pv-link-button:hover, .pv-link-button:focus-visible { color: var(--pv-gold); }
.pv-link-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.pv-mail { display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }
.pv-mail i { color: var(--pv-gold); }
.pv-footer-play p { margin: 14px 0 12px; font-size: .85rem; line-height: 1.6; }
.pv-footer-responsible { display: inline-block; }
.pv-footer-responsible img { display: block; height: 44px; width: auto; }
.pv-help { display: inline-flex; align-items: center; gap: 8px; color: var(--pv-gold) !important; font-weight: 700; font-size: .85rem; }

.pv-footer-marks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 36px; max-width: 1152px; margin: 0 auto; padding: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pv-footer-marks a { display: inline-flex; align-items: center; opacity: .75; transition: opacity .2s ease; }
.pv-footer-marks a:hover { opacity: 1; }
.pv-footer-marks img { display: block; height: 30px; width: auto; }
.pv-mark-onjn { gap: 10px; color: #d4d4d8; text-decoration: none; }
.pv-mark-onjn img { width: 30px; }
.pv-mark-onjn span { display: flex; flex-direction: column; font-size: .75rem; line-height: 1.3; }
.pv-mark-onjn strong { color: #fff; font-size: .8rem; }
.pv-adult { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%; color: #fff; font-size: .7rem; font-weight: 800; opacity: .75; }

.pv-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; max-width: 1152px; margin: 0 auto; padding: 18px 24px 24px; border-top: 1px solid rgba(255, 255, 255, .08); color: #71717a; font-size: .8rem; }

@media (max-width: 991px) {
    .pv-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .pv-footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px 28px; text-align: center; }
    .pv-footer-brand p { margin-left: auto; margin-right: auto; }
    .pv-footer-social { justify-content: center; }
    .pv-footer-logo img { margin: 0 auto; }
    .pv-link-button { text-align: center; }
    .pv-footer-bottom { justify-content: center; text-align: center; }
}

/* ===== SHARED COMPONENTS ===== */
.dialog-action-yes { background: darkgreen; color: #fff; box-shadow: none; }
.dialog-action-no { background: #a20d0d; color: #fff; }
.btn-accent { background: linear-gradient(180deg, #34d36b, var(--pv-green-dark)); box-shadow: 0 8px 18px -10px rgba(22, 163, 74, .8); }
.btn-accent:hover { filter: brightness(1.05); }
