/* Font Face Declaration for Kertayasa */
@font-face {
  font-family: 'Kertayasa';
  src: url('/fonts/KertayasaFree.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  margin: 0;
  min-width: 100vw;
  overflow-x: hidden;
  padding: 0;
}

.home-page {
  background-color: #03070c;
}

.home-page > .content {
  /* Full-screen background with adjustable width */
  background-image: url('images/DM_main.png');
  background-size: 100vw auto;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.content {
  width: 100%;
  padding: 0px;
  color: white;
  position: relative; /* Enable absolute positioning for child elements */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content h1 {
  font-family: 'Kertayasa', serif;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content h2 {
  font-family: 'Kertayasa', serif;
  font-size: 24px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 30px;
  color: #ccc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.content h3 {
  font-family: 'Kertayasa', serif;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 18px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section p {
  font-size: 18px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Call to Action Button */
.cta-button {
  background: linear-gradient(135deg, #2d1b69, #4a1c1c);
  color: white;
  border: 2px solid #FFD700;
  padding: 15px 40px;
  font-family: 'Kertayasa', serif;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #4a1c1c, #2d1b69);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 0 0 8px #FFD700;
}

/* Features Grid */
.features-grid {
  display: flex;
  gap: 3em;
  padding-top: 41%;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  position: relative;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .features-grid {
    padding-top: 73%;
  }
}

.feature-card {
  background: rgba(45, 27, 105, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 40px 35px;
  text-align: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  text-decoration: none;
  width: 20rem;
}

.feature-card:hover {
  background: rgba(45, 27, 105, 0.5);
  border-color: rgba(255, 215, 0, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.feature-card p {
  font-size: 17px;
  line-height: 1.7;
  color: #ddd;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1400px) {
  .features-grid {
    grid-template-columns: 375px 375px 375px;
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: 350px 350px 350px;
    gap: 30px;
  }
}

@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: 320px 320px 320px;
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 30px;
  }
}

/* Connection Info */
.connection-info {
  text-align: center;
  padding: 0;
  width: 100%;
  position: relative;
}

.connection-info p {
  font-size: 18px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.connection-info strong {
  color: #FFD700;
  text-shadow: 0 0 8px #FFD700;
}

.connection-note {
  font-style: italic;
  color: #aaa !important;
  font-size: 16px !important;
}

/* Separator */
.separator {
  margin-top: 1em;
  margin-bottom: 1em;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Additional Content */
.additional-content {
  width: 100%;
  padding: 0;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
  margin-top: 1em;
}

.content-placeholder {
  background: linear-gradient(135deg, 
    rgba(45, 27, 105, 0.8) 0%, 
    rgba(74, 28, 28, 0.8) 50%, 
    rgba(45, 27, 105, 0.8) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 0;
  padding: 60px 40px;
  min-height: 200px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  margin: 0 -20px;
}

.content-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 215, 0, 0.1) 50%, 
    transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

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

.feature-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  margin: 0 100px;
  gap: 60px;
  flex-wrap: wrap;
}

.custom-card {
  flex: 1 1 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  background: none;
  border: none;
}

@media (max-width: 600px) {
  .feature-row {
    margin: 0 10px; /* Reduce margin for small screens */
    gap: 20px;
  }
  .custom-card {
    flex: 1 1 100%;
  }
}

.custom-card.image-card {
  /* Let the image determine the card size */
  flex: 0 1 auto;
  height: auto;
  width: auto;
}

.custom-card.black-bg {
  background: #000;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.custom-card.white-bg {
  background: #fff;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Background image classes for feature cards */
.custom-card.bg-image-1 {
  background-image: url('images/placehold1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.custom-card.bg-image-2 {
  background-image: url('images/placehold2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.custom-card.bg-image-3 {
  background-image: url('images/placehold3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.custom-card.bg-image-4 {
  background-image: url('images/placehold4.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.custom-card.image-card .feature-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 1200px) {
  .feature-row {
    margin: 0 40px;
    gap: 16px;
  }
  .custom-card {
    width: 200px;
    height: 140px;
  }
}

@media (max-width: 900px) {
  .feature-row {
    margin: 0 10px;
    gap: 8px;
  }
  .custom-card {
    width: 120px;
    height: 90px;
  }
}

/* About page specific styles */
.about-section {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 30px;
  background: rgba(45, 27, 105, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.about-section h2 {
  font-family: 'Kertayasa', serif;
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.connection-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(45, 27, 105, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.connection-section h3 {
  font-family: 'Kertayasa', serif;
  font-size: 28px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.connection-section p {
  font-size: 18px;
  color: #ddd;
  margin: 10px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.connection-section strong {
  color: #FFD700;
  font-weight: bold;
}

.testimonial-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(45, 27, 105, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.testimonial-section h3 {
  font-family: 'Kertayasa', serif;
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.testimonial-section blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin: 0;
  padding: 20px;
  border-left: 3px solid #FFD700;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.testimonial-section blockquote em {
  color: #FFD700;
  font-style: italic;
  font-weight: bold;
}

/* Races Grid Layout */
.races-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
  background: none;
}

.races-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.race-card {
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 3px solid rgba(212,175,55,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
  background-clip: padding-box;
  background: #3a2c23;
}
.race-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2.5px solid rgba(45,27,105,0.18);
  pointer-events: none;
  z-index: 1;
}
.race-card:hover, .race-card:focus {
  border-color: #a78bfa;
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.race-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #FFD700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 0;
}
.race-name {
  font-family: 'Kertayasa', serif;
  font-size: 1.35rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  margin-top: 0;
  text-shadow: 0 2px 8px rgba(45,27,105,0.18);
  z-index: 2;
}
.race-flavor {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  font-style: italic;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 0;
  align-self: stretch;
  padding-top: 18px;
}
.race-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.classes-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
  background: none;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.class-card {
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 3px solid rgba(212,175,55,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
  background-clip: padding-box;
  background: #3a2c23;
  text-decoration: none;
}
.class-card:hover, .class-card:focus {
  border-color: #a78bfa;
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.class-name {
  font-family: 'Kertayasa', serif;
  font-size: 1.35rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  margin-top: 18px;
  text-shadow: 0 2px 8px rgba(45,27,105,0.18);
  z-index: 2;
}

.class-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Small-screen tightening for card grids */
@media (max-width: 600px) {
  .races-grid, .classes-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* Back Button */
.back-button-container {
  max-width: 1200px;
  margin: 0 auto 20px auto;
  padding: 0 20px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(45, 27, 105, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  color: #FFD700;
  text-decoration: none;
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.back-button:hover {
  background: rgba(45, 27, 105, 0.8);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.bottom-back-button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Class Template Wireframe Styles */
#class-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(45, 27, 105, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Class Header */
.class-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.class-main-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 8px;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.class-main-image.anti-paladin {
  object-position: center 10%;
}

.class-header h1 {
  margin: 0;
  font-size: 48px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Class Stats */
.class-stats {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.class-stats h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #FFD700;
  font-size: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(45, 27, 105, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.stat-label {
  font-weight: bold;
  color: #ccc;
}

.stat-value {
  color: #FFD700;
  font-weight: bold;
  font-size: 18px;
}

/* Playable Races */
.playable-races {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.playable-races h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #FFD700;
  font-size: 24px;
}

#class-container .races-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.race-tag {
  padding: 8px 16px;
  background: rgba(45, 27, 105, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.race-link {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.race-link:hover {
  background: rgba(45, 27, 105, 0.8);
  border-color: rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.alignment-row {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}

.alignment-item {
  width: auto;
  min-width: fit-content;
  max-width: fit-content;
}

.alignment-item .stat-label {
  margin-right: 20px;
}

.alignment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 4px;
  align-items: center;
}

.alignment-tag {
  padding: 8px 16px;
  background: rgba(45, 27, 105, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-right: 0;
  margin-bottom: 4px;
}

.alignment-separator {
  color: #FFD700;
  font-weight: bold;
  margin: 0 8px;
  font-size: 14px;
}

/* Class Lore */
.class-lore {
  margin-bottom: 40px;
  padding: 25px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.class-lore:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.class-lore h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #FFD700;
  font-size: 24px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.class-lore p {
  color: #ddd;
  line-height: 1.6;
  font-size: 16px;
  margin: 0 0 15px 0;
}

/* Enhanced lore section styling */
.class-lore h4 {
  color: #FFD700;
  font-size: 18px;
  margin: 25px 0 15px 0;
  padding-left: 15px;
  border-left: 3px solid rgba(255, 215, 0, 0.4);
  font-weight: 600;
}

.class-lore h4:first-of-type {
  margin-top: 0;
}

/* Subtle text enhancement for lore paragraphs */
.class-lore p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Subtle background pattern for lore sections */
.class-lore::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}



/* Subtle spacing improvements for lore content */
.class-lore p:last-child {
  margin-bottom: 0;
}

/* Class Tips */
.class-tips {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.class-tips h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #FFD700;
  font-size: 24px;
}

.class-tips ul {
  margin: 0;
  padding-left: 20px;
}

.class-tips li {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 16px;
}

.religions-page .content {
   padding-top: 10px;
}

.resources-page .content {
   padding-top: 10px;
}

.quick-guide-page .content {
   padding-top: 10px;
}

/* Subclasses */
.subclasses {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.subclasses h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #FFD700;
  font-size: 24px;
}

.subclasses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.subclass-card {
  padding: 15px;
  background: rgba(45, 27, 105, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.subclass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.4);
}

/* Interactive subclass card styles */
.interactive-subclass-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.interactive-subclass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.interactive-subclass-card.selected {
  background: rgba(45, 27, 105, 0.4);
  border-color: #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 4px 12px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.interactive-subclass-card.selected:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* Clear selection button styles */
.clear-selection-button {
  background: rgba(45, 27, 105, 0.8);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  font-family: 'Kertayasa', serif;
}

.clear-selection-button:hover {
  background: rgba(45, 27, 105, 1);
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  transform: translateY(-1px);
}

/* Smooth transitions for skills/spells content */
#skills-content,
#spells-content {
  transition: opacity 0.3s ease;
}

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

.subclass-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.subclass-header h3 {
  margin: 0;
  color: #FFD700;
  font-size: 18px;
}

.subclass-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.subclass-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.subclass-stat .stat-label {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 5px;
}

.subclass-stat .stat-value {
  font-size: 16px;
  color: #FFD700;
  font-weight: bold;
}

.no-subclasses {
   color: #888;
   font-style: italic;
   text-align: center;
   grid-column: 1 / -1;
   padding: 20px;
}

/* Skills Section */
.skills-spells-container {
   display: flex;
   gap: 40px;
   margin-bottom: 40px;
   align-items: flex-start;
}

/* Spells and Promotions Column */
.spells-promotions-column {
   display: flex;
   flex-direction: column;
   gap: 20px;
   flex: 1;
}

.skills-section {
   flex: 1;
   padding: 20px;
   background: rgba(0, 0, 0, 0.3);
   border-radius: 8px;
   border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Reduced padding for skills section when belt promotions are present (Monk subclasses) */


.skills-section h2 {
   margin-top: 0;
   margin-bottom: 20px;
   color: #FFD700;
   font-size: 24px;
}

.skills-table {
   width: auto;
   border-collapse: collapse;
   margin-bottom: 15px;
   table-layout: auto;
}

.skills-table th {
   background: rgba(45, 27, 105, 0.4);
   color: #FFD700;
   padding: 12px;
   text-align: left;
   border: 1px solid rgba(255, 215, 0, 0.2);
   font-weight: bold;
}

.skills-table th,
.skills-table td {
   white-space: nowrap;
   padding: 10px 16px;
   font-family: 'Courier New', monospace;
   font-size: 18px;
}

.skills-table td {
   padding: 10px 12px;
   border: 1px solid rgba(255, 215, 0, 0.1);
   color: #ddd;
}

.skills-table tr:nth-child(even) {
   background: rgba(45, 27, 105, 0.1);
}

.skills-table tr:hover {
   background: rgba(45, 27, 105, 0.2);
   box-shadow: 0 0 8px rgba(255, 215, 0, 0.3), inset 0 0 4px rgba(255, 215, 0, 0.1);
   border: 1px solid rgba(255, 215, 0, 0.4);
}

/* Spells Section */
.spells-section {
   flex: 1;
   padding: 10px;
   background: rgba(0, 0, 0, 0.3);
   border-radius: 8px;
   border: 1px solid rgba(255, 215, 0, 0.2);
}

.spells-section h2 {
   margin-top: 0;
   margin-bottom: 10px;
   color: #FFD700;
   font-size: 18px;
}

.spells-table {
   width: auto;
   border-collapse: collapse;
   margin-bottom: 15px;
   table-layout: auto;
}

.spells-table th {
   background: rgba(45, 27, 105, 0.4);
   color: #FFD700;
   padding: 12px;
   text-align: left;
   border: 1px solid rgba(255, 215, 0, 0.2);
   font-weight: bold;
}

.spells-table th,
.spells-table td {
   white-space: nowrap;
   padding: 10px 16px;
   font-family: 'Courier New', monospace;
   font-size: 18px;
}

.spells-table td {
   padding: 10px 12px;
   border: 1px solid rgba(255, 215, 0, 0.1);
   color: #ddd;
}

.spells-table tr:nth-child(even) {
   background: rgba(45, 27, 105, 0.1);
}

.spells-table tr:hover {
   background: rgba(255, 215, 0, 0.08);
   box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
   transform: translateY(-1px);
}

.mana-cost {
   color: #FFD700;
   font-weight: bold;
}

.no-skills, .no-spells {
   color: #888;
   font-style: italic;
   text-align: center;
   padding: 10px;
}

/* Belt Promotions Section */
.belt-promotions-section {
   padding: 15px;
   background: rgba(0, 0, 0, 0.3);
   border-radius: 8px;
   border: 1px solid rgba(255, 215, 0, 0.2);
}

.belt-promotions-section h2 {
   margin-top: 0;
   margin-bottom: 15px;
   color: #FFD700;
   font-size: 18px;
}

.belt-promotions-table {
   width: 100%;
   border-collapse: collapse;
   margin-bottom: 15px;
   table-layout: auto;
}

.belt-promotions-table th {
   background: rgba(45, 27, 105, 0.4);
   color: #FFD700;
   padding: 8px 10px;
   text-align: left;
   border: 1px solid rgba(255, 215, 0, 0.2);
   font-weight: bold;
   font-family: 'Courier New', monospace;
   font-size: 14px;
}

.belt-promotions-table td {
   padding: 6px 8px;
   border: 1px solid rgba(255, 215, 0, 0.1);
   color: #ddd;
   font-family: 'Courier New', monospace;
   font-size: 12px;
   vertical-align: top;
}

.belt-promotions-table tr:nth-child(even) {
   background: rgba(45, 27, 105, 0.1);
}

.belt-promotions-table tr:hover {
   background: rgba(45, 27, 105, 0.2);
   box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Belt Color Styling */
.belt-white { color: #FFFFFF; font-weight: bold; }
.belt-yellow { color: #FFFF00; font-weight: bold; }
.belt-orange { color: #FFA500; font-weight: bold; }
.belt-green { color: #00FF00; font-weight: bold; }
.belt-blue { color: #0080FF; font-weight: bold; }
.belt-brown { color: #8B4513; font-weight: bold; }
.belt-purple { color: #800080; font-weight: bold; }
.belt-red { color: #FF0000; font-weight: bold; }
.belt-black { color: #000000; font-weight: bold; text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); }

/* Special Skills Section */
.special-skills-section {
   padding: 20px;
   background: rgba(0, 0, 0, 0.3);
   border-radius: 8px;
   border: 1px solid rgba(255, 215, 0, 0.2);
}

.special-skills-section h2 {
   margin-top: 0;
   margin-bottom: 20px;
   color: #FFD700;
   font-size: 24px;
}

.special-skills-content {
   color: #ddd;
   font-family: 'Courier New', monospace;
   font-size: 18px;
   line-height: 1.6;
}

.special-skill-item {
   margin-bottom: 15px;
   padding: 10px;
   background: rgba(45, 27, 105, 0.1);
   border-radius: 5px;
   border-left: 3px solid #FFD700;
}

.special-skill-name {
   color: #FFD700;
   font-weight: bold;
   margin-bottom: 5px;
   text-align: center;
}

.special-skill-description {
   color: #ddd;
   font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .class-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .class-header h1 {
    font-size: 36px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .subclasses-grid {
    grid-template-columns: 1fr;
  }
  
  .subclass-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Cleric Spell Categories Styling */
.cleric-spells-container {
  background: rgba(45, 27, 105, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.spell-category-section {
  margin-bottom: 30px;
}

.spell-category-header {
  font-family: 'Kertayasa', serif;
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
  padding-right: 80px;
  position: relative;
  min-height: 30px;
}

.spell-note {
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-size: 14px;
  color: #FFD700;
  font-weight: bold;
  cursor: help;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 215, 0, 0.5);
  z-index: 10;
}

.spell-note:hover {
  opacity: 1;
}

.subclass-spells-section {
  margin-top: 30px;
}

.subclass-spells-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.spell-category {
  background: rgba(26, 15, 46, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  padding: 12px;
  transition: all 0.3s ease;
}

.spell-category:hover {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.spell-category-title {
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  font-weight: bold;
  color: #D4AF37;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  line-height: 1.2;
}

/* Override spells-table styling for cleric categories */
.spell-category .spells-table {
  width: 100%;
  margin-bottom: 0;
}

/* General cleric spells table styling */
.general-spells-table {
  width: 100%;
  margin-bottom: 0;
}

.general-spells-table th {
  background: rgba(45, 27, 105, 0.4);
  color: #FFD700;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  font-weight: bold;
  font-size: 18px;
}

.general-spells-table td {
  padding: 6px 12px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  color: #ddd;
  font-size: 14px;
  text-align: left;
}

.general-spells-table tr:nth-child(even) {
  background: rgba(45, 27, 105, 0.1);
}

.general-spells-table td:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Selected spell styling */
.spell-cell.spell-selected {
  background: rgba(255, 215, 0, 0.3) !important;
  color: #000 !important;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  border: 2px solid rgba(255, 215, 0, 0.8);
}

.spell-cell.spell-selected:hover {
  background: rgba(255, 215, 0, 0.4) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* Clear All button styling */
.clear-all-spells-button {
  background: rgba(45, 27, 105, 0.8);
  color: #FFD700;
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin: 20px auto;
  display: block;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.clear-all-spells-button:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.spell-category .spells-table th {
  background: rgba(45, 27, 105, 0.4);
  color: #FFD700;
  padding: 6px 8px;
  text-align: left;
  border: 1px solid rgba(255, 215, 0, 0.2);
  font-weight: bold;
  font-size: 12px;
}

.spell-category .spells-table td {
  padding: 4px 8px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  color: #ddd;
  font-size: 12px;
  text-align: left;
}

.spell-category .spells-table tr:nth-child(even) {
  background: rgba(45, 27, 105, 0.1);
}

.spell-category .spells-table td:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Make spell cells clickable */
.spell-cell {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Responsive design for cleric spells */
@media (max-width: 768px) {
  .subclass-spells-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .spell-category .spells-table th,
  .spell-category .spells-table td {
    font-size: 12px;
    padding: 4px 8px;
  }
} 

/* Resources page specific styles */
.resource-section {
  max-width: 1400px;
  margin: 0 auto 40px auto;
  padding: 30px;
  background: rgba(45, 27, 105, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.resource-section h2 {
  font-family: 'Kertayasa', serif;
  font-size: 28px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.resource-description {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.table-container {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.races-reference-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 26, 26, 0.9);
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  table-layout: auto;
}

.races-reference-table th {
  background: linear-gradient(135deg, #2d1b69 0%, #1a1a1a 100%);
  color: #FFD700;
  padding: 12px 8px;
  text-align: center;
  font-weight: bold;
  border: 1px solid rgba(255, 215, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 10;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.races-reference-table th:hover {
  background: linear-gradient(135deg, #3d2b79 0%, #2a2a2a 100%);
  color: #FFF;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}

.races-reference-table th.sortable {
  position: relative;
}

.sort-indicator {
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.races-reference-table th.sort-asc .sort-indicator {
  opacity: 1;
  color: #00FF00;
  transform: rotate(180deg);
}

.races-reference-table th.sort-desc .sort-indicator {
  opacity: 1;
  color: #FF6B6B;
}

.races-reference-table td {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #ddd;
  transition: all 0.2s ease;
  word-wrap: break-word;
  max-width: 200px;
}

.races-reference-table tbody tr {
  transition: all 0.2s ease;
}

.races-reference-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.races-reference-table tbody tr:hover td {
  color: #FFF;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.races-reference-table tbody tr:nth-child(even) {
  background: rgba(45, 27, 105, 0.1);
}

.races-reference-table tbody tr:nth-child(even):hover {
  background: rgba(255, 215, 0, 0.15);
}

/* Column-specific styling with dynamic widths */
.races-reference-table td:first-child {
  font-weight: bold;
  color: #FFD700;
  text-align: left;
  padding-left: 15px;
  min-width: 120px;
  max-width: 150px;
}

.races-reference-table td:nth-child(2),
.races-reference-table td:nth-child(3),
.races-reference-table td:nth-child(4),
.races-reference-table td:nth-child(5),
.races-reference-table td:nth-child(6) {
  font-weight: bold;
  color: #87CEEB;
  min-width: 40px;
  max-width: 50px;
}

.races-reference-table td:nth-child(7) {
  font-weight: bold;
  color: #98FB98;
  min-width: 50px;
  max-width: 60px;
}

.races-reference-table td:nth-child(8) {
  color: #FFB6C1;
  min-width: 80px;
  max-width: 120px;
}

.races-reference-table td:nth-child(9) {
  color: #FF6B6B;
  min-width: 100px;
  max-width: 150px;
  font-size: 12px;
}

.races-reference-table td:nth-child(10) {
  color: #98FB98;
  min-width: 100px;
  max-width: 150px;
  font-size: 12px;
}

.races-reference-table td:nth-child(11) {
  color: #DDA0DD;
  font-size: 11px;
  text-align: left;
  padding-left: 10px;
  min-width: 150px;
  max-width: 250px;
  line-height: 1.3;
}

.races-reference-table td:nth-child(12) {
  color: #F0E68C;
  font-size: 11px;
  min-width: 120px;
  max-width: 150px;
}

.races-reference-table td:nth-child(13) {
  font-weight: bold;
  color: #FFA500;
  min-width: 50px;
  max-width: 60px;
}

/* Responsive adjustments for the table */
@media (max-width: 1200px) {
  .races-reference-table {
    font-size: 12px;
  }
  
  .races-reference-table th,
  .races-reference-table td {
    padding: 8px 4px;
  }
  
  .races-reference-table td:nth-child(11) {
    font-size: 10px;
    max-width: 200px;
  }
  
  .races-reference-table td:nth-child(9),
  .races-reference-table td:nth-child(10) {
    font-size: 11px;
    max-width: 120px;
  }
  
  .races-reference-table td:nth-child(12) {
    font-size: 10px;
    max-width: 120px;
  }
} 

/* Resources Tab Interface */
.resources-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.tab-button {
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  font-weight: normal;
  color: #ccc;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.tab-button:hover {
  color: #D4AF37;
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.tab-button.active {
  color: #D4AF37;
  background: linear-gradient(135deg, #2d1b69 0%, #1a1a1a 50%, #2d1b69 100%);
  border-color: #D4AF37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.tab-content {
  position: relative;
  padding-top: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Alchemy Tracker Styles */
.alchemy-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.alchemy-controls button {
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  color: #ccc;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alchemy-controls button:hover {
  color: #D4AF37;
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.alchemy-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
}

.alchemy-controls select,
.alchemy-controls input {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 3px;
  color: #ccc;
  padding: 5px 8px;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
}

.alchemy-controls select:focus,
.alchemy-controls input:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.table-visibility-toggle {
  margin-left: auto;
  color: #ccc;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.alchemy-table-controls {
  display: none;
  gap: 15px;
  margin: 10px 0 10px 0;
  flex-wrap: wrap;
  align-items: center;
}

.alchemy-table-controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
}

/* Default hidden for heading and table */
#alchemyLocationsHeading {
  display: none;
}

#alchemyLocationsTable {
  display: none;
}

/* CSS-only toggle: show when checkbox is checked */
.resource-section:has(#toggleLocationsTable:checked) #alchemyLocationsHeading {
  display: block;
}

.resource-section:has(#toggleLocationsTable:checked) .alchemy-table-controls {
  display: flex;
}

.resource-section:has(#toggleLocationsTable:checked) #alchemyLocationsTable {
  display: table;
}

/* Save Notification */
.save-notification {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 27, 105, 0.95) 50%, rgba(26, 26, 26, 0.95) 100%);
  border: 2px solid #D4AF37;
  border-radius: 8px;
  padding: 15px 20px;
  color: #D4AF37;
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.save-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.save-notification.hide {
  opacity: 0;
  transform: translateY(-20px);
}

.save-notification::before {
  content: '✓';
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #4CAF50;
  text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.alchemy-summary {
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  color: #D4AF37;
  margin-bottom: 15px;
  text-align: center;
}

.alchemy-progress-container {
  width: 100%;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  margin-bottom: 20px;
  height: 12px;
  overflow: hidden;
}

.alchemy-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #D4AF37, #FFD700);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.alchemy-materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
  padding: 15px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
}

.alchemy-materials-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  padding: 5px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.alchemy-materials-grid label:hover {
  background: rgba(212, 175, 55, 0.1);
}

.alchemy-materials-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #D4AF37;
}

.alchemy-locations-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.alchemy-locations-table th {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
  color: #D4AF37;
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.alchemy-locations-table td {
  color: #ccc;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  vertical-align: top;
  white-space: nowrap;
}

.alchemy-locations-table tbody tr {
  transition: background-color 0.2s ease;
}

.alchemy-locations-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.1);
}

.alchemy-locations-table tbody tr.discovered {
  background: rgba(76, 175, 80, 0.2);
}

.alchemy-locations-table tbody tr.undiscovered {
  background: rgba(244, 67, 54, 0.2);
}

.alchemy-locations-table > tbody > tr > td > ol {
  margin: 0;
  padding: 0;
}

.alchemy-locations-table > tbody > tr > td a {
  color: #4CAF50;
  text-decoration: none;
}

.alchemy-locations-table > tbody > tr > td a:hover {
  color: #D4AF37;
}

.alchemy-locations-table .area {
  color: #4CAF50;
  font-weight: bold;
}

.alchemy-locations-table .gate {
  color: #FF9800;
  font-weight: bold;
}

/* Material Info: info icon */
.material-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.7);
  color: #D4AF37;
  font-family: serif;
  font-size: 12px;
  cursor: pointer;
  background: rgba(26, 26, 26, 0.7);
  transition: all 0.2s ease;
}

.material-info-icon:hover,
.material-info-icon:focus {
  outline: none;
  color: #000;
  background: #D4AF37;
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Material Info: modal overlay */
.material-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.material-modal-overlay.open {
  display: flex;
}

.material-modal {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 27, 105, 0.95) 50%, rgba(26, 26, 26, 0.95) 100%);
  border: 2px solid #D4AF37;
  border-radius: 10px;
  width: 100%;
  max-width: 640px;
  color: #ddd;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.material-modal-title {
  margin: 0;
  padding: 16px 48px 8px 16px;
  color: #FFD700;
  font-family: 'Kertayasa', serif;
  font-size: 22px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.material-modal-body {
  padding: 12px 16px 16px 16px;
}

.material-modal-body ol {
  margin: 8px 0 0 18px;
  padding: 0;
}

.material-modal-body a {
  color: #4CAF50;
  text-decoration: none;
}

.material-modal-body a:hover {
  color: #D4AF37;
}

.material-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: rgba(26, 26, 26, 0.7);
  color: #D4AF37;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.material-modal-close:hover,
.material-modal-close:focus {
  outline: none;
  color: #000;
  background: #D4AF37;
  border-color: #FFD700;
}

@media (max-width: 600px) {
  .material-modal {
    max-width: 100%;
  }
  .material-modal-title {
    font-size: 18px;
  }
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
  .resources-tabs {
    flex-direction: column;
    gap: 5px;
  }
  
  .tab-button {
    text-align: center;
  }
  
  .alchemy-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .alchemy-controls label {
    justify-content: space-between;
  }
  
  .alchemy-materials-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Race Page Styles */
.race-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.race-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(45, 27, 105, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Draconian dropdown selector positioned below back button */
.draconian-dropdown-container {
  position: absolute;
  top: 60px;
  right: 15px;
  z-index: 100;
  width: 200px;
  margin-bottom: 40px;
}

/* Add padding to stats container when dropdown is present */
.race-stats-container {
  padding-top: 40px;
  margin-left: -115px;
}

.draconian-dropdown {
  width: 100%;
  padding: 10px 15px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  color: #ccc;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 35px;
}

.draconian-dropdown:hover {
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.draconian-dropdown:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.draconian-dropdown option {
  background: #1a1a1a;
  color: #ccc;
  padding: 10px;
}

.race-header .race-stats-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.race-header-back-button {
  position: absolute;
  top: 15px;
  right: 15px;
}

.race-header-back-button .back-button {
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  color: #ccc;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.race-header-back-button .back-button:hover {
  color: #D4AF37;
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.race-image-container {
  flex-shrink: 0;
}

.race-main-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Race-specific image positioning */
.race-main-image.antfolk {
  object-position: center 10%;
}

.race-main-image.arborian {
  object-position: center 10%;
}

.race-main-image.centaur {
  object-position: center 10%;
}

.race-main-image.changeling {
  object-position: center 10%;
}

.race-main-image.dark-elf {
  object-position: center 10%;
}

.race-main-image.draconian {
  object-position: center 10%;
}

.race-main-image.dwarf {
  object-position: center 10%;
}

.race-main-image.elf {
  object-position: center 10%;
}

.race-main-image.ethereal {
  object-position: center 10%;
}

.race-main-image.fae {
  object-position: center 10%;
}

.race-main-image.fire-giant {
  object-position: center 10%;
}

.race-main-image.gnome {
  object-position: center 10%;
}

.race-main-image.grey-elf {
  object-position: center 10%;
}

.race-main-image.griffon {
  object-position: center 10%;
}

.race-main-image.halfling {
  object-position: center 10%;
}

.race-main-image.hill-giant {
  object-position: center 10%;
}

.race-main-image.human {
  object-position: center 10%;
}

.race-main-image.ice-giant {
  object-position: center 10%;
}

.race-main-image.illithid {
  object-position: center 10%;
}

.race-main-image.minotaur {
  object-position: center 10%;
}

.race-main-image.moss-giant {
  object-position: center 10%;
}

.race-main-image.pixie {
  object-position: center 10%;
}

.race-main-image.storm-giant {
  object-position: center 10%;
}

.race-main-image.troll {
  object-position: center 10%;
}

.race-title {
  flex-grow: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  position: relative;
}

.race-title h1 {
  font-family: 'Kertayasa', serif;
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.race-description {
  font-size: 18px;
  color: #ddd;
  margin: 0;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.character-creation-section .race-attribute-content {
  justify-content: center;
  align-items: center;
}

.race-attribute-section h3 {
  text-align: center;
}

.race-title h1 {
  font-family: 'Kertayasa', serif;
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.race-description {
  font-size: 18px;
  color: #ddd;
  margin: 0;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
}

.race-section {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(45, 27, 105, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.race-section h2 {
  font-family: 'Kertayasa', serif;
  font-size: 32px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 0 25px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.race-stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.race-stats-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  overflow: hidden;
}

.race-stats-table thead {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
}

.race-stats-table th {
  color: #FFD700;
  font-family: 'Kertayasa', serif;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 10px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.race-stats-table td {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.race-stats-table td:not(:last-child)::after {
  content: '|';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.race-stats-table tr:last-child td {
  border-bottom: none;
}

.race-stats-table tr:hover {
  background: rgba(255, 215, 0, 0.1);
}

.race-attributes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.race-attribute-section {
  padding: 25px;
  background: rgba(45, 27, 105, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.race-attribute-section h3 {
  font-family: 'Kertayasa', serif;
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 0 20px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.race-attribute-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.race-attribute-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(45, 27, 105, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.race-attribute-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.vulnerability-tag {
  background: rgba(220, 53, 69, 0.6);
  border-color: rgba(220, 53, 69, 0.6);
}

.vulnerability-tag:hover {
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
}

.resistance-tag {
  background: rgba(40, 167, 69, 0.6);
  border-color: rgba(40, 167, 69, 0.6);
}

.resistance-tag:hover {
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.ability-tag {
  background: rgba(0, 123, 255, 0.6);
  border-color: rgba(0, 123, 255, 0.6);
}

.ability-tag:hover {
  box-shadow: 0 0 15px rgba(128, 0, 128, 0.6);
}

.race-lore-content {
  color: #ddd;
  line-height: 1.8;
  font-size: 16px;
}

.race-lore-content p {
  margin: 0 0 20px 0;
  text-align: justify;
}

.race-tips-content {
  color: #ddd;
}

.race-tips-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.race-tips-content li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 25px;
}

.race-tips-content li:last-child {
  border-bottom: none;
}

.race-tips-content li::before {
  content: '▶';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 12px;
}

/* Make race cards clickable */
.race-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.race-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Responsive Design for Race Pages */
@media (max-width: 768px) {
  .race-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .race-main-image {
    width: 150px;
    height: 150px;
  }
  
  .race-title h1 {
    font-size: 36px;
  }
  
  .race-attributes-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .race-stats-table {
    font-size: 14px;
  }
  
  .race-stats-table th,
  .race-stats-table td {
    padding: 10px 5px;
  }
  
    .color-buttons {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 6px;
    max-width: 100%;
  }

  .color-button {
    padding: 8px 4px;
    font-size: 10px;
    height: 35px;
  }
} 



.character-creation-section .race-attribute-content {
  justify-content: center;
  align-items: center;
}

.character-creation-section .race-attribute-content p {
  text-align: center;
  line-height: 1.8;
  margin: 0;
  display: block;
  width: 100%;
}

.character-creation-section .race-attribute-content p:first-child {
  margin-bottom: 10px;
}

.character-creation-section .race-attribute-content strong {
  color: #FFD700;
  font-weight: bold;
}

.character-creation-section .race-attribute-content span {
  color: #fff;
  font-weight: bold;
}

.bottom-back-button-container .back-button {
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  color: #ccc;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.bottom-back-button-container .back-button:hover {
  color: #D4AF37;
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Character Creation Image */
.character-creation-image-section {
  padding: 0;
}

.character-creation-image-container {
  width: 100%;
  height: 200px; /* Adjustable height - let me know if you want to change this */
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-creation-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

/* Draconian Color Selector */
.draconian-color-selector {
  margin-top: 0;
  margin-bottom: 0;
  padding: 20px;
  background: rgba(45, 27, 105, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  width: 100%;
}

.draconian-color-selector h4 {
  margin: 0 0 15px 0;
  color: #D4AF37;
  font-family: 'Kertayasa', serif;
  font-size: 16px;
  text-align: center;
}

.color-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 10px;
  width: 100%;
  max-width: 800px;
  padding: 10px 0;
}

.color-button {
  padding: 10px 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  font-family: 'Kertayasa', serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-button:hover {
  border-color: #D4AF37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.color-button.active {
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

/* Build Sharing Section */
.build-sharing-section {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.8) 0%, rgba(76, 61, 243, 0.6) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.build-sharing-section h2 {
  color: #FFD700;
  font-family: 'Kertayasa', serif;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.build-sharing-content p {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.share-url-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

#share-url-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

#share-url-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.copy-url-button {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.copy-url-button:hover {
  background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.copy-url-button:active {
  transform: translateY(0);
}

.share-status {
  text-align: center;
  margin: 15px 0;
  min-height: 20px;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
}

.share-status.success {
  color: #4CAF50;
  font-weight: bold;
}

.share-status.error {
  color: #f44336;
  font-weight: bold;
}

.build-summary {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.build-summary h3 {
  color: #FFD700;
  font-family: 'Kertayasa', serif;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

.build-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.build-summary-category {
  background: rgba(45, 27, 105, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  padding: 12px;
}

.build-summary-category h4 {
  color: #FFD700;
  font-family: 'Kertayasa', serif;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: center;
}

.build-summary-spells {
  font-size: 12px;
  color: #ccc;
  line-height: 1.4;
}

.build-summary-spells .spell-count {
  color: #4CAF50;
  font-weight: bold;
}

/* Mobile responsiveness for build sharing */
@media (max-width: 768px) {
  .share-url-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .copy-url-button {
    width: 100%;
  }
  
  .build-summary-grid {
    grid-template-columns: 1fr;
  }
}
