:root {
  --gold: #ffd700;
  --dark-bg: #0a0a0b;
  --wood-brown: #2c1e14;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #e0e0e0;
  --poem-green: #b2ff59;
}

body {
  background: linear-gradient(135deg, #1a1410 0%, #0a0a0b 100%);
  color: var(--text-main);
  font-family: 'Philosopher', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background Depth Effect */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.jumbotron {
  background: transparent;
  padding: 5rem 1rem 2rem;
  margin-bottom: 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.jumbotron-heading {
  font-family: 'Lemonada', cursive;
  color: var(--gold);
  font-size: 3.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

#language-select {
  background: var(--glass-bg);
  color: white;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 8px 15px;
}

.main-image-container {
  padding: 50px 0;
}

.art-image {
  border: 12px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(255, 215, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.3s;
  cursor: zoom-in;
}

.art-image:hover {
  transform: scale(1.02) translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.section-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

/* Poem Styling - "Maderitas" Style */
.poem-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 40px auto;
  max-width: fit-content;
}

.poem-line {
  background: #1a1a1a;
  border-left: 4px solid var(--gold);
  padding: 12px 25px;
  border-radius: 4px;
  color: var(--poem-green);
  font-family: 'Philosopher', sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
  width: fit-content;
  text-align: left;
}

/* Stanza Grouping (2x2) */
.poem-line:nth-child(2n) {
  margin-bottom: 25px;
  /* Spaces out every 2 lines */
}

.poem-line:last-child {
  margin-bottom: 0;
}

[dir="rtl"] .poem-line {
  text-align: right;
  border-left: none;
  border-right: 4px solid var(--gold);
}

.poem-line:hover {
  transform: translateX(10px);
  background: #252525;
  color: #fff;
}


.tech-list {
  list-style: none;
  padding: 0;
}

.tech-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.tech-list i {
  color: var(--gold);
  margin-right: 15px;
}

.description-text {
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: justify;
  color: #cccccd;
  max-width: 900px;
  margin: 0 auto;
}

.description-text p {
  margin-bottom: 25px;
}


/* Floating Buttons */
.linktree-btn,
.gallery-btn {
  position: fixed;
  bottom: 25px;
  backdrop-filter: blur(15px);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  z-index: 1050;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.linktree-btn {
  right: 25px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.gallery-btn {
  left: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
}

.linktree-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--gold);
  color: black;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.gallery-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: white;
  color: #000;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.language {
  display: none;
}

@media (max-width: 768px) {
  .jumbotron-heading {
    font-size: 2.2rem;
  }

  .section-card {
    padding: 25px;
  }

  .poem-line {
    font-size: 1.1rem;
    padding: 10px 20px;
  }
}