/* Responsive Design - Mobile First Approach */

/* Mobile devices (320px - 767px) */
@media screen and (max-width: 767px) {
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* HEADER SECTION - Mobile */
    .header-section {
        padding: 60px 0;
    }
    
    .main-title {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .title-line-1,
    .title-line-2 {
        display: block;
        margin: 0;
    }
    
    .title-line-2 {
        margin-top: 8px;
    }
    
    /* VIDEO SECTION - Mobile */
    .video-section {
        padding: 30px 0;
    }
    
    .video-wrapper {
        max-width: 100%;
        border-radius: 12px;
        margin: 0 10px;
    }
    
    .video-player {
        min-height: 200px;
        border-radius: 12px;
    }
    
    .video-controls {
        padding: 10px;
        gap: 10px;
        opacity: 1; /* Always visible on mobile for accessibility */
    }
    
    .video-btn-play,
    .video-btn-pause,
    .video-btn-mute {
        width: 35px;
        height: 35px;
    }
    
    .play-icon,
    .pause-icon,
    .mute-icon {
        font-size: 14px;
    }
    
    .video-progress {
        height: 4px;
    }
    
    /* DISCLAIMER SECTION - Mobile */
    .disclaimer-section {
        padding: 25px 0;
    }
    
    .disclaimer-title {
        font-size: 14px;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .disclaimer-content {
        padding: 0 15px;
    }
    
    .disclaimer-content p {
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .warning-section {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .warning-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .company-info {
        margin-top: 20px;
        padding: 15px;
    }
    
    .company-info p {
        font-size: 11px;
    }
    
    /* FOOTER - Mobile */
    .site-footer {
        display: none;
    }
}

/* Tablet devices (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* Container adjustments */
    .container {
        padding: 0 20px;
    }
    
    /* HEADER SECTION - Tablet */
    .header-section {
        padding: 80px 0;
    }
    
    .main-title {
        font-size: 48px;
        line-height: 1.2;
    }
    
    /* VIDEO SECTION - Tablet */
    .video-section {
        padding: 40px 0;
    }
    
    .video-wrapper {
        max-width: 90%;
    }
    
    .video-player {
        min-height: 350px;
    }
    
    /* DISCLAIMER SECTION - Tablet */
    .disclaimer-section {
        padding: 40px 0;
    }
    
    .disclaimer-title {
        font-size: 20px;
    }
    
    .disclaimer-content p {
        font-size: 11px;
    }
}

/* Small desktop (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    /* Container adjustments */
    .container {
        max-width: 960px;
    }
    
    /* HEADER SECTION - Small desktop */
    .main-title {
        font-size: 60px;
    }
    
    /* VIDEO SECTION - Small desktop */
    .video-player {
        min-height: 400px;
    }
}

/* Large desktop (1280px+) */
@media screen and (min-width: 1280px) {
    /* Container adjustments */
    .container {
        max-width: 1200px;
    }
}

/* Extra large desktop (1600px+) */
@media screen and (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .main-title {
        font-size: 80px;
    }
    
    .video-player {
        min-height: 640px;
    }
}

/* Accessibility improvements for touch devices */
@media (hover: none) and (pointer: coarse) {
    .video-controls {
        opacity: 1; /* Always visible on touch devices */
    }
    
    .video-btn-play,
    .video-btn-pause,
    .video-btn-mute {
        min-width: 44px; /* Minimum touch target size */
        min-height: 44px;
    }
}

/* Orientation support */
@media screen and (orientation: landscape) and (max-width: 767px) {
    .video-player {
        min-height: 250px;
    }
    
    .header-section {
        padding: 90px 0;
    }
    
    .main-title {
        font-size: 22px;
        line-height: 1.2;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .header-section,
    .disclaimer-section {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .main-title,
    .disclaimer-title,
    .warning-title {
        color: #a0b0c0;
    }
    
    .disclaimer-content p,
    .company-info p {
        color: #e0e0e0;
    }
    
    .company-info {
        background-color: #2d2d2d;
        border-left-color: #a0b0c0;
    }
    
    .site-footer {
        background-color: #2d3a4f;
    }
}

/* Font size adjustments for different screen sizes */
@media screen and (max-width: 360px) {
    html {
        font-size: 13px;
    }
    
    .main-title {
        font-size: 18px;
        line-height: 1.1;
    }
    
    .disclaimer-title {
        font-size: 12px;
    }
    
    .disclaimer-content p {
        font-size: 9px;
    }
}

@media screen and (min-width: 361px) and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .main-title {
        font-size: 22px;
        line-height: 1.2;
    }
    
    .disclaimer-title {
        font-size: 14px;
    }
    
    .disclaimer-content p {
        font-size: 10px;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
    html {
        font-size: 15px;
    }
    
    .main-title {
        font-size: 36px;
    }
}

/* Safe area support for modern devices */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .header-section,
    .video-section,
    .disclaimer-section {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}