/* ===========================
   CSS VARIABLES
   =========================== */
:root {
  /* Colors */
  --color-text: #f9f4ff;
  --color-bg: #000000;
  --color-link: #ffffff;
  --color-link-hover: #ffafe5;
  --color-link-shadow: rgba(0, 0, 0, 0.81);
  --color-primary: #060506;
  --color-primary-dark: #190d26;
  --color-gradient-start: #4e3c65;
  --color-gradient-end: #2a1d3d;
  --color-secondary: #230f44;
  --color-secondary-light: #442d66;
  --color-breadcrumb-bg: #2c174d;
  --color-breadcrumb-text: #ffffff;
  --color-breadcrumb-link: #fff0c6;
  --color-breadcrumb-link-hover: #0056b3;
  --color-thumb-overlay: rgba(85, 85, 85, 0.8);
  --color-thumb-ad: rgba(255, 255, 255, 0.8);

  /* Shadows & Effects */
  --shadow-text-base: 0 1px 1px rgba(101, 72, 72, 0.73);
  --shadow-text-strong: 0 1px 1px rgba(0, 0, 0, 0.81);
  --shadow-btn-hover: 0 0 3px rgba(255, 255, 255, 0.42);

  /* Layout */
  --max-width: 1650px;
  --gutter: 10px;
}

/* ===========================
   RESET & BASE STYLES
   =========================== */
*, *::before, *::after {
  padding-bottom: 2px;
  list-style: none;
  border: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  text-shadow: var(--shadow-text-base);
}

a {
  color: var(--color-link);
  text-decoration: none;
  text-shadow: var(--shadow-text-strong);
}

a:hover {
  color: var(--color-link-hover);
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.clearfloat {
  clear: both;
  height: 0;
  font-size: 1px;
  line-height: 0;
}

.mainWrap {
  margin: 0 auto;
  max-width: var(--max-width);
  white-space: nowrap;
}

/* ===========================
   HEADER
   =========================== */
       header {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px 24px;
    }
 
    .logo-link {
      display: inline-flex;
      align-items: baseline;
      padding-bottom: 6px;
      border-bottom: 4px solid #E24B4A;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }
 
    .logo-link:hover { opacity: 0.75; }
 
    .logo-d {
      font-family: 'Abril Fatface', serif;
      font-size: 52px;
      color: #E24B4A;
      line-height: 1;
    }
 
    .logo-rest {
      font-family: 'Abril Fatface', serif;
      font-size: 52px;
      color: #ffffff;
      line-height: 1;
    }
 
    @media (max-width: 768px) {
      .logo-d, .logo-rest { font-size: 38px; }
      .logo-link { border-bottom-width: 3px; padding-bottom: 4px; }
    }
 
    @media (max-width: 480px) {
      .logo-d, .logo-rest { font-size: 28px; }
      .logo-link { border-bottom-width: 2px; padding-bottom: 3px; }
    }
 
    @media (max-width: 320px) {
      .logo-d, .logo-rest { font-size: 22px; }
    }

#topBanner{
  display:none
}

/* ===========================
   BREADCRUMB NAVIGATION
   =========================== */
nav[aria-label="breadcrumb"] {
  background-color: var(--color-breadcrumb-bg);
  border-radius: 4px;
  font-size: 15px;
  margin: 1em 0;
  padding: 0.5em 1em;
}

nav[aria-label="breadcrumb"] ol {
  display: flex;
  flex-wrap: wrap;
}

nav[aria-label="breadcrumb"] li {
  align-items: center;
  color: var(--color-breadcrumb-text);
  display: flex;
}

nav[aria-label="breadcrumb"] li + li::before {
  color: var(--color-breadcrumb-text);
  content: "›";
  margin: 0 8px;
}

nav[aria-label="breadcrumb"] a {
  color: var(--color-breadcrumb-link);
  text-decoration: none;
  transition: color 0.2s;
}

nav[aria-label="breadcrumb"] a:hover {
  color: var(--color-breadcrumb-link-hover);
}

/* ===========================
   NAVIGATION & BUTTONS
   =========================== */
.leftNichesTop a,
#navigation a,
.content a.button,
.hardLinkTopWrap {
  background-color: var(--color-gradient-end);
  background-image: linear-gradient(to bottom, var(--color-gradient-start), var(--color-gradient-end));
  border: 1px solid var(--color-primary-dark);
  text-shadow: var(--shadow-text-strong);
}

.leftNichesTop a:hover,
.content a.button:hover,
#topControls #navigation a:hover {
  border-color: #493c58;
  box-shadow: var(--shadow-btn-hover);
}

.leftNichesTop a.currentNiche {
  background-color: var(--color-bg);
  color: #8b7a9d;
  text-shadow: var(--shadow-text-base);
}

#navigation a {
  border-radius: 3px;
}

.sectionTitle {
  background-color: var(--color-secondary);
  background-image: linear-gradient(to bottom, var(--color-secondary-light), var(--color-secondary));
  border-radius: 7px 7px 0 0;
  font-size: 1.2em;
  padding: 0.25em 0;
  text-align: center;
}

.leftColumn .sectionTitle {
  border-radius: 0;
}

/* ===========================
   THUMBNAILS
   =========================== */
.thumbs,
.thumbNichesTop {
  display: block;
  margin: 0 auto;
  max-width: var(--max-width);
  text-align: center;
}

.thumbs a,
.thumbNichesTop a {
  background-color: var(--color-primary);
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-block;
  margin: 3px;
  padding: 4px 1px;
  vertical-align: middle;
  width: 324px;
  max-width: 324px;
  color: #8b7a9d;
  text-shadow: var(--shadow-text-base);
}

.thumbs a:hover,
.thumbNichesTop a:hover {
  color: var(--color-link);
  text-shadow: var(--shadow-text-strong);
}

.thumbs a > div:first-child,
.thumbNichesTop a > div:first-child {
  height: 0;
  padding-bottom: 75%;
  position: relative;
}

.thumbs a img,
.thumbNichesTop a img {
  border-radius: 7px;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.thumbs a:hover img,
.thumbNichesTop a:hover img {
  transform: scale(1.05);
}

.thumbs a div + div {
  line-height: 0;
  margin: -25px 0 3px;
  position: relative;
  text-align: right;
  z-index: 1;
}

.thumbs a div span {
  background-color: var(--color-thumb-overlay);
  border: 1px solid #dddddd;
  border-radius: 3px;
  color: #dddddd;
  display: inline-block;
  font-size: 16px;
  height: 18px;
  line-height: normal;
  margin-right: 1px;
  padding: 1px 3px;
}

.thumbs a div span[data-length="AD"] {
  background-color: var(--color-thumb-ad);
  color: #de2600;
  font-family: sans-serif;
}

.thumbs p {
  font-family: sans-serif;
  height: 1.35em;
  line-height: 1.35;
  overflow: hidden;
  padding: 6px 5px 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: calc(100% - 10px);
}

/* ===========================
   ICON CONTAINER (STATS)
   =========================== */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background-color: var(--color-secondary);
  background-image: linear-gradient(to bottom, var(--color-secondary-light), var(--color-secondary));
  border-radius: 8px;
  border: 1px solid #333;
  margin: 1.5rem 0;
}

.icon-container .stat,
.icon-container > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
  text-decoration: none;
  color: #e0e0e0;
}

.icon-container .icon {
  width: 18px;
  height: 18px;
  fill: #e0e0e0;
  transition: fill 0.2s ease;
}

.icon-container span {
  font-size: 0.95rem;
  color: #b0b0b0;
  white-space: nowrap;
}

.icon-container strong {
  color: #ffffff;
  font-weight: 600;
  margin-left: 0.25rem;
}

.icon-container a.stat:hover {
  color: #ffffff;
}

.icon-container a.stat:hover .icon {
  fill: #ffffff;
}

/* ===========================
   LOADING & PAGINATION
   =========================== */
#loading {
  color: #333;
  display: none;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

#load-more-btn {
  background-color: var(--color-secondary);
  background-image: linear-gradient(to bottom, var(--color-secondary-light), var(--color-secondary));
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
  width: 100%;
}

#load-more-btn:hover {
  background-color: #544341;
}

.arrow {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #007bff;
  height: 0;
  margin-top: 10px;
  width: 0;
}

#pagination {
  margin: 15px 0 40px;
  display: flex;
  justify-content: center;
}

#pagination-controls a,
#pagination-controls span {
  font-size: 1.3em;
  margin: 2px 4px;
  padding: 9px 13px;
}

#pagination a {
  color: #fff;
  text-decoration: none;
}

#pagination .current {
  background-color: #ff0000;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
}

/* ===========================
   VIDEO PAGE & PLAYER
   =========================== */
.video-page {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
  font-family: inherit;
}

.video-title {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.45);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
}

.fluid_video_wrapper {
  aspect-ratio: 16 / 9;
  height: auto !important;
}

/* ===========================
   COMMENTS SECTION
   =========================== */
#comments-section {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#comments-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

#comments-section h2 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a8edea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#comments-section h2::before {
  content: '💬';
  font-size: 1.5rem;
}

#comments-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 2.5rem 0 1.5rem;
  position: relative;
  padding-left: 1rem;
}

#comments-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Comments List */
#comments-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#comments-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#comments-list li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#comments-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  border-radius: 16px 16px 0 0;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

#comments-list li strong {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.comment-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.empty-comments {
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.empty-comments::before {
  content: '💭';
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Comment Form */
#comment-form {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

#comment-form input,
#comment-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  resize: vertical;
}

#comment-form input::placeholder,
#comment-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#comment-form input:focus,
#comment-form textarea:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#comment-form textarea {
  min-height: 120px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

#comment-form button {
  background-color: var(--color-secondary);
  background-image: linear-gradient(to bottom, var(--color-secondary-light), var(--color-secondary));
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#comment-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

#comment-form button:hover::before {
  left: 100%;
}

#comment-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

#comment-form button:active {
  transform: translateY(0);
}

#comment-status {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
}

#comment-status.success {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

#comment-status.error {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

#comment-status.pending {
  background: rgba(241, 196, 15, 0.1);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

/* ===========================
   RESPONSIVE MEDIA QUERIES
   =========================== */

/* Desktop Large (1395px+) */
@media (min-width: 1395px) {
  .thumbs,
  .thumbNichesTop {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Desktop (1065px+) */
@media (min-width: 1065px) {
  .header img {
    width: 150px;
  }
}

/* Tablets & Below (1024px) */
@media (max-width: 1024px) {
  .icon-container {
    padding: 1rem 1.5rem;
    gap: 1.5rem;
  }

  .icon-container span {
    font-size: 0.9rem;
  }
}

/* Tablets & Small Desktops (961px) */
@media (max-width: 961px) {
  .leftColumn,
  .textNichesTop {
    display: none;
  }

  .mainColumn {
    width: 100%;
  }

  .header img {
    width: 120px;
  }
}

/* Tablets (959px) */
@media (max-width: 959px) {
  .content {
    float: none;
    margin: auto;
    max-width: none;
  }

  .header {
    margin: 0.8em auto 1em;
  }

  .header h1,
  .header #topBanner {
    width: 100%;
  }

  .advt {
    border: 0;
    border-radius: 0;
    display: block;
    float: none;
    line-height: 0;
    margin: 45px auto;
    text-align: center;
    width: 100%;
  }

  .advt > iframe,
  .advt ul {
    border: 1px solid var(--color-primary-dark);
    border-radius: 7px;
    box-sizing: border-box;
    display: inline-block;
    height: 252px;
    overflow: hidden;
    padding: 0;
    max-width: 608px;
    width: 100%;
  }

  .advt li {
    display: inline-block;
    padding: 0;
  }

  .stickyAdvt {
    position: static;
  }

  .header img {
    width: 110px;
  }
}

/* Small Tablets (768px) */
@media (max-width: 768px) {
  .icon-container {
    padding: 1rem;
    gap: 1rem;
  }

  .icon-container .icon {
    width: 16px;
    height: 16px;
  }

  .icon-container span {
    font-size: 0.85rem;
  }

  #comments-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  #comments-section h2 {
    font-size: 1.6rem;
  }

  #comments-list li {
    padding: 1rem;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .comment-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  #comment-form {
    padding: 1.5rem;
  }

  #comment-form input,
  #comment-form textarea {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}

/* Mobile Large (640px) */
@media (max-width: 640px) {
  .icon-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .icon-container .stat,
  .icon-container > span:first-child {
    flex: 1 1 45%;
    min-width: 140px;
  }
}

/* Mobile (607px) */
@media (max-width: 607px) {
  .header img {
    width: 90px;
  }

  .advt > iframe {
    max-width: 303px;
  }

  nav[aria-label="breadcrumb"] {
    font-size: 13px;
    padding: 0.4em 0.8em;
  }

  nav[aria-label="breadcrumb"] li + li::before {
    margin: 0 5px;
  }

  #comments-section {
    padding: 1.2rem;
    border-radius: 16px;
  }

  #comments-section h2 {
    font-size: 1.4rem;
  }

  #comments-section h3 {
    font-size: 1.2rem;
    padding-left: 0.75rem;
  }

  #comments-list {
    gap: 1.2rem;
  }

  #comments-list li {
    padding: 0.9rem;
  }

  .comment-date {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .comment-avatar {
    width: 30px;
    height: 30px;
  }

  .comment-content {
    font-size: 0.9rem;
  }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
  .icon-container {
    flex-direction: column;
    padding: 0.875rem;
    gap: 0.875rem;
  }

  .icon-container .stat,
  .icon-container > span:first-child {
    width: 100%;
    flex: none;
    justify-content: flex-start;
    padding: 0.5rem;
    background: #222;
    border-radius: 6px;
  }

  .icon-container span {
    font-size: 0.9rem;
  }
}

/* Mobile Tiny (449px) */
@media (max-width: 449px) {
  .controls {
    font-size: 100%;
  }

  .controls a {
    width: 25%;
  }

  #status {
    width: 3.5em;
  }

  .header img {
    width: 80px;
  }

  nav[aria-label="breadcrumb"] {
    font-size: 12px;
    padding: 0.3em 0.7em;
  }

  nav[aria-label="breadcrumb"] ol {
    flex-wrap: wrap;
  }

  nav[aria-label="breadcrumb"] li {
    margin-bottom: 3px;
  }
}

/* Mobile Extra Small (360px) */
@media (max-width: 360px) {
  .icon-container {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .icon-container .stat,
  .icon-container > span:first-child {
    padding: 0.4rem;
  }

  .icon-container .icon {
    width: 15px;
    height: 15px;
  }

  .icon-container span {
    font-size: 0.85rem;
  }

  #comments-section {
    padding: 0.8rem;
  }

  .comment-avatar {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  #comments-section h2 {
    font-size: 1.1rem;
  }

  .comment-content {
    font-size: 0.8rem;
  }
}
