/*
Theme Name: CumTapes
Theme URI:  https://cumtapes.com
Author:      CumTapes
Author URI:  https://cumtapes.com
Description: Explosive cumshot compilation tube. Bold splash design, dark background, neon accents.
Version:     1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.2
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cumtapes
Tags:        video, grid, adult, dark, neon, bold, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   1. BASE — Dark & Explosive
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #0a0a0f;
  color: #f0ecec;
  font-family: 'Oswald', 'Bebas Neue', Impact, 'Arial Black', 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: .3px;
}
a { color: #ff6a13; text-decoration: none; transition: all .15s; }
a:hover { color: #ff3d00; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: #ff6a13; color: #0a0a0f; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* Splash highlight effect */
.splash-highlight {
  background: linear-gradient(135deg, #ff6a13 0%, #ff3d00 50%, #ff6a13 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================================
   2. HEADER — Bold & Chunky
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2f 100%);
  border-bottom: 3px solid #ff3d00;
  box-shadow: 0 4px 30px rgba(255, 61, 0, .15);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(8px, 2vw, 20px);
}
.site-branding { display: flex; align-items: center; gap: 16px; }
.logo-splash {
  width: 56px; height: 56px;
  background: radial-gradient(circle at 30% 30%, #ff6a13, #ff3d00);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; text-shadow: 0 0 20px rgba(255,61,0,.5);
  user-select: none;
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255,61,0,.3); }
  50% { box-shadow: 0 0 30px rgba(255,61,0,.7), 0 0 60px rgba(255,61,0,.3); }
}
.site-title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 61, 0, .3);
}
.site-title a { color: #fff; }
.site-title .splash { color: #ff6a13; }
.site-title .dot { color: #ff3d00; }
.site-tagline { font-size: clamp(.6rem, 1.2vw, .7rem); color: #ff9a5c; letter-spacing: 3px; text-transform: uppercase; opacity: .7; }

.main-nav ul { list-style: none; display: flex; gap: clamp(8px, 1.5vw, 18px); margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  color: #ddd; font-weight: 700; font-size: clamp(.85rem, 1.5vw, .95rem);
  padding: 6px 14px; border: 1px solid rgba(255,61,0,.2); border-radius: 4px;
  text-transform: uppercase; letter-spacing: 1px; transition: all .2s;
}
.main-nav a:hover { color: #fff; background: #ff3d00; border-color: #ff3d00; text-decoration: none; }

.site-content {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(14px, 3vw, 24px) clamp(10px, 3vw, 20px) 60px;
}

/* =========================================================================
   3. SPLASH HEADER / TAGLINE AREA
   ========================================================================= */
.splash-banner {
  text-align: center;
  padding: 14px 10px;
  margin: 0 0 6px;
  background: linear-gradient(90deg, transparent, rgba(255,61,0,.06), transparent);
  border-top: 1px solid rgba(255,61,0,.15);
  border-bottom: 1px solid rgba(255,61,0,.15);
}
.splash-banner .splash-text {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: #ff6a13;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(255,61,0,.4);
  user-select: none;
}
.splash-banner .sub-splash {
  display: block;
  font-size: clamp(.75rem, 1.8vw, .95rem);
  color: #ff9a5c;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* =========================================================================
   4. VIDEO GRID — Tight, Punchy
   ========================================================================= */
.grid-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin: 4px 0 18px; padding: 12px 16px;
  background: linear-gradient(135deg, #12121f, #1a1a2f);
  border-left: 4px solid #ff3d00;
  border-radius: 0 12px 12px 0;
}
.grid-head h1 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 900;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.grid-head h1::before { content: "💦 "; font-size: 1.1em; }
.grid-count { color: #ff9a5c; font-size: .82rem; font-weight: 700; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: clamp(12px, 2vw, 22px);
}

/* Card — Dark, edgy, splash accent */
.video-card {
  background: linear-gradient(145deg, #12121f, #1a1a2f);
  border: 1px solid rgba(255,61,0,.15);
  border-radius: 8px;
  overflow: hidden;
  transition: all .2s ease;
  position: relative;
}
.video-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #ff6a13, #ff3d00, #ff6a13);
  opacity: 0; transition: opacity .2s;
}
.video-card:hover::before { opacity: 1; }
.video-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 30px rgba(255,61,0,.2);
  border-color: #ff3d00;
}

.thumb-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; filter: saturate(1.1); }
.video-card:hover .thumb-wrap img { transform: scale(1.04); }

/* Hover preview */
.thumb-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #000; opacity: 0; transition: opacity .25s ease;
}
.thumb-wrap:hover video { opacity: 1; }

/* SPLASH badge */
.badge-duration {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(255, 61, 0, .85); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 4px;
  letter-spacing: .5px;
}

/* HOT badge for new videos */
.badge-hot {
  position: absolute; left: 8px; top: 8px;
  background: #ff3d00; color: #fff;
  font-size: .65rem; font-weight: 800; padding: 2px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 0 12px rgba(255,61,0,.5);
}

/* Card content */
.video-card .card-body { padding: 12px 14px 14px; }
.video-card h2 {
  margin: 0; font-size: clamp(.95rem, 2vw, 1.1rem); line-height: 1.2; font-weight: 800;
}
.video-card h2 a { color: #f0ecec; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card h2 a:hover { color: #ff6a13; text-decoration: none; }
.meta {
  color: #ff9a5c; font-size: .78rem; margin-top: 5px;
  display: flex; gap: 10px; flex-wrap: wrap; font-weight: 600;
}

/* Pagination */
.pagination { margin-top: 30px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-block; padding: 8px 16px; border-radius: 6px;
  background: #12121f; color: #ddd; font-weight: 700; border: 1px solid rgba(255,61,0,.2);
  transition: all .15s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
  background: #ff3d00; color: #fff; border-color: #ff3d00; text-decoration: none;
  box-shadow: 0 0 15px rgba(255,61,0,.3);
}

/* =========================================================================
   5. SINGLE VIDEO PAGE
   ========================================================================= */
.video-player { margin-bottom: 18px; }
.video-player video { width: 100%; max-height: 78vh; background: #000; border-radius: 8px; border: 1px solid rgba(255,61,0,.2); }
.video-panel {
  background: linear-gradient(145deg, #12121f, #1a1a2f);
  border: 1px solid rgba(255,61,0,.12); border-radius: 10px; padding: 22px; margin-bottom: 22px;
}
.video-panel h1 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 900; margin: 0 0 8px; color: #fff; letter-spacing: .5px;
}
.video-panel .entry-meta { color: #ff9a5c; display: flex; gap: clamp(8px, 2vw, 16px); flex-wrap: wrap; font-weight: 700; }
.tags-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags-list a {
  background: rgba(255,61,0,.15); color: #ff9a5c; padding: 4px 12px; border-radius: 4px;
  font-size: .78rem; font-weight: 600; border: 1px solid rgba(255,61,0,.2);
  transition: all .15s;
}
.tags-list a:hover { background: #ff3d00; color: #fff; text-decoration: none; }
.video-desc { margin-top: 18px; border-top: 1px solid rgba(255,61,0,.2); padding-top: 16px; color: #ccc; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; }
.related-grid h3 {
  grid-column: 1 / -1; font-size: 1.25rem; margin: 0 0 4px;
  color: #fff; text-transform: uppercase; letter-spacing: 2px; font-weight: 900;
}
.related-grid h3::before { content: "💦 MORE SPLASHES 💦"; font-size: .85rem; }

/* Video layout - two column */
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 300px);
  gap: clamp(16px, 3vw, 26px);
  align-items: start;
  margin-bottom: 26px;
}
.video-main { min-width: 0; }
.video-ads { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.video-ads .ad-slot { margin: 0; }
.video-layout .video-panel { margin-bottom: 0; }
.video-layout .video-player { margin-bottom: 18px; }

/* =========================================================================
   6. ADS
   ========================================================================= */
.ad-slot {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 22px; text-align: center; overflow: hidden;
  background: rgba(18,18,31,.8); border-radius: 8px; padding: 6px;
  border: 1px solid rgba(255,61,0,.1);
}
.ad-label {
  display: block; font-size: .62rem; letter-spacing: 2px;
  text-transform: uppercase; color: #ff9a5c; margin-bottom: 4px; opacity: .6;
}
.ad-slot img, .ad-slot iframe, .ad-slot ins, .ad-slot video { max-width: 100%; }
.ad-ad_top_728 { padding: 4px 0 12px; }
.ad-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 0 0 26px; }
.ad-row .ad-slot { margin: 0; }

/* =========================================================================
   7. FOOTER
   ========================================================================= */
.site-footer {
  border-top: 3px solid #ff3d00; color: #ff9a5c; font-size: .82rem;
  background: #0a0a0f;
}
.site-footer .footer-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 24px clamp(12px, 3vw, 20px) 36px;
  display: grid; gap: 16px;
}
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.footer-legal a { color: #ff9a5c; border-bottom: 1px solid transparent; }
.footer-legal a:hover { color: #ff6a13; border-bottom-color: #ff3d00; }
.footer-note { color: #5a4a3a; font-size: .75rem; opacity: .6; }

/* =========================================================================
   8. PAGES
   ========================================================================= */
.single-page { max-width: 860px; }
.single-page h1 { font-size: 1.9rem; font-weight: 900; margin: 0 0 16px; color: #fff; text-transform: uppercase; letter-spacing: 2px; }
.legal-note { font-size: .82rem; color: #ff9a5c; border-left: 3px solid #ff3d00; padding-left: 12px; margin: 24px 0; }
.entry-content h2 { margin-top: 1.8em; color: #ff6a13; }
.entry-content code { background: #1a1a2f; padding: 2px 6px; border-radius: 4px; font-size: .9em; color: #ff9a5c; }

/* Search */
.search-form { display: flex; gap: 6px; }
.search-form input[type=search] {
  padding: 8px 14px; border-radius: 6px; border: 2px solid rgba(255,61,0,.2);
  background: #12121f; color: #eee; min-width: 180px; font-size: .9rem;
}
.search-form input[type=search]:focus { outline: none; border-color: #ff6a13; }
.search-form button { background: #ff3d00; color: #fff; border: 0; border-radius: 6px; padding: 8px 18px; font-weight: 800; cursor: pointer; text-transform: uppercase; }

/* =========================================================================
   9. RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .video-layout { grid-template-columns: minmax(0, 1fr); }
  .video-ads { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .video-ads .ad-slot { margin: 0 auto; }
  .video-layout .video-player video { max-height: none; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .site-header .search-form { width: 100%; justify-content: center; }
  .search-form input[type=search] { min-width: 130px; width: 100%; }
  .splash-banner .splash-text { font-size: clamp(1.4rem, 5vw, 2rem); }
  .video-card { border-radius: 6px; }
  .video-panel { padding: 14px; }
  .grid-head { flex-wrap: wrap; }
  .video-grid { gap: 10px; }
  .pagination { gap: 5px; }
  .pagination .page-numbers { padding: 6px 12px; font-size: .82rem; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .video-card h2 { font-size: .88rem; }
  .video-card .card-body { padding: 10px; }
  .site-title { font-size: 1.2rem; }
  .site-tagline { font-size: .55rem; letter-spacing: 1px; }
  .splash-banner .splash-text { font-size: 1.3rem; letter-spacing: 2px; }
  .main-nav ul { gap: 6px; justify-content: center; }
  .main-nav a { font-size: .78rem; padding: 4px 10px; }
  .video-panel { padding: 12px; border-radius: 8px; }
  .related-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .single-page { padding: 0 4px; }
  .entry-content { font-size: .9rem; }
}

@media (max-width: 360px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-card h2 { font-size: .95rem; }
  .search-form input[type=search] { min-width: 0; }
  .ad-row { gap: 10px; }
}

@media (min-width: 1600px) {
  .site-content, .header-inner, .footer-inner { max-width: 1500px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .video-card h2 { font-size: 1.15rem; }
  .site-title { font-size: 2.6rem; }
}

@media (min-width: 2200px) {
  .site-content, .header-inner, .footer-inner { max-width: 1800px; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
  body { font-size: 18px; }
  .video-panel { padding: 28px; }
}