:root {
    /* Dark Theme (Default) */
    --bg-color: #121212;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-color: #FFD700;
    /* Gold */
    --accent-hover: #FFC107;
    --nav-bg: rgba(18, 18, 18, 0.8);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --font-main: 'Outfit', sans-serif;
}

[data-theme="light"] {
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.1);
    --accent-color: #D32F2F;
    /* Red */
    --accent-hover: #B71C1C;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background: var(--card-bg);
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 60vh;
    background: url('premium_banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    padding-top: 80px;
}

/* Banners */
.premium-banner {
    max-width: 1400px;
    width: calc(100% - 4rem);
    margin: 2rem auto;
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.footer-banner {
    margin-top: auto;
    margin-bottom: 0;
}

.banner-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.5s ease;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
}

.banner-text h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-text p {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.cta-btn {
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* Main Grid */
.container {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

@media (min-width: 768px) {
    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ad Tile */
.ad-tile {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.ad-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

.tile-img-container {
    height: 350px;
    overflow: hidden;
}

.tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ad-tile:hover .tile-img {
    transform: scale(1.1);
}

.tile-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tile-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tile-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.tile-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.tile-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-text h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Site Footer */
.site-footer {
    background-color: var(--nav-bg);
    border-top: 1px solid var(--card-border);
    padding: 4rem 2rem 2rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section.brand h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section.brand p {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    opacity: 0.7;
    transition: transform 0.2s, color 0.2s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}