/* ==========================================================================
   INSANE-GENIX // MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION (COMPREHENSIVE)
   ========================================================================== */

/* Universal Mobile Fixes & Overflow Prevention */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* Mobile Floating Bottom Navigation Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 8, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 30, 39, 0.35);
  z-index: 999;
  padding: 0.45rem 0.75rem;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.85);
  transform: translateZ(0);
}

.mobile-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  position: relative;
  transition: color var(--transition-fast);
}

.bottom-nav-item i {
  font-size: 1.15rem;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--primary-red);
}

.bottom-badge {
  position: absolute;
  top: 0;
  right: 2px;
  background: var(--primary-red);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
}

/* ==========================================================================
   TABLET BREAKPOINT (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-3d-stage {
    max-width: 550px;
    margin: 0 auto;
    height: 420px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .verify-banner-card {
    grid-template-columns: 1fr;
    padding: 2.8rem 2rem;
    gap: 2.5rem;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-visual-side {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================================================
   MOBILE DEVICES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  .container {
    padding: 0 1.1rem;
    width: 100%;
    max-width: 100%;
  }

  /* Header & Top Bar Optimization */
  .top-announcement-bar {
    padding: 0.25rem 0;
    font-size: 0.68rem;
  }

  .top-announcement-wrapper {
    gap: 0.4rem;
  }

  .top-announcement-left {
    font-size: 0.66rem;
    gap: 0.35rem;
  }

  .top-flag-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
  }

  .top-announcement-text,
  .top-announcement-divider {
    display: none;
  }

  .top-country-btn {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
  }

  .site-header {
    padding: 0;
  }

  .nav-wrapper {
    gap: 0.5rem;
    padding: 0.55rem 1rem;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.2rem;
    letter-spacing: 0.03em;
  }

  .brand-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .country-btn-trigger {
    padding: 0.35rem 0.6rem;
    font-size: 0.76rem;
    gap: 0.3rem;
  }

  .cart-btn-trigger {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    gap: 0.45rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 1.2rem;
    color: #fff;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 30, 39, 0.3);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem 1.5rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    z-index: 99;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 0.4rem 0;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 115px;
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-badge-wrap {
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.2rem;
    max-width: 100%;
  }

  .hero-badge-text {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-title {
    font-size: 2.35rem;
    line-height: 1.12;
    margin-bottom: 1.2rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2.2rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding-top: 1.5rem;
  }

  .trust-item {
    width: 100%;
  }

  /* 3D Stages Mobile */
  .hero-3d-stage {
    height: 350px;
    border-radius: 18px;
    width: 100%;
  }

  .spatial-3d-badge {
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }

  .stage-control-hint {
    bottom: 0.85rem;
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    white-space: nowrap;
  }

  /* Sections Mobile */
  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }

  .section-title {
    font-size: 2.1rem;
    line-height: 1.18;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Authenticity & Verification Card Mobile */
  .verify-banner-card {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.25rem;
    border-radius: 18px;
    gap: 2rem;
    margin: 2.5rem 0;
  }

  .verify-banner-card h2 {
    font-size: 1.6rem !important;
    line-height: 1.2;
    word-break: break-word;
  }

  .verify-input-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .verify-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
  }

  .verify-input-group .btn {
    width: 100%;
  }

  /* Fake Warning Card Mobile */
  .fake-warning-card {
    padding: 1.6rem 1.25rem;
    margin: 2rem 0;
  }

  .warning-title-text {
    font-size: 1.2rem;
  }

  .domain-comparison-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .domain-url-string {
    font-size: 0.95rem;
  }

  /* Catalog Mobile */
  .catalog-toolbar {
    padding: 1.1rem;
    border-radius: 16px;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .toolbar-top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .search-box-wrap {
    min-width: 100%;
  }

  .filter-sort-group {
    width: 100%;
  }

  .custom-select {
    width: 100%;
  }

  .category-tabs-wrap {
    gap: 0.55rem;
    padding-bottom: 0.4rem;
  }

  .cat-tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }

  .catalog-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.82rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    border-radius: 18px;
  }

  .card-image-wrap {
    height: 215px;
  }

  .card-body {
    padding: 1.25rem;
  }

  .product-brand-title {
    font-size: 1.3rem;
  }

  .product-strength-pill {
    font-size: 0.75rem;
  }

  .card-footer {
    padding-top: 0.95rem;
  }

  .price-value {
    font-size: 1.35rem;
  }

  .add-cart-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
  }

  /* Stats Ticker Mobile */
  .ticker-section {
    padding: 2.2rem 0;
  }

  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ticker-number {
    font-size: 2.2rem;
  }

  .ticker-label {
    font-size: 0.75rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 3.5rem 0 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom div:last-child {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .disclaimer-box {
    padding: 1.1rem;
    font-size: 0.8rem;
    margin-bottom: 2.5rem;
  }

  /* Cart Drawer Mobile */
  .cart-drawer {
    max-width: 100%;
    width: 100%;
    right: -100%;
  }

  .drawer-header {
    padding: 1.25rem;
  }

  .drawer-body {
    padding: 1.25rem;
  }

  .drawer-footer {
    padding: 1.25rem;
  }

  /* Quick View Modal Mobile */
  .modal-dialog {
    max-height: 92vh;
    border-radius: 20px;
    margin: 0.5rem;
  }

  .modal-visual-side {
    padding: 2rem 1.25rem;
  }

  .modal-details-side {
    padding: 1.75rem 1.25rem;
  }

  .modal-product-brand {
    font-size: 1.75rem;
  }

  .specs-meter-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .modal-actions-box {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .modal-actions-box > div:last-child {
    width: 100%;
    justify-content: space-between;
  }

  .modal-actions-box .btn {
    flex: 1;
  }

  /* Show Bottom Sticky Bar */
  .mobile-bottom-bar {
    display: block;
  }
}

/* ==========================================================================
   SMALL SMARTPHONES (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.05rem;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .cart-btn-trigger {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.15;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .verify-banner-card h2 {
    font-size: 1.35rem !important;
  }

  .hero-3d-stage {
    height: 300px;
  }

  .ticker-number {
    font-size: 1.85rem;
  }

  .ticker-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .trust-value {
    font-size: 1rem;
  }

  .product-brand-title {
    font-size: 1.2rem;
  }

  .price-value {
    font-size: 1.25rem;
  }
}
