:root {
    --primary-gold: #D4AF37;
    --neon-accent: #00F0FF;
    --bg-dark: #0A0A0B;
    --surface: #141416;
    --surface-variant: #1C1C1F;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B5;
    --text-muted: #71717A;
    --neon-glow: rgba(0, 240, 255, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.heading-font {
    font-family: 'Orbitron', sans-serif;
}

.text-muted {
    color: var(--text-muted) !important;
}

.accent-line {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    width: 100px;
}

.neon-glow-hover:hover {
    box-shadow: 0 0 15px var(--neon-glow);
    border-color: var(--neon-accent);
}

.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.btn-premium:hover::after {
    width: 100%;
}

.card-float {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-float:hover {
    transform: translateY(-8px);
}

/* ===== header ===== */
.hpc-header .hpc-dropdown-menu.is-active {
    display: block;
}

.hpc-header .hpc-mobile-menu.is-open {
    transform: translateX(0);
}

.hpc-header .hpc-nav-link {
    position: relative;
    padding: 4px 0;
}

.hpc-header .hpc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.hpc-header .hpc-nav-link:hover::after {
    width: 100%;
}

.hpc-header .hpc-dropdown-trigger[aria-expanded='true'] i {
    transform: rotate(180deg);
}

/* ===== hero ===== */
.hyper-hero .hyper-hero-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid transparent;
}

.hyper-hero .hyper-hero-card:hover {
    border-bottom-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 240, 255, 0.2);
}

.hyper-hero .hyper-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    pointer-events: none;
}

.hyper-hero .hyper-hero-card:hover::after {
    border-color: rgba(0, 240, 255, 0.3);
}

@media (max-width: 767px) {
    .hyper-hero .hyper-hero-card {
        height: 350px !important;
    }
}

/* ===== smartphone-showcase ===== */
.smartphone-showcase {
    position: relative;
    font-family: 'Inter', sans-serif;
}

.smartphone-showcase h2 {
    font-family: 'Orbitron', sans-serif;
}

.smartphone-showcase .container {
    position: relative;
    z-index: 2;
}

/* ===== latest-reviews ===== */
.latest-reviews-section .active-filter {
    background-color: rgba(0, 240, 255, 0.1);
    border-color: #00F0FF;
    color: #00F0FF;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.latest-reviews-section .js-review-card {
    position: relative;
}

.latest-reviews-section .js-review-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00F0FF;
    transition: width 0.4s ease;
}

.latest-reviews-section .js-review-card:hover::after {
    width: 100%;
}

.latest-reviews-section .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.newsletter-block .js-newsletter-input::placeholder {
    color: #71717A;
    opacity: 1;
}

.newsletter-block .js-newsletter-submit:hover {
    transform: translateY(-2px);
}

/* ===== footer ===== */
.hyper-wild-footer .footer-brand img {
    max-width: 50px;
}

.hyper-wild-footer .footer-brand {
    display: flex;
    flex-direction: column;
}

.hyper-wild-footer a {
    text-decoration: none;
}

.hyper-wild-footer .container {
    max-width: 1200px;
}

.hyper-wild-footer h2,
.hyper-wild-footer h3 {
    letter-spacing: 0.05em;
}

.hyper-wild-footer i {
    flex-shrink: 0;
}

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

    .hyper-wild-footer .footer-brand {
        align-items: center;
    }

    .hyper-wild-footer .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .hyper-wild-footer .flex-col {
        align-items: center;
    }

    .hyper-wild-footer .footer-contact .flex {
        justify-content: center;
    }
}

/* ===== PAGE: privacy ===== */
.policy-document-section {
  padding: 40px 20px;
  background-color: #0A0A0B;
}

.policy-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.policy-body-content {
  background-color: #141416;
  padding: 30px;
  border-radius: 4px;
  border-left: 2px solid #D4AF37;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  .policy-document-section {
    padding: 80px 40px;
  }
  .policy-body-content {
    padding: 60px;
  }
}

#policy-content-container h2 {
  margin-top: 2.5rem;
  letter-spacing: 0.05em;
}

#policy-content-container p {
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  hyphens: auto;
}

#policy-content-container strong {
  color: #FFFFFF;
  font-weight: 700;
}

.contact-card {
  transition: border-color 0.3s ease;
}

.contact-card:hover {
  border-color: #00F0FF;
}

/* ===== PAGE: terms ===== */
.policy-content-wrapper {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.policy-content-wrapper .policy-card {
  background: #141416;
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.policy-content-wrapper .policy-header {
  margin-bottom: 40px;
  text-align: center;
}

.policy-content-wrapper .policy-title {
  font-family: 'Orbitron', sans-serif;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .policy-content-wrapper .policy-title {
    font-size: 32px;
  }
}

.policy-content-wrapper .policy-subtitle {
  color: #B0B0B5;
  font-size: 14px;
  margin-bottom: 20px;
}

.policy-content-wrapper .accent-line {
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, #D4AF37, #00F0FF);
  margin: 0 auto;
}

.policy-content-wrapper .policy-section {
  margin-bottom: 32px;
}

.policy-content-wrapper .policy-h2 {
  font-family: 'Orbitron', sans-serif;
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  display: inline-block;
  padding-bottom: 4px;
}

@media (min-width: 768px) {
  .policy-content-wrapper .policy-h2 {
    font-size: 24px;
  }
}

.policy-content-wrapper .policy-text {
  color: #B0B0B5;
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 15px;
  hyphens: auto;
}

@media (min-width: 768px) {
  .policy-content-wrapper .policy-text {
    font-size: 16px;
  }
}

.policy-content-wrapper .policy-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.policy-content-wrapper .policy-list li {
  color: #B0B0B5;
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.policy-content-wrapper .policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background-color: #00F0FF;
}

.policy-content-wrapper .policy-link {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.policy-content-wrapper .policy-link:hover {
  color: #00F0FF;
  border-bottom-color: #00F0FF;
}

.policy-content-wrapper .policy-footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(113, 113, 122, 0.2);
  text-align: center;
}

.policy-content-wrapper .policy-footer-text {
  color: #71717A;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PAGE: disclaimer ===== */
.policy-document-section { background-color: #0A0A0B; }
.policy-content-wrapper { word-wrap: break-word; }
.policy-content-stack .policy-list { list-style: none; padding-left: 0; }
.policy-content-stack .policy-list li::before { content: '→'; position: absolute; left: 0; color: #D4AF37; font-weight: bold; }
.policy-content-stack a { transition: color 0.3s ease; }

/* ===== PAGE: cookies ===== */
.policy-document-section .policy-group { transition: transform 0.3s ease; }
.policy-document-section .policy-group:hover h2 i { filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6)); }
.policy-document-section .policy-body a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .policy-document-section .policy-content-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .policy-document-section h1 {
    line-height: 1.2;
    hyphens: auto;
  }
}

/* ===== PAGE: about ===== */
.about-story-section {
  font-family: 'Inter', sans-serif;
}
.about-story-section h2, .about-story-section h3 {
  font-family: 'Orbitron', sans-serif;
}
.about-story-section .about-story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-story-section .about-story-card i {
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.3));
}
.about-story-section a .ph-arrow-right {
  transition: transform 0.3s ease;
}
.about-story-section a:hover .ph-arrow-right {
  transform: translateX(5px);
}

/* ===== PAGE: contact ===== */
.contact-block .placeholder\:text-\[\#71717A\]::placeholder { color: #71717A; opacity: 1; } .contact-block input:focus, .contact-block textarea:focus { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); } .contact-block .js-submit-btn:active { transform: scale(0.98); }

/* ===== PAGE: mini-game ===== */
.playable-game .game-container {
  touch-action: none;
  image-rendering: pixelated;
}
.playable-game canvas {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4/5;
}
.playable-game .game-ui {
  user-select: none;
}
.playable-game .active-pulse {
  animation: active-glow 0.3s ease-out;
}
@keyframes active-glow {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  100% { box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0); }
}

/* ===== PAGE: retro-reviews ===== */
.retro-reviews-grid .js-filter-btn.active { background-color: #D4AF37; color: #0A0A0B; box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); border-color: #D4AF37; }
.retro-reviews-grid .js-review-card:hover { box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1); border-bottom-color: #00F0FF; }
.retro-reviews-grid .js-review-card h2 a { text-decoration: none; }
.retro-reviews-grid .js-search-input::placeholder { color: #71717A; }
.retro-reviews-grid .hidden-item { display: none; }
@media (max-width: 767px) {
  .retro-reviews-grid h1 { hyphens: auto; }
  .retro-reviews-grid .js-filter-btn { width: 100%; text-align: center; }
}

/* ===== PAGE: era-8-16-bit ===== */
.era-grid-section {
  background-image: radial-gradient(circle at 50% 50%, #141416 0%, #0A0A0B 100%);
}

.era-grid-section .js-card {
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}

.era-grid-section .js-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 240, 255, 0.15);
  transform: translateY(-4px);
}

.era-grid-section .js-search-input::placeholder {
  color: #71717A;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.era-grid-section .line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PAGE: online-racing ===== */
.racing-grid .racing-grid__item {
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}
.racing-grid .racing-grid__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(0,240,255,0.2);
}
.racing-grid .js-filter-btn.active {
  background: #D4AF37 !important;
  color: #0A0A0B !important;
  border-color: #D4AF37 !important;
}
.racing-grid .js-newsletter input::placeholder {
  color: #71717A;
  opacity: 1;
}
.racing-grid .racing-grid__cta {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}
.racing-grid .racing-grid__cta::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #00F0FF;
}

.main-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 2px solid #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease
}

.main-comment-card:hover .main-avatar {
    transform: scale(1.05);
    border-color: #00F0FF
}

.comment-action i {
    font-size: 1.2rem
}

.font-orbitron {
    font-family: "Orbitron", sans-serif
}

.font-inter {
    font-family: "Inter", sans-serif
}

.reply-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid rgba(0, 240, 255, 0.4)
}

.reply-comment-card::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 24px;
    width: 20px;
    height: 2px;
    background: rgba(0, 240, 255, 0.2)
}

.font-orbitron {
    font-family: "Orbitron", sans-serif
}

.font-inter {
    font-family: "Inter", sans-serif
}


/* ===== PAGE TEMPLATE: retro-reviews ===== */
.retro-detail-section .article-text-container .prose-custom p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.retro-detail-section .article-text-container .prose-custom h2 {
    margin-top: 2rem;
    color: #FFFFFF;
}

.retro-detail-section .sidebar-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease;
}

.retro-detail-section .sidebar-box:hover {
    border-bottom-color: #00F0FF;
}

.hpc-header .hpc-dropdown-menu.is-active {
    display: block;
}

.hpc-header .hpc-mobile-menu.is-open {
    transform: translateX(0);
}

.hpc-header .hpc-nav-link {
    position: relative;
    padding: 4px 0;
}

.hpc-header .hpc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.hpc-header .hpc-nav-link:hover::after {
    width: 100%;
}

.hpc-header .hpc-dropdown-trigger[aria-expanded='true'] i {
    transform: rotate(180deg);
}

.hyper-wild-footer .footer-brand img {
    max-width: 50px;
}

.hyper-wild-footer a {
    text-decoration: none;
}

.hyper-wild-footer .container {
    max-width: 1200px;
}

.hyper-wild-footer h2,
.hyper-wild-footer h3 {
    letter-spacing: 0.05em;
}

.hyper-wild-footer i {
    flex-shrink: 0;
}

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

    .hyper-wild-footer .flex-col {
        align-items: center;
    }

    .hyper-wild-footer .footer-contact .flex {
        justify-content: center;
    }
}

/* ===== PAGE TEMPLATE: era-8-16-bit ===== */
.hpc-header .hpc-dropdown-menu.is-active {
    display: block;
}

.hpc-header .hpc-mobile-menu.is-open {
    transform: translateX(0);
}

.hpc-header .hpc-nav-link {
    position: relative;
    padding: 4px 0;
}

.hpc-header .hpc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.hpc-header .hpc-nav-link:hover::after {
    width: 100%;
}

.hpc-header .hpc-dropdown-trigger[aria-expanded='true'] i {
    transform: rotate(180deg);
}

.content-rich-text h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #D4AF37;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: inline-block;
}

@media (min-width: 768px) {
    .content-rich-text h2 {
        font-size: 28px;
    }
}

.content-rich-text p {
    margin-bottom: 1.5rem;
}

.content-rich-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.content-rich-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-rich-text ul li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: #00F0FF;
}

.main-comment-card {
    border-radius: 4px;
}

.main-avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #D4AF37;
}

.reply-avatar {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 2px solid #00F0FF;
}

.hyper-wild-footer .footer-brand img {
    max-width: 50px;
}

.hyper-wild-footer a {
    text-decoration: none;
}

.hyper-wild-footer .container {
    max-width: 1200px;
}

.hyper-wild-footer h2,
.hyper-wild-footer h3 {
    letter-spacing: 0.05em;
}

.hyper-wild-footer i {
    flex-shrink: 0;
}

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

    .hyper-wild-footer .flex-col {
        align-items: center;
    }

    .hyper-wild-footer .footer-contact .flex {
        justify-content: center;
    }
}

/* ===== PAGE TEMPLATE: online-racing ===== */
.racing-detail-template .racing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #D4AF37, transparent);
}

.racing-detail-template .racing-main-image {
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

.racing-detail-template .prose h2 {
    letter-spacing: 0.1em;
}

.racing-detail-template .sidebar-card {
    background: linear-gradient(145deg, #141416, #1C1C1F);
}

.racing-detail-template .js-accordion-trigger[aria-expanded='true'] i {
    transform: rotate(45deg);
}

.racing-detail-template .js-accordion-trigger[aria-expanded='true'] {
    background: #1C1C1F;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.racing-detail-template .js-accordion-content {
    transition: all 0.3s ease-out;
}

.hpc-header .hpc-dropdown-menu.is-active {
    display: block;
}

.hpc-header .hpc-mobile-menu.is-open {
    transform: translateX(0);
}

.hpc-header .hpc-nav-link {
    position: relative;
    padding: 4px 0;
}

.hpc-header .hpc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.hpc-header .hpc-nav-link:hover::after {
    width: 100%;
}

.hpc-header .hpc-dropdown-trigger[aria-expanded='true'] i {
    transform: rotate(180deg);
}

.hyper-wild-footer .container {
    max-width: 1200px;
}

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

    .hyper-wild-footer .flex-col {
        align-items: center;
    }

    .hyper-wild-footer .footer-contact .flex {
        justify-content: center;
    }
}
