@font-face {
  font-family: 'Moderniz';
  src: url('/fonts/Moderniz.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --text-primary: #191919;
  --text-secondary: #696969;
  --text-tertiary: #969696;
  --border-color: #e7e7e9;
  --border-color-hover: #d0d0d0;
  --navbar-bg: #191919;
  --navbar-text: #ffffff;
  --card-bg: #ffffff;
  --accent-color: #ff6600;
  --accent-hover: #ff8800;
  --shadow-sm: rgba(0, 0, 0, 0.1);
  --shadow-md: rgba(0, 0, 0, 0.15);
  --gradient-start: #f0f0f0;
  --gradient-end: #e0e0e0;
  --upload-dragover: #fff5f0;
}

[data-theme="dark"] {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #252525;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-tertiary: #707070;
  --border-color: #2a2a2a;
  --border-color-hover: #3a3a3a;
  --navbar-bg: #0a0a0a;
  --navbar-text: #e0e0e0;
  --card-bg: #1a1a1a;
  --accent-color: #ff6600;
  --accent-hover: #ff8800;
  --shadow-sm: rgba(0, 0, 0, 0.3);
  --shadow-md: rgba(0, 0, 0, 0.5);
  --gradient-start: #2a2a2a;
  --gradient-end: #1a1a1a;
  --upload-dragover: #2a1a0f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Navbar */
.navbar {
  background-color: var(--navbar-bg);
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  color: var(--navbar-text);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: -0.5px;
}

.navbar-brand:hover { 
  color: var(--accent-color);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.navbar-links a {
  color: var(--navbar-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.2s ease;
}

.navbar-links a:hover {
  color: var(--accent-color);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-links a.active {
  color: var(--accent-color);
}

.navbar-links a.active::after {
  width: 100%;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--navbar-text);
  padding: 0;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color-hover);
  transform: scale(1.05);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 3rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.wave-background {
  display: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  animation: fadeIn 0.6s ease;
}

.hero-title-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
  animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 2rem;
  letter-spacing: -0.3px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.hero-description {
  max-width: 560px;
  margin: 2rem auto 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Category Pills */
.category-pills {
  position: relative;
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2rem;
}

.pill {
  background-color: var(--card-bg);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  cursor: pointer;
}

.pill:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-color-hover);
}

/* Multi-Row Carousel Section */
.multi-carousel-section {
  padding: 3rem 0;
  background-color: var(--bg-primary);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  transition: background-color 0.3s ease;
}

.carousel-row {
  margin-bottom: 3rem;
  position: relative;
}

.carousel-row-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  padding: 0 3rem;
}

.carousel-row-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 0 3rem;
  cursor: grab;
  user-select: none;
}

.carousel-track-wrapper.grabbing {
  cursor: grabbing;
}

.carousel-card {
  pointer-events: auto;
}

.carousel-track-wrapper.grabbing .carousel-card {
  pointer-events: none;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 auto;
  width: calc((100% - 3.75rem) / 4);
  min-width: 280px;
  max-width: 380px;
}

.media-card {
  background-color: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
  cursor: pointer;
  height: 100%;
  border: 1px solid var(--border-color);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px var(--shadow-sm);
}

.media-card:hover .media-placeholder {
  opacity: 0.9;
}

.media-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: opacity 0.2s ease;
}

.media-placeholder::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 102, 0, 0.1);
  border-radius: 50%;
}

.placeholder-icon {
  font-size: 2rem;
  color: var(--accent-color);
  z-index: 1;
}

.media-info {
  padding: 1rem 0.75rem;
}

.media-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.media-type {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--shadow-sm);
}

.carousel-nav-btn:hover {
  background-color: var(--bg-tertiary);
  box-shadow: 0 4px 12px var(--shadow-md);
  border-color: var(--border-color-hover);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-nav-prev {
  left: 0.5rem;
}

.carousel-nav-next {
  right: 0.5rem;
}

/* Carousel Pagination */
.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 3rem;
}

.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
}

.pagination-dot:hover {
  background-color: var(--border-color-hover);
}

.pagination-dot.active {
  background-color: var(--accent-color);
  width: 24px;
  border-radius: 4px;
}

/* Upload Section */
.upload-section {
  background-color: var(--bg-secondary);
  padding: 3rem 2rem;
  margin-top: 3rem;
  border-radius: 4px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.upload-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.upload-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.upload-description {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.upload-area {
  width: 100%;
  max-width: 600px;
  padding: 3rem;
  border: 2px dashed var(--border-color-hover);
  border-radius: 4px;
  background-color: var(--card-bg);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-area:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-color);
}

.upload-area.dragover {
  background-color: var(--upload-dragover);
  border-color: var(--accent-color);
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.upload-text {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.upload-subtext {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

#fileInput {
  display: none;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

.preview-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  animation: scaleIn 0.3s ease;
  transition: transform 0.2s ease;
}

.preview-item:hover {
  transform: translateY(-2px);
}

.preview-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.preview-remove:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar-links {
    gap: 1.5rem;
  }

  .navbar-links a {
    font-size: 0.875rem;
  }

  .hero-section {
    padding: 3rem 1.5rem 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
  }

  .carousel-row-title {
    font-size: 1.25rem;
    padding: 0 1.5rem;
  }

  .carousel-track-wrapper {
    padding: 0 1.5rem;
  }

  .carousel-card {
    width: calc((100% - 1.25rem) / 2);
    min-width: 200px;
  }

  .carousel-nav-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-nav-prev {
    left: 0.25rem;
  }

  .carousel-nav-next {
    right: 0.25rem;
  }

  .carousel-pagination {
    padding: 0 1.5rem;
  }

  .upload-area {
    padding: 2rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .carousel-card {
    width: calc((100% - 2.5rem) / 3);
  }
}

@media (min-width: 1441px) {
  .carousel-card {
    width: calc((100% - 6.25rem) / 5);
  }
}

/* About Page - Apple-style Minimalist */
.about-section {
  min-height: 100vh;
  padding: 8rem 2rem 6rem;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container-new {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-video-main {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-video-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.showreel-video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-info {
  text-align: center;
  padding: 0;
}

.about-title-minimal {
  font-size: 1.75rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 400;
}

.meta-item {
  font-weight: 400;
}

.meta-divider {
  opacity: 0.4;
  font-size: 0.75rem;
}

.about-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 400;
}

/* Old styles for backwards compatibility */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.about-content {
  animation: slideInLeft 0.8s ease-out;
}

.about-title {
  font-size: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-image {
  position: sticky;
  top: 100px;
  animation: slideInRight 0.8s ease-out;
}

.about-video {
  position: sticky;
  top: 100px;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-md);
}

.placeholder-text {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 6rem 1.25rem 4rem;
  }

  .about-container-new {
    max-width: 100%;
    gap: 2rem;
  }

  .about-video-main {
    border-radius: 12px;
  }

  .about-title-minimal {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
  }

  .about-meta {
    font-size: 0.8125rem;
    gap: 0.4rem;
  }

  .about-description {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-image {
    position: relative;
    top: 0;
  }

  .about-video {
    position: relative;
    top: 0;
  }

  .image-placeholder {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Developer Page */
.developer-section {
  min-height: 100vh;
  padding: 8rem 2rem 6rem;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.developer-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.developer-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.photo-placeholder {
  color: var(--text-tertiary);
}

.developer-info {
  text-align: center;
}

.developer-title {
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.developer-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Copyright Page */
.copyright-section {
  min-height: 100vh;
  padding: 8rem 2rem 6rem;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

.copyright-container {
  max-width: 800px;
  margin: 0 auto;
}

.copyright-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.copyright-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.copyright-subtitle {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.copyright-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* FAQs Page */
.faqs-section {
  min-height: 100vh;
  padding: 8rem 2rem 6rem;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

.faqs-container {
  max-width: 800px;
  margin: 0 auto;
}

.faqs-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.faqs-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faq-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Responsive styles for new pages */
@media (max-width: 768px) {
  .developer-section,
  .copyright-section,
  .faqs-section {
    padding: 6rem 1.25rem 4rem;
  }

  .developer-photo {
    width: 150px;
    height: 150px;
  }

  .developer-title,
  .copyright-title,
  .faqs-title {
    font-size: 1.75rem;
  }

  .copyright-subtitle {
    font-size: 1.125rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .developer-text,
  .copyright-text,
  .faq-answer {
    font-size: 0.875rem;
  }
}

/* Footer */
.site-footer {
  background-color: var(--navbar-bg);
  color: var(--navbar-text);
  padding: 3rem 3rem 2rem;
  margin-top: 4rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--navbar-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.2s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1.5rem 1.5rem;
  }

  .footer-links {
    gap: 1.5rem;
    flex-direction: column;
  }

  .footer-copyright {
    font-size: 0.8125rem;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.video-modal:not(.active) .modal-overlay {
  opacity: 0;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1400px;
  max-height: 90vh;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  z-index: 10001;
  display: flex;
  flex-direction: column;
}

.video-modal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1) rotate(90deg);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: 100%;
  overflow: hidden;
}

.modal-video-container {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.modal-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.modal-info-sidebar {
  background: var(--bg-secondary);
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.meta-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

.modal-description {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-description h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.modal-description p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Video hover effects in cards */
.media-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-md);
}

.media-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.media-card:hover .media-placeholder video {
  transform: scale(1.05);
}

/* Ensure about page video is interactive */
.about-video .media-card {
  pointer-events: auto;
}

.about-video .media-placeholder {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .modal-info-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-color);
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 85vh;
  }

  .modal-info-sidebar {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-close {
    width: 36px;
    height: 36px;
  }

  .modal-meta-item {
    padding: 0.5rem;
  }

  .meta-label {
    font-size: 0.8125rem;
  }

  .meta-value {
    font-size: 0.875rem;
  }
}
