/* Rolan Theme - Responsive Styles */

/* Tablet Styles (1024px and below) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .content-section {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .sportsbook-cards {
        gap: 15px;
    }

    .sportsbook-card {
        padding: 15px;
    }

    .sportsbook-logo {
        width: 100px;
        height: 50px;
    }

    .comparison-table {
        font-size: 0.95rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
}

/* Mobile Landscape (768px and below) */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .main-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
        align-self: center;
    }

    .sportsbook-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .card-number {
        align-self: center;
    }

    .sportsbook-logo {
        width: 120px;
        height: 60px;
        align-self: center;
    }

    .card-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-tabs {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .filter-tab {
        min-width: 80px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        text-align: center;
    }

    .comparison-table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        min-width: 120px;
    }

    .section-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .review-title {
        font-size: 1.3rem;
        text-align: center;
    }
}

/* Mobile Portrait (480px and below) */
@media screen and (max-width: 480px) {
    .header-container {
        padding: 10px;
    }

    .main-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .main-nav a {
        padding: 8px 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        display: inline-block;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 70px;
    }

    .sportsbook-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .bonus-features {
        font-size: 0.85rem;
    }

    .play-now-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }

    .content-section {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .review-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .author-bio {
        padding: 15px;
    }

    .author-info h3 {
        font-size: 1.1rem;
    }

    .author-info p {
        font-size: 0.9rem;
    }

    .content-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
        min-width: 100px;
    }

    .pros, .cons {
        padding: 15px;
    }

    .pros h4, .cons h4 {
        font-size: 1rem;
    }

    .pros li, .cons li {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .faq-question {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .faq-answer {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Very Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .sportsbook-card {
        padding: 15px;
    }

    .sportsbook-logo {
        width: 100px;
        height: 50px;
    }

    .filter-tab {
        padding: 5px 10px;
        font-size: 0.8rem;
        min-width: 60px;
    }

    .content-section {
        padding: 15px 10px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px 4px;
        font-size: 0.75rem;
        min-width: 80px;
    }
}

/* Landscape Orientation on Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .header-container {
        padding: 5px 15px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .author-bio {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .sportsbook-card {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }

    .content-section {
        padding: 20px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .sportsbook-logo,
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Note: The original site uses light theme, but this provides dark mode support */
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    .content-section {
        background-color: #2a2a2a;
    }

    .sportsbook-card {
        background-color: #2a2a2a;
        border-color: #dba440;
    }

    .author-bio {
        background-color: #333;
    }

    .comparison-table {
        background-color: #2a2a2a;
    }

    .comparison-table th {
        background-color: #333;
    }

    .comparison-table tr:hover {
        background-color: #333;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .play-now-btn:hover,
    .filter-tab:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .sportsbook-card {
        border-width: 3px;
    }

    .play-now-btn {
        border: 2px solid #fff;
    }

    .filter-tab {
        border: 1px solid #333;
    }
}

/* Print Optimizations */
@media print {
    .header,
    .footer,
    .play-now-btn,
    .filter-tabs {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .sportsbook-card {
        border: 1px solid #000;
        page-break-inside: avoid;
        margin-bottom: 20px;
        padding: 15px;
    }

    .hero-title {
        font-size: 24pt;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 18pt;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .comparison-table {
        page-break-inside: avoid;
        font-size: 10pt;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px;
        border: 1px solid #000;
    }

    .pros-cons {
        display: block;
    }

    .pros, .cons {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}
