/* Main Containers */
.app-container {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-body);
}

/* Remove Sidebar - Shift to Dashboard Layout */
.main-content {
    width: 100%;
    max-width: 1600px;
    /* Wide dashboard view */
    margin: 0 auto;
    padding: var(--spacing-md);
}

/* Masonry Dashboard Grid */
.masonry-grid {
    column-count: 4;
    column-gap: 20px;
}

@media (max-width: 1400px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Age Gate Modal */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle at center, #222 0%, #000 100%);
}

.age-gate-box {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(46, 175, 97, 0.2);
}

.age-gate-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
}

.age-gate-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-enter {
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 15px 40px;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    transition: transform 0.2s, background 0.2s;
    width: 100%;
}

.btn-enter:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

.btn-exit {
    display: block;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Advertising Containers */
.ad-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
    text-align: center;
    border-radius: var(--radius-md);
    height: 120px;
    /* Space for 728x90 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ad-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* SEO Content Block */
.seo-block {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-top: 40px;
    border-top: 4px solid var(--primary);
}

.seo-block h2 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.seo-block p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Rich Footer */
.main-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 50px 20px;
    margin-top: 60px;
    color: var(--text-muted);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: var(--text-main);
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Hero Carousel */
.hero-section {
    background: linear-gradient(to right, #0a0a0a, #1a1a1a);
    padding: 20px 0;
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #111;
}

.hero-section::-webkit-scrollbar {
    height: 8px;
}

.hero-section::-webkit-scrollbar-track {
    background: #111;
}

.hero-section::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 4px;
}

.hero-card {
    display: inline-block;
    width: 280px;
    height: 180px;
    background: #222;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.hero-card:hover img {
    opacity: 1;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 15px;
    pointer-events: none;
}

.hero-card-title {
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
}