:root {
    --primary-gold: #C5A059;
    --accent-gold: #E6C17A;
    --muted-gold: #8C7342;
    --bg-color: #0A0A0A;
    --surface: #141414;
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
}

html {
    scroll-behavior: smooth;
}

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

.premium-border {
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.gold-gradient-text {
    background: linear-gradient(to bottom, #E6C17A, #C5A059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cinzel-font {
    font-family: 'Cinzel', serif;
}

.mono-font {
    font-family: 'JetBrains Mono', monospace;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
    border-color: rgba(197, 160, 89, 0.5);
}

.btn-premium {
    background: #C5A059;
    color: #0A0A0A;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.5s ease;
}

.btn-premium:hover {
    background: #E6C17A;
    transform: translateY(-2px);
}

.layout-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ===== header ===== */
.nova-header {
    transition: all 0.3s ease;
}

.nova-header .js-nav-dropdown-menu {
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8);
}

.nova-header .js-nav-dropdown-menu.is-visible {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.nova-header .js-nav-mobile-menu.is-active {
    transform: translateX(0);
}

.nova-header a {
    position: relative;
}

.nova-header nav>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C5A059;
    transition: width 0.3s ease;
}

.nova-header nav>a:hover::after {
    width: 100%;
}

@media (max-width: 767px) {
    .nova-header .container {
        height: 60px;
    }
}

/* ===== hero ===== */
#hero-protocol {
    position: relative;
}

#hero-protocol .hero-image-wrapper img {
    aspect-ratio: 16/9;
    display: block;
}

#hero-protocol .js-cta-link {
    box-shadow: 4px 4px 0px 0px rgba(197, 160, 89, 0.3);
}

#hero-protocol .js-cta-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px rgba(197, 160, 89, 0.5);
}

#hero-protocol::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== about-retro ===== */
.about-retro .about-retro__image-wrapper {
    position: relative;
    background: #141414;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-retro h2 {
    text-shadow: 0 2px 4px rgba(197, 160, 89, 0.2);
}

.about-retro p {
    font-family: 'Inter', sans-serif;
}

.about-retro a {
    font-family: 'Inter', sans-serif;
    transition: transform 0.3s ease;
}

.about-retro a:hover {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .about-retro h2 {
        text-align: center;
    }

    .about-retro p {
        text-align: center;
    }

    .about-retro .pt-4 {
        justify-content: center;
    }
}

/* ===== popular-consoles ===== */
#console-hardware-block .js-tech-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#console-hardware-block .js-tech-card:hover {
    transform: translateY(-5px);
    background: #1e1e1e;
}

#console-hardware-block h2,
#console-hardware-block h3 {
    color: #C5A059;
}

#console-hardware-block p {
    hyphens: auto;
}

@media (max-width: 767px) {
    #console-hardware-block h2 {
        font-size: 16px;
    }

    #console-hardware-block h3 {
        font-size: 14px;
    }
}

/* ===== 8bit-quiz ===== */
.quiz-section .js-quiz-option {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(197, 160, 89, 0.05);
}

.quiz-section .js-quiz-option:hover:not(:disabled) {
    background: rgba(197, 160, 89, 0.15);
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateX(5px);
}

.quiz-section .js-quiz-option.correct {
    background: rgba(74, 222, 128, 0.1) !important;
    border-color: #4ADE80 !important;
    color: #4ADE80 !important;
}

.quiz-section .js-quiz-option.incorrect {
    background: rgba(248, 113, 113, 0.1) !important;
    border-color: #F87171 !important;
    color: #F87171 !important;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.quiz-section .bg-scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(197, 160, 89, 0.05);
    animation: scanline 8s linear infinite;
}

/* ===== newsletter ===== */
.retro-newsletter .retro-newsletter__card {
    position: relative;
}

.retro-newsletter .retro-newsletter__card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #C5A059;
    border-left: 2px solid #C5A059;
}

.retro-newsletter .retro-newsletter__card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #C5A059;
    border-right: 2px solid #C5A059;
}

.retro-newsletter .retro-newsletter__input::placeholder {
    color: #666666;
}

.retro-newsletter .retro-newsletter__input:focus {
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

/* ===== footer ===== */
.footer-block .status-dot {
    width: 8px;
    height: 8px;
    background-color: #C5A059;
    border-radius: 50%;
    box-shadow: 0 0 10px #C5A059;
    animation: footerPulse 2s infinite ease-in-out;
}

@keyframes footerPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }

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

.footer-block .footer-heading {
    font-family: 'Cinzel', serif;
}

.footer-block a {
    text-underline-offset: 4px;
}

.footer-block a:hover {
    text-decoration: underline;
}

.footer-block .js-wa-link:hover {
    text-decoration: none;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

@media (max-width: 767px) {
    .footer-block {
        text-align: center;
    }

    .footer-block .flex {
        justify-content: center;
    }

    .footer-block .footer-status {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-block .footer-info-col .mb-6 {
        text-align: center;
    }

    .footer-block .footer-info-col .mb-6 img {
        margin: 0 auto;
    }
}

/* ===== PAGE: privacy ===== */
.policy-page-content-wrapper { padding: clamp(2rem, 5vw, 6rem) 1rem; max-width: 1000px; margin: 0 auto; line-height: 1.7; }.policy-page-content-wrapper h1, .policy-page-content-wrapper h2 { font-family: 'Cinzel', serif; text-transform: uppercase; tracking: 0.1em; }.policy-page-content-wrapper p { font-family: 'Inter', sans-serif; color: #A0A0A0; margin-bottom: 1.5rem; }.policy-page-content-wrapper strong { color: #F5F5F5; font-weight: 600; }.policy-list { list-style: none; padding-left: 0; }.policy-list li { position: relative; padding-left: 1.5rem; color: #A0A0A0; }.policy-list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: #C5A059; transform: rotate(45deg); }.policy-body-content a { transition: color 0.3s ease; }.policy-body-content a:hover { color: #E6C17A; }

/* ===== PAGE: terms ===== */
.protocol-terms-container .terms-section { margin-bottom: 1.5rem; }
.protocol-terms-container p { font-family: 'Inter', sans-serif; }
.protocol-terms-container a { text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.3s ease; }
.protocol-terms-container a:hover { border-bottom-color: #C5A059; }
.protocol-terms-container ul li i { font-size: 8px; }
@media (max-width: 767px) {
  .protocol-terms-container { padding: 20px 12px !important; }
  .protocol-terms-container .terms-section { margin-bottom: 1rem; }
  .protocol-terms-container .terms-section h2 i { font-size: 1.25rem; }
}

/* ===== PAGE: disclaimer ===== */
.policy-page-content-wrapper {
  padding: clamp(2rem, 5vh, 4rem) 1rem;
  background-color: #0A0A0A;
}

#policy-content-body {
  max-width: 900px;
  margin: 0 auto;
  color: #F5F5F5;
  font-family: 'Inter', sans-serif;
}

#policy-content-body .disclaimer-container {
  position: relative;
}

#policy-content-body h2 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
  border-left: 3px solid #C5A059;
  padding-left: 1rem;
}

#policy-content-body p {
  color: #A0A0A0;
}

#policy-content-body ul li {
  line-height: 1.6;
}

#policy-content-body .contact-details-block {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s ease;
}

#policy-content-body .contact-details-block:hover {
  border-color: rgba(197, 160, 89, 0.5);
}

@media (max-width: 767px) {
  #policy-content-body h2 {
    border-left-width: 2px;
    padding-left: 0.75rem;
  }
}

/* ===== PAGE: cookies ===== */
.cookies-policy-container { padding: 40px 20px; max-width: 1200px; margin: 0 auto; } .cookies-section { position: relative; } .cookies-list li { transition: transform 0.3s ease, border-color 0.3s ease; } .cookies-list li:hover { border-color: rgba(197, 160, 89, 0.5); transform: translateY(-4px); } .cookies-policy-container h2, .cookies-policy-container h3, .cookies-policy-container h4 { color: #C5A059 !important; } .cookies-policy-container p, .cookies-policy-container li { color: #A0A0A0; line-height: 1.7; } .js-cookie-pref-btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .cookies-action-box { box-shadow: 0 10px 30px -15px rgba(197, 160, 89, 0.1); } @media (max-width: 767px) { .cookies-policy-container { padding: 20px 15px; } .cookies-list { gap: 12px; } }

/* ===== PAGE: tops ===== */
.nc-tops-intro p { hyphens: auto; }
.nc-rankings-list .js-filter-tab.active {
  background-color: #C5A059;
  color: #0A0A0A;
  border-color: #C5A059;
}
.nc-rankings-list .js-game-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.5s ease;
}
.nc-rankings-list .js-game-card.hidden {
  display: none;
}
.nc-rankings-list select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C5A059'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* ===== PAGE: reviews ===== */
.reviews-intro .js-filter-btn.active {
  background-color: #C5A059;
  color: #0A0A0A;
  border-color: #C5A059;
}

.reviews-intro .js-review-card {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.reviews-intro .js-review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 20px 40px -15px rgba(197, 160, 89, 0.2);
}

.detailed-analysis .group:hover img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .reviews-intro h1 { font-size: 18px !important; }
  .reviews-intro h2 { font-size: 16px !important; }
  .detailed-analysis h2 { font-size: 16px !important; }
  .detailed-analysis h3 { font-size: 14px !important; }
}

/* ===== PAGE: robot-games ===== */
.robot-intro .font-900 { font-weight: 900; }
.robot-grid .active { background-color: #C5A059; color: #0A0A0A; }
.robot-grid .js-game-card { backface-visibility: hidden; }
.robot-grid .js-game-card img { filter: grayscale(100%); transition: filter 0.5s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.robot-grid .js-game-card:hover img { filter: grayscale(0%); }
.js-filter-btn { transition: all 0.3s ease; }
.js-game-card.hidden { display: none; }
@media (max-width: 767px) {
  .robot-intro h1 { font-size: 18px; }
  .robot-grid h2 { font-size: 16px; }
  .robot-grid h3 { font-size: 14px; }
  .retro-sub h2 { font-size: 16px; }
}

/* ===== PAGE: legends ===== */
.legends-intro img { filter: grayscale(1); transition: filter 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.legends-intro:hover img { filter: grayscale(0); }
.js-filter-btn.active { box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }
.js-legend-card { transition: all 0.5s ease; opacity: 1; transform: scale(1); }
.js-legend-card.hidden { display: none; }
.js-legend-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -20px rgba(197, 160, 89, 0.3); }
.js-repair-form input:focus, .js-repair-form textarea:focus { box-shadow: 0 0 10px rgba(197, 160, 89, 0.2); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.js-legend-card { animation: fadeIn 0.6s ease forwards; }

/* ===== PAGE: mini-platformer ===== */
.mini-game-section .font-cinzel { font-family: 'Cinzel', serif; }
.mini-game-section .font-mono { font-family: 'JetBrains Mono', monospace; }
.mini-game-section .js-canvas { image-rendering: pixelated; cursor: crosshair; }
.mini-game-section .js-overlay.active { opacity: 1; pointer-events: auto; }
.mini-game-section .js-start-overlay.hidden { display: none; }
.mini-game-section button:active { transform: scale(0.95); }
@media (max-width: 767px) {
  .mini-game-section .js-start-overlay { padding: 16px !important; }
  .mini-game-section .relative.w-full.aspect-video.md\:aspect-\[21\/9\] { min-height: 280px; }
}
@keyframes flicker { 0% { opacity: 0.8; } 50% { opacity: 1; } 100% { opacity: 0.9; } }
.mini-game-section .js-canvas { animation: flicker 4s infinite; }

/* ===== PAGE: contacts ===== */
.contact-base-section .input-group input::placeholder, .contact-base-section .input-group textarea::placeholder {
  color: #666666;
  font-size: 14px;
}

.contact-base-section .input-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C5A059'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5em;
}

.contact-base-section .detail-item {
  transition: all 0.4s ease;
}

.contact-base-section .detail-item:hover {
  background-color: #1E1E1E;
  transform: translateX(8px);
  border-color: #E6C17A;
}

.contact-base-section .form-container {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .contact-base-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.font-headings {
    font-family: 'Cinzel', serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.nc-comment-container {
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    word-break: break-word;
}
.nc-comment-container .nc-metadata {
    overflow: hidden;
}
.nc-comment-container .nc-metadata span {
    white-space: nowrap;
}

.nc-avatar-initials {
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.nc-comment-body p {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.nc-avatar-initials-sm {
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
}

.nc-reply-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 20px;
    background: #C5A059;
}


/* ===== PAGE TEMPLATE: robot-games-items ===== */
.nova-header .js-nav-dropdown-menu.is-visible {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.nova-header .js-nav-mobile-menu.is-active {
    transform: translateX(0);
}

.nova-header nav>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C5A059;
    transition: width 0.3s ease;
}

.nova-header nav>a:hover::after {
    width: 100%;
}

.footer-block .status-dot {
    width: 8px;
    height: 8px;
    background-color: #C5A059;
    border-radius: 50%;
    box-shadow: 0 0 10px #C5A059;
    animation: footerPulse 2s infinite ease-in-out;
}

@keyframes footerPulse {

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

    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

.robot-games-items-page input::placeholder,
.robot-games-items-page textarea::placeholder {
    color: #666666;
    opacity: 1;
}

.robot-games-items-page .nc-content-area h2,
.robot-games-items-page .nc-content-area h3 {
    font-family: 'Cinzel', serif;
}

.robot-games-items-page .prose-style p {
    line-height: 1.8;
}

@media (max-width: 767px) {
    .robot-games-items-page h1 {
        font-size: 18px;
    }

    .robot-games-items-page h2 {
        font-size: 16px;
    }

    .robot-games-items-page h3 {
        font-size: 14px;
    }
}

/* ===== PAGE TEMPLATE: legends-items ===== */
.nova-header {
    transition: all 0.3s ease;
}

.nova-header .js-nav-dropdown-menu {
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8);
}

.nova-header .js-nav-dropdown-menu.is-visible {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.nova-header .js-nav-mobile-menu.is-active {
    transform: translateX(0);
}

.nova-header nav>a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C5A059;
    transition: width 0.3s ease;
}

.nova-header nav>a:hover::after {
    width: 100%;
}

.legends-detail-page .nc-content-rich h2 {
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.legends-detail-page .nc-content-rich p {
    margin-bottom: 1.25rem;
}

.footer-block .status-dot {
    width: 8px;
    height: 8px;
    background-color: #C5A059;
    border-radius: 50%;
    box-shadow: 0 0 10px #C5A059;
    animation: footerPulse 2s infinite ease-in-out;
}

@keyframes footerPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }

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

.js-slider-dot {
    width: 10px;
    height: 10px;
    border: 1px solid #C5A059;
    transition: all 0.3s;
}

.js-slider-dot.is-active {
    background: #C5A059;
    transform: scale(1.2);
}

.nc-comment-container .nc-avatar-initials {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}