/* ============================================================
   Jun88 India SEO - WordPress Theme Main Stylesheet
   Dark Theme with Blue Gradient Accents
   ============================================================ */

/* ============================================================
   1. CSS Reset & Base Settings
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Devanagari', -apple-system-font, 'Helvetica Neue', Arial, sans-serif;
    background-color: #212534;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: #5ddcff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3c67e3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================================
   2. Layout Containers
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.content-area {
    padding: 20px 0;
    min-height: 60vh;
}

.site-content {
    padding-top: 120px;
    /* header height offset */
}

/* ============================================================
   3. Header Styles (.site-header)
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(33, 37, 52, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn-register {
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 220, 255, 0.3);
    color: #fff;
}

.btn-login {
    background: transparent;
    color: #5ddcff;
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid #5ddcff;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-login:hover {
    background: rgba(93, 220, 255, 0.1);
    color: #5ddcff;
}

.main-navigation {
    background: #1a1d29;
    position: relative;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
    border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 12px 18px;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
    color: #5ddcff;
    background: rgba(93, 220, 255, 0.05);
}

.nav-menu li.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #5ddcff;
    border-radius: 1px;
}

/* ============================================================
   4. Loading Animation (.loading-screen)
   ============================================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #93d6f1, #5ddcff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.loading-fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 150px;
    height: 150px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin-top: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   5. Hero Slider Banner (.hero-slider)
   ============================================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px 0;
}

.hero-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.hero-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.hero-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.hero-indicator.active {
    background: #5ddcff;
    width: 24px;
    border-radius: 4px;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.hero-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hero-nav-prev {
    left: 10px;
}

.hero-nav-next {
    right: 10px;
}

/* ============================================================
   6. Category Icon Grid (.category-grid)
   ============================================================ */
.category-section {
    padding: 30px 0;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #5ddcff, #3c67e3);
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #2a2d3e;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.category-item:hover {
    background: #333650;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(93, 220, 255, 0.1), rgba(60, 103, 227, 0.1));
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-name {
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
    text-align: center;
}

/* ============================================================
   7. Post Cards (.post-card)
   ============================================================ */
.post-card {
    background: #2a2d3e;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-category {
    font-size: 12px;
    color: #5ddcff;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.post-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #5ddcff;
}

.post-card-excerpt {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    flex: 1;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ============================================================
   8. Brand Ambassador Section (.ambassador-section)
   ============================================================ */
.ambassador-section {
    padding: 40px 0;
}

.ambassador-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ambassador-card {
    background: #2a2d3e;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.ambassador-card:hover {
    background: #333650;
    transform: translateY(-2px);
}

.ambassador-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ambassador-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.ambassador-info p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

/* ============================================================
   9. Games Grid (.games-grid)
   ============================================================ */
.games-section {
    padding: 30px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.game-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-item:hover {
    transform: scale(1.05);
}

.game-item .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    text-align: center;
}

.game-item .game-name {
    font-size: 11px;
    color: #fff;
    font-weight: 500;
}

/* ============================================================
   10. Promo Banner (.promo-banner)
   ============================================================ */
.promo-banner {
    background: linear-gradient(135deg, #5ddcff, #3c67e3, #4e00c2);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin: 30px 0;
}

.promo-banner h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.promo-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.promo-btn {
    display: inline-block;
    background: #fff;
    color: #3c67e3;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #3c67e3;
}

/* ============================================================
   11. News Section (.news-section)
   ============================================================ */
.news-section {
    padding: 40px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #2a2d3e;
    border-radius: 10px;
    transition: all 0.3s;
}

.news-item:hover {
    background: #333650;
}

.news-item-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-content {
    flex: 1;
}

.news-item-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.news-item-content h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item-content h3 a:hover {
    color: #5ddcff;
}

.news-item-content p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.5;
}

.news-item-date {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* ============================================================
   12. Partners Section (.partners-section)
   ============================================================ */
.partners-section {
    padding: 30px 0;
    background: #1a1d29;
}

.partners-title {
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.partners-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.partners-scroll::-webkit-scrollbar {
    display: none;
}

.partner-logo {
    height: 40px;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s;
    flex-shrink: 0;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
}

/* ============================================================
   13. Footer (.site-footer)
   ============================================================ */
.site-footer {
    background: #1a1d29;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 65px;
    /* space for mobile nav */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-copyright {
    font-size: 14px;
    color: #666;
}

.footer-license {
    font-size: 12px;
    color: #555;
}

.footer-alliance {
    font-size: 12px;
    color: #555;
}

/* ============================================================
   14. Mobile Bottom Navigation (.mobile-bottom-nav)
   ============================================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1a1d29, #212534);
    border-top: 1px solid rgba(93, 220, 255, 0.2);
    display: none;
    /* shown only on mobile */
    padding: 5px 0;
    padding-bottom: env(safe-area-inset-bottom, 5px);
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 0;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    transition: color 0.3s;
    flex: 1;
}

.bottom-nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
    filter: brightness(0.6);
    transition: filter 0.3s;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: #5ddcff;
}

.bottom-nav-item.active img,
.bottom-nav-item:hover img {
    filter: brightness(1) hue-rotate(180deg);
}

/* ============================================================
   15. Breadcrumb Navigation (.breadcrumb)
   ============================================================ */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #5ddcff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #444;
}

.breadcrumb .current {
    color: #888;
}

/* ============================================================
   16. Category Banner (.category-banner)
   ============================================================ */
.category-banner {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-banner-sports {
    background: linear-gradient(135deg, #1a73e8, #5ddcff);
}

.category-banner-casino {
    background: linear-gradient(135deg, #1a237e, #ffd700);
}

.category-banner-slots {
    background: linear-gradient(135deg, #4e00c2, #b388ff);
}

.category-banner-fishing {
    background: linear-gradient(135deg, #00695c, #26c6da);
}

.category-banner-lottery {
    background: linear-gradient(135deg, #e65100, #ffca28);
}

.category-banner-cockfight {
    background: linear-gradient(135deg, #b71c1c, #ff5252);
}

.category-banner-cardgame {
    background: linear-gradient(135deg, #1b5e20, #66bb6a);
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.category-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.category-banner-content h1 {
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-banner-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

/* ============================================================
   17. Single Article (.single-article)
   ============================================================ */
.single-article {
    padding: 30px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #888;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 30px 0 15px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 25px 0 12px;
}

.article-content img {
    border-radius: 8px;
    margin: 15px 0;
}

.article-content blockquote {
    border-left: 4px solid #5ddcff;
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(93, 220, 255, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tag {
    display: inline-block;
    background: rgba(93, 220, 255, 0.1);
    color: #5ddcff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.article-tag:hover {
    background: rgba(93, 220, 255, 0.2);
    color: #5ddcff;
}

/* ============================================================
   18. Related Posts (.related-posts)
   ============================================================ */
.related-posts {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-posts-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    background: #2a2d3e;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.related-post-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post-card .card-content {
    padding: 15px;
}

.related-post-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.related-post-card h4 a {
    color: inherit;
    text-decoration: none;
}

.related-post-card h4 a:hover {
    color: #5ddcff;
}

.related-post-card .card-date {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* ============================================================
   19. Social Share Buttons (.share-buttons)
   ============================================================ */
.share-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

/* ============================================================
   20. Pagination (.pagination)
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 30px 0;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #444;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}

.page-numbers:hover {
    background: rgba(93, 220, 255, 0.1);
    border-color: #5ddcff;
    color: #5ddcff;
}

.page-numbers.current {
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0 15px;
}

/* ============================================================
   21. Sidebar (.widget-area)
   ============================================================ */
.widget {
    background: #2a2d3e;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5ddcff;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.widget ul li a:hover {
    color: #5ddcff;
    padding-left: 5px;
}

/* ============================================================
   22. 404 Error Page (.error-404)
   ============================================================ */
.error-404-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 20px;
}

.error-404-content h1 {
    font-size: 100px;
    font-weight: 700;
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404-content h2 {
    font-size: 24px;
    color: #fff;
    margin: 15px 0;
}

.error-404-content p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 30px;
}

.btn-home {
    display: inline-block;
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 220, 255, 0.3);
    color: #fff;
}

/* ============================================================
   23. Search Form (.search-form)
   ============================================================ */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.search-field {
    flex: 1;
    padding: 10px 20px;
    border-radius: 25px;
    background: #2a2d3e;
    border: 1px solid #444;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-field:focus {
    border-color: #5ddcff;
}

.search-field::placeholder {
    color: #666;
}

.search-submit {
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(93, 220, 255, 0.3);
}

/* ============================================================
   24. Back to Top Button (.back-to-top)
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(93, 220, 255, 0.3);
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 220, 255, 0.4);
}

/* ============================================================
   25. WordPress Common Elements
   ============================================================ */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.alignwide {
    max-width: 1200px;
    margin: 0 auto;
}

.alignfull {
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.wp-block-image img {
    border-radius: 8px;
}

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

.sticky {
    border-left: 3px solid #5ddcff;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    flex: 1 0 calc(33.333% - 10px);
}

/* ============================================================
   Additional WordPress Elements
   ============================================================ */
.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption img {
    border-radius: 8px;
}

.wp-caption-text {
    font-size: 13px;
    color: #888;
    padding: 8px 0;
    text-align: center;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 15px;
    background: #2a2d3e;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #5ddcff;
    outline: none;
}

.comment-form .form-submit input {
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-form .form-submit input:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(93, 220, 255, 0.3);
}

/* WordPress Block Editor Support */
.wp-block-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.wp-block-pullquote {
    border-left: 4px solid #5ddcff;
    padding: 20px;
    margin: 20px 0;
    background: rgba(93, 220, 255, 0.05);
    border-radius: 0 8px 8px 0;
}

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

.wp-block-table th,
.wp-block-table td {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.wp-block-table th {
    background: rgba(93, 220, 255, 0.1);
    font-weight: 600;
    color: #fff;
}

.wp-block-table td {
    color: #ddd;
}

.wp-block-code {
    background: #1a1d29;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: #ddd;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #5ddcff, #3c67e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* ============================================================
   Category Page Layout
   ============================================================ */
.content-layout {
    display: flex;
    gap: 30px;
}

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

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

@media (max-width: 767px) {
    .content-layout {
        flex-direction: column;
    }

    .sidebar-area {
        width: 100%;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}
