/* ========================================
   EA SPORTS FC 26 - Responsive Styles
   ======================================== */

/* ========================================
   Large Desktop (1400px and up)
   ======================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .container-wide {
    max-width: 1600px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Desktop (1200px to 1399px)
   ======================================== */
@media (max-width: 1399px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* ========================================
   Tablet Landscape (992px to 1199px)
   ======================================== */
@media (max-width: 1199px) {
  .header-container {
    padding: 0 var(--spacing-md);
  }
  
  .main-nav {
    margin-left: var(--spacing-xl);
  }
  
  .nav-list {
    gap: var(--spacing-lg);
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .countdown-timer {
    gap: var(--spacing-md);
  }
  
  .countdown-item {
    min-width: 70px;
    padding: var(--spacing-md);
  }
  
  .countdown-number {
    font-size: var(--font-size-2xl);
  }
}

/* ========================================
   Tablet Portrait (768px to 991px)
   ======================================== */
@media (max-width: 991px) {
  /* Header */
  .header-container {
    height: 70px;
  }
  
  .logo {
    height: 35px;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .header-right {
    gap: var(--spacing-md);
  }
  
  .cta-button.pre-order-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
  }
  
  /* Hero Section */
  .hero-section {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xl);
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .hero-platforms {
    margin-top: var(--spacing-xl);
  }
  
  .platform-icons {
    gap: var(--spacing-md);
  }
  
  .platform-icon {
    height: 28px;
  }
  
  /* Limited Offer */
  .limited-offer {
    padding: var(--spacing-3xl) 0;
  }
  
  .offer-content h2 {
    font-size: var(--font-size-2xl);
  }
  
  .offer-content p {
    font-size: var(--font-size-base);
  }
  
  .countdown-timer {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
  
  .countdown-item {
    min-width: 60px;
    padding: var(--spacing-sm);
  }
  
  .countdown-number {
    font-size: var(--font-size-xl);
  }
  
  .countdown-label {
    font-size: var(--font-size-xs);
  }
  
  /* Features */
  .features-preview {
    padding: var(--spacing-3xl) 0;
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
  }
  
  .feature-content {
    padding: var(--spacing-lg);
  }
  
  /* News */
  .latest-news {
    padding: var(--spacing-3xl) 0;
  }
  
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  /* Newsletter */
  .newsletter-signup {
    padding: var(--spacing-3xl) 0;
  }
  
  .newsletter-content h2 {
    font-size: var(--font-size-2xl);
  }
  
  .form-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    padding: var(--spacing-2xl) 0;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }
  
  .footer-copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }
}

/* ========================================
   Mobile Large (576px to 767px)
   ======================================== */
@media (max-width: 767px) {
  /* Global */
  .container,
  .container-wide {
    padding: 0 var(--spacing-md);
  }
  
  /* Header */
  .header-container {
    height: 60px;
    padding: 0 var(--spacing-sm);
  }
  
  .logo {
    height: 30px;
  }
  
  .cta-button.pre-order-btn {
    display: none;
  }
  
  .language-selector {
    display: none;
  }
  
  /* Hero Section */
  .hero-section {
    height: 70vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-normal);
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
  }
  
  .hero-platforms h3 {
    font-size: var(--font-size-sm);
  }
  
  .platform-icons {
    gap: var(--spacing-sm);
  }
  
  .platform-icon {
    height: 24px;
  }
  
  .hero-release {
    bottom: var(--spacing-lg);
  }
  
  .release-date {
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-md);
  }
  
  /* Limited Offer */
  .limited-offer {
    padding: var(--spacing-2xl) 0;
  }
  
  .offer-container {
    padding: 0 var(--spacing-sm);
  }
  
  .offer-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
  }
  
  .offer-content p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
  }
  
  .countdown-timer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
  }
  
  .countdown-item {
    flex: 1;
    min-width: 50px;
    padding: var(--spacing-sm);
  }
  
  .countdown-number {
    font-size: var(--font-size-lg);
  }
  
  .countdown-label {
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-xs);
  }
  
  /* Features */
  .features-preview {
    padding: var(--spacing-2xl) 0;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-2xl);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .feature-image {
    height: 180px;
  }
  
  .feature-content {
    padding: var(--spacing-md);
  }
  
  .feature-content h3 {
    font-size: var(--font-size-base);
  }
  
  .feature-content p {
    font-size: var(--font-size-sm);
  }
  
  /* News */
  .latest-news {
    padding: var(--spacing-2xl) 0;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  /* Newsletter */
  .newsletter-signup {
    padding: var(--spacing-2xl) 0;
  }
  
  .newsletter-content {
    padding: 0 var(--spacing-sm);
  }
  
  .newsletter-content h2 {
    font-size: var(--font-size-xl);
  }
  
  .newsletter-content p {
    font-size: var(--font-size-sm);
  }
  
  .form-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .form-group input[type="email"] {
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
  
  .checkbox-label {
    font-size: var(--font-size-xs);
  }
  
  /* Footer */
  .footer-container {
    padding: 0 var(--spacing-sm);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
  }
  
  .footer-section h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    padding: var(--spacing-lg) 0;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .rating-badges {
    justify-content: center;
  }
  
  .purchase-info {
    align-items: center;
  }
  
  .footer-disclaimer {
    text-align: center;
  }
  
  .footer-disclaimer p {
    font-size: var(--font-size-xs);
  }
  
  .footer-copyright {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  /* Video Modal */
  .modal-content {
    width: 95%;
    margin: 0 var(--spacing-sm);
  }
  
  .modal-close {
    top: -35px;
    right: 0;
  }
}

/* ========================================
   Mobile Small (up to 575px)
   ======================================== */
@media (max-width: 575px) {
  /* Global */
  .container,
  .container-wide {
    padding: 0 var(--spacing-sm);
  }
  
  /* Header */
  .header-container {
    height: 55px;
    padding: 0 var(--spacing-xs);
  }
  
  .logo {
    height: 28px;
  }
  
  .hamburger-line {
    width: 20px;
    height: 2px;
  }
  
  /* Hero Section */
  .hero-section {
    height: 60vh;
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-normal);
  }
  
  .hero-content {
    padding: 0 var(--spacing-xs);
  }
  
  .cta-button {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
  
  .platform-icons {
    gap: var(--spacing-xs);
  }
  
  .platform-icon {
    height: 20px;
  }
  
  .release-date {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  /* Limited Offer */
  .limited-offer {
    padding: var(--spacing-xl) 0;
  }
  
  .offer-content h2 {
    font-size: var(--font-size-lg);
  }
  
  .offer-content p {
    font-size: var(--font-size-xs);
  }
  
  .countdown-timer {
    gap: var(--spacing-xs);
  }
  
  .countdown-item {
    padding: var(--spacing-xs);
    min-width: 45px;
  }
  
  .countdown-number {
    font-size: var(--font-size-base);
  }
  
  .countdown-label {
    font-size: 10px;
  }
  
  /* Features */
  .features-preview {
    padding: var(--spacing-xl) 0;
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .feature-image {
    height: 150px;
  }
  
  .feature-content {
    padding: var(--spacing-sm);
  }
  
  .feature-content h3 {
    font-size: var(--font-size-sm);
  }
  
  .feature-content p {
    font-size: var(--font-size-xs);
  }
  
  /* News */
  .latest-news {
    padding: var(--spacing-xl) 0;
  }
  
  /* Newsletter */
  .newsletter-signup {
    padding: var(--spacing-xl) 0;
  }
  
  .newsletter-content h2 {
    font-size: var(--font-size-lg);
  }
  
  .newsletter-content p {
    font-size: var(--font-size-xs);
  }
  
  .form-group input[type="email"] {
    padding: var(--spacing-xs);
    font-size: var(--font-size-xs);
  }
  
  .checkbox-label {
    font-size: 10px;
  }
  
  /* Footer */
  .footer-top {
    padding: var(--spacing-lg) 0;
  }
  
  .footer-section h3 {
    font-size: var(--font-size-sm);
  }
  
  .footer-links a {
    font-size: var(--font-size-xs);
  }
  
  .social-link {
    width: 35px;
    height: 35px;
  }
  
  .footer-bottom {
    padding: var(--spacing-md) 0;
  }
  
  .rating-badge {
    height: 30px;
  }
  
  .rating-text {
    font-size: var(--font-size-xs);
  }
  
  .purchase-info span {
    font-size: var(--font-size-xs);
  }
  
  .footer-disclaimer p {
    font-size: 10px;
  }
  
  .footer-copyright p {
    font-size: var(--font-size-xs);
  }
  
  .trust-badge {
    height: 25px;
  }
}

/* ========================================
   Mobile Extra Small (up to 375px)
   ======================================== */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 10px;
  }
  
  .countdown-item {
    min-width: 40px;
    padding: 6px;
  }
  
  .countdown-number {
    font-size: var(--font-size-sm);
  }
  
  .countdown-label {
    font-size: 9px;
  }
  
  .cta-button {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
}

/* ========================================
   Landscape Mobile (height < 500px)
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    min-height: 300px;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-xs);
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-cta {
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-platforms {
    margin-top: var(--spacing-sm);
  }
  
  .hero-release {
    bottom: var(--spacing-sm);
  }
  
  .release-date {
    font-size: var(--font-size-xs);
    padding: 4px var(--spacing-sm);
  }
}

/* ========================================
   High DPI Displays
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo,
  .platform-icon,
  .rating-badge,
  .trust-badge {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ========================================
   Reduced Motion Preferences
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-video {
    display: none;
  }
  
  .countdown-timer.urgent .countdown-item {
    animation: none;
  }
}

/* ========================================
   Dark Mode Support (if needed)
   ======================================== */
@media (prefers-color-scheme: dark) {
  /* The site is already dark-themed, but we can add specific dark mode adjustments here */
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .global-header,
  .global-footer,
  .cta-button,
  .video-modal,
  .countdown-timer,
  .newsletter-signup {
    display: none !important;
  }
  
  .hero-section {
    height: auto;
    min-height: auto;
    page-break-after: always;
  }
  
  .hero-video {
    display: none;
  }
  
  .hero-overlay {
    background: none;
  }
  
  .hero-title {
    color: black !important;
    background: none !important;
    -webkit-text-fill-color: black !important;
  }
  
  .hero-subtitle {
    color: black !important;
  }
  
  .features-preview,
  .latest-news {
    page-break-inside: avoid;
  }
  
  .feature-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
  }
  
  .feature-image {
    display: none;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
} 