* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-bg-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-bg-dark: rgba(30, 30, 46, 0.95);
    --text-primary: #1a1a1a;
    --text-primary-dark: #ffffff;
    --text-secondary: #666;
    --text-secondary-dark: #b0b0b0;
    --text-light: #999;
    --text-light-dark: #888;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover-dark: 0 15px 40px rgba(0, 0, 0, 0.6);
    --border-radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --accent-color: #667eea;
    --accent-hover: #5568d3;
}

body.dark-mode {
    --primary-bg: var(--primary-bg-dark);
    --card-bg: var(--card-bg-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-light: var(--text-light-dark);
    --shadow: var(--shadow-dark);
    --shadow-hover: var(--shadow-hover-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-bg);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Controls */
.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.control-buttons {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: var(--card-bg);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px; /* Ensure minimum touch target size */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    box-shadow: var(--shadow);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.control-btn svg {
    width: 20px;
    height: 20px;
}

#unitText {
    font-size: 16px;
    font-weight: 600;
}

/* Favorites */
.favorites-section {
    flex: 1;
    min-width: 200px;
}

.favorites-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.favorite-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.favorite-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.favorite-item .remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.favorite-item .remove-btn:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

.location-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.location-title-group {
    flex: 1;
}

.location-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px; /* Ensure minimum touch target size */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.action-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
}

.action-btn svg {
    width: 20px;
    height: 20px;
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px; /* Ensure minimum touch target size */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.favorite-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #ff6b6b;
}

.favorite-btn.active {
    color: #ff6b6b;
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
}

.weather-trend {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.weather-trend.trend-up {
    color: #ff6b6b;
}

.weather-trend.trend-down {
    color: #4dabf7;
}

.weather-trend.trend-normal {
    color: var(--text-secondary);
}

/* Weather Alerts */
.weather-alerts {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    color: white;
}

.weather-alert-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 10px;
}

.weather-alert-item:last-child {
    margin-bottom: 0;
}

.weather-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.weather-alert-content {
    flex: 1;
}

.weather-alert-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.weather-alert-description {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Activity Suggestions */
.activity-suggestions {
    margin-top: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
}

.activity-suggestions-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-item {
    background: var(--card-bg);
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ad Containers */
.ad-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-banner-top,
.ad-banner-bottom {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
}

.ad-inline {
    width: 100%;
    max-width: 300px;
    min-height: 250px;
    margin: 30px auto;
}

.ad-placeholder {
    width: 100%;
    min-height: inherit;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.ad-label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.ad-content {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.5;
}

/* When actual ads are loaded, hide placeholder styling */
.ad-container iframe,
.ad-container script + div {
    border: none;
}

.ad-container iframe {
    display: block;
    margin: 0 auto;
}

.sunrise-sunset {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 15px;
    color: var(--text-secondary);
}

.sunrise-sunset-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sunrise-sunset-item svg {
    width: 18px;
    height: 18px;
}

/* Search Section */
.search-section {
    margin-bottom: 30px;
}

.search-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.search-container {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.search-container:focus-within {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.search-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px; /* Prevents iOS zoom on focus */
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
    -webkit-appearance: none; /* Remove iOS input styling */
    appearance: none;
    min-width: 0; /* Prevents flex item overflow */
}

#searchInput::placeholder {
    color: var(--text-light);
}

#searchBtn {
    background: var(--primary-bg);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px; /* Ensure minimum touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    margin-left: 10px;
    -webkit-tap-highlight-color: transparent; /* Remove mobile tap highlight */
    touch-action: manipulation; /* Improve touch responsiveness */
}

#searchBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#searchBtn svg {
    width: 20px;
    height: 20px;
}

.location-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 14px 20px;
    min-height: 44px; /* Ensure minimum touch target size */
    font-size: 15px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.location-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.location-btn svg {
    width: 20px;
    height: 20px;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    animation: fadeIn 0.2s ease-in;
}

.autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.autocomplete-item {
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: rgba(102, 126, 234, 0.1);
}

.autocomplete-item-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.autocomplete-item-text {
    flex: 1;
}

.autocomplete-item-city {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.autocomplete-item-country {
    font-size: 13px;
    color: var(--text-secondary);
}

.autocomplete-item-region {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    font-size: 18px;
    font-weight: 500;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.error-state svg {
    width: 64px;
    height: 64px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.error-state p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.retry-btn {
    background: var(--primary-bg);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Weather Display */
.weather-display {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.current-weather {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.location-info {
    margin-bottom: 30px;
}

.city-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.current-date {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.temperature-section {
    text-align: center;
    margin-bottom: 40px;
}

.weather-icon-container {
    margin-bottom: 20px;
}

.weather-icon {
    font-size: 120px;
    line-height: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.temp-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.temperature {
    font-size: 80px;
    font-weight: 300;
    line-height: 1;
    color: var(--text-primary);
}

.temperature-unit {
    font-size: 40px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 8px;
}

.weather-description {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: capitalize;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    transition: var(--transition);
}

.detail-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.detail-item svg {
    width: 32px;
    height: 32px;
    color: #667eea;
    flex-shrink: 0;
}

.detail-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-subvalue {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Hourly Forecast */
.hourly-forecast {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.hourly-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.hourly-list::-webkit-scrollbar {
    height: 6px;
}

.hourly-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.hourly-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

.hourly-list::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.hourly-item {
    flex: 0 0 auto;
    text-align: center;
    padding: 20px 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    min-width: 100px;
    transition: var(--transition);
}

.hourly-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.hourly-time {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 10px;
}

.hourly-icon {
    width: 48px;
    height: 48px;
    margin: 10px auto;
}

.hourly-temp {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 10px;
}

.hourly-feels {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.hourly-precip {
    font-size: 12px;
    color: #4a90e2;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Daily Forecast */
.daily-forecast {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.daily-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.daily-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.daily-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.daily-day {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
}

.daily-weather {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.daily-icon {
    width: 50px;
    height: 50px;
}

.daily-desc {
    font-size: 15px;
    color: var(--text-secondary);
    text-transform: capitalize;
    min-width: 100px;
}

.daily-temps {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 100px;
    justify-content: flex-end;
}

.daily-high {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.daily-low {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
}

.daily-precip {
    font-size: 13px;
    color: #4a90e2;
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .header-controls {
        flex-direction: column;
    }

    .favorites-section {
        width: 100%;
    }

    .control-buttons {
        align-self: flex-end;
    }

    .city-name {
        font-size: 28px;
    }

    .temperature {
        font-size: 64px;
    }

    .temperature-unit {
        font-size: 32px;
    }

    .weather-description {
        font-size: 20px;
    }

    .current-weather {
        padding: 30px 20px;
    }

    .weather-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .daily-item {
        flex-wrap: wrap;
    }

    .daily-day {
        width: 100%;
        margin-bottom: 10px;
    }

    .daily-weather {
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .daily-temps {
        width: 100%;
        justify-content: flex-start;
    }

    .hourly-forecast,
    .daily-forecast {
        padding: 20px;
    }

    .ad-banner-top,
    .ad-banner-bottom {
        max-width: 100%;
        min-height: 50px;
    }

    .ad-inline {
        max-width: 100%;
        min-height: 200px;
    }

    .location-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-actions {
        align-self: flex-end;
    }

    .activity-list {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .temperature {
        font-size: 56px;
    }

    .weather-details {
        grid-template-columns: 1fr;
    }

    .detail-item {
        padding: 15px;
    }

    /* Mobile search improvements */
    .search-container {
        padding: 12px 15px;
    }

    #searchInput {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    #searchBtn {
        width: 40px;
        height: 40px;
        min-width: 40px; /* Ensure minimum touch target */
    }

    /* Mobile location button */
    .location-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Mobile autocomplete */
    .autocomplete-dropdown {
        max-height: 250px;
        font-size: 14px;
    }

    .autocomplete-item {
        padding: 12px 15px;
    }

    /* Mobile hourly forecast */
    .hourly-item {
        min-width: 85px;
        padding: 15px 10px;
    }

    .hourly-time {
        font-size: 12px;
    }

    .hourly-temp {
        font-size: 16px;
    }

    /* Mobile daily forecast */
    .daily-item {
        padding: 15px;
    }

    .daily-day {
        font-size: 16px;
        min-width: 100px;
    }

    .daily-icon {
        font-size: 28px !important;
        width: 40px;
        height: 40px;
    }

    .daily-desc {
        font-size: 13px;
        min-width: 80px;
    }

    .daily-high,
    .daily-low {
        font-size: 16px;
    }

    /* Mobile current weather card */
    .current-weather {
        padding: 25px 15px;
    }

    .city-name {
        font-size: 24px;
    }

    .weather-icon {
        font-size: 100px !important;
    }

    .weather-description {
        font-size: 18px;
    }

    /* Mobile sections */
    .hourly-forecast,
    .daily-forecast {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 20px;
    }

    /* Mobile alerts */
    .weather-alerts {
        padding: 15px;
        margin-bottom: 20px;
    }

    .weather-alert-item {
        padding: 12px;
    }

    .weather-alert-title {
        font-size: 16px;
    }

    .weather-alert-description {
        font-size: 13px;
    }

    /* Mobile activity suggestions */
    .activity-suggestions {
        padding: 15px;
        margin-top: 15px;
    }

    .activity-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Mobile header controls */
    .header-controls {
        margin-bottom: 15px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .favorite-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Mobile sunrise/sunset */
    .sunrise-sunset {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
        font-size: 14px;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    /* Mobile ad containers */
    .ad-container {
        margin: 20px 0;
    }
}
