/*
Theme Name: Brazino777
Theme URI: https://www.knits4newborns.org
Description: Dark casino and sportsbook theme inspired by brazino777.com
Version: 1.0
Author: Custom
*/

/* === Font Face === */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/roboto-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/roboto-medium.woff2') format('woff2');
}

/* === CSS Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: #232323;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; }

/* === Header === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 50px;
    background: #035D03;
    z-index: 1000;
    display: flex;
    align-items: center;
}
.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-logo img { height: 22px; width: auto; }
.header-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-links .btn {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.header-links .btn:hover { opacity: 0.85; }
.header-links .btn-competitions,
.header-links .btn-promotions,
.header-links .btn-help,
.header-links .btn-news {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.header-buttons { display: flex; gap: 8px; margin-left: 8px; }
.btn-register { background: #FFBA00; color: #1a1a1a; }
.btn-login { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }

/* === Hamburger === */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 24px;
    height: 24px;
    padding: 2px;
}
.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s;
}

/* === Side Menu === */
.side-menu {
    position: fixed;
    top: 0; left: -280px;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding-top: 60px;
}
.side-menu.active { left: 0; }
.side-menu nav ul li a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid #333;
}
.side-menu nav ul li a:hover { background: #2a2a2a; }
.side-menu-buttons {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-menu-buttons .btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 50px;
    font-weight: 500;
}
.side-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    display: none;
}
.side-menu-overlay.active { display: block; }

/* === Main Content Offset === */
main, .main-content { padding-top: 50px; }

/* === Hero Slider === */
.hero-swiper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}
.hero-swiper .swiper-slide {
    position: relative;
    aspect-ratio: 21/8;
}
.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-swiper .slide-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFBA00;
    color: #1a1a1a;
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    z-index: 2;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.4);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px !important; }

/* === Stats Bar === */
.stats-bar {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.stat-item {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}
.stat-item .stat-label {
    font-size: 11px;
    color: #A0A0A0;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.stat-item .stat-value {
    font-size: 18px;
    font-weight: 500;
    color: #FFBA00;
}

/* === Categories Nav === */
.categories-nav {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 16px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.categories-nav::-webkit-scrollbar { display: none; }
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    padding: 12px 8px;
    background: #2d2d2d;
    border-radius: 10px;
    transition: background 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}
.category-item:hover { background: #3a3a3a; }
.category-item img { width: 40px; height: 40px; }
.category-item span {
    font-size: 11px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

/* === Section Headings === */
.section-heading {
    max-width: 1400px;
    margin: 30px auto 16px;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #048504;
    border-radius: 2px;
}

/* === Game/Article Card Grid === */
.cards-grid {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.game-card {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.game-card a { display: block; }
.card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #1a1a1a;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
}
.card-info { padding: 10px 12px; }
.card-info h3 {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-meta { font-size: 11px; color: #A0A0A0; }

/* === Banner Blocks === */
.banner-block {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 16px;
}
.banner-block a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.banner-block img { width: 100%; height: auto; display: block; }
.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-cta {
    background: #FFBA00;
    color: #1a1a1a;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
}

/* === SEO Article Section === */
.seo-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 24px;
    background: #2d2d2d;
    border-radius: 12px;
}
.seo-section h1 { color: #048504; font-size: 22px; margin-bottom: 16px; }
.seo-section h2 { color: #fff; font-size: 18px; margin: 20px 0 10px; }
.seo-section h3 { color: #fff; font-size: 16px; margin: 16px 0 8px; }
.seo-section p { color: #ccc; font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.seo-section .faq-item { margin-bottom: 16px; }
.seo-section .faq-item h3 { color: #FFBA00; font-size: 14px; margin-bottom: 6px; }

/* === Archive / Blog Page === */
.archive-page, .blog-page { min-height: 60vh; }
.archive-container, .blog-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 16px;
}
.archive-title, .blog-page h1 {
    color: #048504;
    font-size: 28px;
    margin-bottom: 10px;
}
.archive-description { color: #A0A0A0; margin-bottom: 24px; }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.article-card {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
}
.article-card:hover { transform: translateY(-3px); }
.article-card a { display: block; }
.article-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #1a1a1a;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d2d2d, #3a3a3a);
}
.article-info { padding: 14px; }
.article-info h2 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.article-date { font-size: 12px; color: #A0A0A0; display: block; margin-bottom: 8px; }
.article-info p { font-size: 13px; color: #bbb; line-height: 1.5; }

/* === Single Post === */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 16px;
}
.breadcrumbs {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 16px;
    font-size: 12px;
    color: #A0A0A0;
}
.breadcrumbs a { color: #048504; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 6px; }
.single-post .post-title { color: #048504; font-size: 28px; margin-bottom: 12px; }
.single-post .post-meta { color: #A0A0A0; font-size: 13px; margin-bottom: 20px; }
.single-post .post-featured { border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.single-post .post-featured img { width: 100%; height: auto; }
.single-post .post-content {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 24px;
    color: #ddd;
    font-size: 15px;
    line-height: 1.8;
}
.single-post .post-content h2 { color: #fff; font-size: 20px; margin: 24px 0 12px; }
.single-post .post-content h3 { color: #fff; font-size: 17px; margin: 20px 0 10px; }
.single-post .post-content p { margin-bottom: 14px; }
.single-post .post-content a { color: #FFBA00; }
.single-post .post-content ul, .single-post .post-content ol { margin: 12px 0; padding-left: 24px; }
.single-post .post-content li { margin-bottom: 6px; list-style: disc; }
.post-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a {
    background: #3a3a3a;
    color: #ccc;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
}
.related-posts { margin-top: 40px; }
.related-posts h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }

/* === Page === */
.page-content { max-width: 800px; margin: 0 auto; padding: 30px 16px; }
.page-content .page-title { color: #048504; font-size: 28px; margin-bottom: 20px; }
.page-content .page-body {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 24px;
    color: #ddd;
    line-height: 1.8;
}

/* === Sidebar === */
.sidebar { padding: 20px; }
.sidebar .widget {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}
.widget-title, .sidebar .widget h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a3a3a;
}
.sidebar .widget p { margin-bottom: 8px; }
.sidebar .widget a { color: #ccc; font-size: 13px; }
.sidebar .widget a:hover { color: #FFBA00; }
.sidebar .widget ul li { padding: 6px 0; border-bottom: 1px solid #3a3a3a; }

/* === Pagination === */
.nav-links, .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.nav-links .page-numbers, .pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #2d2d2d;
    color: #fff;
    font-size: 13px;
    transition: background 0.2s;
}
.nav-links .page-numbers.current, .pagination .current { background: #048504; color: #fff; }
.nav-links a:hover, .pagination a:hover { background: #3a3a3a; }

/* === 404 Page === */
.error-404 {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 16px;
}
.error-404 h1 { font-size: 80px; color: #048504; margin-bottom: 10px; }
.error-404 p { font-size: 18px; color: #A0A0A0; margin-bottom: 24px; }
.error-404 .btn-home {
    background: #FFBA00;
    color: #1a1a1a;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
}

/* === Search Page === */
.search-page { min-height: 60vh; }
.search-container { max-width: 800px; margin: 0 auto; padding: 30px 16px; }
.search-container h1 { color: #048504; font-size: 24px; margin-bottom: 20px; }
.search-form { margin-bottom: 24px; }
.search-form input[type="search"] {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}
.search-result {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}
.search-result h2 { font-size: 16px; margin-bottom: 6px; }
.search-result h2 a { color: #FFBA00; }
.search-result p { font-size: 13px; color: #bbb; }

/* === Footer === */
.site-footer {
    background: #1a1a1a;
    padding: 40px 0 20px;
    margin-top: 40px;
}
.footer-container { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.footer-column h4 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a { color: #A0A0A0; font-size: 12px; transition: color 0.2s; }
.footer-column ul li a:hover { color: #fff; }
.footer-payments {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 24px;
}
.footer-payments img { height: 28px; width: auto; opacity: 0.8; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
}
.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom-left img { height: 36px; width: auto; }
.footer-bottom-left .footer-logo { height: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    transition: background 0.2s;
}
.footer-social a:hover { background: #444; }
.footer-social img { width: 18px; height: 18px; }
.footer-app img { height: 40px; width: auto; }
.footer-copyright {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #333;
}
.footer-copyright p { color: #666; font-size: 11px; margin-bottom: 4px; }

/* === Cookie Consent === */
.cookie-consent {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-consent p { color: #ccc; font-size: 13px; max-width: 600px; }
.cookie-consent .btn-accept {
    background: #FFBA00;
    color: #1a1a1a;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 13px;
}

/* === Promo Cards === */
.promo-grid {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.promo-card {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.promo-card .promo-info { position: relative; z-index: 1; }
.promo-card h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.promo-card p { font-size: 12px; color: #ccc; }

/* === Providers Section === */
.providers-grid {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.provider-item {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    font-size: 11px;
    color: #A0A0A0;
}

/* === Comments === */
.comments-area { max-width: 800px; margin: 30px auto; padding: 0 16px; }
.comments-area h3 { color: #fff; margin-bottom: 16px; }
.comment-list .comment {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}
.comment-author { font-weight: 500; color: #FFBA00; }
.comment-date { font-size: 12px; color: #A0A0A0; }
.comment-content { font-size: 14px; color: #ccc; margin-top: 8px; }

/* === Responsive === */
@media (max-width: 1024px) {
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .header-links .btn-competitions,
    .header-links .btn-promotions,
    .header-links .btn-help { display: none; }
}
@media (max-width: 768px) {
    .hero-swiper .swiper-slide { aspect-ratio: 16/9; }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .seo-section { margin: 20px 16px; padding: 16px; }
    .seo-section h1 { font-size: 18px; }
    .header-links .btn-news { display: none; }
    .promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-item { padding: 10px; }
    .stat-item .stat-value { font-size: 14px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .card-info h3 { font-size: 12px; }
    .single-post .post-title { font-size: 22px; }
    .categories-nav { gap: 8px; }
    .category-item { min-width: 64px; padding: 8px 4px; }
    .category-item img { width: 32px; height: 32px; }
}
