/* Pod Details Page Styles */
:root {
  --pod-text: #ffffff;
  --pod-text-muted: #b0b0b0;
  --pod-border: #333333;
  --pod-shadow: rgba(0, 0, 0, 0.8);
}

/* Remove any debug overrides previously used */
.pod-details-container {
  background-color: var(--pod-darker) !important;
  color: var(--pod-text) !important;
  min-height: 100vh;
  padding-top: var(--header-height);
  position: relative;
  isolation: isolate;
}

/* Layered, subtle gradient overlays */
.pod-details-container::before,
.pod-details-container::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Base soft vignette to add depth */
.pod-details-container::before {
  background: radial-gradient(
      1200px 800px at 10% 0%,
      rgba(247, 150, 29, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 90% 20%,
      rgba(239, 71, 111, 0.05),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at 50% 100%,
      rgba(200, 74, 211, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  mix-blend-mode: normal;
}

/* Soft diagonal wash using brand colors */
.pod-details-container::after {
  background: linear-gradient(
    135deg,
    rgba(247, 150, 29, 0.05) 0%,
    rgba(239, 71, 111, 0.05) 35%,
    rgba(200, 74, 211, 0.05) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Ensure text colors stay readable on dark background */
.pod-details-container,
.pod-details-container * {
  color: var(--pod-text) !important;
}

.pod-details-container p,
.pod-details-container .section-text,
.pod-details-container .screenshot-caption,
.pod-details-container .support-text {
  color: var(--pod-text-muted) !important;
}

/* Hero Section retains a slightly brighter panel */
.pod-hero {
  background: linear-gradient(
    135deg,
    var(--pod-dark) 0%,
    var(--pod-lighter) 100%
  );
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.pod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(247, 150, 29, 0.08) 25%,
    rgba(239, 71, 111, 0.08) 55%,
    rgba(200, 74, 211, 0.08) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.pod-hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pod-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--pod-primary),
    var(--pod-secondary),
    var(--pod-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pod-subtitle {
  font-size: 1.25rem;
  color: var(--pod-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pod-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pod-tag {
  background: linear-gradient(135deg, var(--pod-primary), var(--pod-secondary));
  color: var(--pod-text);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(247, 150, 29, 0.2);
}

.pod-hero-image {
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--pod-shadow);
  border: 2px solid var(--pod-border);
}

/* Main Content */
.pod-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.content-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pod-section {
  background: var(--pod-light);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--pod-border);
  box-shadow: 0 10px 30px var(--pod-shadow);
  position: relative;
  overflow: hidden;
}

.pod-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--pod-primary),
    var(--pod-secondary),
    var(--pod-accent)
  );
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--pod-text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--pod-lighter);
  border-radius: 15px;
  border: 1px solid var(--pod-border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--pod-shadow);
  border-color: var(--pod-primary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.feature-item p {
  color: var(--pod-text-muted);
  line-height: 1.6;
}

/* Screenshots Grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.screenshot-item {
  text-align: center;
}
.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 2px solid var(--pod-border);
  transition: all 0.3s ease;
}
.screenshot-img:hover {
  transform: scale(1.02);
  border-color: var(--pod-secondary);
  box-shadow: 0 10px 25px var(--pod-shadow);
}
.screenshot-caption {
  margin-top: 1rem;
  color: var(--pod-text-muted);
  font-size: 0.9rem;
}

/* Sidebar */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.sidebar-card {
  background: var(--pod-light);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--pod-border);
  box-shadow: 0 10px 30px var(--pod-shadow);
  position: relative;
  overflow: hidden;
}
.sidebar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pod-primary), var(--pod-secondary));
}
.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Download Section */
.download-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.version-info,
.size-info,
.date-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pod-border);
}
.version-label,
.size-label,
.date-label {
  color: var(--pod-text-muted);
  font-size: 0.9rem;
}
.version-number,
.size-number,
.date-number {
  color: var(--pod-text);
  font-weight: 600;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--pod-primary), var(--pod-secondary));
  color: var(--pod-text);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(247, 150, 29, 0.25);
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(247, 150, 29, 0.35);
}
.download-icon {
  font-size: 1.2rem;
}

.download-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pod-border);
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pod-primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--pod-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Requirements List */
.requirements-list {
  list-style: none;
  padding: 0;
}
.requirements-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pod-border);
  color: var(--pod-text-muted);
  position: relative;
  padding-left: 1.5rem;
}
.requirements-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pod-primary);
  font-weight: bold;
}
.requirements-list li:last-child {
  border-bottom: none;
}

/* Support Section */
.support-text {
  color: var(--pod-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.support-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--pod-secondary), var(--pod-accent));
  color: var(--pod-text);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(239, 71, 111, 0.25);
}
.support-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 71, 111, 0.35);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .pod-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .pod-hero {
    padding: 3rem 1rem;
  }
  .pod-content {
    padding: 3rem 1rem;
  }
  .pod-title {
    font-size: 2.5rem;
  }
  .pod-section {
    padding: 2rem 1.5rem;
  }
  .sidebar-card {
    padding: 1.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pod-hero {
    padding: 2rem 1rem;
  }
  .pod-content {
    padding: 2rem 1rem;
  }
  .pod-title {
    font-size: 2rem;
  }
  .pod-section {
    padding: 1.5rem 1rem;
  }
  .sidebar-card {
    padding: 1rem;
  }
}
