/*
Theme Name: PokiesExperts
Theme URI: https://pokiesexperts.com/
Author: PokiesExperts
Description: Lightweight theme reproducing the original PokiesExperts dark/blue design without Elementor.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pokies-experts
*/

/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/alegreya.woff2) format('woff2'); }

/* ---------- Tokens (sampled from the original design) ---------- */
:root {
    --accent: #4f80ff;
    --accent-dark: #2c5ce0;
    --bg: #000000;
    --band: #0c0c10;
    --card: #0b0e1a;
    --card-border: #1b2340;
    --ink: #ffffff;
    --text: #cfcfdd;
    --muted: #9c9cb5;
    --maxw: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Alegreya', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #7ba2ff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--ink); line-height: 1.25; }

.eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 18px; font-weight: 500;
    letter-spacing: .9px; text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}
.sec-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500; text-transform: uppercase;
    font-size: 42px; line-height: 1.3;
    color: #fff;
}
@media (max-width: 760px) { .sec-title { font-size: 28px; } }

.btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 600;
    padding: 15px 40px;
    border-radius: 20px;
    background: var(--accent);
    color: #fff;
    border: 0; cursor: pointer;
    transition: background .18s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 26px; }

/* ---------- Header ---------- */
.site-header {
    background: #000;
    border-bottom: 1px solid #14141c;
    position: sticky; top: 0; z-index: 60;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand .brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; font-size: 24px; letter-spacing: .5px;
    color: var(--accent); text-transform: uppercase;
}
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    font-family: 'Alegreya', Georgia, serif;
    font-size: 17px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .4px;
    color: #fff;
}
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }
@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #06060a; border-bottom: 1px solid #1a1a26; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 8px 22px 14px; }
    .main-nav li { padding: 10px 0; border-bottom: 1px solid #14141c; }
    .main-nav li:last-child { border-bottom: 0; }
}

/* ---------- Page-title band ---------- */
.title-band { background: var(--band); padding: 54px 0; text-align: center; }
.title-band .band-title {
    font-family: 'Alegreya', Georgia, serif;
    font-weight: 500; font-size: 40px;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--accent); margin: 0;
}

/* ---------- Hero ---------- */
.hero {
    background: #04060f url(assets/img/hero-bg.jpg) center/cover no-repeat;
    position: relative;
    padding: 130px 0 120px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 5, .82) 0%, rgba(0, 0, 10, .45) 60%, rgba(0, 0, 10, .25) 100%); }
.hero .wrap { position: relative; max-width: var(--maxw); }
.hero-inner { max-width: 680px; }
.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500; font-size: 65px; line-height: 1.3;
    text-transform: uppercase; color: #fff;
    margin: 0 0 18px;
}
.hero p { font-size: 19px; color: #d5d5e6; margin: 0 0 30px; }
@media (max-width: 900px) { .hero h1 { font-size: 40px; } .hero { padding: 90px 0; } }
@media (max-width: 560px) { .hero h1 { font-size: 30px; } }

/* ---------- Generic dark section ---------- */
.section { padding: 90px 0; background: var(--bg); }
.section-band { background: var(--band); }
.sec-head { text-align: center; max-width: 860px; margin: 0 auto 56px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } }
.about-grid .about-img img { border-radius: 14px; display: block; }
.about-grid h2.about-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 34px; text-transform: uppercase; }
.feature-row { display: flex; gap: 16px; margin-top: 26px; }
.feature-row .f-ico {
    flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px;
    background: var(--accent); display: grid; place-items: center;
    font-size: 22px; color: #fff;
}
.feature-row h3 {
    font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600;
    color: var(--accent); margin: 0 0 6px;
    text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.feature-row p { margin: 0; font-size: 16px; color: var(--text); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; padding: 10px; }
.step-card img { width: 210px; height: auto; margin-bottom: 8px; }
.step-card h3 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: #fff; }
.step-card p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Why tiles ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-tile {
    background: var(--card); border: 1px solid var(--card-border);
    border-radius: 14px; padding: 34px 28px; text-align: center;
}
.why-tile .w-ico { font-size: 40px; margin-bottom: 14px; }
.why-tile h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: #fff; }
.why-tile p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Games grid ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 960px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .games-grid { grid-template-columns: 1fr; } }
.game-card {
    background: var(--card); border: 1px solid var(--card-border);
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--accent-dark); box-shadow: 0 14px 34px rgba(44, 92, 224, .25); }
.game-card .thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-card .card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; margin: 0; }
.game-card h3 a { color: #fff; }
.game-card h3 a:hover { color: var(--accent); }
.game-card .genre {
    font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: .8px;
    color: var(--accent); background: rgba(79, 128, 255, .12);
    padding: 3px 12px; border-radius: 999px; align-self: flex-start;
}
.game-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.game-card .btn { align-self: flex-start; }

/* ---------- Disclaimer card ---------- */
.disclaimer-card {
    border: 1px solid var(--accent-dark);
    box-shadow: 0 0 26px rgba(44, 92, 224, .28), inset 0 0 40px rgba(44, 92, 224, .05);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex; gap: 34px; align-items: center;
    background: rgba(6, 8, 18, .7);
}
@media (max-width: 760px) { .disclaimer-card { flex-direction: column; text-align: center; padding: 30px 22px; } }
.disclaimer-card .d-badge {
    flex: 0 0 150px; text-align: center;
}
.disclaimer-card .d-badge .d-ico {
    width: 62px; height: 62px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: inline-grid; place-items: center;
    font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700;
    margin-bottom: 14px;
}
.disclaimer-card .d-badge .d-word {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 24px;
    letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
}
.disclaimer-card .d-text p { font-size: 15.5px; color: var(--text); margin: 0 0 12px; }
.disclaimer-card .d-text p:last-child { margin: 0; }

/* ---------- Location / contact ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: center; }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-grid h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 30px; text-transform: uppercase; }
.loc-grid p { color: var(--muted); margin: 0 0 6px; }

/* ---------- Game single ---------- */
.player-wrap { max-width: 980px; margin: 0 auto; }
.player-shell { background: #05070f; border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 0 30px rgba(44, 92, 224, .18); }
.player-cover {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    background-size: cover; background-position: center;
}
.player-cover::before { content: ''; position: absolute; inset: 0; background: rgba(2, 3, 10, .62); }
.player-cover > * { position: relative; }
.player-cover .btn { font-size: 17px; padding: 17px 52px; }
.player-cover .cover-note { color: #c9d4f5; font-family: 'Poppins', sans-serif; font-size: 13px; }
.player-frame { width: 100%; aspect-ratio: 16/10; border: 0; display: block; background: #05070f; }
@media (max-width: 640px) { .player-frame { aspect-ratio: 3/4; } }

.content-area { max-width: 860px; margin: 0 auto; padding: 60px 0 30px; }
.content-area h2 { font-family: 'Alegreya', Georgia, serif; font-size: 28px; color: var(--accent); margin-top: 1.5em; }
.content-area h3 { font-family: 'Alegreya', Georgia, serif; font-size: 21px; color: var(--accent); text-transform: uppercase; margin-top: 1.3em; }
.content-area p, .content-area li { color: var(--text); }
.content-area a { text-decoration: underline; text-underline-offset: 3px; }
.content-area table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .92em; }
.content-area th, .content-area td { border: 1px solid #23233a; padding: 9px 12px; text-align: left; vertical-align: top; }
.content-area th { background: #10101c; color: #fff; }

/* Forms (FluentForm alignment with dark bg) */
.content-area .ff-el-form-control, .content-area input[type="text"], .content-area input[type="email"], .content-area textarea {
    background: #0d0d18 !important; color: #e6e6f5 !important;
    border: 1px solid #26263e !important; border-radius: 8px !important;
}
.content-area .ff-btn-submit, .content-area button[type="submit"] {
    background: var(--accent) !important; color: #fff !important;
    border: 0 !important; border-radius: 18px !important;
    font-family: 'Poppins', sans-serif !important; font-weight: 600 !important;
    padding: 12px 34px !important;
}

/* ---------- Footer ---------- */
.site-footer {
    background:
        radial-gradient(50% 90% at 85% 10%, rgba(44, 92, 224, .12) 0%, rgba(44, 92, 224, 0) 60%),
        radial-gradient(45% 80% at 10% 90%, rgba(44, 92, 224, .10) 0%, rgba(44, 92, 224, 0) 55%),
        #030308;
    margin-top: 80px;
    font-family: 'Poppins', sans-serif;
}
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 46px; padding: 64px 0 30px; }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand .brand-name { font-weight: 700; font-size: 19px; color: var(--accent); text-transform: uppercase; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: #cbcbdf; font-size: 14.5px; }
.footer-contact .ico { color: var(--accent); }
.site-footer h4 { color: var(--accent); font-size: 16px; font-weight: 600; text-transform: uppercase; margin: 4px 0 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 12px; font-size: 14.5px; }
.site-footer a { color: #e8e8f5; font-weight: 500; }
.site-footer a:hover { color: var(--accent); }
.footer-disc { color: #cbcbdf; font-size: 14.5px; line-height: 1.75; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; padding: 22px 0 30px; color: #8f8fa8; font-size: 13.5px; }
.footer-bottom p { margin: 0; }

/* ---------- Breadcrumbs, misc ---------- */
.breadcrumbs { font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.center { text-align: center; }
.error-page { text-align: center; padding: 110px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
