/* ===================================
   Mobile-Only Styles (768px and below)
   =================================== */

/* Import shared variables from main stylesheet */
@import url('style.css');

/* Override base elements for mobile */
html {
    font-size: 14px;
}

body {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

/* Header adjustments */
.header {
    padding: 1rem 0;
}

.header-content {
    flex-direction: column;
    text-align: center;
    align-items: center !important;
    width: 100%;
}

.logo h1 {
    font-size: 1.75rem;
}

.tagline {
    font-size: 0.9rem;
}

.header-stats {
    margin-right: 0;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
}

/* Hide sponsor logo completely on mobile */
.sponsor-logo {
    display: none !important;
}

/* Search section */
.search-box input {
    font-size: 1rem;
    padding: 0.75rem;
}

.search-btn {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

/* Filters */
.filters {
    flex-direction: column;
    gap: 0.75rem;
}

.filter-group {
    width: 100%;
    min-width: unset;
}

/* Show and style sponsor button on mobile */
.btn-sponsor {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #d4af37 0%, #c49b2a 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-sponsor:hover {
    background: linear-gradient(135deg, #c49b2a 0%, #b38a1f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-random,
.btn-donate {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
}

/* Variants grid */
.variants-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.variant-card {
    padding: 1rem;
}

.variant-name {
    font-size: 1.125rem;
}

.variant-meta {
    flex-direction: column;
    gap: 0.25rem;
}

/* Results header */
.results-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.results-header h2 {
    font-size: 1.5rem;
}

/* Modal */
.modal-content {
    margin: 1rem;
    padding: 1.5rem;
    max-height: calc(100vh - 2rem);
}

.modal-close {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    padding: 2rem 0 1rem;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.footer-section h3 {
    font-size: 1.25rem;
}

.footer-section h4 {
    font-size: 1rem;
}

/* Phone-specific (480px and below) */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .variant-card {
        padding: 0.875rem;
    }
}
