/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #F5F5F5;
    --bg-secondary: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --border-color: #E0E0E0;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --hover-shadow: rgba(0, 0, 0, 0.12);
}

body.dark-theme {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-color: #404040;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --hover-shadow: rgba(0, 0, 0, 0.5);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Рекламные блоки в два столбца */
.sidebar-ads-wrapper {
    margin-top: 20px;
}

.sidebar-ads-wrapper .ad-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-align: center;
}

.sidebar-ads-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-ad-small {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px var(--card-shadow);
    text-align: center;
}

.sidebar-ad-small img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.sidebar-ad-small .ad-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 8px 0;
}

.sidebar-ad-small .ad-price {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 12px;
    opacity: 0.9;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: #2C3E50;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.theme-icon {
    font-size: 22px;
    transition: transform 0.3s;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

.btn-login {
    padding: 10px 25px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background: white;
    color: #FFB800;
}

.btn-post-ad {
    padding: 10px 25px;
    background: #2C3E50;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-post-ad:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

/* ===== CATEGORY NAVIGATION ===== */
.category-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: background-color 0.3s;
}

.categories {
    display: flex;
    list-style: none;
    gap: 25px;
    overflow-x: auto;
    white-space: nowrap;
}

.categories::-webkit-scrollbar {
    height: 4px;
}

.categories::-webkit-scrollbar-thumb {
    background: #FFB800;
    border-radius: 2px;
}

.categories li a {
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-block;
    font-weight: 500;
    color: var(--text-primary);
}

.categories li a:hover,
.categories li a.active {
    background: #FFB800;
    color: white;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 30px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--card-shadow);
    height: fit-content;
    position: sticky;
    top: 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.sidebar:hover {
    box-shadow: 0 4px 12px var(--hover-shadow);
}

.filter-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 14px;
}

.filter-select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover {
    border-color: #FFB800;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.15);
}

.filter-select:focus {
    border-color: #FFB800;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

body.dark-theme .filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e0e0e0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.price-inputs span {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.price-input {
    flex: 1;
    min-width: 0;
    padding: 12px 10px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s;
    max-width: 100px;
}

.price-input:hover {
    border-color: #FFB800;
}

.price-input:focus {
    border-color: #FFB800;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.price-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.checkbox-group label:hover {
    background-color: var(--bg-primary);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FFB800;
}

.btn-apply-filters {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-apply-filters:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FF7700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 184, 0, 0.4);
}

.btn-apply-filters:active {
    transform: translateY(0);
}

.btn-reset-filters {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 15px;
}

.btn-reset-filters:hover {
    background: var(--bg-primary);
    border-color: #FFB800;
    color: #FFB800;
    transform: translateY(-2px);
}

.btn-reset-filters:active {
    transform: translateY(0);
}

/* Улучшенные стили для текстовых полей */
input[type="text"],
input[type="number"],
textarea {
    font-family: inherit;
}

/* Стили для optgroup в select */
.filter-select optgroup {
    font-weight: 700;
    color: #FFB800;
    font-style: normal;
}

.filter-select option {
    padding: 8px;
    color: var(--text-primary);
}

body.dark-theme .filter-select option {
    background: var(--bg-secondary);
}

/* ===== LISTINGS ===== */
.listings {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: background-color 0.3s;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.listings-header h2 {
    font-size: 24px;
    color: var(--text-primary);
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border 0.3s;
}

.sort-select:focus {
    border-color: #FFB800;
}

/* ===== LISTINGS GRID ===== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.listing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--hover-shadow);
    border-color: #FFB800;
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.listing-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FFB800;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: #FFB800;
    margin-bottom: 8px;
}

.card-location {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.card-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.card-rating {
    font-size: 13px;
    font-weight: 600;
    color: #FFB800;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    padding: 10px 15px;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #FFB800;
    color: white;
    border-color: #FFB800;
}

.page-btn.active {
    background: #FFB800;
    color: white;
    border-color: #FFB800;
}

/* ===== РЕКЛАМНЫЕ БЛОКИ ===== */
/* Рекламный баннер сверху */
.ad-banner-top {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px dashed #FFB800;
}

.ad-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.ad-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.ad-content img:hover {
    transform: scale(1.02);
}

/* Рекламные блоки в сайдбаре */
.ad-sidebar {
    margin-top: 30px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ad-block {
    margin-top: 15px;
    border: 2px dashed #FF8C00;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.ad-block:first-of-type {
    margin-top: 10px;
}

.ad-block:hover {
    border-color: #FFB800;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
    transform: translateY(-2px);
}

.ad-block img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.ad-text {
    margin-top: 10px;
    text-align: center;
}

.ad-text h4 {
    font-size: 14px;
    color: #2C3E50;
    margin: 0 0 5px 0;
}

.ad-text p {
    font-size: 12px;
    color: #FF8C00;
    margin: 0;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: #2C3E50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FFB800;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #FFB800;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a4f63;
    color: #999;
    font-size: 14px;
}

/* ===== COLLAPSIBLE FILTERS ===== */
.filter-group.collapsible {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--bg-secondary);
}

.filter-group.collapsible > label {
    margin: 0;
    padding: 12px 16px;
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
    font-weight: 600;
}

.filter-group.collapsible > label:hover {
    background: #f8f9fa;
}

body.dark-theme .filter-group.collapsible > label:hover {
    background: #3a3a3a;
}

.filter-group.collapsible > label::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s;
    color: var(--text-secondary);
}

.filter-group.collapsible.collapsed > label::after {
    transform: rotate(-90deg);
}

.filter-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 16px;
}

.filter-group.collapsible.collapsed .filter-content {
    max-height: 0;
    padding: 0 16px;
}

/* ===== SUBCATEGORIES SECTION ===== */
.subcategories-section {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.subcategories-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.subcategory-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--card-shadow);
}

.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--hover-shadow);
    border-color: #FFB800;
}

.subcategory-card.active {
    border-color: #FFB800;
    background-color: #FFF9E6;
}

body.dark-theme .subcategory-card.active {
    background-color: #3d3520;
}

.subcategory-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.subcategory-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

/* ===== POPULAR CARS SECTION ===== */
.popular-cars-section {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.popular-cars-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.popular-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    max-width: 100%;
}

.popular-car-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.popular-car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFB800, #FFA500);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.popular-car-card:hover::before {
    transform: scaleX(1);
}

.popular-car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px var(--hover-shadow);
    border-color: #FFB800;
}

.popular-car-card.active {
    border-color: #FFB800;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 100%);
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.2);
}

body.dark-theme .popular-car-card.active {
    background: linear-gradient(135deg, #3d3520 0%, #4a4028 100%);
}

.car-brand-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.car-count {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Скрытые марки */
.popular-car-card.hidden-brand {
    display: none;
}

.popular-car-card.hidden-brand.show {
    display: block;
}

/* Кнопка "Показать все" */
.popular-car-card.show-more-brands {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-color: #4A90E2;
    color: white;
}

.popular-car-card.show-more-brands:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2868A8 100%);
    transform: translateY(-4px) scale(1.02);
}

.popular-car-card.show-more-brands .car-brand-name {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.popular-car-card.show-more-brands .car-count {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

/* Кнопка "Все марки" */
.popular-car-card.show-all-brands {
    background: linear-gradient(135deg, #FFB800 0%, #FFA500 100%);
    border-color: #FFB800;
    color: white;
}

.popular-car-card.show-all-brands:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF9500 100%);
    transform: translateY(-4px) scale(1.02);
}

.popular-car-card.show-all-brands .car-brand-name {
    color: white;
    font-size: 16px;
}

.popular-car-card.show-all-brands .car-count {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (≤600px) */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
    }
    
    .search-bar {
        width: 100%;
        max-width: 100%;
    }
    
    .user-menu {
        width: 100%;
        justify-content: center;
    }
    
    .btn-login,
    .btn-post-ad {
        flex: 1;
    }
    
    .categories {
        gap: 10px;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        padding: 20px;
    }
}

/* Рекламные блоки */
.ad-container {
    margin: 20px 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ad-block {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ad-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ad-block h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.ad-block p {
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.ad-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.ad-button:hover {
    background: #f0f0f0;
}
