/*
Theme Name: Developer Starter
Theme URI: https://developer-starter.developer
Author: Developer
Author URI: https://developer-starter.developer
Description: Premium WordPress theme with customizable color schemes, image galleries, and built-in contact form. Casino-ready, translation-ready.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: developer-starter
Tags: custom-colors, custom-logo, featured-images, translation-ready
*/

/* ========================================================================
   RESET & BASE
   ======================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background-color: var(--body-bg);
    color: var(--body-text);
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--link-hover);
}

ul, ol {
    list-style: none;
}

/* ========================================================================
   CSS VARIABLES (defaults — overridden by theme options)
   ======================================================================== */

:root {
    /* Color variables are injected dynamically via developer_starter_custom_css() */
    --radius: 10px;
    --transition: 0.3s ease;
}

/* ========================================================================
   LAYOUT
   ======================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================================
   HEADER
   ======================================================================== */

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 20px;
}

/* Logo */
.site-logo a {
    color: var(--header-text);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.logo-highlight {
    color: var(--color-primary);
}

/* Navigation */
.main-nav .nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav .nav-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--header-text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.main-nav .nav-menu li a:hover,
.main-nav .nav-menu li.current-menu-item > a {
    background: rgba(255,255,255,.08);
    color: var(--color-primary);
}

/* Submenu */
.main-nav .nav-menu li {
    position: relative;
}

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
    z-index: 100;
}

.main-nav .nav-menu li:hover > .sub-menu {
    display: block;
}

.main-nav .sub-menu a {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 0;
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--header-text);
    transition: var(--transition);
}

/* Auth buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-login:hover {
    background: var(--color-primary);
    color: var(--btn-primary-text);
}

.btn-register {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 2px solid var(--btn-secondary-bg);
}

.btn-register:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

/* ========================================================================
   GAMES SECTION (Slider & Grid)
   ======================================================================== */

.games-section {
    padding: 40px 0;
}

/* --- Slider --- */
.games-slider {
    position: relative;
    overflow: hidden;
}

.slider-viewport {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 calc(100% / 6);
    padding: 6px;
    min-width: 0;
}

.slider-slide a,
.slider-slide .slide-img-wrap {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 248 / 316;
    background: var(--card-bg);
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.slider-slide a:hover img,
.slider-slide .slide-img-wrap:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.slider-slide a::after,
.slider-slide .slide-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: border-color var(--transition);
}

.slider-slide a:hover::after,
.slider-slide .slide-img-wrap:hover::after {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255,215,0,.15);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--color-primary);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    opacity: 0.8;
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: var(--btn-primary-text);
    opacity: 1;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* --- Grid --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 6), 1fr);
    gap: 12px;
}

.grid-item {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 248 / 316;
    background: var(--card-bg);
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.grid-item:hover::after {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255,215,0,.15);
}

/* ========================================================================
   CONTENT AREA — Styled HTML elements
   ======================================================================== */

.content-area {
    padding: 50px 0;
}

.page-content {
    background: var(--color-secondary);
}

.content-area h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 40px 0 16px;
    line-height: 1.3;
}

.content-area h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-text, #fff);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.content-area h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--header-text, #fff);
    margin: 24px 0 10px;
}

.content-area h5, .content-area h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--header-text, #fff);
    margin: 20px 0 8px;
}

.content-area p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-area ul, .content-area ol {
    margin: 16px 0 16px 24px;
}

.content-area ul {
    list-style: none;
}

.content-area ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-area ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.content-area ol {
    list-style: decimal;
}

.content-area ol li {
    margin-bottom: 8px;
    line-height: 1.7;
    padding-left: 4px;
}

.content-area ol li::marker {
    color: var(--color-primary);
    font-weight: 700;
}

.content-area blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--color-primary);
    background: rgba(255,255,255,.03);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--body-text);
}

.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.95rem;
}

.content-area table thead th {
    background: var(--color-primary);
    color: var(--btn-primary-text);
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.content-area table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
}

.content-area table tbody tr {
    background: var(--card-bg);
    transition: background var(--transition);
}

.content-area table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.02);
}

.content-area table tbody tr:hover {
    background: rgba(255,255,255,.05);
}

.content-area img {
    border-radius: var(--radius);
    margin: 16px 0;
}

.content-area a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(255,215,0,.3);
    text-underline-offset: 3px;
    transition: all var(--transition);
}

.content-area a:hover {
    color: var(--link-hover);
    text-decoration-color: var(--link-hover);
}

.content-area hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 32px 0;
}

.content-area strong {
    color: var(--header-text, #fff);
    font-weight: 700;
}

.content-area code {
    background: rgba(255,255,255,.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: var(--color-primary);
}

.content-area pre {
    background: rgba(0,0,0,.3);
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.content-area pre code {
    background: none;
    padding: 0;
    color: var(--body-text);
}

/* Entry header */
.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.entry-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.entry-title a {
    color: var(--color-primary);
}

.entry-title a:hover {
    color: var(--link-hover);
}

.entry-meta {
    margin-top: 10px;
    color: var(--footer-text);
    font-size: 0.9rem;
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 24px;
    margin-top: 0;
}

.footer-images {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.footer-row:last-child {
    margin-bottom: 0;
}

.footer-badges img {
    height: 36px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.footer-payments img {
    height: 28px;
    width: auto;
    opacity: 0.55;
    transition: opacity var(--transition);
    filter: grayscale(40%);
}

.footer-social img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.footer-row img:hover {
    opacity: 1;
    filter: none;
}

.footer-nav {
    margin-bottom: 24px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-menu li a {
    color: var(--footer-text);
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.footer-menu li a:hover {
    color: var(--color-primary);
    background: rgba(255,255,255,.05);
}

.footer-bottom {
    text-align: center;
    color: var(--footer-text);
    font-size: 0.85rem;
    opacity: 0.7;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-social a {
    display: inline-block;
    transition: opacity var(--transition);
}

.footer-social a:hover {
    opacity: 1;
}

/* ========================================================================
   FOOTER — Modern (developer8 style)
   ======================================================================== */

.footer-modern {
    background: var(--footer-bg);
    padding-top: 40px;
    padding-bottom: 0;
}

.footer-modern .footer-logo {
    text-align: center;
    margin-bottom: 24px;
}

.footer-modern .footer-logo .logo-text-link {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--header-text);
}

.footer-modern .footer-nav {
    text-align: center;
    margin-bottom: 24px;
}

.footer-modern .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
}

.footer-modern .footer-menu li a {
    font-size: 0.8rem;
    color: var(--footer-text);
    padding: 4px 8px;
    border-radius: var(--radius);
    transition: color var(--transition);
}

.footer-modern .footer-menu li a:hover {
    color: var(--color-primary);
}

.footer-modern .footer-providers {
    text-align: center;
    margin-bottom: 20px;
}

.footer-modern .footer-providers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.footer-modern .footer-providers-list img {
    height: 22px;
    width: auto;
    opacity: 0.55;
    transition: opacity var(--transition);
    filter: grayscale(30%);
}

.footer-modern .footer-providers-list img:hover {
    opacity: 1;
    filter: none;
}

.footer-modern .footer-payments-modern {
    text-align: center;
    margin-bottom: 20px;
}

.footer-modern .footer-payments-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-modern .footer-payments-list img {
    height: 28px;
    width: auto;
    opacity: 0.65;
    transition: opacity var(--transition);
}

.footer-modern .footer-payments-list img:hover {
    opacity: 1;
}

/* 18+ Badge */
.footer-license {
    text-align: center;
    padding: 20px 0;
}

.footer-license-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.footer-license-badges img {
    max-height: 32px;
    width: auto;
    display: block;
    transition: opacity var(--transition);
}

.footer-license-badges a:hover img {
    opacity: 1;
}

.badge-18plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-accent) 70%, #000);
}

.badge-18plus-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-license p {
    font-size: 0.7rem;
    color: var(--footer-text);
    max-width: 840px;
    margin: 0 auto 20px;
    line-height: 1.65;
    opacity: 0.7;
}

.footer-copyright {
    text-align: center;
    padding: 14px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--footer-text);
    opacity: 0.6;
}

/* ========================================================================
   CONTACT FORM
   ======================================================================== */

.developer-starter-contact {
    max-width: 640px;
    margin: 30px auto;
    padding: 36px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.developer-starter-contact .form-group {
    margin-bottom: 20px;
}

.developer-starter-contact label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--header-text, #fff);
}

.developer-starter-contact input[type="text"],
.developer-starter-contact input[type="email"],
.developer-starter-contact textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--body-text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
}

.developer-starter-contact input:focus,
.developer-starter-contact textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255,215,0,.1);
}

.developer-starter-contact textarea {
    min-height: 140px;
    resize: vertical;
}

.developer-starter-contact .btn-submit {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.developer-starter-contact .btn-submit:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.developer-starter-contact .form-message {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.developer-starter-contact .form-message.success {
    background: rgba(40,167,69,.15);
    border: 1px solid rgba(40,167,69,.3);
    color: #28a745;
}

.developer-starter-contact .form-message.error {
    background: rgba(220,53,69,.15);
    border: 1px solid rgba(220,53,69,.3);
    color: #dc3545;
}

.developer-starter-contact .ohnohoney {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* ========================================================================
   COOKIE CONSENT
   ======================================================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    border-top: 1px solid var(--border-color);
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(0,0,0,.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.cookie-inner {
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-inner p {
    font-size: 0.9rem;
    color: var(--footer-text);
    margin: 0;
    line-height: 1.5;
}

.btn-cookie-accept {
    background: var(--color-primary);
    color: var(--btn-primary-text);
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: filter var(--transition);
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-cookie-accept:hover {
    filter: brightness(1.15);
}

/* ========================================================================
   BACK TO TOP
   ======================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--btn-primary-text);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(1.15);
    transform: translateY(-3px);
}

/* ========================================================================
   404 PAGE
   ======================================================================== */

.error-404-content {
    text-align: center;
    padding: 100px 20px;
}

.error-title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(255,215,0,.2);
}

.error-message {
    font-size: 1.2rem;
    color: var(--footer-text);
    margin-bottom: 30px;
}

/* ========================================================================
   POST CARDS
   ======================================================================== */

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 24px;
    transition: border-color var(--transition);
}

.post-card:hover {
    border-color: var(--color-primary);
}

.entry-excerpt p {
    color: var(--footer-text);
}

/* Pagination */
.pagination {
    margin-top: 30px;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--card-bg);
    color: var(--body-text);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    font-weight: 600;
    transition: all var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--color-primary);
    color: var(--btn-primary-text);
    border-color: var(--color-primary);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1199px) {
    .slider-slide { flex: 0 0 calc(100% / 5); }
}

@media (max-width: 991px) {
    .slider-slide { flex: 0 0 calc(100% / 4); }

    .games-grid { grid-template-columns: repeat(4, 1fr) !important; }

    .container.header-inner { padding: 20px; }

    .header-inner { flex-wrap: wrap; }

    .menu-toggle { display: flex; order: 3; }

    .site-logo { order: 1; }

    .auth-buttons {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 10;
        padding: 16px 0;
        border-top: 1px solid var(--border-color);
    }

    .main-nav.active { display: block; }

    .main-nav .nav-menu {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        display: block;
    }
}

@media (max-width: 767px) {
    .slider-slide { flex: 0 0 calc(100% / 3); }

    .games-grid { grid-template-columns: repeat(3, 1fr) !important; }

    .auth-buttons {
        width: 100%;
        order: 10;
    }

    .auth-buttons .btn {
        flex: 1;
        padding: 10px 14px;
        font-size: 0.85rem;
        text-align: center;
    }

    .content-area { padding: 30px 0; }

    .container { padding-left: 20px; padding-right: 20px; }

    .content-area h2 { font-size: 1.5rem; }
    .content-area h3 { font-size: 1.25rem; }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .error-title { font-size: 5rem; }
}

@media (max-width: 575px) {
    .slider-slide { flex: 0 0 calc(100% / 2); }

    .games-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .site-logo a { font-size: 1.2rem; }

    .developer-starter-contact { padding: 24px 18px; }
}

/* ========================================================================
   ACCESSIBILITY 
   ======================================================================== */

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ========================================================================
   WP CLASSES
   ======================================================================== */

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 16px;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--footer-text);
    text-align: center;
    padding-top: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 24px 0;
}
