/* Responsive Design */

/* Extra Large Desktop (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Large Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
  .container {
    max-width: 1200px;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .overview-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .payouts-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .game-modes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .nav {
    padding: var(--spacing-sm);
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 var(--spacing-sm);
  }
  
  .hero-usp {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .usp-card {
    padding: var(--spacing-sm);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .strategies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-content {
    grid-template-columns: 1fr;
  }
  
  .payouts-content {
    grid-template-columns: 1fr;
  }
  
  .game-modes {
    grid-template-columns: 1fr;
  }
  
  .floating-ball {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 0 var(--spacing-sm);
  }
  
  .nav {
    padding: var(--spacing-sm);
    min-height: 70px;
  }
  
  .nav-logo img {
    height: 35px;
  }
  
  .nav-actions {
    gap: var(--spacing-xs);
  }
  
  .btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
    min-width: 120px;
  }
  
  .btn-large {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    min-width: 200px;
  }
  
  .hero {
    min-height: 90vh;
    padding: var(--spacing-xl) 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-usp {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }
  
  .usp-card {
    padding: var(--spacing-sm);
  }
  
  .usp-icon {
    font-size: 1.5rem;
  }
  
  .usp-text {
    font-size: 0.8rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }
  
  .section-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .step-card {
    padding: var(--spacing-md);
  }
  
  .step-icon {
    font-size: 2rem;
  }
  
  .step-title {
    font-size: 1.125rem;
  }
  
  .step-description {
    font-size: 0.9rem;
  }
  
  .game-modes {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .mode-content {
    padding: var(--spacing-md);
  }
  
  .quick-tip {
    padding: var(--spacing-md);
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .quick-tip i {
    font-size: 1.25rem;
  }
  
  .overview-table {
    font-size: 0.9rem;
  }
  
  .overview-table td {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .payouts-table {
    font-size: 0.9rem;
  }
  
  .payouts-table th,
  .payouts-table td {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .feature-card {
    padding: var(--spacing-md);
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .strategies-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .strategy-card {
    padding: var(--spacing-md);
  }
  
  .strategy-icon {
    font-size: 2rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .review-card {
    padding: var(--spacing-md);
  }
  
  .review-avatar {
    width: 50px;
    height: 50px;
  }
  
  .review-avatar i {
    font-size: 1.25rem;
  }
  
  .faq-question {
    padding: var(--spacing-md);
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
  }
  
  .final-cta {
    min-height: 70vh;
    padding: var(--spacing-xl) 0;
  }
  
  .final-cta-title {
    font-size: 2rem;
  }
  
  .final-cta-description {
    font-size: 1rem;
  }
  
  .age-warning {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .floating-ball {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
  }

  .nav-menu {
    top: 60px !important;
  }
  
  .nav {
    padding: var(--spacing-xs) var(--spacing-sm);
    min-height: 60px;
  }
  
  .nav-logo img {
    height: 30px;
  }
  
  .nav-actions {
    gap: var(--spacing-xs);
  }
  
  .btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    min-width: 100px;
  }
  
  .btn-large {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.95rem;
    min-width: 180px;
  }
  
  .hero {
    min-height: 90vh;
    padding: var(--spacing-lg) 0;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-usp {
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
  }
  
  .usp-card {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .usp-icon {
    font-size: 1.25rem;
  }
  
  .usp-text {
    font-size: 0.75rem;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .section-description {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .step-card {
    padding: var(--spacing-sm);
  }
  
  .step-number {
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
  
  .step-icon {
    font-size: 1.75rem;
    margin: var(--spacing-sm) 0;
  }
  
  .step-title {
    font-size: 1rem;
  }
  
  .step-description {
    font-size: 0.85rem;
  }
  
  .game-modes {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .mode-content {
    padding: var(--spacing-sm);
  }
  
  .mode-title {
    font-size: 1.125rem;
  }
  
  .mode-description {
    font-size: 0.85rem;
  }
  
  .quick-tip {
    padding: var(--spacing-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .quick-tip i {
    font-size: 1rem;
  }
  
  .quick-tip p {
    font-size: 0.85rem;
  }
  
  .overview-table {
    font-size: 0.8rem;
  }
  
  .overview-table td {
    padding: var(--spacing-xs);
  }
  
  .overview-table td:first-child {
    width: 35%;
  }
  
  .payouts-table {
    font-size: 0.8rem;
  }
  
  .payouts-table th,
  .payouts-table td {
    padding: var(--spacing-xs);
  }
  
  .payouts-table th:first-child,
  .payouts-table td:first-child {
    width: 30%;
  }
  
  .gold-round-info {
    padding: var(--spacing-sm);
  }
  
  .gold-round-info i {
    font-size: 1.5rem;
  }
  
  .gold-round-info h3 {
    font-size: 1.125rem;
  }
  
  .gold-round-info p {
    font-size: 0.85rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .feature-card {
    padding: var(--spacing-sm);
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .feature-title {
    font-size: 1.125rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }
  
  .feature-points li {
    font-size: 0.85rem;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .pros, .cons {
    padding: var(--spacing-sm);
  }
  
  .pros h3, .cons h3 {
    font-size: 1rem;
  }
  
  .pros li, .cons li {
    font-size: 0.85rem;
  }
  
  .strategies-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .strategy-card {
    padding: var(--spacing-sm);
  }
  
  .strategy-icon {
    font-size: 1.75rem;
  }
  
  .strategy-title {
    font-size: 1rem;
  }
  
  .strategy-description {
    font-size: 0.85rem;
  }
  
  .strategy-warning {
    padding: var(--spacing-sm);
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .strategy-warning i {
    font-size: 1.25rem;
  }
  
  .strategy-warning p {
    font-size: 0.85rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .review-card {
    padding: var(--spacing-sm);
  }
  
  .review-avatar {
    width: 40px;
    height: 40px;
  }
  
  .review-avatar i {
    font-size: 1rem;
  }
  
  .review-author {
    font-size: 0.95rem;
  }
  
  .review-text {
    font-size: 0.8rem;
  }
  
  .faq-question {
    padding: var(--spacing-sm);
  }
  
  .faq-question h3 {
    font-size: 0.95rem;
  }
  
  .faq-answer p {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
    font-size: 0.85rem;
  }
  
  .final-cta {
    min-height: 60vh;
    padding: var(--spacing-lg) 0;
  }
  
  .final-cta-title {
    font-size: 1.75rem;
  }
  
  .final-cta-description {
    font-size: 0.95rem;
  }
  
  .final-cta-subtitle {
    font-size: 1rem;
  }
  
  .age-warning {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
    padding: var(--spacing-sm);
  }
  
  .age-warning i {
    font-size: 1.25rem;
  }
  
  .age-warning span {
    font-size: 1.25rem;
  }
  
  .age-warning p {
    font-size: 0.85rem;
  }
  
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .footer-column h4 {
    font-size: 1rem;
  }
  
  .footer-column p {
    font-size: 0.85rem;
  }
  
  .footer-column ul li a {
    font-size: 0.85rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
  
  .disclaimer {
    font-size: 0.75rem !important;
  }
  
  .floating-ball {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  
  .preloader-field {
    width: 250px;
    height: 150px;
  }
  
  .preloader-goal {
    width: 150px;
    height: 75px;
  }
  
  .preloader-progress {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .nav-actions .btn-secondary {
    display: none;
  }
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .overview-content, .payouts-content, .pros-cons-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  section {
    text-align: center;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    padding-top: 20px;
    transition: right 0.3s ease;
    z-index: 9999;
  }
  
  .nav-menu.active {
    right: 0;
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-link {
    font-size: 1.5rem;
    color: var(--color-white);
  }
  
  .nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
  }
  
  .nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Print Styles */
@media print {
  .header,
  .floating-ball,
  .preloader,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: var(--spacing-lg) 0;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .hero-background,
  .final-cta-background {
    display: none;
  }
  
  .hero-overlay,
  .final-cta-overlay {
    display: none;
  }
  
  .hero-content,
  .final-cta-content {
    color: var(--color-dark);
  }
  
  .hero-title,
  .final-cta-title {
    text-shadow: none;
  }
  
  .hero-description,
  .final-cta-description {
    text-shadow: none;
  }
  
  .hero-subtitle,
  .final-cta-subtitle {
    text-shadow: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-secondary: #0000FF;
    --color-accent: #FFD700;
    --color-dark: #000000;
    --color-medium-gray: #333333;
    --color-light-gray: #F0F0F0;
  }
  
  .btn-primary {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
  }
  
  .btn-secondary {
    border: 2px solid var(--color-dark);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-ball {
    animation: none;
  }
  
  .hero-scroll {
    animation: none;
  }
  
  .preloader-ball {
    animation: none;
  }
  
  .preloader-goal {
    animation: none;
  }
}
