/*
 * responsive.css - Responsive Design für Rocket100 NFT Battle Mini App
 * Enthält: Mobile Styles, Tablet Optimierungen, Breakpoints
 */

/* --- Mobile First Design (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Header & Navigation */
    .app-title {
        font-size: 16px;
    }
    
    .header-credits {
        padding: 6px 12px;
    }
    
    .credit-icon {
        width: 20px;
        height: 20px;
    }
    
    .header-credits span {
        font-size: 14px;
    }
    
    .nav-btn {
        min-width: 40px;
        padding: 5px;
        font-size: 8px;
    }
    
    .nav-icon {
        font-size: 14px;
    }

    /* Credits & User Interface */
    .user-credits {
        gap: 10px;
        padding: 15px;
    }
    
    .credit-icon-large {
        width: 40px;
        height: 40px;
    }
    
    .credit-amount {
        font-size: 28px;
    }

    /* Daily Wheel */
    .wheel-svg {
        width: 180px;
        height: 180px;
        max-width: 180px;
        max-height: 180px;
    }
    
    .wheel-spin-btn {
        font-size: 14px;
        padding: 12px 25px;
    }

    /* Battle Cards & Participants */
    .participant-nft {
        width: 120px;
        height: 150px;
    }
    
    .premium-card {
        padding: 15px;
    }
    
    .vs-divider {
        font-size: 20px;
    }

    /* Profile Section */
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .profile-avatar-icon {
        font-size: 28px;
    }
    
    .battle-card .participant-profile-photo {
        width: 60px !important;
        height: 60px !important;
    }

    /* Modals & Popups */
    .credit-popup {
        padding: 20px;
        margin: 0 10px;
    }
    
    .popup-icon {
        font-size: 48px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-amount {
        font-size: 28px;
    }
    
    .popup-description {
        font-size: 14px;
    }

    /* Buff Grid */
    .buff-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .buff-card {
        padding: 8px;
    }
    
    .buff-name {
        font-size: 11px;
    }
    
    .buff-effect {
        font-size: 10px;
    }
}

/* --- Tablet Design (481px - 768px) --- */
@media (min-width: 481px) and (max-width: 768px) {
    .participant-nft {
        width: 140px;
        height: 175px;
    }
    
    .wheel-svg {
        width: 220px;
        height: 220px;
    }
    
    .battle-card .participant-profile-photo {
        width: 80px !important;
        height: 80px !important;
    }
    
    .buff-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* --- Desktop Large (min-width: 1200px) --- */
@media (min-width: 1200px) {
    .app-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .participant-nft {
        width: 180px;
        height: 225px;
    }
    
    .battle-card .participant-profile-photo {
        width: 100px !important;
        height: 100px !important;
    }
}

/* --- High DPI Displays --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .participant-nft,
    .nft-preview-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* --- NFT Selection Mobile Optimization --- */
@media (max-width: 480px) {
    .nft-selection-modal {
        max-width: 95vw;
        max-height: 85vh;
        padding: 15px;
        border-radius: 15px;
        border-width: 1px;
        min-width: unset;
        margin: 10px;
    }
    
    .nft-selection-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .nft-selection-title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .nft-selection-description {
        font-size: 12px;
    }
    
    .nft-selection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 6px 0;
    }
    
    .nft-selection-card {
        padding: 6px;
        border-radius: 12px;
    }
    
    .nft-selection-image {
        border-radius: 10px;
    }
    
    .nft-selection-name {
        font-size: 9px;
        margin-bottom: 2px;
    }
    
    .nft-selection-check {
        font-size: 24px;
    }
    
    .nft-selection-actions {
        gap: 8px;
        padding-top: 15px;
    }
    
    .nft-selection-actions button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* --- Landscape Mobile Orientation --- */
@media (max-width: 768px) and (orientation: landscape) {
    .app-container {
        height: 100vh;
        overflow-y: auto;
    }
    
    .wheel-container {
        padding: 10px 0;
    }
    
    .wheel-svg {
        width: 160px;
        height: 160px;
    }
}
