:root {
    --primary: #00F5D4;
    --primary-hover: #70FFEB;
    --secondary: #7928CA;
    --secondary-hover: #9B51E0;
    --accent-magenta: #FF007F;
    --accent-lime: #CCFF00;
    --bg-canvas: #0A0C14;
    --bg-surface-1: #101424;
    --bg-surface-2: #171D33;
    --bg-surface-3: #222B4C;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #94A3B8;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--bg-canvas);
    color: var(--text-primary);
}

.text-muted {
    color: #94A3B8 !important;
}

.font-heading {
    font-family: var(--font-heading);
}

.font-body {
    font-family: var(--font-primary);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
}

.glow-magenta {
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.35);
}

.border-glass {
    border-color: rgba(255, 255, 255, 0.12);
}

/* ===== header ===== */
.site-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.site-header-block a,
.site-header-block button {
    -webkit-tap-highlight-color: transparent;
}

/* ===== hero ===== */
.jov-hero-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-hero-section h1,
.jov-hero-section h2 {
    font-family: 'Orbitron', sans-serif;
    hyphens: auto;
}

.jov-hero-section .jov-feature-card {
    will-change: transform, box-shadow;
}

/* ===== games-grid ===== */
.games-grid-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.games-grid-section h2,
.games-grid-section h3 {
    font-family: 'Orbitron', sans-serif;
    hyphens: auto;
}

.games-grid-section .game-item-card {
    min-height: 100%;
}

/* ===== controls-rules ===== */
.controls-rules-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.controls-rules-section h2,
.controls-rules-section h3 {
    font-family: 'Orbitron', sans-serif;
    hyphens: auto;
}

.controls-rules-section kbd {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ===== stats-feedback ===== */
.stats-feedback-section .stats-feedback-card {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stats-feedback-section .stats-feedback-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@keyframes statsPulseGlow {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(1.08);
    }
}

.stats-feedback-section .stats-feedback-orb-1 {
    animation: statsPulseGlow 8s infinite ease-in-out alternate;
}

.stats-feedback-section .stats-feedback-orb-2 {
    animation: statsPulseGlow 10s infinite ease-in-out alternate-reverse;
}

/* ===== personal-records ===== */
.personal-records-section {
    background-color: #0D0F1A;
}

.personal-records-section .js-record-card {
    background-color: #171A2B;
}

.personal-records-section .js-record-card.is-hidden {
    display: none;
}

/* ===== difficulty-rating ===== */
.difficulty-rating-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.difficulty-rating-section h2,
.difficulty-rating-section h3 {
    font-family: 'Orbitron', sans-serif;
}

.difficulty-rating-section .difficulty-rating-section__card {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

.difficulty-rating-section .difficulty-rating-section__card:hover {
    transform: translateY(-4px);
}

.difficulty-rating-section .difficulty-rating-section__btn {
    box-shadow: 0 4px 14px rgba(255, 61, 129, 0.3);
}

.difficulty-rating-section .difficulty-rating-section__btn:hover {
    box-shadow: 0 6px 20px rgba(255, 61, 129, 0.5);
}

.difficulty-rating-section .js-diff-card.is-hidden {
    display: none;
}

/* ===== footer ===== */
.jov-footer {
    background-color: #0D0F1A;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-footer .jov-footer__link {
    transition: transform 0.2s ease, color 0.2s ease;
}

.jov-footer .jov-footer__link:hover {
    transform: translateX(3px);
}

.jov-footer .jov-footer__wa-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.jov-footer .jov-footer__wa-btn:hover {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.25);
}

.site-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.site-header-block a,
.site-header-block button {
    -webkit-tap-highlight-color: transparent;
}

.jov-category-hero-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-category-hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    hyphens: auto;
}

.jov-catalog-list-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-catalog-list-block h2 {
    font-family: 'Orbitron', sans-serif;
    hyphens: auto;
}

.jov-catalog-list-block .js-game-card {
    will-change: transform, box-shadow;
}

.jov-catalog-list-block .js-search-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.jov-footer {
    background-color: #0D0F1A;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-footer .jov-footer__link {
    transition: transform 0.2s ease, color 0.2s ease;
}

.jov-footer .jov-footer__link:hover {
    transform: translateX(3px);
}

.jov-footer .jov-footer__wa-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.jov-footer .jov-footer__wa-btn:hover {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.25);
}


/* ===== PAGE: privacy ===== */
.policy-content { width: 100%; max-width: 900px; margin: 0 auto; padding: 2.5rem 1.25rem; color: #94A3B8; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; line-height: 1.7; hyphens: auto; word-break: break-word; }
.policy-content h2 { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 16px; line-height: 1.3; color: #00F5D4; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 2.25rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(0, 245, 212, 0.2); }
.policy-content h3 { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 14px; line-height: 1.3; color: #F8FAFC; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.policy-content p { color: #94A3B8; margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.7; text-align: justify; }
.policy-content strong { color: #F8FAFC; font-weight: 600; }
.policy-content .policy-intro { color: #F8FAFC; font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; padding: 1.25rem; border-radius: 12px; background: linear-gradient(180deg, rgba(23, 29, 51, 0.85) 0%, rgba(16, 20, 36, 0.95) 100%); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); }
.policy-content .policy-statement { color: #70FFEB; font-size: 0.95rem; line-height: 1.7; padding: 1rem 1.25rem; margin-bottom: 2rem; border-radius: 12px; background: rgba(0, 245, 212, 0.05); border: 1px solid rgba(0, 245, 212, 0.3); }
.policy-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; color: #94A3B8; }
.policy-content li { margin-bottom: 0.75rem; line-height: 1.6; }
.policy-content .policy-link { color: #00F5D4; text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease, text-shadow 0.2s ease; }
.policy-content .policy-link:hover { color: #70FFEB; text-shadow: 0 0 10px rgba(0, 245, 212, 0.5); }
.policy-content .policy-date { color: #64748B; font-size: 0.875rem; font-style: italic; margin-top: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .policy-content { padding: 4rem 2rem; font-size: 1.05rem; } .policy-content h2 { font-size: 24px; margin-top: 3rem; margin-bottom: 1.25rem; } .policy-content h3 { font-size: 18px; } .policy-content p { font-size: 1rem; } .policy-content .policy-intro { font-size: 1.125rem; padding: 1.5rem; } }

/* ===== PAGE: terms ===== */
.policy-content { width: 100%; max-width: 960px; margin: 0 auto; padding: 2rem 1rem; } @media (min-width: 768px) { .policy-content { padding: 4rem 1.5rem; } } .policy-content .policy-inner-card { background: linear-gradient(180deg, rgba(23, 29, 51, 0.85) 0%, rgba(16, 20, 36, 0.95) 100%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); } @media (min-width: 768px) { .policy-content .policy-inner-card { padding: 3rem; border-radius: 1.25rem; } } .policy-content .policy-header-block { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 1.5rem; margin-bottom: 2rem; } @media (min-width: 768px) { .policy-content .policy-header-block { padding-bottom: 2rem; margin-bottom: 2.5rem; } } .policy-content .policy-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(0, 245, 212, 0.1); color: #00F5D4; border: 1px solid rgba(0, 245, 212, 0.3); margin-bottom: 1rem; } .policy-content .policy-body-sections { display: flex; flex-direction: column; gap: 2rem; } .policy-content .policy-section-item { padding: 0; } .policy-content .policy-list { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.5rem; } .policy-content .policy-list-item { line-height: 1.6; } .policy-content .policy-contact-box { background: rgba(16, 20, 36, 0.75); border: 1px solid rgba(0, 245, 212, 0.2); border-radius: 0.75rem; padding: 1.25rem; } .policy-content .policy-link { color: #00F5D4; text-decoration: underline; transition: color 0.2s ease-in-out; } .policy-content .policy-link:hover { color: #70FFEB; }

/* ===== PAGE: disclaimer ===== */
.policy-content { max-width: 960px; margin: 0 auto; padding: 2rem 1rem; color: #94A3B8; font-family: 'Plus Jakarta Sans', sans-serif; } .policy-content h2 { font-family: 'Orbitron', sans-serif; text-shadow: 0 0 12px rgba(0, 245, 212, 0.25); } .policy-content ul.policy-list li::marker { color: #00F5D4; } .policy-content a { transition: color 0.2s ease, text-shadow 0.2s ease; } .policy-content a:hover { text-shadow: 0 0 8px rgba(0, 245, 212, 0.5); }

/* ===== PAGE: cookies ===== */
.policy-content{max-width:1000px;margin:0 auto;padding:24px 16px;color:#F8FAFC;background:transparent}.policy-content-body{display:flex;flex-direction:column;gap:20px}.policy-notice-card{background:linear-gradient(180deg,rgba(23,29,51,0.85) 0%,rgba(16,20,36,0.95) 100%);border:1px solid rgba(0,245,212,0.3);border-radius:16px;padding:20px;box-shadow:0 10px 30px -10px rgba(0,0,0,0.7),inset 0 1px 0 rgba(255,255,255,0.1)}.policy-notice-text{font-size:15px;line-height:1.6;color:#F8FAFC;margin:0}.policy-heading{font-family:'Orbitron',sans-serif;color:#00F5D4;font-size:16px;line-height:1.3;font-weight:800;letter-spacing:-0.01em;text-transform:uppercase;margin-top:16px;margin-bottom:8px;hyphens:auto}@media (min-width:768px){.policy-heading{font-size:24px;margin-top:24px;margin-bottom:12px}}.policy-subheading{font-family:'Orbitron',sans-serif;color:#F8FAFC;font-size:14px;line-height:1.3;font-weight:700;margin-bottom:8px}@media (min-width:768px){.policy-subheading{font-size:18px}}.policy-paragraph{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;line-height:1.6;color:#94A3B8;margin:0 0 12px 0}@media (min-width:768px){.policy-paragraph{font-size:15px}}.policy-list{list-style-type:disc;padding-left:24px;margin:0 0 16px 0;display:flex;flex-direction:column;gap:8px}.policy-list li{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;line-height:1.6;color:#94A3B8}@media (min-width:768px){.policy-list li{font-size:15px}}.policy-list strong{color:#F8FAFC}.policy-grid{display:grid;grid-template-columns:1fr;gap:16px;margin:12px 0}@media (min-width:768px){.policy-grid{grid-template-columns:repeat(3,1fr);gap:20px}}.policy-card{background:linear-gradient(180deg,rgba(23,29,51,0.85) 0%,rgba(16,20,36,0.95) 100%);border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:18px;display:flex;flex-direction:column;box-shadow:0 10px 30px -10px rgba(0,0,0,0.7);transition:border-color 0.25s ease}.policy-card:hover{border-color:rgba(0,245,212,0.45)}.policy-card .policy-paragraph{margin-bottom:0}.policy-link{color:#00F5D4;text-decoration:none;transition:color 0.2s ease}.policy-link:hover{color:#70FFEB;text-decoration:underline}

/* ===== PAGE: online-players ===== */
.players-directory-section .js-filter-btn.active { background-color: #00F5D4; color: #0A0C14; border-color: #00F5D4; box-shadow: 0 0 15px rgba(0, 245, 212, 0.35); } .players-directory-section select option { background-color: #101424; color: #F8FAFC; }

/* ===== PAGE: daily-tasks ===== */
.daily-tasks-section {
  background-color: #0A0C14;
}

.daily-tasks-section .task-item {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.daily-tasks-section .js-filter-btn.active {
  background-color: #00F5D4;
  color: #0A0C14;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.35);
  border-color: #00F5D4;
}

/* ===== PAGE: about ===== */
.about-section-container .about-glass-panel { backdrop-filter: blur(12px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1); } .about-section-container .about-card-item { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; } .about-section-container .about-card-item:hover { transform: translateY(-4px); border-color: rgba(0, 245, 212, 0.4); box-shadow: 0 10px 25px -5px rgba(0, 245, 212, 0.15); }

/* ===== PAGE: contact ===== */
.contact-section .contact-input::placeholder { color: #64748B; opacity: 1; }
.contact-section .contact-input:focus { box-shadow: 0 0 15px rgba(0, 245, 212, 0.25); }
.contact-section .contact-info-card, .contact-section .contact-form-container { box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 245, 212, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.contact-section .contact-submit-btn { box-shadow: 0 0 20px rgba(0, 245, 212, 0.45), 0 4px 15px rgba(0, 0, 0, 0.5); }

.comment-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    object-fit: cover;
}

.game-comment-card {
    position: relative;
    isolation: isolate;
}

.game-comment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 245, 212, 0.2), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.comment-action-btn:focus-visible {
    outline: 2px solid #00F5D4;
    outline-offset: 2px;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
}

.game-reply-card {
    position: relative;
    isolation: isolate;
}

.game-reply-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(121, 40, 202, 0.25), rgba(0, 0, 0, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.reply-action-btn:focus-visible {
    outline: 2px solid #7928CA;
    outline-offset: 2px;
}


/* ===== PAGE TEMPLATE: all-games ===== */
.site-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.site-header-block a,
.site-header-block button {
    -webkit-tap-highlight-color: transparent;
}

.jov-detail-page {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-detail-page h1,
.jov-detail-page h2,
.jov-detail-page h3 {
    font-family: 'Orbitron', sans-serif;
    hyphens: auto;
}

.jov-detail-page .jov-game-frame-container:fullscreen,
.jov-detail-page .jov-game-frame-container:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}

.jov-detail-page .jov-game-frame-container:fullscreen .jov-game-top-bar + div,
.jov-detail-page .jov-game-frame-container:-webkit-full-screen .jov-game-top-bar + div {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
}

.jov-detail-page .jov-game-frame-container:fullscreen #js-game-iframe,
.jov-detail-page .jov-game-frame-container:-webkit-full-screen #js-game-iframe {
    height: 100% !important;
    flex: 1;
}

.jov-detail-page .jov-game-top-bar,
.jov-detail-page .jov-game-top-bar button,
.controls-rules-section .js-device-toggle {
    -webkit-user-select: none;
    user-select: none;
}

.controls-rules-section .js-device-toggle.active:hover {
    color: #0A0C14 !important;
}

#js-players-grid .js-player-card > div:last-child > a {
    display: none !important;
}

.jov-detail-page .jov-faq-item {
    transition: border-color 0.2s ease;
}

.jov-detail-page .jov-faq-item:hover {
    border-color: rgba(0, 245, 212, 0.4);
}

.jov-footer {
    background-color: #0D0F1A;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jov-footer .jov-footer__link {
    transition: transform 0.2s ease, color 0.2s ease;
}

.jov-footer .jov-footer__link:hover {
    transform: translateX(3px);
}

.jov-footer .jov-footer__wa-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.jov-footer .jov-footer__wa-btn:hover {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.25);
}
