/*
Theme Name: CineCraft — Personal Child (Final Full)
Template: generatepress
Version: 2.0.1
*/

/* Default (dark-first) variables */
:root{
  --cc-bg: #0f1115;
  --cc-text: #e6e6e6;
  --cc-muted: #9aa6b2;
  --cc-link: #6ab0ff;
  --cc-accent: #ff6b6b;
  --cc-card: #16181c;
  --cc-header: #0b0d11;
  --cc-primary: #6ab0ff;
}

/* Light mode override when .light exists on html/body */
html.light, body.light {
  --cc-bg:#ffffff;
  --cc-text:#111111;
  --cc-muted:#666666;
  --cc-link:#0066cc;
  --cc-accent:#ff5a5f;
  --cc-card:#ffffff;
  --cc-header:#ffffff;
}

*{box-sizing:border-box}
html,body{background:var(--cc-bg);color:var(--cc-text);margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--cc-link);text-decoration:none}
a:hover{text-decoration:underline}

/* Header */
.cc-header{position:sticky;top:0;z-index:9999;background:var(--cc-header);border-bottom:1px solid rgba(255,255,255,0.04);display:flex;align-items:center;justify-content:space-between;padding:10px 18px;gap:12px;color:var(--cc-text)}
.cc-header-inner{display:flex;align-items:center;gap:16px;width:100%;max-width:1200px;margin:0 auto;}
.cc-logo{font-weight:700;color:var(--cc-text);font-size:20px}
.cc-nav{flex:1}
.cc-menu{display:flex;gap:12px;list-style:none;margin:0;padding:0;align-items:center}
.cc-menu li a{color:var(--cc-text);padding:8px 10px;border-radius:6px;display:inline-block}
.cc-menu li a:hover{background:rgba(255,255,255,0.03);color:var(--cc-accent)}
.cc-search{margin-left:12px}
.cc-search .search-field{padding:6px 8px;border-radius:6px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:var(--cc-text)}
.cc-header-controls{display:flex;align-items:center;gap:10px}

/* Toggle and hamburger */
.cc-toggle, .cc-hamburger, .cc-backtotop{background:none;border:0;color:var(--cc-text);cursor:pointer;font-size:18px;padding:6px;border-radius:6px}
.cc-toggle:hover, .cc-hamburger:hover{background:rgba(255,255,255,0.03)}



/* 3-dot dropdown removed */
/*
.cc-dropdown{position:relative;margin-left:8px}
.cc-dropdown-btn{background:none;border:0;color:var(--cc-text);font-size:20px;cursor:pointer;padding:6px;border-radius:6px}
.cc-dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;background:var(--cc-card);border:1px solid rgba(255,255,255,0.04);border-radius:8px;min-width:180px;box-shadow:0 8px 30px rgba(0,0,0,0.35);z-index:60;padding:6px 0}
.cc-dropdown-menu li{list-style:none;margin:0}
.cc-dropdown-menu li a{display:block;padding:8px 12px;color:var(--cc-text);text-decoration:none}
.cc-dropdown-menu li a:hover{background:rgba(255,255,255,0.02);color:var(--cc-accent)}
.cc-dropdown:hover .cc-dropdown-menu, .cc-dropdown.open .cc-dropdown-menu{display:block}
*/




/* Mobile Drawer */
#cinecraft-mobile-drawer{position:fixed;top:0;right:-100%;width:300px;height:100%;background:var(--cc-card);transition:right .28s ease;padding:22px;z-index:10000;overflow:auto}
#cinecraft-mobile-drawer.open{right:0}
#cinecraft-mobile-drawer .cc-close{display:block;margin-bottom:16px;background:none;border:0;color:var(--cc-text);font-size:26px}

/* HERO */
.cc-hero{display:flex;gap:16px;padding:12px;background:linear-gradient(90deg, rgba(106,176,255,0.04), rgba(0,0,0,0));align-items:center;border-radius:8px;margin:12px 0}
.cc-hero .poster{width:160px;flex:0 0 160px}
.cc-hero .info h2{margin:0;color:var(--cc-primary)}

/* SLIDER */
.cc-slider-wrap{margin:14px 0;position:relative;padding:0 6px}
.cc-slider{display:flex;gap:12px;overflow:hidden;padding:10px 6px;scroll-behavior:smooth}
.cc-slide{min-width:160px;flex:0 0 160px;background:var(--cc-card);border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.25);padding:6px;text-align:center;transition:transform .12s}
.cc-slide:hover{transform:scale(1.03)}
.cc-slide img{width:100%;height:200px;object-fit:cover;border-radius:6px}
.cc-slider-controls{position:absolute;right:8px;top:6px;display:flex;gap:6px;z-index:10}
.cc-slider-controls button{background:rgba(255,255,255,0.06);color:var(--cc-text);border:0;padding:6px;border-radius:6px;cursor:pointer}

/* GRID */
.cc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:12px 0}
@media(min-width:700px){.cc-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.cc-grid{grid-template-columns:repeat(5,1fr)}}
.cc-card{background:var(--cc-card);border-radius:8px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,0.18);transition:transform .12s}
.cc-card img{width:100%;height:220px;object-fit:cover;display:block}
.cc-card .meta{padding:8px;color:var(--cc-muted);font-size:13px}

/* Post position badge */
.cc-post-pos{display:inline-block;min-width:28px;text-align:center;margin-right:8px;background:rgba(255,255,255,0.04);color:var(--cc-text);padding:4px 6px;border-radius:4px;font-weight:600;font-size:0.9rem}

/* Ad container */
.cc-ad{margin:16px 0;padding:8px;background:rgba(255,255,255,0.02);border-radius:6px;text-align:center;color:var(--cc-muted)}

/* Footer */
.cc-footer{padding:20px;background:var(--cc-header);color:var(--cc-text);text-align:center;margin-top:28px}
.cc-footer .cc-footer-menu{list-style:none;display:flex;gap:16px;justify-content:center;padding:0;margin:0}
.cc-footer .cc-footer-menu li a{color:var(--cc-text);text-decoration:none;font-size:14px}

/* Responsive */
@media(max-width:900px){
  .cc-search{display:none}
  .cc-menu{display:none}
  .cc-logo{font-size:18px}
  .cc-hero .poster{display:none}
  .cc-slide img{height:160px}
  .cc-grid{grid-template-columns:repeat(2,1fr)}
}

/* Ensure dark-mode classes apply */
body.dark, html.dark, .dark body { background:var(--cc-bg); color:var(--cc-text) }








/* ----------------------------
   HEADINGS COLOR & STYLE
   ---------------------------- */
h1, h2, h3 {
    color: #ffffff; /* White color for all headings */
    margin: 12px 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Center H1 */
h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

/* H2 for sections */
h2 {
    font-size: 1.6rem;
    font-weight: 600;
}

/* H3 if needed */
h3 {
    font-size: 1.4rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    h3 {
        font-size: 1.2rem;
    }
}








Addisnal css





/* ----------------------------
   DETAIL PAGE BODY
   ---------------------------- */
body.single,
body.page-template-detail {
    background: rgba(0, 0, 0, 1) !important;
    color: #fff;
}

/* ----------------------------
   ARTICLE / OVERVIEW CONTENT
   ---------------------------- */
.tmdb-custom-article,
.tmdb-overview,
.tmdb-description,
.tmdb-info,
.entry-content,
.post-content,
.content-area,
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .container,
.separate-containers .paging-navigation,
.inside-page-header,
.elementor-section,
.wp-block-group,
.tmdb-container,
.tmdb-content-wrapper {
    background: rgba(0, 0, 0, 1) !important;
    color: #fff !important;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

/* Article / Box hover effect */
.tmdb-custom-article:hover,
.tmdb-box:hover,
.box:hover,
.card:hover {
    background-color: rgba(40,40,40,1);
}

/* ----------------------------
   TABLE DESIGN
   ---------------------------- */
.tmdb-full-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: rgba(0, 0, 0, 1);
    transition: all 0.3s ease;
}

.tmdb-full-table th {
    background: rgba(0, 0, 0, 1);
    color: #fff;
    padding: 8px;
    width: 200px;
    border: 1px solid #444;
}

.tmdb-full-table td {
    padding: 8px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 1);
    color: #fff;
}

/* Table row hover highlight */
.tmdb-full-table tr:hover {
    background-color: rgba(50,50,50,0.8);
}

/* ----------------------------
   RELATED GRID ITEMS
   ---------------------------- */
.tmdb-related-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tmdb-related-item {
    width: 120px;
    text-align: center;
    background: rgba(0, 0, 0, 1);
    color: #fff;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

/* Related item hover effect */
.tmdb-related-item:hover {
    background-color: rgba(70,70,70,0.9);
    transform: scale(1.03);
}

/* ----------------------------
   BOXES / WIDGETS / SECTION
   ---------------------------- */
.box,
.card,
.widget,
.section,
.tmdb-box,
.tmdb-section {
    background: rgba(0,0,0,1) !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    border-radius: 6px;
    padding: 12px;
}

/* ----------------------------
   LIGHTBOX
   ---------------------------- */
.tmdb-lightbox-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.tmdb-lightbox-overlay img {
    max-width: 95%;
    max-height: 95%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    border-radius: 6px;
}

.tmdb-lightbox-close {
    position: absolute;
    right: 18px;
    top: 18px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    font-weight: 700;
}

/* Lightbox mobile adjustment */
@media (max-width: 768px) {
    .tmdb-lightbox-overlay img {
        max-width: 90%;
        max-height: 90%;
    }
}

/* ----------------------------
   BACKDROP BLOCKS
   ---------------------------- */
.tmdb-backdrops-vertical {
    margin-top: 16px;
}

.tmdb-backdrop-block {
    margin-bottom: 12px;
}

.tmdb-backdrop-full {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ----------------------------
   MORE LIST
   ---------------------------- */
.tmdb-more-list {
    margin-left: 20px;
}

/* ----------------------------
   RESPONSIVE MOBILE ADJUSTMENTS
   ---------------------------- */
@media (max-width: 768px) {
    .tmdb-related-grid {
        flex-direction: column;
        gap: 10px;
    }
    .tmdb-related-item {
        width: 100%;
    }
    .tmdb-full-table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
    }
}

/* ----------------------------
   SCROLLBAR DARK THEME
   ---------------------------- */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 6px;
}
body::-webkit-scrollbar-track {
    background: #222;
}