/* ============================================
   ROOT & VARIABLES
   ============================================ */
@font-face {
    font-family: 'BrawlStarsHeadline';
    src: url('../fonts/headline-font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BrawlStarsText';
    src: url('../fonts/text-font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'BrawlStarsText', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: url('../images/background.jpg') center center fixed;
    background-size: cover;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px; /* Base font size */
    width: 100%;
    position: relative;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.language-selector select {
    background: rgba(20, 20, 40, 0.85);
    border: 2px solid rgba(138, 43, 226, 0.6);
    border-radius: 8px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: transparent;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    text-align: center;
    padding: 10px 0;
}

.title {
    font-family: 'BrawlStarsHeadline', 'Impact', 'Arial Black', sans-serif;
    font-size: 2.75rem; /* ~44px */
    font-weight: 900;
    color: #ffd700;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8), 
                 0 0 20px rgba(255, 215, 0, 0.5);
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   DAILY PROGRESS
   ============================================ */
.daily-progress {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.progress-item {
    position: relative;
    background: rgba(20, 20, 40, 0.85);
    border: 3px solid rgba(138, 43, 226, 0.6);
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'BrawlStarsText', sans-serif;
}

.progress-item:hover {
    background: rgba(138, 43, 226, 0.3);
    border-color: #9b59b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.4);
}

.progress-item.active {
    background: rgba(138, 43, 226, 0.5);
    border-color: #9b59b6;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.progress-item.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

/* Remove emoji icons - will use text icons instead */
.progress-item::before {
    font-size: 1.25rem; /* 20px */
}

/* ============================================
   GAME CONTENT
   ============================================ */
.game-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 16px;
    padding: 20px;
    margin: 10px 0;
}

.game-mode {
    display: none;
}

.game-mode.active {
    display: block;
}

/* ============================================
   SEARCH CONTAINER
   ============================================ */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 20px;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 18px;
    background: rgba(20, 20, 40, 0.9);
    border: 3px solid rgba(138, 43, 226, 0.6);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.0625rem; /* 17px */
    outline: none;
}

.search-container input:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 40, 0.98);
    border: 3px solid rgba(138, 43, 226, 0.6);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.search-result-item:hover {
    background: rgba(138, 43, 226, 0.3);
}

/* ============================================
   GUESSES GRID (Classic Mode)
   ============================================ */
.guesses-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
}

.guess-header,
.guess-row {
    display: grid;
    grid-template-columns: 80px repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.guess-header {
    margin-bottom: 5px;
}

.guess-header-cell {
    background: rgba(138, 43, 226, 0.3);
    border: 2px solid rgba(138, 43, 226, 0.6);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    text-transform: uppercase;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guess-cell {
    background: rgba(20, 20, 40, 0.85);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    position: relative;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.guess-cell.correct {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10b981;
}

.guess-cell.higher::after,
.guess-cell.lower::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-size: 1.2em;
    font-weight: bold;
}

.guess-cell.higher::after {
    content: '↑';
    color: #3b82f6;
}

.guess-cell.lower::after {
    content: '↓';
    color: #ef4444;
}

.guess-brawler-image {
    background: rgba(20, 20, 40, 0.85);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    min-width: 0;
    overflow: hidden;
}

.guess-brawler-image img {
    width: 100%;
    height: auto;
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* ============================================
   PIXEL MODE
   ============================================ */
.pixel-container {
    max-width: 400px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(20, 20, 40, 0.85);
    border: 3px solid rgba(138, 43, 226, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.pixel-canvas {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   EMOJI MODE
   ============================================ */
.emoji-container {
    text-align: center;
    padding: 30px;
    background: rgba(20, 20, 40, 0.85);
    border: 3px solid rgba(138, 43, 226, 0.5);
    border-radius: 12px;
    margin: 0 auto 20px;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.emoji-display {
    font-size: 4.5rem; /* ~72px, größer für bessere Sichtbarkeit */
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.emoji-item {
    font-size: 1em; /* Relative to emoji-display */
    transition: all 0.3s ease;
}

.emoji-item.hidden-emoji {
    filter: blur(10px);
    opacity: 0.3;
}

/* ============================================
   DESCRIPTION MODE
   ============================================ */
.description-container {
    background: rgba(20, 20, 40, 0.85);
    border: 3px solid rgba(138, 43, 226, 0.5);
    border-radius: 12px;
    padding: 25px;
    margin: 0 auto 20px;
    max-width: 700px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.description-text {
    font-size: 1.1875rem; /* ~19px */
    line-height: 1.6;
    text-align: center;
}

/* ============================================
   GUESSES LIST (Other Modes)
   ============================================ */
.guesses-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.guess-item {
    background: rgba(20, 20, 40, 0.85);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guess-item.correct {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.guess-item.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ============================================
   RESULT MESSAGE
   ============================================ */
.result-message {
    text-align: center;
    font-size: 1.5rem; /* ~24px */
    font-weight: 700;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 3px solid #10b981;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.result-message.failure {
    background: rgba(239, 68, 68, 0.2);
    border: 3px solid #ef4444;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Play Again Button */
.play-again-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #9b59b6 0%, #e74c3c 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.0625rem; /* 17px */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-family: 'BrawlStarsText', sans-serif;
}

.play-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.6);
    background: linear-gradient(135deg, #a569bd 0%, #ec5f67 100%);
}

.wait-message {
    padding: 12px;
    background: rgba(138, 43, 226, 0.2);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 10px;
    font-size: 1rem; /* 16px */
    color: #bb86fc;
    margin-left: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 15px;
    font-size: 0.9375rem; /* 15px */
    background: rgba(20, 20, 40, 0.85);
    border-radius: 12px;
    border: 2px solid rgba(138, 43, 226, 0.4);
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.footer-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.98) 0%, rgba(30, 20, 50, 0.98) 100%);
    border: 3px solid rgba(138, 43, 226, 0.8);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.4), 0 0 60px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px 0;
}

.modal-close {
    color: #bb86fc;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px 40px 40px;
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.modal-title {
    font-family: 'BrawlStarsHeadline', 'Impact', sans-serif;
    font-size: 1.75rem;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.modal-text {
    font-size: 1.125rem;
    color: #bb86fc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'BrawlStarsText', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.watch-ad-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.watch-ad-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

.watch-ad-btn svg {
    fill: white;
}

.unlock-all-btn {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.unlock-all-btn:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.4);
}

.modal-icon svg {
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .guess-header,
    .guess-row {
        grid-template-columns: 70px repeat(6, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
    }
    
    .guess-header-cell {
        font-size: 0.75rem; /* 12px */
        padding: 6px 4px;
        min-width: 0;
    }
    
    .guess-cell {
        font-size: 0.8125rem; /* 13px */
        padding: 8px 4px;
        min-height: 50px;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .title {
        font-size: 2rem; /* 32px */
    }
    
    .daily-progress {
        gap: 6px;
    }
    
    .progress-item {
        padding: 6px 12px;
        font-size: 0.875rem; /* 14px */
    }
    
    .game-content {
        padding: 15px 10px;
    }
    
    .guesses-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .guess-header,
    .guess-row {
        grid-template-columns: 60px repeat(6, minmax(0, 1fr));
        gap: 3px;
        width: 100%;
    }
    
    .guess-header-cell {
        font-size: 0.6875rem; /* 11px */
        padding: 5px 2px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .guess-cell {
        font-size: 0.75rem; /* 12px */
        padding: 6px 2px;
        min-height: 45px;
        word-break: break-word;
        min-width: 0;
    }
    
    .guess-brawler-image {
        min-height: 45px;
    }
    
    .guess-brawler-image img {
        max-height: 45px;
    }
    
    .emoji-display {
        font-size: 3.5rem; /* 56px */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    .title {
        font-size: 1.625rem; /* 26px */
    }
    
    .game-content {
        padding: 10px 5px;
    }
    
    .guess-header,
    .guess-row {
        grid-template-columns: 50px repeat(6, minmax(0, 1fr));
        gap: 2px;
        width: 100%;
    }
    
    .guess-header-cell {
        font-size: 0.625rem; /* 10px */
        padding: 4px 1px;
        min-width: 0;
    }
    
    .guess-cell {
        font-size: 0.6875rem; /* 11px */
        padding: 5px 1px;
        min-height: 40px;
        min-width: 0;
    }
    
    .guess-brawler-image {
        min-height: 40px;
        padding: 3px;
    }
    
    .guess-brawler-image img {
        max-height: 40px;
    }
}

/* ========================================
   SEO & Game Modes Section
   ======================================== */
.game-modes-section {
    text-align: center;
    margin: 2rem auto 1.5rem;
    max-width: 800px;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    font-family: var(--font-headline);
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* About Modal Content */
.about-content {
    text-align: left;
    line-height: 1.6;
}

.about-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.about-content p {
    margin: 0.75rem 0;
    color: var(--text-secondary);
}

.about-content strong {
    color: var(--accent);
    font-weight: 600;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.about-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list strong {
    color: var(--accent);
    font-weight: 600;
}

/* ===== Language Navigation – Dynamic Island ===== */
.language-selector {
    display: flex;
    justify-content: center;
    padding: 12px 16px 4px;
    position: relative;
    z-index: 10;
}

/* The pill itself wraps only its content */
.language-selector-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative; /* anchor for .lang-slider */
    background: rgba(10, 10, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    padding: 5px 10px;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.3s ease;
}

/* Sliding pill indicator */
.lang-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 0;
    background: rgba(255, 215, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.40);
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    /* transition is set dynamically via JS */
    will-change: left, width;
}

.language-selector-inner:hover {
    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 215, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* If no .language-selector-inner exists (guide pages use nav directly),
   fall back to a flex-wrap pill on the nav itself */
.language-selector:not(:has(.language-selector-inner)) {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 12px 16px 4px;
}

.lang-link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: color 0.2s;
    white-space: nowrap;
    position: relative;
    z-index: 1; /* above .lang-slider */
}

.lang-link:hover,
.lang-link.active {
    color: var(--accent);
}

/* Mobile: even more compact */
@media (max-width: 480px) {
    .language-selector {
        padding: 8px 10px 2px;
    }
    .language-selector-inner {
        padding: 4px 8px;
        gap: 2px;
    }
    .lang-link {
        padding: 3px 7px;
        font-size: 0.72rem;
    }
}

/* ===== SEO Section ===== */
.seo-section {
    margin: 24px 0 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.seo-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    gap: 8px;
}

.seo-toggle:hover { color: var(--accent); }

.seo-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    stroke: currentColor;
}

.seo-content {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.seo-inner {
    padding: 20px 20px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.seo-inner h2 {
    color: var(--accent);
    font-size: 1.15rem;
    margin: 0 0 12px;
}

.seo-inner h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 18px 0 8px;
}

.seo-inner p { margin: 0 0 10px; }

.seo-inner a { color: var(--accent); text-decoration: none; }

.seo-link-btn {
    display: inline-block;
    background: rgba(255,215,0,0.1);
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.seo-link-btn:hover { background: rgba(255,215,0,0.2); }

/* ===== Ad Container ===== */
.ad-container {
    margin: 16px auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.9375rem;
    }
    
    .about-content h3 {
        font-size: 1rem;
    }
}