/* responsive.css - Responsive styles for Racing Destiny */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .game-title {
        font-size: 3rem;
    }
    
    .game-subtitle {
        font-size: 1.6rem;
    }
    
    .drivers-container,
    .circuits-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .championship-animation {
        height: 300px;
    }
    
    .birthday-header {
        font-size: 2.5rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .game-title {
        font-size: 2.2rem;
    }
    
    .game-subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    
    .intro-container p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .drivers-container,
    .circuits-container {
        grid-template-columns: 1fr;
    }
    
    .driver-option,
    .circuit-option {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .decision-options {
        gap: 8px;
    }
    
    .decision-option {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .championship-animation {
        height: 250px;
    }
    
    .victory-text {
        font-size: 2rem;
    }
    
    .birthday-header {
        font-size: 2rem;
    }
    
    .message-container {
        font-size: 1rem;
    }
    
    .racing-lights {
        margin-top: 30px;
    }
    
    .light {
        width: 20px;
        height: 20px;
        margin: 0 8px;
    }
    
    .share-options {
        flex-direction: column;
        gap: 10px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .game-title {
        font-size: 1.8rem;
    }
    
    .game-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .intro-container {
        margin-bottom: 20px;
    }
    
    .game-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .rev-counter {
        width: 150px;
        height: 75px;
    }
    
    .rev-needle {
        height: 60px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .driver-option h3,
    .circuit-option h3 {
        font-size: 1.2rem;
    }
    
    .driver-option p,
    .circuit-option p {
        font-size: 0.85rem;
        min-height: 70px;
    }
    
    .championship-animation {
        height: 200px;
    }
    
    .victory-text {
        font-size: 1.5rem;
    }
    
    .celebration-text {
        font-size: 1.5rem;
    }
    
    .birthday-header {
        font-size: 1.7rem;
    }
    
    .interviewer-image {
        width: 60px;
        height: 60px;
    }
    
    .question-container h3 {
        font-size: 1.1rem;
    }
    
    .system-message {
        font-size: 1.5rem;
    }
    
    .reveal-message {
        font-size: 1.2rem;
    }
    
    .interview-timer {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        align-self: flex-end;
    }
}

/* Landscape Mode Fixes */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .game-section {
        padding: 10px;
    }
    
    .section-content {
        max-width: 90%;
    }
    
    .game-title {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .game-subtitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .intro-container {
        margin-bottom: 15px;
    }
    
    .intro-container p {
        margin-bottom: 8px;
    }
    
    .name-input-container {
        margin: 10px 0;
    }
    
    .rev-counter {
        margin-top: 15px;
    }
    
    .racing-lights {
        margin-top: 15px;
    }
    
    .drivers-container,
    .circuits-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .driver-option,
    .circuit-option {
        padding: 10px;
    }
    
    .driver-image,
    .circuit-image {
        height: 100px;
        margin-bottom: 10px;
    }
    
    .driver-option h3,
    .circuit-option h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .driver-option p,
    .circuit-option p {
        font-size: 0.8rem;
        margin-bottom: 10px;
        min-height: 40px;
    }
    
    .select-button {
        padding: 5px 15px;
    }
    
    .race-animation {
        height: 120px;
    }
    
    .championship-animation {
        height: 180px;
        margin-bottom: 20px;
    }
    
    .checkered-flag {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .victory-text {
        font-size: 1.8rem;
    }
    
    .birthday-message {
        padding: 15px;
    }
    
    .birthday-header {
        margin-bottom: 15px;
    }
    
    .message-container {
        margin-bottom: 15px;
    }
}

/* High-res Screens */
@media screen and (min-width: 1400px) {
    .game-title {
        font-size: 5rem;
    }
    
    .game-subtitle {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .drivers-container,
    .circuits-container {
        max-width: 1400px;
    }
    
    .championship-animation {
        height: 500px;
        max-width: 1200px;
    }
    
    .birthday-message {
        max-width: 1000px;
    }
    
    .birthday-header {
        font-size: 4rem;
    }
    
    .message-container {
        font-size: 1.3rem;
    }
}

/* Print Styles (for saving the birthday message) */
@media print {
    body * {
        visibility: hidden;
    }
    
    .birthday-message,
    .birthday-message * {
        visibility: visible;
    }
    
    .birthday-message {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white !important;
        color: black !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .birthday-header {
        color: #e60000 !important;
        text-shadow: none !important;
    }
    
    .signature-name {
        color: #e60000 !important;
    }
}