/*
Theme Name: HTML5 Games
Theme URI: https://taazabuzz.com/
Description: A WordPress theme for displaying HTML5 games for TaazaBuzz.com
Version: 1.0
Author: TaazaBuzz
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

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

.site-header {
    background: #f11943;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.site-logo img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.custom-logo-link {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.custom-logo-link img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    opacity: 0.95;
}

.main-nav a:hover {
    color: #fff;
    opacity: 1;
    text-decoration: underline;
}

.header-search {
    flex: 1;
    max-width: 400px;
    min-width: 200px;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.search-form:focus-within .search-field {
    color: #333;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form:focus-within .search-field::placeholder {
    color: #999;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    outline: none;
}

.search-submit:hover {
    color: #fff;
}

.search-form:focus-within .search-submit {
    color: #333;
}

.search-form:focus-within .search-submit:hover {
    color: #f11943;
}

.search-submit svg {
    display: block;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.hero-section {
    background: #fff;
    color: #2c3e50;
    padding: 100px 0 80px 0;
    text-align: center;
    margin: 0 0 40px 0;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.content-with-sidebar .hero-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-section h1 {
    font-size: 56px;
    margin-bottom: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-section p {
    font-size: 22px;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 14px 32px;
    background: #f11943;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.hero-cta:hover {
    background: #c01435;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 25, 67, 0.3);
    color: #fff;
}

.categories-section {
    padding: 50px 30px;
    background: #fff;
}

.content-with-sidebar .categories-section {
    padding: 40px 0;
    margin-bottom: 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
    position: relative;
    padding-bottom: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-title::after {
    display: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0;
}

@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 35px;
    }
}

.category-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    color: #333;
    display: block;
    border: 1px solid #e5e7eb;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f11943;
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
    transition: color 0.2s;
}

.category-card:hover h3 {
    color: #f11943;
}

.category-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.games-section {
    padding: 40px 0;
    background: #f8f9fa;
    margin-bottom: 40px;
}

.content-with-sidebar .games-section {
    padding: 0;
    background: transparent;
    margin-bottom: 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
    padding: 0;
}

@media (min-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 30px;
    }
}

.game-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    color: #333;
    display: block;
    border: 1px solid #e5e7eb;
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f11943;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 12px;
}

.game-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f3f4f6;
    transition: transform 0.2s ease;
    display: block;
}

.game-card:hover .game-thumbnail {
    transform: scale(1.02);
}

.game-info {
    padding: 16px;
    background: #fff;
}

.game-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card:hover .game-title {
    color: #f11943;
}

.game-meta {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 5px;
}

.site-footer {
    background: #151615;
    color: #fff;
    padding: 60px 0 30px 0;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

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

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

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section p {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 14px;
}

.game-player {
    width: 100%;
    margin: 30px 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.game-player .iframe-container {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    min-height: 600px;
}

.game-player .iframe-container iframe {
    width: 100% !important;
    height: 600px !important;
    min-height: 600px !important;
    border: none !important;
    border-radius: 8px;
    display: block !important;
    background: #000;
    visibility: visible !important;
    opacity: 1 !important;
}

.game-player iframe {
    width: 100% !important;
    height: 600px !important;
    min-height: 600px !important;
    border: none !important;
    border-radius: 8px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .game-player .iframe-container {
        min-height: 500px;
    }
    
    .game-player .iframe-container iframe {
        height: 500px !important;
        min-height: 500px !important;
    }
    
    .game-player iframe {
        height: 500px !important;
        min-height: 500px !important;
    }
}


.page-header {
    padding: 30px 0 20px 0;
    margin: 20px 0 30px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-subtitle {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.5;
    text-transform: lowercase;
}

.page-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.page-article {
    margin: 0;
}

.page-body {
    line-height: 1.8;
    color: #444;
}

.post-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin: 20px 0;
    border: 1px solid #e9ecef;
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.post-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 22px;
    color: #374151;
    margin: 25px 0 12px 0;
    font-weight: 600;
    line-height: 1.4;
}

.post-content h4 {
    font-size: 18px;
    color: #4b5563;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.post-content p {
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin: 0 0 20px 20px;
    padding-left: 20px;
}

.post-content li {
    margin: 8px 0;
    line-height: 1.7;
}

.post-content a {
    color: #f11943;
    text-decoration: none;
    transition: color 0.2s;
}

.post-content a:hover {
    color: #c01435;
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 4px solid #f11943;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

.post-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-content table th,
.post-content table td {
    padding: 12px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.post-content table th {
    background: #f8f9fa;
    font-weight: 600;
}

.post-thumbnail {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.post-meta {
    font-size: 14px;
    color: #6c757d;
}

.post-tags a {
    color: #f11943;
    text-decoration: none;
    margin-right: 5px;
}

.post-tags a:hover {
    text-decoration: underline;
}

.post-navigation a {
    color: #f11943;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.post-navigation a:hover {
    color: #c01435;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .post-content {
        padding: 20px;
        font-size: 15px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

.about-hero {
    background: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.about-hero h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}
.about-intro {
    font-size: 20px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-hero .about-intro{
    max-width: 100%;
}

.about-content {
    padding: 60px 0;
    background: #f9fafb;
}

.about-section {
    background: #fff;
    padding: 50px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.about-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.about-section h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content-text {
    text-align: left;
}

.page-content-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.page-content-text h3 {
    text-align: left;
    margin-top: 24px;
    margin-bottom: 12px;
}

.about-features {
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}
.about-features .feature-item {
    display: block;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f11943;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.feature-item h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-item p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.about-stats {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: linear-gradient(135deg, #f11943 0%, #c01435 100%);
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(241, 25, 67, 0.2);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.offer-item {
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #f11943;
    transition: all 0.2s ease;
}

.offer-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.offer-item h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.offer-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.about-values {
    background: #f9fafb;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.value-item h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, #f11943 0%, #c01435 100%);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.about-cta h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.about-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #f11943;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #c01435;
}

.developer-hero {
    background: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.developer-hero h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.developer-intro {
    font-size: 20px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.developer-content {
    padding: 60px 0;
    background: #f9fafb;
}

.developer-section {
    background: #fff;
    padding: 50px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.developer-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.developer-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.developer-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.developer-benefits {
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f11943;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.benefit-item h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #f11943;
    transition: all 0.2s ease;
}

.requirement-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.requirement-check {
    font-size: 24px;
    color: #f11943;
    font-weight: 700;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f3ff;
    border-radius: 50%;
}

.requirement-content h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.requirement-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.submit-steps {
    display: grid;
    gap: 25px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #f11943;
    transition: all 0.2s ease;
}

.step-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-number {
    font-size: 32px;
    font-weight: 700;
    color: #f11943;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f3ff;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.developer-guidelines {
    background: #f9fafb;
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.guideline-group {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.guideline-group h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.guideline-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guideline-group li {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.guideline-group li:before {
    content: "•";
    color: #f11943;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.developer-cta {
    background: linear-gradient(135deg, #f11943 0%, #c01435 100%);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.developer-cta h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.developer-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #f11943;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #c01435;
}

.cta-button-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid #fff;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    color: #fff;
}

.developer-faq {
    background: #fff;
}

.faq-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #f11943;
}

.faq-item h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.affiliates-hero {
    background: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.affiliates-hero h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.affiliates-intro {
    font-size: 20px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.affiliates-content {
    padding: 60px 0;
    background: #f9fafb;
}

.affiliates-section {
    background: #fff;
    padding: 50px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.affiliates-section h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.affiliates-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.affiliates-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.affiliates-benefits {
    margin-bottom: 40px;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #f9fafb;
    border-radius: 8px;
    border-top: 4px solid #f11943;
    transition: all 0.2s ease;
}

.work-step:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.work-step .step-number {
    font-size: 48px;
    font-weight: 700;
    color: #f11943;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f3ff;
    border-radius: 50%;
    margin-bottom: 20px;
}

.work-step .step-content h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
}

.work-step .step-content p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.affiliates-commission {
    background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
}

.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.commission-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e5e7eb;
    position: relative;
    transition: all 0.2s ease;
}

.commission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.commission-card.featured {
    border-color: #f11943;
    background: linear-gradient(135deg, #f11943 0%, #c01435 100%);
    color: #fff;
}

.commission-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.commission-rate {
    font-size: 56px;
    font-weight: 700;
    color: #f11943;
    margin-bottom: 15px;
    line-height: 1;
}

.commission-card.featured .commission-rate {
    color: #fff;
}

.commission-card h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.commission-card.featured h3 {
    color: #fff;
}

.commission-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.commission-card.featured p {
    color: rgba(255,255,255,0.9);
}

.commission-note {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 30px;
    font-style: italic;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #f11943;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-check {
    font-size: 24px;
    color: #f11943;
    font-weight: 700;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f3ff;
    border-radius: 50%;
}

.feature-content h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.affiliates-requirements {
    background: #f9fafb;
}

.requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.requirement-group {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.requirement-group h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.requirement-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-group li {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.requirement-group li:before {
    content: "✓";
    color: #f11943;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.affiliates-cta {
    background: linear-gradient(135deg, #f11943 0%, #c01435 100%);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.affiliates-cta h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.affiliates-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.affiliates-faq {
    background: #fff;
}

@media (max-width: 768px) {
    .about-hero,
    .developer-hero,
    .affiliates-hero {
        padding: 60px 0 40px 0;
    }
    
    .about-hero h1,
    .developer-hero h1,
    .affiliates-hero h1 {
        font-size: 36px;
    }
    
    .about-intro,
    .developer-intro,
    .affiliates-intro {
        font-size: 18px;
    }
    
    .about-section,
    .developer-section,
    .affiliates-section {
        padding: 35px 25px;
    }
    
    .about-section h2,
    .developer-section h2,
    .affiliates-section h2 {
        font-size: 28px;
    }
    
    .feature-grid,
    .stats-grid,
    .offer-grid,
    .values-list,
    .benefits-grid,
    .requirements-list,
    .guidelines-content,
    .how-it-works,
    .commission-grid,
    .features-list,
    .requirements-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-cta,
    .developer-cta,
    .affiliates-cta {
        padding: 40px 25px;
    }
    
    .about-cta h2,
    .developer-cta h2,
    .affiliates-cta h2 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .requirement-item,
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .requirement-check,
    .feature-check {
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        text-align: center;
    }
    
    .work-step .step-number {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .commission-rate {
        font-size: 42px;
    }
}

.contact-hero {
    background: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.contact-hero h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-intro {
    font-size: 20px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    padding: 60px 0;
    background: #f9fafb;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section,
.contact-info-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-form-section p,
.contact-info-section p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #374151;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f11943;
    box-shadow: 0 0 0 3px rgba(241, 25, 67, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    background: #f11943;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.contact-submit:hover {
    background: #c01435;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 25, 67, 0.3);
}

.contact-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
}

.success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-success h3 {
    font-size: 24px;
    color: #155724;
    margin-bottom: 10px;
}

.contact-success p {
    color: #155724;
    margin: 0;
}

.contact-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #721c24;
}

.contact-info-list {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #f11943;
    transition: all 0.2s;
}

.contact-info-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f3ff;
    border-radius: 50%;
}

.info-content h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.info-content a {
    color: #f11943;
    text-decoration: none;
    transition: color 0.2s;
}

.info-content a:hover {
    color: #c01435;
    text-decoration: underline;
}

.contact-topics {
    background: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #f11943;
}

.contact-topics h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-topics ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-topics li {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.contact-topics li:before {
    content: "•";
    color: #f11943;
    font-weight: 700;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.contact-topics a {
    color: #f11943;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-topics a:hover {
    color: #c01435;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px 0;
    }
    
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-intro {
        font-size: 18px;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px 20px;
    }
    
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 24px;
    }
}

.page-body h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.page-body h3 {
    font-size: 22px;
    color: #34495e;
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.page-body p {
    margin-bottom: 15px;
}

.page-body ul,
.page-body ol {
    margin: 15px 0 15px 30px;
}

.page-body li {
    margin-bottom: 8px;
}

.page-body a {
    color: #f11943;
    text-decoration: none;
    transition: color 0.3s;
}

.page-body a:hover {
    color: #c01435;
    text-decoration: underline;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.error-content h1 {
    font-size: 120px;
    font-weight: 700;
    color: #f11943;
    line-height: 1;
    margin: 0 0 20px 0;
}

.error-content h2 {
    font-size: 32px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.error-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.button-primary {
    background: #f11943;
    color: #fff;
}

.button-primary:hover {
    background: #c01435;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 25, 67, 0.3);
}

.error-search {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.error-search h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.sort-options {
    display: flex;
    gap: 15px;
    margin: 25px 0 35px 0;
    flex-wrap: wrap;
    background: #fff;
    padding: 16px 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.sort-options select {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 180px;
    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='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.sort-options select:hover {
    border-color: #f11943;
}

.sort-options select:focus {
    outline: none;
    border-color: #f11943;
    box-shadow: 0 0 0 3px rgba(241, 25, 67, 0.1);
}

.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #f11943;
    color: #fff;
    border-color: #f11943;
}

.pagination .current {
    background: #f11943;
    color: #fff;
    border-color: #f11943;
}

.game-content {
    margin: 30px 0;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1.8;
    color: #444;
}

.game-content h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.game-content h3 {
    font-size: 20px;
    color: #34495e;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.game-content p {
    margin-bottom: 15px;
}

.game-content ul,
.game-content ol {
    margin: 15px 0 15px 30px;
}

.game-content li {
    margin-bottom: 8px;
}

.game-content a {
    color: #f11943;
    text-decoration: none;
    transition: color 0.3s;
}

.game-content a:hover {
    color: #c01435;
    text-decoration: underline;
}

.related-games {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-games h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .header-search {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form {
        width: 100%;
    }
    
    .site-logo {
        width: 100%;
        justify-content: center;
    }
    
    .site-logo img,
    .custom-logo-link img {
        max-height: 50px;
        max-width: 180px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .error-content {
        padding: 40px 20px;
    }
    
    .error-content h1 {
        font-size: 80px;
    }
    
    .error-content h2 {
        font-size: 24px;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
}

.content-with-sidebar {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar .widget {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.sidebar .widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 2px solid #f11943;
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.sidebar .widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar .widget a {
    color: #f11943;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .widget a:hover {
    color: #c01435;
}

.sidebar .widget p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.sidebar .widget p:last-child {
    margin-bottom: 0;
}

.posts-widget-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.posts-widget-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.posts-widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.posts-widget-image {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 6px;
}

.posts-widget-image a {
    display: block;
    line-height: 0;
}

.posts-widget-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.posts-widget-image:hover .posts-widget-thumbnail {
    transform: scale(1.05);
}

.posts-widget-content {
    flex: 1;
}

.posts-widget-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.posts-widget-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.posts-widget-title a:hover {
    color: #f11943;
}

.posts-widget-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
}

.posts-widget-meta {
    font-size: 12px;
    color: #999;
}

.posts-widget-date {
    display: inline-block;
}

.ad-container {
    margin: 20px 0;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.ad-header {
    margin: 0 0 20px 0;
    padding: 20px;
}

.ad-footer {
    margin: 20px 0 0 0;
    padding: 20px;
}

.ad-content {
    margin: 30px 0;
    padding: 20px;
}

.ad-sidebar {
    margin-bottom: 25px;
    padding: 15px;
}

.ad-sticky {
    position: sticky;
    top: 100px;
    margin-bottom: 25px;
    padding: 15px;
}

.ad-container iframe,
.ad-container img,
.ad-container ins,
.ad-container div[id*="google_ads"],
.ad-container div[id*="div-gpt-ad"] {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .content-with-sidebar {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .ad-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .posts-widget-item {
        padding-bottom: 15px;
    }
    
    .posts-widget-title {
        font-size: 15px;
    }
    
    .posts-widget-excerpt {
        font-size: 13px;
    }
    
    .ad-container {
        margin: 15px 0;
        padding: 10px;
    }
    
    .ad-header,
    .ad-footer,
    .ad-content {
        padding: 15px;
    }
    
    .ad-sidebar {
        padding: 10px;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
}
