/* ===================================
   IBYT Store Styles - Layout Corrigido
   =================================== */

/* Reset e Base */
* {
    box-sizing: border-box;
}

.main-content {
    padding-top: 80px; /* Compensar header fixo */
}

/* Container Global */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mobile Navigation for Store */
.mobile-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    transition: left 0.3s ease;
}

.mobile-navigation.open {
    left: 0;
}

.mobile-nav-content {
    background: white;
    width: 280px;
    height: 100%;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1f2937;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    padding: 1rem;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover {
    background: rgba(59, 130, 246, 0.05);
    color: #1e3a8a;
}

/* Store Hero Section */
.hero-store {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-store::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-store h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-icon {
    font-size: 4rem !important;
    color: #fff;
}

.hero-store p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Container */
.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.search-box:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-box input {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    flex: 1;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box .material-icons-round {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Apps Section */
.apps-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* View Toggle */
.view-toggle {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-btn {
    background: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.view-btn.active {
    background: #007bff;
    color: white;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    transition: all 0.3s ease;
}

.apps-grid.list-view {
    grid-template-columns: 1fr;
}

/* App Cards */
.app-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.app-card-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-icon .material-icons-round {
    font-size: 2rem;
    color: #6c757d;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-info h3,
.app-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.app-developer {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0 0 0.75rem 0;
    font-weight: 500;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.app-rating .stars {
    color: #ffa500;
    font-size: 1rem;
}

.app-rating .rating-text {
    color: #6c757d;
    font-weight: 500;
}

.app-card-body {
    padding: 0 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.app-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Support generic .tag class used by JS */
.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.tag.category-monitoramento { 
    background: #e8f5e9; 
    color: #2e7d32; 
}

.tag.category-gestao { 
    background: #e3f2fd; 
    color: #1976d2; 
}

.tag.category-utilidades { 
    background: #fff3e0; 
    color: #ef6c00; 
}

.tag.category-comunicacao { 
    background: #fce4ec; 
    color: #c2185b; 
}

.tag.category-produtividade { 
    background: #f3e5f5; 
    color: #7b1fa2; 
}

/* Footer and Meta for cards rendered by JS */
.app-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f3f4;
    margin-top: auto;
    gap: 1rem;
}

.app-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

.app-meta span { 
    white-space: nowrap; 
}

.download-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* Loading */
.loading-container {
    text-align: center;
    padding: 4rem 0;
    color: #6c757d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 0;
    color: #6c757d;
}

.empty-state .material-icons-round {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: white;
}

.featured-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
    justify-content: center;
}

/* Featured Grid & Items */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.loading-featured {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.loading-featured .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.featured-app {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-app:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: rgba(0, 123, 255, 0.3);
}

.featured-app .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.featured-app .app-info h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: #2c3e50;
}

.featured-app .app-info p {
    margin: 0 0 6px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.featured-app .app-rating .stars,
.app-rating .stars {
    color: #ffa500;
}

/* Modal */
.app-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* Modal structure classes used in loja.php */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 2000;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 1.25rem 1.5rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #6c757d;
    border-radius: 6px;
}

.close-btn:hover {
    background: #f1f3f5;
    color: #343a40;
}

.app-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
}

.app-icon-large img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    background: #f8f9fa;
}

.app-rating-detailed .stars { color: #ffa500; }

.app-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}

.detail-item { display: flex; justify-content: space-between; gap: 0.5rem; }
.detail-item .label { color: #6c757d; }
.detail-item .value { color: #2c3e50; font-weight: 500; }

.download-btn-large,
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
}

.download-btn-large { background: linear-gradient(135deg, #007bff, #0056b3); color: #fff; }
.download-btn-large:hover { filter: brightness(1.05); }
.share-btn { background: #f1f3f5; color: #333; }
.share-btn:hover { background: #e9ecef; }

/* Ensure page content isn't double padded when body already pads for header */
.main-content { padding-top: 0; }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #495057;
}

/* Enhanced Modal Styles for App Details */
.app-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.app-icon-large {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.developer-name {
    color: #007bff;
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.app-rating-detailed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars .stars {
    color: #ffa500;
    font-size: 1.1rem;
}

.rating-text {
    color: #6c757d;
    font-weight: 500;
}

.download-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.download-stats .material-icons-round {
    font-size: 1rem;
}

.category-tag {
    background: #e3f2fd;
    color: #1976d2;
}

.price-tag {
    background: #e8f5e9;
    color: #2e7d32;
}

.featured-tag {
    background: #fff3e0;
    color: #ef6c00;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-tag .material-icons-round {
    font-size: 0.9rem;
}

.app-quick-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.quick-info-item .material-icons-round {
    color: #007bff;
    font-size: 1.25rem;
}

.quick-info-item .label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.quick-info-item .value {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.app-description {
    margin: 2rem 0;
}

.app-description h4,
.app-screenshots h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.app-description h4 .material-icons-round,
.app-screenshots h4 .material-icons-round {
    color: #007bff;
}

.app-description p {
    line-height: 1.6;
    color: #495057;
}

.app-screenshots {
    margin: 2rem 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.screenshot:hover {
    transform: scale(1.02);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.app-additional-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.info-section h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.info-section h5 .material-icons-round {
    color: #007bff;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    color: #6c757d;
    font-weight: 500;
}

.info-item .value {
    color: #2c3e50;
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.download-section {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.download-btn-large {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    max-width: 300px;
}

.download-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.download-btn-large .btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text {
    font-weight: 600;
    font-size: 1rem;
}

.btn-subtext {
    font-size: 0.8rem;
    opacity: 0.9;
}

.share-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Image Modal for Screenshots */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-store h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .main-navigation {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-store {
        padding: 100px 0 60px;
    }
    
    .hero-store h1 {
        font-size: 2.5rem;
        flex-direction: column;
    }
    
    .hero-icon {
        font-size: 3rem !important;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .apps-section {
        padding: 60px 0;
    }
    
    .featured-section {
        padding: 60px 0;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-card-header {
        padding: 1rem 1rem 0.75rem;
        gap: 0.75rem;
    }
    
    .app-icon {
        width: 56px;
        height: 56px;
    }
    
    .app-info h3,
    .app-name {
        font-size: 1.1rem;
    }
    
    .app-card-body {
        padding: 0 1rem;
    }
    
    .app-card-footer {
        padding: 0.75rem 1rem 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .app-meta {
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .download-btn {
        padding: 0.75rem 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Modal Responsive */
    .modal {
        padding: 1rem 0.5rem;
    }
    
    .modal-content {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .app-details {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .app-icon-large {
        margin: 0 auto;
    }
    
    .app-quick-info {
        gap: 0.5rem;
    }
    
    .quick-info-item {
        padding: 0.75rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .download-section {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .download-btn-large {
        max-width: 100%;
        justify-content: center;
    }
    
    .info-grid {
        gap: 0.5rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Media query para tablets */
@media (max-width: 768px) and (min-width: 481px) {
    .modal-content {
        max-width: 90%;
    }
    
    .app-details {
        gap: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-section {
        justify-content: center;
    }
}
