/*
 * Milano Eyes Fashion Reward - 响应式样式
 * 针对不同设备尺寸优化显示效果
 */

/* 大屏幕设备 (大于等于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 平板和小型桌面 (小于1200px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .membership-content, 
    .points-content, 
    .rewards-content, 
    .referral-content, 
    .contact-content {
        flex-direction: column;
    }
    
    .membership-benefits,
    .points-summary,
    .referral-info {
        margin-bottom: 40px;
    }
    
    .membership-card {
        margin-bottom: 30px;
    }
}

/* 平板设备 (小于992px) */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .membership-benefits h3,
    .points-history h3,
    .points-calculator h3,
    .available-coupons h3,
    .rewards-catalog h3,
    .referral-info h3,
    .referral-process h3 {
        font-size: 1.6rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 12px 0;
        width: 100%;
        display: block;
    }
    
    .nav-link {
        display: inline-block;
        padding: 10px 15px;
        width: 80%;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: rgba(212, 175, 55, 0.1);
    }
    
    .login-btn {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .login-btn .nav-link {
        width: 60%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-bottom: 20px;
    }
}

/* 手机设备 (小于768px) */
@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
    
    .benefits-list li {
        font-size: 1rem;
    }
    
    .points-balance .balance-amount {
        font-size: 2.5rem;
    }
    
    .history-table {
        font-size: 0.8rem;
    }
    
    .rewards-filter {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        margin-bottom: 10px;
    }
    
    .rewards-grid, .coupons-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        width: 100%;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
    }
}

/* 小型手机设备 (小于576px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .card-front, .card-back {
        padding: 15px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-id, .member-since {
        font-size: 0.8rem;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .social-buttons {
        flex-wrap: wrap;
    }
    
    .social-btn {
        margin-bottom: 10px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
  .point-detail-container {
    padding: 10px;
  }
  .point-history-item {
    font-size: 14px;
    padding: 8px;
  }
  .point-detail-header h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .point-detail-container {
    padding: 10px;
  }
  .point-history-item {
    font-size: 14px;
    padding: 8px;
  }
  .point-detail-header h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .point-detail-container {
    padding: 10px;
  }
  .point-history-item {
    font-size: 14px;
    padding: 8px;
  }
  .point-detail-header h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .point-detail-container {
    padding: 10px;
  }
  .point-history-item {
    font-size: 14px;
    padding: 8px;
  }
  .point-detail-header h2 {
    font-size: 18px;
  }
}
