:root {
  --bg: #0b1529;
  --bgSoft: #1f3050;
  --text: #dee4eb;
  --textSoft: #cbd2d9;
  --accent: #4f46e5;
  --accentHover: #6366f1;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadowLight: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, var(--accent), var(--accentHover));
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
}

body.light {
  --bg: #f8fafc;
  --bgSoft: #e2e8f0;
  --text: #1e293b;
  --textSoft: #64748b;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadowLight: rgba(0, 0, 0, 0.05);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.container {
  max-width: 1366px;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* NAVBAR START */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  position: sticky;
  top: 0;
  margin-bottom: 50px;
  z-index: 100;
  border-bottom: 1px solid var(--bgSoft);
  background-color: var(--bg);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.95;
  z-index: -1;
}

.logo {
  font-weight: 800;
  font-size: 44px;
  background: linear-gradient(135deg, var(--accent), var(--text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 18px;
  font-weight: 500;
}

.links > a {
  position: relative;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.links > a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.links > a:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

.links > a:hover {
  color: var(--accent);
  transform: translateY(-2px);
  text-shadow: 0 4px 8px var(--shadow);
}

.searchButton {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bgSoft);
  color: var(--textSoft);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.searchButton::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--shadowLight), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.searchButton:hover::before {
  left: 100%;
}

.searchButton:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accentHover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.searchButton svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.searchButton:hover svg {
  transform: rotate(90deg);
}

.toggle {
  width: 50px;
  height: 26px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: var(--bgSoft);
  border: 1px solid var(--textSoft);
  padding: 3px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle:hover {
  box-shadow: 0 0 20px var(--shadowLight);
  border-color: var(--accent);
}

.ball {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  background: var(--gradient);
  border: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 2px 8px var(--shadow);
}

.light .ball {
  left: calc(100% - 23px);
  background: var(--text);
}

/* NAVBAR END */

/* FOOTER START */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  font-size: 14px;
  border-top: 1px solid var(--bgSoft);
  margin-top: 50px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--gradient);
}

.footerLinks a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px 8px;
  border-radius: 6px;
}

.footerLinks a:hover {
  background: var(--bgSoft);
  color: var(--accent);
}

.social {
  display: flex;
  gap: 15px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bgSoft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.social a:hover::before {
  transform: translateY(0);
}

.social a:hover {
  transform: translateY(-3px);
}

.social a svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.social a:hover svg {
  transform: scale(1.1);
}

/* FOOTER END */

/* LIST START */

.list {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.listItem {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--bgSoft);
  border-radius: 20px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.listItem::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--shadowLight), transparent);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.listItem:hover::before {
  left: 100%;
}

.listItem:hover {
  box-shadow: 0 20px 60px var(--shadow);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bgSoft), rgba(79, 70, 229, 0.05));
}

.listItemImage {
  width: 140px;
  height: 150px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.listItemImage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: overlay;
}

.listItem:hover .listItemImage::before {
  opacity: 0.3;
}

.listItem:hover .listItemImage {
  transform: scale(1.05) rotate(2deg);
}

.listItemTexts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.listItemTitle {
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.listItemTitle a {
  position: relative;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.listItemTitle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.listItem:hover .listItemTitle::after {
  width: 100%;
}

.listItemDesc {
  color: var(--textSoft);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.listItem:hover .listItemDesc {
  opacity: 1;
  color: var(--text);
}

.listItemDetail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--textSoft);
}

.listItemAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.listItem:hover .listItemAvatar {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
  animation: pulse 2s infinite;
}

.listItemCategories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.listItemCategory {
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--gradient);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.listItemCategory::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.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.listItemCategory:hover::before {
  left: 100%;
}

.listItemCategory:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  filter: brightness(1.1);
  color: white;
}

.pagination {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  margin-top: 80px;
  margin-bottom: 30px;
  justify-content: center;
}

.page-item {
  border: 1px solid var(--bgSoft);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bgSoft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.page-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.page-item:hover::before,
.page-item.active::before {
  transform: scale(1);
}

.page-item:hover,
.page-item.active {
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.page-item a {
  position: relative;
  z-index: 1;
}

.page-item.disabled {
  background-color: #313845;
  cursor: not-allowed;
  opacity: 0.5;
}

/* LIST END */

/* SINGLE START */

.single {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.singleHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
  padding: 40px;
  background: linear-gradient(135deg, var(--bgSoft), rgba(79, 70, 229, 0.05));
  border-radius: 24px;
  border: 1px solid var(--bgSoft);
  position: relative;
  overflow: hidden;
}

.singleHead::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.singleHeadTexts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.singleHeadTitle {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.singleHeadDesc {
  font-size: 20px;
  font-weight: 300;
  color: var(--textSoft);
  line-height: 1.6;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.singleHeadDetail {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.singleAvatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.singleAvatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
  animation: pulse 1s infinite;
}

.singleCategory {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--gradient);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.singleCategory:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  filter: brightness(1.1);
}

.singleHeadImg {
  flex: 1;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.singleBottom {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 50px;
}

.singleContent {
  flex: 3;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

.singleContent p,
.singleContent h1,
.singleContent h2,
.singleContent h3 {
  margin: 25px 0;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.singleContent h1,
.singleContent h2,
.singleContent h3 {
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
}

.singleContent h1::after,
.singleContent h2::after,
.singleContent h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.singleContent p {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.singleContent p:hover {
  color: var(--text);
  transform: translateX(10px);
}

.singleContent img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 15px 40px var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 30px 0;
}

.singleContent img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 60px var(--shadow);
}

.singleContent pre {
  width: 100%;
  overflow-x: auto;
  padding: 25px;
  background: var(--bgSoft);
  border-radius: 16px;
  border-left: 4px solid var(--accent);
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 8px 25px var(--shadow);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.singleContent pre:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px var(--shadow);
}

.singleRightBar {
  flex: 1;
}

/* SINGLE END */

/* RESPONSIVE DESIGN */

@media (max-width: 1536px) {
  .container {
    max-width: 1366px;
  }
}

@media (max-width: 1366px) {
  .container {
    max-width: 1280px;
  }
}

@media (max-width: 1280px) {
  .container {
    max-width: 1024px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 768px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .singleHead {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .singleHeadImg {
    display: none;
  }

  .singleHeadTitle {
    font-size: 36px;
  }

  .singleBottom {
    flex-direction: column-reverse;
  }

  .listItem {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 25px;
  }

  .listItem:hover {
    transform: translateY(-5px) rotate(0deg);
  }

  .listItemImage {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 640px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar {
    height: 80px;
    padding: 0 20px;
  }

  .logo {
    font-size: 28px;
  }

  .links {
    font-size: 14px;
    gap: 15px;
  }

  .searchButton span {
    display: none;
  }

  .searchButton {
    padding: 10px;
    border-radius: 50%;
  }

  .listItem {
    padding: 20px;
    margin-bottom: 30px;
  }

  .listItemImage {
    display: none;
  }

  .listItemTitle {
    font-size: 20px;
  }

  .singleHeadTitle {
    font-size: 28px;
  }

  .singleHeadDesc {
    font-size: 16px;
  }

  .singleContent {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media (max-width: 640px) {
  .container {
    max-width: 475px;
  }

  .navbar {
    flex-direction: column;
    height: auto;
    padding: 15px;
    gap: 15px;
  }

  .links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* PERFORMANCE OPTIMIZATIONS */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* UTILITY ANIMATIONS */
.fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.slide-in-left {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.scale-in {
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* LOADING STATES */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 1.5s infinite;
}

/* Add this to static/styles/style.css */

/* COMMENTS SECTION START */

.comments-section {
  margin-top: 80px;
  padding: 40px;
  background: var(--bgSoft);
  border-radius: 24px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.comments-section:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px var(--shadow);
}

.comments-header {
  margin-bottom: 40px;
}

.comments-title {
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: var(--gradient);
  color: white;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

/* Comment Form */

.comment-form-wrapper {
  margin-bottom: 50px;
  padding: 30px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--bgSoft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-form-wrapper:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px var(--shadow);
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--textSoft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bgSoft);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.submit-btn {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.submit-btn::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.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  filter: brightness(1.1);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn:hover svg {
  transform: translateX(4px);
}

/* Comments List */

.comments-list-wrapper {
  margin-top: 40px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  padding: 25px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--bgSoft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.comment-item:nth-child(1) { animation-delay: 0.1s; }
.comment-item:nth-child(2) { animation-delay: 0.2s; }
.comment-item:nth-child(3) { animation-delay: 0.3s; }
.comment-item:nth-child(4) { animation-delay: 0.4s; }
.comment-item:nth-child(5) { animation-delay: 0.5s; }

.comment-item:hover {
  border-color: var(--accent);
  transform: translateX(8px);
  box-shadow: 0 8px 25px var(--shadow);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-item:hover .comment-avatar {
  transform: scale(1.1);
  animation: pulse 1s infinite;
}

.comment-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comment-user {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.comment-date {
  font-size: 13px;
  color: var(--textSoft);
}

.comment-body {
  padding-left: 63px;
}

.comment-body p {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
  word-wrap: break-word;
}

/* Empty States */

.no-comments,
.error-message,
.loading-skeleton {
  text-align: center;
  padding: 60px 20px;
  color: var(--textSoft);
  font-size: 16px;
}

.no-comments {
  background: var(--bg);
  border-radius: 16px;
  border: 2px dashed var(--bgSoft);
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Notification */

.notification {
  position: fixed;
  top: 100px;
  right: -400px;
  padding: 16px 24px;
  background: var(--bgSoft);
  border-radius: 12px;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 25px var(--shadow);
  z-index: 1000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 350px;
}

.notification.show {
  right: 30px;
}

.notification-success {
  border-color: #10b981;
  background: linear-gradient(135deg, var(--bgSoft), rgba(16, 185, 129, 0.1));
}

.notification-error {
  border-color: #ef4444;
  background: linear-gradient(135deg, var(--bgSoft), rgba(239, 68, 68, 0.1));
}

/* Responsive */

@media (max-width: 768px) {
  .comments-section {
    padding: 25px 20px;
    margin-top: 50px;
  }

  .comments-title {
    font-size: 24px;
  }

  .comment-form-wrapper {
    padding: 20px;
  }

  .comment-item {
    padding: 20px;
  }

  .comment-body {
    padding-left: 0;
    margin-top: 15px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }

  .notification {
    right: -100%;
    left: 15px;
    max-width: calc(100% - 30px);
  }

  .notification.show {
    right: auto;
    left: 15px;
  }
}

/* COMMENTS SECTION END */