/* ==========================================================================
   AlfaHesap — Responsive Stylesheet
   Adapts Roda-inspired esports gaming UI for tablet and mobile screens
   ========================================================================== */

/* --- Mobile, Tablet & Compact Screens (< 1200px) --- */
@media (max-width: 1199.98px) {
  :root {
    --container-pad: 24px;
  }

  /* Header — Clean Mobile Layout with Drawer Button */
  .gaming-nav {
    display: none !important;
  }

  .header-actions {
    gap: 10px !important;
  }

  .header-desktop-only,
  .header-actions .currency-switcher-wrap,
  .header-actions .lang-dropdown-wrap,
  .header-actions .btn-gaming-primary,
  .header-actions .btn-gaming-outline,
  .header-actions .header-btn-panel {
    display: none !important;
  }

  .header-actions .btn-header-cart {
    display: inline-flex !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .space-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .gaming-hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-artwork-frame {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Trust Factor Elevation Strip */
  .trust-stages-pills-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Services Carousel */
  .service-slide-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  /* Flagship Stage */
  .flagship-stage-frame {
    padding: 36px 24px;
  }

  .btn-flagship-arrow {
    top: 220px;
    z-index: 50;
  }

  .btn-flagship-arrow.arrow-prev {
    left: 4px;
  }

  .btn-flagship-arrow.arrow-next {
    right: 4px;
  }

  .flagship-product-tabs {
    gap: 8px;
    margin-bottom: 28px;
  }

  .flagship-tab-pill {
    font-size: 12px;
    padding: 7px 13px;
  }

  .flagship-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .flagship-product-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .number-main-row {
    justify-content: center;
  }

  .product-tag-row {
    justify-content: center;
  }

  .flagship-action-bar {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .variant-features-row {
    justify-content: center;
  }

  /* Product Universe */
  .categories-asymmetric-grid {
    grid-template-columns: 1fr;
  }

  .tile-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .tile-wide {
    grid-column: auto;
  }

  .wide-tile-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Pipeline Process */
  .process-pipeline-grid {
    flex-direction: column;
    gap: 24px;
  }

  .pipeline-arrow-divider {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .divider-glow-line {
    display: none;
  }

  /* Showcase */
  .panel-showcase-wrapper {
    padding: 40px 24px;
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* FAQ */
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Playhost Global Map Section */
  .playhost-map-stage-frame {
    padding: 32px 20px;
  }

  .playhost-locations-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .map-hud-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Testimonials */
  .testimonials-gaming-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* --- Mobile Devices (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }

  html,
  body {
    overflow-x: clip !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
  }

  main,
  #main-content {
    overflow-x: clip !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
  }

  .container,
  .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Header */
  .gaming-header {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 12px 0 !important;
    box-sizing: border-box !important;
  }

  .header-inner {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
  }

  .logo-crest {
    width: 32px !important;
    height: 32px !important;
  }

  .logo-title {
    font-size: 16.5px !important;
    letter-spacing: -0.02em !important;
  }

  .gaming-nav {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }

  .header-actions .btn-gaming-primary,
  .header-actions .btn-gaming-outline,
  .header-actions .header-btn-panel {
    display: none !important;
  }

  .header-actions .btn-header-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 34px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }

  .header-actions .btn-header-cart:hover,
  .header-actions .btn-header-cart:active {
    background: rgba(0, 230, 168, 0.12) !important;
    border-color: var(--accent-green) !important;
    color: var(--accent-green) !important;
  }

  .header-actions .btn-header-cart i {
    font-size: 14px !important;
  }

  .header-actions .btn-header-cart .cart-count-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 0 4px !important;
    border-radius: 50% !important;
    background-color: var(--accent-green) !important;
    color: #06090e !important;
    border: 2px solid #080c14 !important;
    box-shadow: 0 0 10px rgba(0, 230, 168, 0.8) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    z-index: 99 !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    width: 38px !important;
    height: 34px !important;
    padding: 7px 7px !important;
    flex-shrink: 0 !important;
  }

  /* Hero */
  .gaming-hero {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    min-height: auto !important;
    padding-top: 86px !important;
    padding-bottom: 45px !important;
    box-sizing: border-box !important;
  }

  .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-layout {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 100% !important;
    gap: 32px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-headline {
    font-size: clamp(26px, 7.5vw, 32px) !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
  }

  .hero-description {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 26px !important;
    max-width: 100% !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
  }

  .btn-hero-lg,
  .hero-cta-group .btn-gaming-primary,
  .hero-cta-group .btn-gaming-free,
  .hero-cta-group .btn-gaming-outline {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  .hero-trust-bar {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .trust-divider {
    display: none !important;
  }

  .hero-visual-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .hero-artwork-frame {
    width: 100% !important;
    max-width: min(100%, 340px) !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
    position: relative !important;
  }

  .artwork-backdrop-polygon {
    inset: -6px !important;
  }

  .artwork-laser-line {
    display: none !important;
  }

  .floating-hud-badge {
    padding: 6px 10px !important;
    gap: 8px !important;
    max-width: 48% !important;
    box-sizing: border-box !important;
  }

  .floating-hud-badge .hud-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }

  .floating-hud-badge .hud-info {
    overflow: hidden !important;
    text-align: left !important;
  }

  .floating-hud-badge .hud-label {
    font-size: 8.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .floating-hud-badge .hud-val {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .badge-hud-top-left,
  .badge-leader {
    left: 2px !important;
    top: 6px !important;
  }

  .badge-hud-mid-left {
    left: 2px !important;
    top: 90px !important;
  }

  .badge-hud-bottom-left {
    left: 2px !important;
    bottom: 6px !important;
  }

  .badge-hud-top-right {
    right: 2px !important;
    top: 6px !important;
  }

  .badge-hud-mid-right {
    right: 2px !important;
    top: 90px !important;
  }

  .badge-hud-bottom-right,
  .badge-friendly {
    right: 2px !important;
    bottom: 6px !important;
  }

  /* Trust Factor Elevation Strip Mobile */
  .trust-monitor-hud-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hud-status-group {
    width: 100%;
  }

  .hud-status-group.status-success {
    justify-content: flex-start;
  }

  .hud-status-group.status-success .status-text-wrap {
    text-align: left;
  }

  .hud-center-badge {
    width: 100%;
    justify-content: space-between;
  }

  .trust-graph-stage {
    height: 150px;
  }

  .services-carousel-wrapper {
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .services-slider-track {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .service-slide-item {
    flex: 0 0 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Flagship Stage Mobile */
  .section-flagship {
    overflow: hidden !important;
    max-width: 100% !important;
  }

  .flagship-stage-frame {
    padding: 24px 16px;
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .flagship-product-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cs2-live-showcase-wrap {
    overflow: hidden !important;
    max-width: 100% !important;
  }

  .section-why,
  .section-process,
  .section-social-proof,
  .section-global-reach,
  .section-testimonials,
  .section-faq,
  .space-section {
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .flagship-product-tabs::-webkit-scrollbar {
    display: none;
  }

  .flagship-tab-pill {
    flex-shrink: 0;
    font-size: 11.5px;
    padding: 6px 12px;
  }

  .btn-flagship-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px;
    top: 195px;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 230, 168, 0.4);
  }

  .btn-flagship-arrow.arrow-prev {
    left: 4px;
  }

  .btn-flagship-arrow.arrow-next {
    right: 4px;
  }

  .flagship-arrow-tooltip {
    display: none !important;
  }

  /* CS2 1:1 In-Game Profile Card Responsive Scaling */
  .cs2-card-perspective,
  .cs2-card-tilt,
  .flagship-card-view,
  .cs2-in-game-card,
  .cs2-stattrack-card,
  .steam-comments-card,
  .steam-group-card,
  .steam-likes-card,
  .steam-followers-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .cs2-dynamic-stat {
    font-size: clamp(10px, 3.2vw, 13.5px);
  }

  /* Variants */
  .variant-buttons-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 7px 7px;
  }

  .btn-variant-polygon {
    grid-column: span 6;
    padding: 6px 6px;
    min-height: 42px;
  }

  .btn-variant-polygon .var-num {
    font-size: 12.5px;
  }

  .btn-variant-polygon .var-sub {
    font-size: 9px;
  }

  .btn-variant-polygon.span-12,
  .btn-variant-polygon:last-child:nth-child(odd) {
    grid-column: span 12;
  }

  @media (min-width: 481px) and (max-width: 768px) {
    .btn-variant-polygon {
      grid-column: span 4;
    }
  }

  .breakdown-badges-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .action-buttons-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-action-lg {
    width: 100%;
  }

  /* Showcase Console */
  .console-input-group {
    flex-direction: column;
  }

  .btn-console-verify {
    padding: 12px;
    justify-content: center;
  }

  .sim-data-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Monumental Social Proof */
  .monumental-stat-box {
    padding: 48px 20px;
  }

  .big-counter-number {
    font-size: 58px;
  }

  .big-counter-plus {
    font-size: 36px;
  }

  .factual-badges-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .fact-badge-item {
    justify-content: center;
  }

  /* Playhost Global Map Mobile */
  .playhost-map-hotspot-wrapper {
    padding: 4px;
    margin-bottom: 24px;
  }

  .de-spot-label {
    font-size: 9px;
    padding: 3px 14px 3px 8px;
    left: 12px;
  }

  .de-spot-tr .de-circle-1 { width: 12px; height: 12px; }
  .de-spot-tr .de-circle-2 { width: 30px; height: 30px; }
  .de-spot-us .de-circle-1 { width: 10px; height: 10px; }
  .de-spot-us .de-circle-2 { width: 24px; height: 24px; }
  .de-spot-ru .de-circle-1 { width: 9px; height: 9px; }
  .de-spot-ru .de-circle-2 { width: 20px; height: 20px; }
  .de-spot-cn .de-circle-1 { width: 8px; height: 8px; }
  .de-spot-cn .de-circle-2 { width: 18px; height: 18px; }

  .playhost-locations-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Footer */
  .footer-watermark {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  /* Modals */
  .gaming-modal-dialog {
    padding: 28px 20px;
  }

  .payment-method-selector {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESPONSIVE — STORE, CART & CHECKOUT
   ========================================================================== */
@media (max-width: 1024px) {
  .product-store-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .store-left-col {
    position: static;
  }

  .cart-page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-summary-sidebar {
    position: static;
  }

  .checkout-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-right-col {
    position: static;
  }

  .store-category-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .store-categories-bar {
    padding: 6px;
    margin: 20px 0 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .store-category-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: max-content;
  }

  .store-cat-tab {
    min-width: 150px;
    padding: 10px 12px;
  }

  .store-info-card,
  .package-table-container,
  .cart-table-panel,
  .cart-summary-sidebar,
  .checkout-card {
    padding: 20px 16px;
  }

  .purchase-summary-top {
    flex-direction: column;
    gap: 12px;
  }

  .summary-price-wrap {
    text-align: left;
  }

  .purchase-summary-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .billing-conditional-fields {
    grid-template-columns: 1fr;
  }

  .checkout-trust-grid {
    grid-template-columns: 1fr;
  }

  .cart-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .coupon-form-group {
    width: 100%;
  }

  .coupon-input {
    flex: 1;
    width: auto;
  }
}



