/* Responsive for Tablet and Mobile - Account CooMeet */

@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .header__inner, .footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    text-align: center;
  }
  .footer__section {
    min-width: 0;
    margin-bottom: 1rem;
  }
  .footer-logo {
    height: 60px;
    margin: 0 auto 1rem auto;
  }
}

@media (max-width: 900px) {
  .header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 8px;
    position: relative;
  }
  .header__logo {
    flex: 0 0 auto;
    z-index: 2101;
  }

  #header-buy-btn {
    display: none;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: 0 8px 32px rgba(44,62,80,0.12);
    z-index: 2001;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 2rem 2rem 2rem;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
    transform: translateY(-30px);
    opacity: 0;
    pointer-events: none;
  }
  .header__nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__nav ul {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    align-items: flex-start;
  }
  .header__burger {
    display: block;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: #23272f;
    cursor: pointer;
    z-index: 2102;
    margin-left: auto;
  }
  .header__burger span {
    font-size: 2.2rem;
    user-select: none;
  }
  body.menu-open {
    overflow: hidden;
  }
  .menu-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,34,40,0.25);
    z-index: 2000;
    animation: fadeInOverlay 0.3s;
  }
  @keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .categories__wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  .category-card {
    min-width: 220px;
    flex: 0 0 auto;
  }
  .accounts-table th.col-expiration,
  .accounts-table td.col-expiration,
  .accounts-table th.col-status,
  .accounts-table td.col-status {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .menu-overlay { display: none !important; }
  .header__nav { display: flex !important; position: static; height: auto; background: none; box-shadow: none; padding: 0; opacity: 1; pointer-events: auto; }
  .hero-buy-btn { display: inline-block !important; }
}

@media (max-width: 700px) {
  .accounts-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100vw;
  }
  .accounts-table {
    min-width: 600px;
  }
  .accounts-table th, .accounts-table td {
    padding: 8px 2px;
    font-size: 0.95rem;
  }
  .accounts-table th {
    font-size: 1rem;
  }
  .accounts-table td {
    font-size: 0.97rem;
  }
  .buy-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }
  .status-badge {
    font-size: 0.95rem;
    padding: 4px 10px;
  }
  .filter-wrapper {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .category-card__description {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .accounts-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100vw;
  }
  .accounts-table {
    min-width: 320px !important;
    width: 100% !important;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .header__logo img, .footer-logo {
    height: 38px;
  }
  .hero-screen {
    padding: 30px 0 20px 0;
    min-height: 180px;
  }
  .h1 {
    font-size: 1.3rem;
  }
  .h2, .section-title {
    font-size: 1.1rem;
  }
  .hero__subtitle, .section-subtitle {
    font-size: 0.98rem;
  }
  .button, .hero-buy-btn {
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    min-width: 0;
  }
  .about__inner, .about__advantages {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .footer__inner {
    gap: 0.7rem;
    padding: 1rem 0 0.5rem 0;
  }
  .footer__section {
    margin-bottom: 0.5rem;
  }
  .footer__bottom {
    font-size: 0.9rem;
  }
  .fun-fact-box {
    padding: 1rem 0.2rem 0.7rem 0.2rem;
  }
  .fun-fact-text {
    font-size: 0.98rem;
  }
  .accounts {
    padding: 1.5rem 0;
  }
  
  /* Categories mobile optimization */
  .categories .h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .categories__wrapper {
    margin-top: 0.8rem;
  }
  
  .category-card {
    margin: 0;
    max-width: none;
  }
  
  /* SEO Text & Reviews ultra-compact */
  .seo-text {
    padding: 0.8rem 0 !important;
  }
  
  .text__inner h2 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .text__inner p {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .text__inner ul {
    margin: 0.5rem 0 !important;
    padding-left: 0.8rem !important;
  }
  
  .text__inner li {
    font-size: 0.75rem !important;
    margin-bottom: 0.2rem !important;
  }
  
  #reviews {
    padding: 0.8rem 0 !important;
  }
  
  #reviews .h2 {
    font-size: 1rem !important;
    margin-bottom: 0.6rem !important;
  }
  
  .wrapper {
    gap: 0.5rem !important;
    margin-top: 0.6rem !important;
  }
  
  .wrapper__item {
    padding: 0.6rem !important;
  }
  
  .review__name {
    font-size: 0.8rem !important;
    margin-bottom: 0.2rem !important;
  }
  
  .review__date {
    font-size: 0.65rem !important;
    margin-bottom: 0.3rem !important;
  }
  
  .review__text {
    font-size: 0.7rem !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .categories .h2 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .category-card {
    max-width: none;
  }
  
  .category-card__logo {
    border-width: 1px;
  }
  
  /* Ultra-compact for very small screens */
  .seo-text {
    padding: 0.5rem 0 !important;
  }
  
  .text__inner h2 {
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  .text__inner p {
    font-size: 0.75rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  .text__inner ul {
    margin: 0.4rem 0 !important;
    padding-left: 0.6rem !important;
  }
  
  .text__inner li {
    font-size: 0.7rem !important;
    margin-bottom: 0.15rem !important;
  }
  
  #reviews {
    padding: 0.5rem 0 !important;
  }
  
  #reviews .h2 {
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  .wrapper {
    gap: 0.4rem !important;
    margin-top: 0.4rem !important;
  }
  
  .wrapper__item {
    padding: 0.5rem !important;
    border-radius: 4px !important;
  }
  
  .review__name {
    font-size: 0.75rem !important;
    margin-bottom: 0.15rem !important;
  }
  
  .review__date {
    font-size: 0.6rem !important;
    margin-bottom: 0.2rem !important;
  }
  
  .review__text {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
  }
}

/* Form & Modal */
@media (max-width: 600px) {
  .contact-form-container, .buy-modal-content {
    padding: 1rem 0.2rem 1rem 0.2rem;
    width: 99vw;
  }
  .modal-close-btn {
    padding: 12px 0;
    font-size: 1rem;
    width: 100%;
  }
}

body {
  overflow-x: hidden !important;
}

html, body {
  max-width: 100vw;
  box-sizing: border-box;
}

@media (max-width: 690px) {
  table.accounts-table th.col-expiration,
  table.accounts-table td.col-expiration,
  table.accounts-table th.col-status,
  table.accounts-table td.col-status {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
} 