/*
Theme Name: HDHubFlix Premium
Theme URI: https://hdhubflix.com
Author: Shuhanur Rahman
Author URI: https://hdhubflix.com
Description: A high-performance, SEO-optimized movie theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premium-movie
Tags: movies, responsive, seo, lazy-load, grid-layout
*/

:root {
  --primary-color: #e50914;
  --bg-dark: #0a0a0a;
  --bg-secondary: #141414;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --card-bg: #1a1a1a;
  --hover-color: #ff0a16;
  --accent-gold: #ffd700;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:visited {
  color: #c9c9c9;
}

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

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a0a0a 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
  border-bottom: 2px solid var(--primary-color);
}

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-title {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Search Bar */
.search-form {
  display: flex;
  max-width: 400px;
  width: 100%;
  flex: 1;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--primary-color);
  background-color: rgba(26, 26, 26, 0.8);
  color: var(--text-primary);
  border-radius: 25px 0 0 25px;
  font-size: 14px;
  transition: all 0.3s;
  min-width: 0;
}

.search-form input[type="search"]:focus {
  outline: none;
  background-color: var(--card-bg);
  border-color: var(--hover-color);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.search-form button {
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  color: white;
  border: none;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.search-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

/* Notice Section */
.notice-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a0a0a 100%);
  padding: 20px 0;
  border-bottom: 2px solid rgba(229, 9, 20, 0.3);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.notice-section.notice-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.notice-section.notice-visible {
  transform: translateY(0);
  opacity: 1;
}

.notice-box {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.15), rgba(255, 215, 0, 0.1));
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.2);
  animation: noticeSlideIn 0.5s ease-out;
}

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

.notice-icon {
  font-size: 36px;
  flex-shrink: 0;
  animation: noticePulse 2s infinite;
}

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

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

.notice-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.notice-text {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
}

.notice-close {
  background: rgba(229, 9, 20, 0.8);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  position: absolute;
  top: 15px;
  right: 15px;
}

.notice-close:hover {
  background: var(--hover-color);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.5);
}

/* Featured Posts Slider */
.featured-section {
  margin: 30px 0;
  overflow: hidden;
}

.featured-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.featured-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 15px;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-secondary);
}

.featured-slider::-webkit-scrollbar {
  height: 8px;
}

.featured-slider::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

.featured-slider::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary-color), var(--hover-color));
  border-radius: 10px;
}

.featured-item {
  flex: 0 0 200px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

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

.featured-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.featured-item .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 28px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.9),
    -2px -2px 4px rgba(0, 0, 0, 0.9),
    2px -2px 4px rgba(0, 0, 0, 0.9),
    -2px 2px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: Impact, 'Arial Black', sans-serif;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  padding: 15px;
  z-index: 10;
}

.featured-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* Content Image Watermark */
.content-image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 20px 0;
}

.content-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.content-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 36px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.9),
    -2px -2px 4px rgba(0, 0, 0, 0.9),
    2px -2px 4px rgba(0, 0, 0, 0.9),
    -2px 2px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: Impact, 'Arial Black', sans-serif;
}

@media (max-width: 767px) {
  .content-watermark {
    font-size: 24px;
    letter-spacing: 2px;
  }
}

/* Grid Layout */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

/* Post Card */
.post-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #252525 100%);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid transparent;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.4);
  border-color: var(--primary-color);
}

.post-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 150%;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.post-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.1);
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.9),
    -2px -2px 4px rgba(0, 0, 0, 0.9),
    2px -2px 4px rgba(0, 0, 0, 0.9),
    -2px 2px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: Impact, 'Arial Black', sans-serif;
}

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

.post-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  display: block;
  min-height: 8.4em;
  color: var(--text-primary);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(229, 9, 20, 0.2);
}

.post-views {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-gold);
}

.post-date {
  font-size: 12px;
}

/* STYLISH PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 50px 0;
  flex-wrap: wrap;
}

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

.pagination li {
  list-style: none;
}

.pagination a,
.pagination span {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--card-bg), #252525);
  border-radius: 8px;
  min-width: 45px;
  text-align: center;
  transition: all 0.3s;
  display: inline-block;
  font-weight: 600;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pagination .current,
.pagination span.current {
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  font-weight: 700;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
  transform: scale(1.1);
}

.pagination a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  transform: scale(1.1);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

.pagination .dots {
  background: none;
  box-shadow: none;
  border: none;
  color: var(--text-secondary);
}

/* Categories Section */
.categories-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a0a0a 100%);
  padding: 40px 0;
  margin-top: 50px;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Details Section */
.details-section {
  margin: 50px 0;
}

.details-box {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(37, 37, 37, 0.8));
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.details-content {
  max-width: 900px;
  margin: 0 auto;
}

.details-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.details-text {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 16px;
}

.details-text p {
  margin-bottom: 20px;
}

.details-text h3 {
  font-size: 22px;
  color: var(--accent-gold);
  margin: 30px 0 15px;
  font-weight: 700;
}

.details-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.details-text li {
  padding: 10px 0;
  padding-left: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.details-text li:hover {
  padding-left: 20px;
  color: var(--accent-gold);
  border-bottom-color: var(--primary-color);
}

.details-text strong {
  color: var(--accent-gold);
  font-weight: 700;
}

.details-disclaimer {
  margin-top: 30px;
  padding: 20px;
  background: rgba(229, 9, 20, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.details-disclaimer strong {
  color: var(--primary-color);
}

/* Categories Section */
.categories-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a0a0a 100%);
  padding: 40px 0;
  margin-top: 50px;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.category-item {
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--card-bg), #252525);
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s;
  border: 2px solid transparent;
  font-weight: 600;
}

.category-item:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  border-color: var(--accent-gold);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

/* IMPROVED SINGLE POST */
.single-content {
  max-width: 1000px;
  margin: 40px auto;
  background: linear-gradient(135deg, var(--card-bg) 0%, #252525 100%);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--primary-color);
}

.single-title {
  font-size: 36px;
  margin-bottom: 25px;
  line-height: 1.3;
  background: linear-gradient(45deg, var(--text-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.single-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid rgba(229, 9, 20, 0.3);
  flex-wrap: wrap;
  font-size: 15px;
}

.single-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(229, 9, 20, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.single-content .entry-content {
  line-height: 1.9;
  font-size: 17px;
  color: #e0e0e0;
}

.single-content .entry-content img {
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--primary-color);
}

.single-content .entry-content h1 {
  margin: 40px 0 25px;
  font-size: 32px;
  color: var(--primary-color);
  font-weight: 800;
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 10px;
}

.single-content .entry-content h2 {
  margin: 35px 0 20px;
  font-size: 28px;
  color: var(--primary-color);
  border-left: 5px solid var(--accent-gold);
  padding-left: 20px;
  font-weight: 700;
}

.single-content .entry-content h3 {
  margin: 30px 0 18px;
  font-size: 24px;
  color: var(--accent-gold);
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.single-content .entry-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
}

.single-content .entry-content h3 a {
  color: var(--accent-gold);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  display: inline-block;
  padding: 2px 0;
  position: relative;
}

.single-content .entry-content h3 a::before {
  content: '🔗 ';
  opacity: 0;
  transition: opacity 0.3s;
}

.single-content .entry-content h3 a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  transform: translateX(5px);
}

.single-content .entry-content h3 a:hover::before {
  opacity: 1;
}

.single-content .entry-content h3 a:visited {
  color: #9d6bff;
}

.single-content .entry-content h3 a:visited:hover {
  color: #b084ff;
}

.single-content .entry-content h4 {
  margin: 25px 0 15px;
  font-size: 20px;
  color: #ff9800;
  font-weight: 700;
}

.single-content .entry-content h5 {
  margin: 20px 0 12px;
  font-size: 18px;
  color: #4caf50;
  font-weight: 600;
}

.single-content .entry-content h6 {
  margin: 18px 0 10px;
  font-size: 16px;
  color: #2196f3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-content .entry-content p {
  margin-bottom: 18px;
  text-align: justify;
}

.single-content .entry-content strong,
.single-content .entry-content b {
  color: var(--accent-gold);
  font-weight: 700;
}

.single-content .entry-content em,
.single-content .entry-content i {
  color: #a0a0a0;
  font-style: italic;
}

.single-content .entry-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: all 0.3s;
}

.single-content .entry-content a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

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

.single-content .entry-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.single-content .entry-content ul li {
  list-style-type: disc;
}

.single-content .entry-content ol li {
  list-style-type: decimal;
}

.single-content .entry-content blockquote {
  margin: 25px 0;
  padding: 20px 25px;
  background: rgba(229, 9, 20, 0.1);
  border-left: 5px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.single-content .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-content .entry-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: #4caf50;
}

.single-content .entry-content pre {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--primary-color);
}

.single-content .entry-content pre code {
  background: none;
  padding: 0;
}

.single-content .entry-content table {
  width: 100%;
  margin: 25px 0;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.single-content .entry-content table th {
  background: var(--primary-color);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 700;
}

.single-content .entry-content table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.single-content .entry-content table tr:last-child td {
  border-bottom: none;
}

.single-content .entry-content table tr:hover {
  background: rgba(229, 9, 20, 0.1);
}

.single-content .entry-content hr {
  margin: 30px 0;
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Related Posts */
.related-posts {
  margin: 60px 0 0;
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 2px solid var(--primary-color);
}

.related-posts h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* STYLISH COMMENTS SYSTEM */
.comments-area {
  margin-top: 60px;
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 2px solid var(--primary-color);
}

.comments-title {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--accent-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.comments-title::before {
  content: '💬';
  font-size: 28px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 20px;
  padding: 20px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border-left: 3px solid var(--primary-color);
  transition: all 0.3s;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.comment:hover {
  background: rgba(229, 9, 20, 0.1);
  border-left-color: var(--accent-gold);
}

.comment-author {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 15px;
  margin-bottom: 5px;
  word-wrap: break-word;
}

.comment-author img {
  max-width: 40px !important;
  height: 40px !important;
}

.comment-meta {
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 12px;
}

.comment-content {
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.comment-content p {
  margin-bottom: 10px;
}

.reply {
  margin-top: 12px;
}

.comment-reply-link {
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.comment-reply-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

.children {
  list-style: none;
  padding-left: 15px;
  margin-top: 15px;
}

.comment-respond {
  margin-top: 30px;
  padding: 25px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 2px solid var(--primary-color);
}

.comment-reply-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-gold);
  font-weight: 700;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-secondary);
  font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(26, 26, 26, 0.8);
  border: 2px solid rgba(229, 9, 20, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
  box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--card-bg);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

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

.form-submit {
  text-align: center;
  margin-top: 10px;
}

.submit {
  padding: 12px 35px;
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.submit:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5);
}

.comment-notes {
  font-size: 13px !important;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #0a0a0a 100%);
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
  border-top: 3px solid var(--primary-color);
}

/* Lazy Load */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .notice-section {
    padding: 15px 0;
  }
  
  .notice-box {
    padding: 15px 50px 15px 15px;
    gap: 12px;
  }
  
  .notice-icon {
    font-size: 28px;
  }
  
  .notice-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .notice-text {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .notice-close {
    width: 28px;
    height: 28px;
    font-size: 14px;
    top: 10px;
    right: 10px;
  }
  
  .site-header .container {
    gap: 12px;
  }
  
  .site-branding {
    flex: 1;
    min-width: 0;
  }
  
  .site-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .main-navigation {
    width: 100%;
    order: 3;
  }
  
  .search-form {
    max-width: 100%;
    width: 100%;
  }
  
  .search-form input[type="search"] {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .search-form button {
    padding: 10px 18px;
  }
  
  .search-form button svg {
    width: 18px;
    height: 18px;
  }
  
  .featured-item {
    flex: 0 0 180px;
  }
  
  .featured-item img {
    height: 270px;
  }
  
  .single-title {
    font-size: 24px;
  }
  
  .single-content {
    padding: 25px 15px;
  }
  
  .single-content .entry-content h2 {
    font-size: 22px;
  }
  
  .single-content .entry-content h3 {
    font-size: 20px;
  }
  
  .comments-area {
    padding: 20px 15px;
  }
  
  .comments-title {
    font-size: 20px;
  }
  
  .comment {
    padding: 15px 12px;
  }
  
  .comment-respond {
    padding: 20px 15px;
  }
  
  .children {
    padding-left: 10px;
  }
  
  .related-posts {
    padding: 25px 15px;
  }
  
  .related-posts h3 {
    font-size: 20px;
  }
  
  .post-title {
    font-size: 15px;
  }
  
  .details-box {
    padding: 25px 20px;
  }
  
  .details-title {
    font-size: 22px;
  }
  
  .details-text {
    font-size: 15px;
  }
  
  .details-text h3 {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 12px 0;
  }
  
  .site-title {
    font-size: 18px;
  }
  
  .search-form input[type="search"] {
    padding: 9px 12px;
    font-size: 12px;
  }
  
  .search-form button {
    padding: 9px 15px;
  }
  
  .search-form button svg {
    width: 16px;
    height: 16px;
  }
  
  .watermark {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .featured-item .watermark {
    font-size: 20px;
  }
}

/* Loading Spinner */
.loading {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: var(--text-secondary);
}

.loading::after {
  content: "⏳";
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 10px;
}

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