/*
Theme Name: Reboot Store (Blocksy Child)
Theme URI: https://rebootsys.ir
Description: Child theme for Blocksy — Reboot Store custom design with RTL Persian layout, hero slider, products, PS games, blog, services, and WooCommerce integration.
Author: Mavis
Author URI: https://rebootsys.ir
Template: blocksy
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
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: reboot
Domain Path: /languages
Tags: blocksy, woocommerce, rtl, persian, e-commerce, blog
*/

/* ========================================================================
   REBOOT DESIGN SYSTEM
   ======================================================================== */

:root {
  /* Primary Colors */
  --reboot-primary: #FF6B2C;
  --reboot-primary-dark: #E9571E;
  --reboot-primary-light: #FFF1E9;

  /* Neutral Colors */
  --reboot-bg: #F7F8FA;
  --reboot-surface: #FFFFFF;
  --reboot-text: #24262B;
  --reboot-text-secondary: #6F7480;
  --reboot-border: #E6E8EC;
  --reboot-muted: #F1F3F5;

  /* Semantic Colors */
  --reboot-success: #16A36A;
  --reboot-error: #D83B4B;
  --reboot-warning: #F2A93B;
  --reboot-info: #2878E5;

  /* Gaming Section */
  --reboot-navy: #111A34;
  --reboot-navy-light: #18345F;
  --reboot-accent-blue: #2D7FF9;

  /* Layout */
  --reboot-container: 1280px;
  --reboot-radius: 16px;
  --reboot-radius-sm: 8px;
  --reboot-radius-lg: 24px;
  --reboot-radius-pill: 9999px;

  /* Spacing */
  --reboot-section-pad: 4rem;
}

/* ========================================================================
   BASE
   ======================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body.reboot-theme {
  background-color: var(--reboot-bg);
  color: var(--reboot-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.reboot-theme * {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.5em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1em;
}

/* ========================================================================
   TYPOGRAPHY
   ======================================================================== */

.reboot-h1, .reboot-h2, .reboot-h3, .reboot-h4 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--reboot-text);
  margin: 0 0 0.5em;
}

.reboot-h1 { font-size: clamp(1.875rem, 4vw, 3rem); }
.reboot-h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.reboot-h3 { font-size: 1.25rem; }
.reboot-h4 { font-size: 1rem; }

/* ========================================================================
   CONTAINER
   ======================================================================== */

.reboot-container {
  width: 100%;
  max-width: var(--reboot-container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .reboot-container { padding-inline: 1.5rem; }
}

@media (min-width: 1024px) {
  .reboot-container { padding-inline: 2rem; }
}

.reboot-section {
  padding-block: 2.5rem;
}

@media (min-width: 768px) {
  .reboot-section { padding-block: 4rem; }
}

@media (min-width: 1024px) {
  .reboot-section { padding-block: 5rem; }
}

/* ========================================================================
   SCROLLBAR
   ======================================================================== */

.reboot-theme ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.reboot-theme ::-webkit-scrollbar-track {
  background: var(--reboot-muted);
}

.reboot-theme ::-webkit-scrollbar-thumb {
  background: var(--reboot-border);
  border-radius: 4px;
}

.reboot-theme ::-webkit-scrollbar-thumb:hover {
  background: var(--reboot-text-secondary);
}

/* ========================================================================
   BUTTONS
   ======================================================================== */

.reboot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.reboot-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reboot-btn-primary {
  background: var(--reboot-primary);
  color: #fff;
}

.reboot-btn-primary:hover:not(:disabled) {
  background: var(--reboot-primary-dark);
  color: #fff;
}

.reboot-btn-secondary {
  background: var(--reboot-surface);
  color: var(--reboot-text);
  border-color: var(--reboot-border);
}

.reboot-btn-secondary:hover:not(:disabled) {
  background: var(--reboot-muted);
}

.reboot-btn-white {
  background: #fff;
  color: var(--reboot-text);
}

.reboot-btn-ghost {
  background: transparent;
  color: var(--reboot-text);
  border-color: var(--reboot-border);
}

.reboot-btn-ghost:hover:not(:disabled) {
  background: var(--reboot-muted);
}

.reboot-btn-block { width: 100%; }

.reboot-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  min-height: 36px;
}

.reboot-btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  min-height: 52px;
}

/* ========================================================================
   BADGE
   ======================================================================== */

.reboot-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1;
}

.reboot-badge-primary { background: var(--reboot-primary); color: #fff; }
.reboot-badge-error { background: var(--reboot-error); color: #fff; }
.reboot-badge-info { background: var(--reboot-info); color: #fff; }
.reboot-badge-warning { background: var(--reboot-warning); color: #fff; }
.reboot-badge-success { background: var(--reboot-success); color: #fff; }
.reboot-badge-light { background: var(--reboot-primary-light); color: var(--reboot-primary); }

/* ========================================================================
   FORM ELEMENTS
   ======================================================================== */

.reboot-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background: var(--reboot-surface);
  border: 1px solid var(--reboot-border);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease;
  min-height: 44px;
  font-family: inherit;
  color: var(--reboot-text);
}

.reboot-input:focus {
  border-color: var(--reboot-primary);
  outline: none;
}

.reboot-input::placeholder {
  color: var(--reboot-text-secondary);
}

/* ========================================================================
   ANNOUNCEMENT BAR
   ======================================================================== */

.reboot-announcement {
  background: var(--reboot-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.reboot-announcement a {
  color: #fff;
  text-decoration: underline;
}

/* ========================================================================
   HEADER
   ======================================================================== */

.reboot-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--reboot-surface);
  border-bottom: 1px solid var(--reboot-border);
  transition: box-shadow 0.2s ease;
}

.reboot-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}

.reboot-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding-block: 0.5rem;
}

@media (min-width: 1024px) {
  .reboot-header-inner {
    min-height: 72px;
  }
}

.reboot-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--reboot-text);
}

.reboot-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--reboot-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.reboot-logo-mark svg {
  width: 24px;
  height: 24px;
}

.reboot-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  display: none;
}

@media (min-width: 640px) {
  .reboot-logo-text { display: inline; }
}

.reboot-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .reboot-nav { display: flex; }
}

.reboot-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--reboot-text);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.reboot-nav a:hover {
  color: var(--reboot-primary);
  background: var(--reboot-primary-light);
}

.reboot-search {
  flex: 1;
  max-width: 28rem;
  display: none;
  position: relative;
}

@media (min-width: 768px) {
  .reboot-search { display: block; }
}

.reboot-search input {
  width: 100%;
  height: 44px;
  padding: 0 1rem 0 2.5rem;
  background: var(--reboot-bg);
  border: 1px solid var(--reboot-border);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--reboot-text);
}

.reboot-search input:focus {
  outline: none;
  border-color: var(--reboot-primary);
}

.reboot-search-icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--reboot-text-secondary);
  pointer-events: none;
}

.reboot-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .reboot-actions { gap: 0.5rem; }
}

.reboot-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  color: var(--reboot-text-secondary);
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.reboot-icon-btn:hover {
  color: var(--reboot-primary);
  background: var(--reboot-primary-light);
}

.reboot-icon-btn svg {
  width: 22px;
  height: 22px;
}

.reboot-icon-btn--hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .reboot-icon-btn--hidden-sm { display: inline-flex; }
}

.reboot-cart-count {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--reboot-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-2px, 2px);
}

.reboot-user-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--reboot-text-secondary);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

@media (min-width: 640px) {
  .reboot-user-btn { display: inline-flex; }
}

@media (min-width: 1024px) {
  .reboot-user-btn span { display: inline; }
}

.reboot-user-btn:hover {
  color: var(--reboot-primary);
  background: var(--reboot-primary-light);
}

.reboot-mobile-toggle {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .reboot-mobile-toggle { display: none; }
}

/* Mobile menu drawer */
.reboot-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.reboot-mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.reboot-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--reboot-surface);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reboot-mobile-drawer.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .reboot-mobile-drawer { display: none; }
}

.reboot-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--reboot-border);
}

.reboot-drawer-search {
  padding: 1rem;
}

.reboot-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.reboot-drawer-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--reboot-text);
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.reboot-drawer-nav a:hover {
  background: var(--reboot-primary-light);
  color: var(--reboot-primary);
}

.reboot-drawer-footer {
  padding: 1rem;
  border-top: 1px solid var(--reboot-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ========================================================================
   HERO SLIDER
   ======================================================================== */

.reboot-hero {
  position: relative;
  background: var(--reboot-text);
  overflow: hidden;
  min-height: 420px;
}

@media (min-width: 768px) {
  .reboot-hero { min-height: 480px; }
}

@media (min-width: 1024px) {
  .reboot-hero { min-height: 520px; }
}

.reboot-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.reboot-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.reboot-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.reboot-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--reboot-text) 0%, rgba(36, 38, 43, 0.8) 60%, transparent 100%);
}

.reboot-hero__inner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .reboot-hero__inner { min-height: 480px; }
}

@media (min-width: 1024px) {
  .reboot-hero__inner { min-height: 520px; }
}

.reboot-hero__content {
  max-width: 36rem;
  position: relative;
  z-index: 2;
}

.reboot-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--reboot-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.reboot-hero__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.reboot-hero__desc {
  font-size: 1.125rem;
  color: #9CA3AF;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.reboot-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reboot-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 3;
}

.reboot-hero__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.reboot-hero__nav--prev { left: 1rem; }
.reboot-hero__nav--next { right: 1rem; }

.reboot-hero__nav svg { width: 20px; height: 20px; }

.reboot-hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.reboot-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.reboot-hero__dot.is-active {
  width: 32px;
  background: var(--reboot-primary);
}

.reboot-hero__dot:hover { background: rgba(255, 255, 255, 0.6); }

/* ========================================================================
   FEATURES STRIP
   ======================================================================== */

.reboot-features {
  background: var(--reboot-surface);
  border-bottom: 1px solid var(--reboot-border);
}

.reboot-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-block: 1.5rem;
}

@media (min-width: 1024px) {
  .reboot-features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.reboot-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: background 0.2s ease;
}

.reboot-feature:hover { background: var(--reboot-primary-light); }

.reboot-feature__icon {
  width: 48px;
  height: 48px;
  background: var(--reboot-primary-light);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--reboot-primary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.reboot-feature:hover .reboot-feature__icon {
  background: var(--reboot-primary);
  color: #fff;
}

.reboot-feature__icon svg { width: 24px; height: 24px; }

.reboot-feature__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--reboot-text);
  margin: 0;
}

.reboot-feature__desc {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
  margin: 0;
}

/* ========================================================================
   SECTION HEAD
   ======================================================================== */

.reboot-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.reboot-section-head__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--reboot-text);
  margin: 0 0 0.25rem;
}

.reboot-section-head__sub {
  font-size: 0.875rem;
  color: var(--reboot-text-secondary);
  margin: 0;
}

.reboot-section-head__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--reboot-primary);
  text-decoration: none;
}

.reboot-section-head__more:hover { text-decoration: underline; }

.reboot-section-head__more svg { width: 16px; height: 16px; }

.reboot-section-head--center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

/* ========================================================================
   CATEGORIES
   ======================================================================== */

.reboot-categories {
  background: var(--reboot-surface);
}

.reboot-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .reboot-categories__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-categories__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .reboot-categories__grid { grid-template-columns: repeat(7, 1fr); }
}

.reboot-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: var(--reboot-bg);
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--reboot-text);
  transition: all 0.2s ease;
}

.reboot-category:hover {
  background: var(--reboot-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.reboot-category__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.2s ease;
  line-height: 1;
}

.reboot-category:hover .reboot-category__icon {
  transform: scale(1.1);
}

.reboot-category__name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--reboot-text);
  margin: 0 0 0.25rem;
  transition: color 0.2s ease;
}

.reboot-category:hover .reboot-category__name {
  color: var(--reboot-primary);
}

.reboot-category__count {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
  margin: 0;
}

/* ========================================================================
   SPECIAL OFFER
   ======================================================================== */

.reboot-special {
  background: linear-gradient(to left, var(--reboot-error), var(--reboot-primary));
  color: #fff;
}

.reboot-special__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.reboot-special__head-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.reboot-special__head-title span.flame {
  font-size: 2.5rem;
  line-height: 1;
}

.reboot-special__head-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.25rem 0 0;
}

.reboot-special__timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  direction: ltr;
}

.reboot-special__timer-icon { color: #fff; }

.reboot-special__timer-clock {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #fff;
}

.reboot-special__timer-cell {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  min-width: 32px;
  text-align: center;
}

.reboot-special__main {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .reboot-special__main { padding: 2rem; }
}

.reboot-special__main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .reboot-special__main-grid { grid-template-columns: 1fr 1fr; }
}

.reboot-special__main-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--reboot-bg);
  border-radius: 0.75rem;
  overflow: hidden;
}

.reboot-special__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reboot-special__main-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.reboot-special__info-cat {
  font-size: 0.875rem;
  color: var(--reboot-text-secondary);
}

.reboot-special__info-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--reboot-text);
  margin: 0.5rem 0 1rem;
}

.reboot-special__info-desc {
  color: var(--reboot-text-secondary);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.reboot-special__info-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.reboot-special__info-rating-stars {
  display: flex;
  align-items: center;
  gap: 0;
}

.reboot-special__info-rating-stars svg { width: 18px; height: 18px; }

.reboot-special__info-rating-count {
  font-size: 0.875rem;
  color: var(--reboot-text-secondary);
}

.reboot-special__info-price {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reboot-special__info-price-now {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--reboot-primary);
  font-variant-numeric: tabular-nums;
}

.reboot-special__info-price-now small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--reboot-text-secondary);
  margin-right: 0.25rem;
}

.reboot-special__info-price-old {
  font-size: 1.125rem;
  color: var(--reboot-text-secondary);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.reboot-special__info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reboot-special__others {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .reboot-special__others { grid-template-columns: repeat(3, 1fr); }
}

.reboot-special__other {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--reboot-text);
  transition: box-shadow 0.2s ease;
}

.reboot-special__other:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }

.reboot-special__other-image {
  width: 80px;
  height: 80px;
  background: var(--reboot-bg);
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.reboot-special__other-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reboot-special__other-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--reboot-text);
  margin: 0 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reboot-special__other-prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reboot-special__other-price {
  color: var(--reboot-primary);
  font-weight: 700;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.reboot-special__other-price-old {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

/* ========================================================================
   PRODUCT GRID & CARD
   ======================================================================== */

.reboot-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .reboot-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .reboot-product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.reboot-product-card {
  background: #fff;
  border: 1px solid var(--reboot-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.reboot-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.reboot-product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--reboot-bg);
  overflow: hidden;
}

.reboot-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reboot-product-card:hover .reboot-product-card__image img {
  transform: scale(1.05);
}

.reboot-product-card__badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 1;
}

.reboot-product-card__actions {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.reboot-product-card:hover .reboot-product-card__actions { opacity: 1; }

.reboot-product-card__action {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--reboot-text-secondary);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reboot-product-card__action:hover {
  color: var(--reboot-primary);
  background: var(--reboot-primary-light);
}

.reboot-product-card__action svg { width: 16px; height: 16px; }

.reboot-product-card__out {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reboot-product-card__out span {
  background: #fff;
  color: var(--reboot-text);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.reboot-product-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.reboot-product-card__cat {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
}

.reboot-product-card__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--reboot-text);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  transition: color 0.2s ease;
}

.reboot-product-card:hover .reboot-product-card__title { color: var(--reboot-primary); }

.reboot-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.reboot-product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.reboot-product-card__rating svg {
  width: 14px;
  height: 14px;
  color: var(--reboot-warning);
  fill: var(--reboot-warning);
}

.reboot-product-card__rating-text {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
}

.reboot-product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.5rem;
}

.reboot-product-card__prices { display: flex; flex-direction: column; }

.reboot-product-card__price-old {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.reboot-product-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--reboot-primary);
  font-variant-numeric: tabular-nums;
}

.reboot-product-card__price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--reboot-text-secondary);
  margin-right: 0.25rem;
}

.reboot-product-card__add {
  width: 40px;
  height: 40px;
  background: var(--reboot-primary);
  color: #fff;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.reboot-product-card__add:hover { background: var(--reboot-primary-dark); }

.reboot-product-card__add:disabled {
  background: var(--reboot-border);
  cursor: not-allowed;
}

.reboot-product-card__add svg { width: 18px; height: 18px; }

/* ========================================================================
   SERVICES
   ======================================================================== */

.reboot-services { background: var(--reboot-surface); }

.reboot-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .reboot-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-services__grid { grid-template-columns: repeat(3, 1fr); }
}

.reboot-service {
  padding: 1.5rem;
  background: var(--reboot-bg);
  border-radius: 1rem;
  transition: background 0.2s ease;
}

.reboot-service:hover { background: var(--reboot-primary-light); }

.reboot-service__icon {
  width: 56px;
  height: 56px;
  background: var(--reboot-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.reboot-service:hover .reboot-service__icon { background: var(--reboot-primary-dark); }

.reboot-service__icon svg { width: 28px; height: 28px; }

.reboot-service__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--reboot-text);
  margin: 0 0 0.5rem;
}

.reboot-service__desc {
  font-size: 0.875rem;
  color: var(--reboot-text-secondary);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.reboot-service__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reboot-service__duration {
  color: var(--reboot-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.reboot-service__duration svg { width: 14px; height: 14px; }

.reboot-service__price {
  color: var(--reboot-primary);
  font-weight: 700;
}

.reboot-services__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================================================
   MOBILE BANNER
   ======================================================================== */

.reboot-mobile-banner {
  background: linear-gradient(to left, var(--reboot-success), var(--reboot-info));
  color: #fff;
}

.reboot-mobile-banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .reboot-mobile-banner__grid { grid-template-columns: 1fr 1fr; }
}

.reboot-mobile-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.reboot-mobile-banner__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.reboot-mobile-banner__desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.reboot-mobile-banner__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.reboot-mobile-banner__feature {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 0.75rem;
}

.reboot-mobile-banner__feature svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-bottom: 0.5rem;
}

.reboot-mobile-banner__feature h3 {
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
  margin: 0 0 0.25rem;
}

.reboot-mobile-banner__feature p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ========================================================================
   GAMES SECTION
   ======================================================================== */

.reboot-games {
  background: var(--reboot-navy);
  color: #fff;
}

.reboot-games__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .reboot-games__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-games__grid { grid-template-columns: repeat(6, 1fr); }
}

.reboot-game {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: block;
  transition: all 0.2s ease;
}

.reboot-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.reboot-game__image {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--reboot-navy-light);
  overflow: hidden;
}

.reboot-game__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reboot-game:hover .reboot-game__image img { transform: scale(1.05); }

.reboot-game__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
}

.reboot-game__platform {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.625rem;
  padding: 0.25rem 0.5rem;
  z-index: 1;
}

.reboot-game__platform--ps5 { background: var(--reboot-accent-blue); }
.reboot-game__platform--ps4 { background: var(--reboot-navy-light); }
.reboot-game__platform--both { background: linear-gradient(to right, var(--reboot-accent-blue), var(--reboot-navy-light)); }

.reboot-game__discount {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.625rem;
  z-index: 1;
}

.reboot-game__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  z-index: 1;
}

.reboot-game__name {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  margin: 0 0 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reboot-game__name-en {
  font-size: 0.625rem;
  color: #9CA3AF;
  margin: 0 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reboot-game__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.reboot-game__genre {
  font-size: 0.75rem;
  color: #9CA3AF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reboot-game__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--reboot-accent-blue);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.reboot-games__install {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(to right, var(--reboot-navy-light), rgba(45, 127, 249, 0.3));
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reboot-games__install { flex-direction: row; }
}

.reboot-games__install-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reboot-games__install-icon {
  width: 56px;
  height: 56px;
  background: var(--reboot-accent-blue);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.reboot-games__install-icon svg { width: 28px; height: 28px; }

.reboot-games__install h3 {
  font-weight: 700;
  color: #fff;
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
}

.reboot-games__install p {
  font-size: 0.875rem;
  color: #9CA3AF;
  margin: 0;
}

/* ========================================================================
   BRANDS
   ======================================================================== */

.reboot-brands {
  background: #fff;
  border-block: 1px solid var(--reboot-border);
  padding-block: 2rem;
}

.reboot-brands__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.reboot-brand {
  color: #9CA3AF;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.reboot-brand:hover { color: var(--reboot-text); }

/* ========================================================================
   BLOG
   ======================================================================== */

.reboot-blog { background: var(--reboot-bg); }

.reboot-blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .reboot-blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-blog__grid { grid-template-columns: repeat(4, 1fr); }
}

.reboot-post-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.reboot-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.reboot-post-card__image {
  aspect-ratio: 16 / 9;
  background: var(--reboot-border);
  overflow: hidden;
}

.reboot-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.reboot-post-card:hover .reboot-post-card__image img { transform: scale(1.05); }

.reboot-post-card__body { padding: 1rem; }

.reboot-post-card__cat {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--reboot-primary-light);
  color: var(--reboot-primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.reboot-post-card__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--reboot-text);
  margin: 0 0 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.reboot-post-card:hover .reboot-post-card__title { color: var(--reboot-primary); }

.reboot-post-card__title a { color: inherit; text-decoration: none; }

.reboot-post-card__excerpt {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
  margin: 0 0 0.75rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reboot-post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
}

.reboot-post-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.reboot-post-card__meta svg { width: 12px; height: 12px; }

/* ========================================================================
   CTA SECTION
   ======================================================================== */

.reboot-cta {
  background: linear-gradient(to left, var(--reboot-primary-dark), var(--reboot-primary));
  color: #fff;
  text-align: center;
}

.reboot-cta__inner {
  max-width: 42rem;
  margin-inline: auto;
}

.reboot-cta__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.reboot-cta__desc {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem;
}

.reboot-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reboot-cta__buttons { flex-direction: row; }
}

.reboot-cta__buttons .reboot-btn { width: 100%; }
@media (min-width: 640px) {
  .reboot-cta__buttons .reboot-btn { width: auto; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.reboot-footer {
  background: var(--reboot-text);
  color: #fff;
}

.reboot-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 3rem;
}

@media (min-width: 640px) {
  .reboot-footer__main { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-footer__main { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; }
}

.reboot-footer__about-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.reboot-footer__about-desc {
  color: #9CA3AF;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.reboot-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reboot-footer__social {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 1.125rem;
}

.reboot-footer__social:hover { background: var(--reboot-primary); }
.reboot-footer__social.tg:hover { background: var(--reboot-info); }
.reboot-footer__social.wa:hover { background: var(--reboot-success); }

.reboot-footer__title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin: 0 0 1rem;
}

.reboot-footer__list li { margin-bottom: 0.5rem; }

.reboot-footer__list a {
  color: #9CA3AF;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.reboot-footer__list a:hover { color: var(--reboot-primary); }

.reboot-footer__list a svg { width: 14px; height: 14px; }

.reboot-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.reboot-footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--reboot-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.reboot-footer__contact-label {
  font-size: 0.75rem;
  color: #9CA3AF;
  margin: 0;
}

.reboot-footer__contact-value {
  font-size: 0.875rem;
  color: #fff;
  margin: 0;
  text-decoration: none;
  display: block;
  word-break: break-all;
}

.reboot-footer__contact-value:hover { color: var(--reboot-primary); }

.reboot-footer__bottom {
  padding-block: 1rem;
  border-top: 1px solid #374151;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: #9CA3AF;
}

@media (min-width: 640px) {
  .reboot-footer__bottom { flex-direction: row; }
}

.reboot-footer__bottom a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.reboot-footer__bottom a:hover { color: #fff; }

.reboot-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ========================================================================
   BACK TO TOP
   ======================================================================== */

.reboot-back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  background: var(--reboot-primary);
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.reboot-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reboot-back-to-top:hover {
  background: var(--reboot-primary-dark);
  transform: scale(1.1);
}

.reboot-back-to-top svg { width: 24px; height: 24px; transform: rotate(-90deg); }

/* ========================================================================
   UTILITIES
   ======================================================================== */

.reboot-line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reboot-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reboot-text-center { text-align: center; }
.reboot-hidden { display: none !important; }

@media (max-width: 767px) {
  .reboot-md-hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .reboot-lg-hidden { display: none !important; }
}

.reboot-skeleton {
  background: linear-gradient(90deg, var(--reboot-muted) 25%, var(--reboot-border) 50%, var(--reboot-muted) 75%);
  background-size: 200% 100%;
  animation: reboot-skeleton 1.5s infinite;
}

@keyframes reboot-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================
   WOOCOMMERCE OVERRIDES
   ======================================================================== */

.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }

.woocommerce .reboot-product-card__add.added::after {
  content: '✓';
  position: absolute;
  font-size: 1.5rem;
  color: var(--reboot-success);
}

.reboot-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.reboot-archive-toolbar .woocommerce-result-count { margin: 0; }

.reboot-archive-toolbar .woocommerce-ordering { margin: 0; }

/* ========================================================================
   MEGA MENU (Header Nav with Subcategories on Hover)
   ======================================================================== */

.reboot-nav { position: static; }

.reboot-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.reboot-nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.reboot-nav-item .reboot-nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.reboot-nav-item:hover .reboot-nav-arrow { transform: rotate(180deg); }

.reboot-mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--reboot-surface);
  border: 1px solid var(--reboot-border);
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  min-width: 540px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.reboot-nav-item:hover .reboot-mega-menu,
.reboot-nav-item:focus-within .reboot-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reboot-mega-menu__group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reboot-mega-menu__group-title {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--reboot-border);
}

.reboot-mega-menu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--reboot-text);
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.reboot-mega-menu__link:hover {
  background: var(--reboot-primary-light);
  color: var(--reboot-primary);
}

.reboot-mega-menu__link-icon {
  font-size: 1.125rem;
  line-height: 1;
}

/* ========================================================================
   CATALOG PAGE (Computer/Laptop + Mobile)
   ======================================================================== */

.reboot-catalog-page { background: var(--reboot-bg); }

.reboot-page-hero {
  padding-block: 3rem 2.5rem;
  color: #fff;
}

.reboot-page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0.5rem 0 0.5rem;
}

.reboot-page-hero__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 36rem;
}

.reboot-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.reboot-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.reboot-breadcrumb a:hover { color: #fff; }

.reboot-catalog-categories {
  padding-block: 3rem;
  background: var(--reboot-surface);
}

.reboot-catalog-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .reboot-catalog-categories__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-catalog-categories__grid { grid-template-columns: repeat(4, 1fr); }
}

.reboot-catalog-category {
  background: var(--reboot-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.reboot-catalog-category:hover {
  background: var(--reboot-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.reboot-catalog-category__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--reboot-text);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--reboot-border);
}

.reboot-catalog-category__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.reboot-catalog-category__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--reboot-text);
  margin: 0 0 0.25rem;
}

.reboot-catalog-category__count {
  font-size: 0.75rem;
  color: var(--reboot-text-secondary);
}

.reboot-catalog-category__children {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reboot-catalog-category__children a {
  display: block;
  padding: 0.375rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--reboot-text-secondary);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.reboot-catalog-category__children a:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--reboot-primary);
  padding-right: 0.75rem;
}

.reboot-catalog-products {
  padding-block: 3rem;
}

.reboot-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--reboot-text-secondary);
  background: var(--reboot-surface);
  border-radius: 1rem;
  border: 1px dashed var(--reboot-border);
}

/* ========================================================================
   CONTACT PAGE
   ======================================================================== */

.reboot-contact-page { background: var(--reboot-bg); }

.reboot-contact-section { padding-block: 3rem; }

.reboot-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .reboot-contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.reboot-contact-info {
  background: var(--reboot-surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--reboot-border);
}

.reboot-contact-intro {
  color: var(--reboot-text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.reboot-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--reboot-border);
}

.reboot-contact-item:last-of-type { border-bottom: none; }

.reboot-contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--reboot-primary-light);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.reboot-contact-item__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--reboot-text-secondary);
  margin: 0 0 0.25rem;
}

.reboot-contact-item__value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--reboot-text);
  text-decoration: none;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.reboot-contact-item__value:hover { color: var(--reboot-primary); }

.reboot-contact-item__sub {
  font-size: 0.8125rem;
  color: var(--reboot-text-secondary);
  margin: 0;
}

.reboot-contact-socials {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--reboot-border);
}

.reboot-contact-socials__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--reboot-text-secondary);
  margin: 0 0 1rem;
}

.reboot-contact-socials__icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reboot-contact-social {
  width: 44px;
  height: 44px;
  background: var(--reboot-bg);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.reboot-contact-social:hover {
  background: var(--reboot-primary);
  transform: translateY(-2px);
}

.reboot-contact-form-wrap {
  background: var(--reboot-surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--reboot-border);
}

.reboot-contact-form-intro {
  color: var(--reboot-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.reboot-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reboot-form-row { grid-template-columns: 1fr 1fr; }
}

.reboot-form-field {
  margin-bottom: 1rem;
}

.reboot-form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--reboot-text);
  margin-bottom: 0.5rem;
}

.reboot-form-field label .required {
  color: var(--reboot-error);
}

.reboot-form-field textarea.reboot-input {
  resize: vertical;
  min-height: 120px;
}

.reboot-form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  display: none;
}

.reboot-form-message.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--reboot-success);
  border: 1px solid var(--reboot-success);
}

.reboot-form-message.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: var(--reboot-error);
  border: 1px solid var(--reboot-error);
}

.reboot-contact-map { margin-top: 3rem; }

.reboot-map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ========================================================================
   ABOUT PAGE
   ======================================================================== */

.reboot-about-page { background: var(--reboot-bg); }

.reboot-about-intro { padding-block: 3rem; background: var(--reboot-surface); }

.reboot-about-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .reboot-about-intro__grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

.reboot-about-intro__image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.reboot-about-stats {
  padding-block: 3rem;
  background: var(--reboot-primary);
  color: #fff;
}

.reboot-about-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reboot-about-stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.reboot-about-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reboot-about-stat__icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.reboot-about-stat__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.reboot-about-stat__label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.reboot-about-values { padding-block: 3rem; background: var(--reboot-surface); }

.reboot-about-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .reboot-about-values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-about-values__grid { grid-template-columns: repeat(3, 1fr); }
}

.reboot-about-value {
  padding: 1.5rem;
  background: var(--reboot-bg);
  border-radius: 1rem;
  transition: all 0.2s ease;
}

.reboot-about-value:hover {
  background: var(--reboot-primary-light);
  transform: translateY(-2px);
}

.reboot-about-value__icon {
  width: 56px;
  height: 56px;
  background: var(--reboot-primary-light);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.reboot-about-value:hover .reboot-about-value__icon {
  background: var(--reboot-primary);
  color: #fff;
}

.reboot-about-value__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--reboot-text);
  margin: 0 0 0.5rem;
}

.reboot-about-value__desc {
  font-size: 0.875rem;
  color: var(--reboot-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.reboot-about-services { padding-block: 3rem; background: var(--reboot-bg); }

.reboot-about-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .reboot-about-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reboot-about-services__grid { grid-template-columns: repeat(3, 1fr); }
}

.reboot-about-service {
  background: var(--reboot-surface);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--reboot-border);
  transition: all 0.2s ease;
}

.reboot-about-service:hover {
  border-color: var(--reboot-primary);
  transform: translateY(-2px);
}

.reboot-about-service__icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.reboot-about-service h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--reboot-text);
  margin: 0 0 0.5rem;
}

.reboot-about-service p {
  font-size: 0.875rem;
  color: var(--reboot-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ========================================================================
   GAMES SECTION: Fix button to be vertical (no text wrap)
   ======================================================================== */

.reboot-games__install .reboot-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding-inline: 1.5rem;
  min-width: 180px;
}

@media (max-width: 639px) {
  .reboot-games__install {
    flex-direction: column;
    align-items: stretch;
  }
  .reboot-games__install .reboot-btn {
    width: 100%;
    min-width: 0;
  }
}
