/* === Horizontal Rope Timeline === */
.timeline-horizontal-rope-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 3em auto 3em auto;
  padding: 3em 0 4em 0;
  min-height: 180px;
}
.timeline-horizontal-rope-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 16px;
  background: none;
  z-index: 1;
}
.timeline-horizontal-rope {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  z-index: 2;
  min-height: 120px;
}
.timeline-horizontal-rope::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #bca77a 0 16px,
    #7a6a4a 16px 32px
  );
  border-radius: 8px;
  box-shadow: 0 2px 16px #2d2216cc, 0 0 0 8px #1a140c;
  z-index: 1;
}
.timeline-attachment {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  z-index: 3;
}
.timeline-wall-anchor {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 60% 40%, #7a6a4a 70%, #2d2216 100%);
  border: 3px solid #bca77a;
  border-radius: 50%;
  margin-bottom: -10px;
  box-shadow: 0 2px 12px #2d2216cc;
  z-index: 4;
}
.timeline-rope-dot {
  width: 18px;
  height: 18px;
  background: #ffb300;
  border: 3px solid #7a6a4a;
  border-radius: 50%;
  margin-bottom: 0.5em;
  margin-top: 0.2em;
  box-shadow: 0 2px 8px #2d2216cc;
  z-index: 5;
}
.timeline-label {
  background: #221a11;
  color: #f5e6c8;
  border-radius: 12px;
  padding: 1em 1.2em 0.7em 1.2em;
  margin-top: 0.2em;
  min-width: 120px;
  max-width: 180px;
  box-shadow: 0 2px 16px #4a3c2a33, 0 0 0 4px #2d2216;
  border: 2.5px solid #7a6a4a;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  position: relative;
}
.timeline-label .timeline-project {
  display: block;
  color: #ffb300;
  font-size: 1.08em;
  margin-bottom: 0.2em;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.timeline-label .timeline-date {
  display: block;
  color: #bca77a;
  font-size: 0.98em;
  font-weight: normal;
  margin-bottom: 0.1em;
}
@media (max-width: 900px) {
  .timeline-horizontal-rope-container {
    max-width: 99vw;
    padding: 2em 0 2.5em 0;
  }
  .timeline-label {
    min-width: 80px;
    max-width: 120px;
    padding: 0.7em 0.5em 0.5em 0.5em;
    font-size: 0.95em;
  }
}
@media (max-width: 700px) {
  .timeline-horizontal-rope {
    flex-direction: column;
    align-items: center;
    min-height: 350px;
    height: 350px;
    justify-content: space-between;
  }
  .timeline-horizontal-rope::before {
    left: 50%;
    right: unset;
    width: 8px;
    height: 90%;
    top: 5%;
    background: repeating-linear-gradient(
      180deg,
      #bca77a 0 16px,
      #7a6a4a 16px 32px
    );
  }
  .timeline-attachment {
    min-width: 0;
    margin-bottom: 0.7em;
  }
}
/* === Literal Vertical Timeline === */
.timeline-literal-container {
  position: relative;
  max-width: 800px;
  margin: 3em auto 3em auto;
  min-height: 400px;
  padding: 2em 0;
}
.timeline-literal-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #bca77a 0%, #7a6a4a 100%);
  border-radius: 3px;
  z-index: 1;
  box-shadow: 0 0 16px #2d2216cc;
}
.timeline-literal-point {
  position: relative;
  width: 50%;
  min-height: 120px;
  display: flex;
  align-items: center;
  margin-bottom: 2.5em;
  z-index: 2;
}
.timeline-literal-point.right {
  left: 50%;
  flex-direction: row;
  justify-content: flex-start;
}
.timeline-literal-point.left {
  left: 0;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.timeline-literal-dot {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle at 60% 40%, #ffb300 70%, #7a6a4a 100%);
  border: 4px solid #bca77a;
  border-radius: 50%;
  box-shadow: 0 2px 16px #2d2216cc, 0 0 0 8px #1a140c;
  z-index: 3;
}
.timeline-literal-content {
  background: #221a11;
  color: #f5e6c8;
  border-radius: 14px;
  padding: 1.2em 1.5em;
  margin: 0 1.5em;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 2px 16px #4a3c2a33, 0 0 0 4px #2d2216;
  border: 2.5px solid #7a6a4a;
  text-align: left;
  position: relative;
}
.timeline-literal-point.right .timeline-literal-content::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 32px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 18px solid #221a11;
  filter: drop-shadow(-2px 0 0 #7a6a4a);
}
.timeline-literal-point.left .timeline-literal-content::before {
  content: "";
  position: absolute;
  right: -18px;
  top: 32px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #221a11;
  filter: drop-shadow(2px 0 0 #7a6a4a);
}
.timeline-literal-content .timeline-date {
  display: block;
  color: #ffb300;
  font-weight: bold;
  font-size: 1.05em;
  margin-bottom: 0.2em;
  letter-spacing: 0.05em;
}
.timeline-literal-content .timeline-title {
  margin: 0 0 0.3em 0;
  color: #ffb300;
  font-size: 1.15em;
  font-weight: bold;
}
.timeline-literal-content .timeline-desc {
  margin: 0;
  font-size: 1em;
  color: #e0cfa3;
}
@media (max-width: 900px) {
  .timeline-literal-container {
    max-width: 99vw;
    padding: 0.5em 0;
  }
  .timeline-literal-content {
    min-width: 0;
    max-width: 90vw;
    padding: 1em 0.7em;
  }
}
@media (max-width: 700px) {
  .timeline-literal-point {
    flex-direction: column !important;
    width: 100%;
    left: 0 !important;
    align-items: flex-start;
    margin-bottom: 2em;
  }
  .timeline-literal-point .timeline-literal-content {
    margin: 0.7em 0 0 0;
    min-width: 0;
    max-width: 98vw;
  }
  .timeline-literal-dot {
    margin: 0 auto;
  }
  .timeline-literal-point.right .timeline-literal-content::before,
  .timeline-literal-point.left .timeline-literal-content::before {
    display: none;
  }
}
/* === Timeline Vertical Hanging Style === */
.timeline-container {
  margin: 2.5em auto 2em auto;
  max-width: 600px;
  background: #1a140c;
  padding: 2em 1em 2em 1em;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 4px 32px #4a3c2a33;
}
.timeline-vertical {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #bca77a 0%, #7a6a4a 100%);
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 2px;
}
.timeline-event.hanging {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5em;
  z-index: 1;
}
.timeline-rope {
  width: 2px;
  height: 38px;
  background: repeating-linear-gradient(
    to bottom,
    #bca77a 0 6px,
    #7a6a4a 6px 12px
  );
  margin-bottom: -8px;
  z-index: 2;
}
.timeline-badge {
  background: #2d2216;
  color: #ffb300;
  border: 2.5px solid #bca77a;
  border-radius: 50%;
  padding: 0.7em 1.2em;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 12px #4a3c2a44;
  margin-bottom: -18px;
  z-index: 3;
  position: relative;
}
.timeline-date {
  letter-spacing: 0.05em;
}
.timeline-box {
  background: #221a11;
  color: #f5e6c8;
  border-radius: 12px;
  padding: 1.2em 1.5em;
  margin-top: 0.5em;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 2px 16px #4a3c2a33;
  border: 2px solid #7a6a4a;
  text-align: left;
}
.timeline-title {
  margin: 0 0 0.3em 0;
  color: #ffb300;
  font-size: 1.15em;
  font-weight: bold;
}
.timeline-desc {
  margin: 0;
  font-size: 1em;
  color: #e0cfa3;
}
@media (max-width: 600px) {
  .timeline-container {
    padding: 1em 0.2em;
  }
  .timeline-box {
    min-width: 0;
    max-width: 98vw;
    padding: 1em 0.7em;
  }
}
body,
.section,
.skills-tiles,
.project-card,
.translator-desc,
.signal-desc,
.about-desc,
.skill-desc,
.project-card p,
.translator-title,
.venture-quote,
.mining-progress-label,
.discord-handle,
.discord-id,
.navbar,
.navbar-rock,
.navbar-rock-center,
.navbar-rocks,
.footer,
footer p,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
label,
input,
button {
  color: #998b57 !important;
  text-shadow: none !important;
}

nav,
.navbar,
.navbar-rocks,
.navbar-rock {
  color: #998b57;
}

footer p {
  color: #998b57;
}

.venture-quote {
  color: #998b57;
  opacity: 0.85;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #181c24;
  color: #e0d7c2;
  transition: background 0.5s, color 0.5s;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #232323;
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  border-bottom: 4px solid #ffb300;
  animation: navbarDropIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

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

.logo img {
  height: 44px;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px #ffb300);
  animation: drillSpin 2.5s infinite linear alternate-reverse;
}

@keyframes drillSpin {
  0% {
    transform: rotate(-10deg) scale(1.05);
  }
  100% {
    transform: rotate(10deg) scale(1.15);
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffd54f;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 1px 0 #232323;
  position: relative;
}

.nav-links a::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 0%;
  height: 3px;
  background: #ffb300;
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #fff8e1;
  text-shadow: 0 0 8px #ffb30099;
}

.hero {
  background: linear-gradient(120deg, #232323 0%, #181c24 100%);
  color: #ffb300;
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
  position: relative;
  overflow: hidden;
  animation: heroSlideIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-bottom: 6px dashed #ffb300;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 120px;
  height: 120px;
  background: url("data:image/svg+xml;utf8,<svg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'><g><circle cx='60' cy='60' r='50' stroke='%23ffb300' stroke-width='8' fill='none'/><path d='M60 20 L65 60 L60 100 L55 60 Z' fill='%23ffb300'/></g></svg>")
    no-repeat center center;
  opacity: 0.08;
  transform: translateX(-50%) rotate(-10deg);
  z-index: 0;
  pointer-events: none;
  animation: drillGearSpin 8s linear infinite;
}

@keyframes drillGearSpin {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}

.hero h1 {
  margin: 0 0 1rem 0;
  font-size: 2.7rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #ffb30099;
  position: relative;
  z-index: 1;
  font-family: Impact, "Segoe UI", Arial, sans-serif;
}

.hero p {
  font-size: 1.3rem;
  color: #f3e7c2;
  position: relative;
  z-index: 1;
  font-family: "Segoe UI", Arial, sans-serif;
}

.section {
  max-width: 900px;
  margin: 2rem auto;
  background: #232323;
  border-radius: 16px;
  box-shadow: 0 2px 24px #ffb30022;
  padding: 2rem;
  animation: sectionFadeIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-left: 8px solid #ffb300;
  border-right: 8px solid #ffb300;
  color: #e0d7c2;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

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

.section h2 {
  margin-top: 0;
  color: #ffb300;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #ffb30099;
  font-family: Impact, "Segoe UI", Arial, sans-serif;
}

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

.project-card {
  background: #181c24;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 1px 12px #ffb30022;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px dashed #ffb300;
  animation: cardPopIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  position: relative;
  overflow: hidden;
}

@keyframes cardPopIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-card:hover {
  transform: translateY(-8px) scale(1.04) rotate(-1deg);
  box-shadow: 0 4px 32px #ffb30099;
  border-color: #f3e7c2;
}

.project-card.rocky-anim {
  transition: transform 0.22s cubic-bezier(0.6, 0, 0.4, 1),
    box-shadow 0.22s cubic-bezier(0.6, 0, 0.4, 1), border-color 0.22s;
  box-shadow: 0 2px 16px #0007, 0 0 0 2px #3a2c1b;
  border: 2.5px solid #3a2c1b;
  will-change: transform, box-shadow, border-color;
  position: relative;
  z-index: 1;
}
.project-card.rocky-anim:hover,
.project-card.rocky-anim:focus {
  transform: scale(1.045) rotate(-1.5deg) translateY(-6px);
  box-shadow: 0 8px 32px #ffb30044, 0 0 0 4px #998b57cc, 0 2px 24px #000a;
  border-color: #998b57;
}
.project-card.rocky-anim::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  border-radius: 0 0 18px 18px;
  pointer-events: none;
  transition: box-shadow 0.22s;
}
.project-card.rocky-anim:hover::after {
  box-shadow: 0 0 32px 8px #ffb30033;
  height: 12px;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml;utf8,<svg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='30' cy='30' r='25' stroke='%23ffb300' stroke-width='5' fill='none'/><path d='M30 10 L33 30 L30 50 L27 30 Z' fill='%23ffb300'/></svg>")
    no-repeat center center;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  animation: drillGearSpin 6s linear infinite reverse;
}

.project-image {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto 1rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 16px #4a3c2a44;
  background: #232323;
  object-fit: cover;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rocky-anim:hover .project-image {
  box-shadow: 0 4px 32px #ffb30055;
  transform: scale(1.03) rotate(-1deg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 2px solid #ffb300;
  border-radius: 8px;
  font-size: 1rem;
  background: #181c24;
  color: #f3e7c2;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 8px #ffb30022;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f3e7c2;
  outline: none;
  box-shadow: 0 0 12px #ffb30099;
}

.contact-form button {
  background: linear-gradient(90deg, #ffb300 0%, #f3e7c2 100%);
  color: #232323;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #ffb30044;
  font-family: Impact, "Segoe UI", Arial, sans-serif;
  letter-spacing: 1px;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #f3e7c2 0%, #ffb300 100%);
  color: #181c24;
  box-shadow: 0 4px 24px #ffb30099;
}

footer {
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  color: #ffb300bb;
  font-size: 1rem;
  background: #181c24;
  border-top: 4px solid #ffb300;
  letter-spacing: 1px;
  box-shadow: 0 -2px 12px #ffb30022;
}

/* --- ROCK LOADING ANIMATION --- */
#rock-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181c24ee;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s;
}

#rock-loader.hide {
  opacity: 0;
  pointer-events: none;
}

.rock {
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml;utf8,<svg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'><ellipse cx='30' cy='35' rx='26' ry='18' fill='%234a3c2a'/><ellipse cx='30' cy='30' rx='22' ry='16' fill='%237c6a4a'/><ellipse cx='30' cy='28' rx='16' ry='10' fill='%23bca77a'/></svg>")
    no-repeat center/contain;
  animation: rockBounce 1.2s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes rockBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

.drill {
  width: 32px;
  height: 32px;
  background: url("data:image/svg+xml;utf8,<svg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'><polygon points='16,2 20,20 16,30 12,20' fill='%23ffb300' stroke='%234a3c2a' stroke-width='2'/><rect x='13' y='20' width='6' height='7' rx='2' fill='%237c6a4a'/></svg>")
    no-repeat center/contain;
  animation: drillSpinFast 1.2s infinite linear;
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
}

@keyframes drillSpinFast {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* --- VENTURE NICHE REFERENCES --- */
.venture-quote {
  display: block;
  margin: 2rem auto 1rem auto;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.1rem;
  color: #bca77a;
  background: #232323;
  border-left: 6px solid #ffb300;
  border-radius: 8px;
  max-width: 500px;
  padding: 1rem 2rem;
  box-shadow: 0 2px 12px #4a3c2a33;
  font-style: italic;
}

.section.drill-section {
  border-image: linear-gradient(90deg, #ffb300 0%, #bca77a 100%) 1;
  border-left: 0;
  border-right: 0;
  border-top: 8px dashed #bca77a;
  border-bottom: 8px dashed #ffb300;
  position: relative;
}

.section.drill-section::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -32px;
  width: 48px;
  height: 32px;
  background: url("data:image/svg+xml;utf8,<svg width='48' height='32' viewBox='0 0 48 32' xmlns='http://www.w3.org/2000/svg'><polygon points='24,2 32,24 24,30 16,24' fill='%23ffb300' stroke='%234a3c2a' stroke-width='2'/></svg>")
    no-repeat center/contain;
  transform: translateX(-50%);
  opacity: 0.7;
}

.rock-bg {
  background: url("data:image/svg+xml;utf8,<svg width='120' height='60' viewBox='0 0 120 60' xmlns='http://www.w3.org/2000/svg'><ellipse cx='30' cy='35' rx='26' ry='18' fill='%234a3c2a'/><ellipse cx='90' cy='40' rx='18' ry='12' fill='%237c6a4a'/><ellipse cx='70' cy='20' rx='10' ry='6' fill='%23bca77a'/></svg>")
    repeat-x bottom/auto 60px;
}

/* --- ROCKY ANIMATION FOR PROJECTS --- */
.rocky-anim-bg {
  position: relative;
  overflow: visible;
}
.rocky-anim {
  position: relative;
  z-index: 1;
  animation: projectCardFadeIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 4px 24px #4a3c2a33, 0 1.5px 0 #ffb300;
  transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    box-shadow 0.25s;
}
@keyframes projectCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.rocky-anim:hover {
  transform: translateY(-8px) scale(1.03) rotate(-2deg);
  box-shadow: 0 8px 32px #ffb30055, 0 2px 0 #bca77a;
}
.rocky-svg {
  position: absolute;
  left: 50%;
  top: -28px;
  width: 60px;
  height: 30px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
  animation: rockySvgWobble 2.5s infinite alternate
    cubic-bezier(0.68, -0.55, 0.27, 1.55);
  background: url('data:image/svg+xml;utf8,<svg width="60" height="30" viewBox="0 0 60 30" xmlns="http://www.w3.org/2000/svg"><ellipse cx="30" cy="22" rx="22" ry="8" fill="%234a3c2a"/><ellipse cx="30" cy="15" rx="14" ry="5" fill="%237c6a4a"/><ellipse cx="30" cy="12" rx="8" ry="3" fill="%23bca77a"/></svg>')
    no-repeat center/contain;
}
@keyframes rockySvgWobble {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    transform: translateX(-50%) translateY(4px) scale(1.04);
  }
}

/* --- FALLING ROCK ANIMATION --- */
.falling-rock {
  position: fixed;
  top: -40px;
  width: 36px;
  height: 36px;
  z-index: 999;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg width="36" height="36" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg"><ellipse cx="18" cy="22" rx="15" ry="10" fill="%234a3c2a"/><ellipse cx="18" cy="18" rx="12" ry="8" fill="%237c6a4a"/><ellipse cx="18" cy="15" rx="8" ry="5" fill="%23bca77a"/></svg>')
    no-repeat center/contain;
  animation: fallingRockAnim linear forwards;
}
@keyframes fallingRockAnim {
  0% {
    opacity: 0.8;
    transform: translateY(0) scale(1) rotate(-10deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) scale(1.1) rotate(20deg);
  }
}
.falling-rock.side-rock {
  position: fixed;
  width: 36px;
  height: 36px;
  z-index: 999;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg width="36" height="36" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg"><ellipse cx="18" cy="22" rx="15" ry="10" fill="%234a3c2a"/><ellipse cx="18" cy="18" rx="12" ry="8" fill="%237c6a4a"/><ellipse cx="18" cy="15" rx="8" ry="5" fill="%23bca77a"/></svg>')
    no-repeat center/contain;
  animation: fallingRockSideAnim linear forwards;
}
@keyframes fallingRockSideAnim {
  0% {
    opacity: 0.8;
    transform: translateY(0) scale(1) rotate(-10deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) scale(1.1) rotate(20deg);
  }
}
.falling-rock.side-rock[left] {
  animation-name: sideRockAnimLeft;
}
.falling-rock.side-rock[right] {
  animation-name: sideRockAnimRight;
}
@keyframes sideRockAnimLeft {
  0% {
    opacity: 0.8;
    transform: translateX(0) scale(1) rotate(-10deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(60vw) scale(1.1) rotate(20deg);
  }
}
@keyframes sideRockAnimRight {
  0% {
    opacity: 0.8;
    transform: translateX(0) scale(1) rotate(10deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-60vw) scale(1.1) rotate(-20deg);
  }
}

.rocky-navbar {
  position: relative;
  background: #232323;
  border-bottom: 6px solid #4a3c2a;
  box-shadow: 0 4px 24px #4a3c2a44;
  z-index: 10;
}
.navbar-rocks {
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 11;
}
.navbar-rock-center {
  display: inline-block;
  width: 56px;
  height: 38px;
  background: url('data:image/svg+xml;utf8,<svg width="56" height="38" viewBox="0 0 56 38" xmlns="http://www.w3.org/2000/svg"><ellipse cx="28" cy="28" rx="22" ry="10" fill="%234a3c2a"/><ellipse cx="28" cy="18" rx="16" ry="7" fill="%237c6a4a"/><ellipse cx="28" cy="13" rx="9" ry="4" fill="%23bca77a"/></svg>')
    no-repeat center/contain;
  opacity: 0.92;
  margin: 0 auto;
  transform: translateY(0) scale(1) rotate(-2deg);
  animation: navbarRockWobble 3.5s infinite alternate
    cubic-bezier(0.68, -0.55, 0.27, 1.55);
  pointer-events: auto;
}
.navbar-rock {
  display: inline-block;
  width: 48px;
  height: 32px;
  background: url('data:image/svg+xml;utf8,<svg width="48" height="32" viewBox="0 0 48 32" xmlns="http://www.w3.org/2000/svg"><ellipse cx="24" cy="22" rx="20" ry="10" fill="%234a3c2a"/><ellipse cx="24" cy="16" rx="14" ry="7" fill="%237c6a4a"/><ellipse cx="24" cy="13" rx="8" ry="4" fill="%23bca77a"/></svg>')
    no-repeat center/contain;
  opacity: 0.85;
  transform: translateY(0) scale(1) rotate(-2deg);
  animation: navbarRockWobble 3.5s infinite alternate
    cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.navbar-rock:nth-child(2) {
  width: 36px;
  height: 24px;
  opacity: 0.7;
  transform: translateY(6px) scale(0.8) rotate(6deg);
  animation-delay: 1.2s;
}
.navbar-rock:nth-child(3) {
  width: 28px;
  height: 18px;
  opacity: 0.6;
  transform: translateY(2px) scale(0.7) rotate(-8deg);
  animation-delay: 2.1s;
}
@keyframes navbarRockWobble {
  0% {
    transform: translateY(0) scale(1) rotate(-2deg);
  }
  100% {
    transform: translateY(4px) scale(1.04) rotate(2deg);
  }
}

.digsite-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.digsite-fact {
  display: flex;
  align-items: center;
  background: #232323;
  border-left: 6px solid #ffb300;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 12px #4a3c2a33;
  font-size: 1.08rem;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #bca77a;
  position: relative;
}
.digsite-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  user-select: none;
  filter: drop-shadow(0 1px 2px #ffb30088);
  transition: transform 0.2s;
}
.digsite-fact:hover .digsite-icon {
  transform: scale(1.2) rotate(-10deg);
}

.skills-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.skill-tile {
  background: #232323;
  color: #ffd54f;
  border-radius: 16px;
  box-shadow: 0 2px 12px #4a3c2a33, 0 1.5px 0 #ffb300;
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 110px;
  min-width: 0;
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
  cursor: default;
  user-select: none;
  border: 2px solid #4a3c2a;
  position: relative;
  overflow: hidden;
}
.skill-tile:hover {
  background: #ffb300;
  color: #232323;
  box-shadow: 0 6px 32px #ffb30055;
  border-color: #ffd54f;
  transform: translateY(-4px) scale(1.04);
}
.skill-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffd54f;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px #181c2422;
}
.skill-tile:hover .skill-title {
  color: #232323;
}
.skill-desc {
  font-size: 0.98rem;
  color: #e0d7c2;
  font-weight: 400;
  text-shadow: 0 1px 2px #181c2422;
}
.skill-tile:hover .skill-desc {
  color: #232323;
}
.skill-tile-wide {
  grid-column: span 2;
  min-width: 0;
}
@media (max-width: 700px) {
  .skill-tile-wide {
    grid-column: span 1;
  }
}
.skill-link {
  color: #ffd54f;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s;
}
.skill-link:hover {
  color: #ffb300;
}

.translator-highlight {
  margin-top: 1.5rem;
  background: #232323;
  border-left: 6px solid #bca77a;
  border-radius: 10px;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 2px 12px #4a3c2a33;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 480px;
  color: #e0d7c2;
}
.translator-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #e0d7c2;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}
.translator-desc {
  font-size: 0.98rem;
  color: #e0d7c2;
  font-weight: 400;
  text-shadow: 0 1px 2px #181c2422;
}
.translator-highlight a {
  color: #ffd54f;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s;
}
.translator-highlight a:hover {
  color: #ffb300;
}

.mining-progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.mining-progress-container.improved {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.2rem;
  position: relative;
}
.mining-progress-bar-bg {
  width: 320px;
  max-width: 90vw;
  height: 18px;
  background: linear-gradient(90deg, #2d2216 60%, #3a2c1b 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px #0006;
  overflow: hidden;
  position: relative;
}
.mining-progress-bar-bg.rocky-border {
  width: 400px;
  max-width: 98vw;
  height: 32px;
  background: linear-gradient(90deg, #2d2216 60%, #3a2c1b 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #000a, 0 0 0 4px #4a3c2a55;
  overflow: visible;
  position: relative;
  border: 3px solid #7a6a4a;
  margin-bottom: 0.5rem;
}
.mining-drill-svg {
  margin-bottom: -18px;
  z-index: 2;
  filter: drop-shadow(0 2px 8px #0008);
  animation: drill-bounce 1.2s infinite cubic-bezier(0.6, 0, 0.4, 1);
}
.mining-drill-svg {
  position: absolute;
  left: -54px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 3;
  filter: drop-shadow(0 4px 16px #000a);
  animation: drill-bounce 1.2s infinite cubic-bezier(0.6, 0, 0.4, 1);
}
@keyframes drill-bounce {
  0%,
  100% {
    transform: translateY(-50%) rotate(-8deg);
  }
  50% {
    transform: translateY(-40%) rotate(-8deg);
  }
}
.mining-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb300 0%, #bca77a 100%);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 0 12px #ffb30088;
  transition: width 0.7s cubic-bezier(0.6, 0, 0.4, 1);
}
.mining-progress-bar.jagged {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb300 0%, #bca77a 100%);
  border-radius: 18px 0 0 18px;
  box-shadow: 0 0 24px #ffb30099, 0 2px 12px #bca77a55;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 0.7s cubic-bezier(0.6, 0, 0.4, 1);
  overflow: visible;
  min-width: 0;
}
.mining-progress-bar.jagged::after {
  content: "";
  display: block;
  position: absolute;
  right: -12px;
  top: 0;
  width: 24px;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="24" height="32" xmlns="http://www.w3.org/2000/svg"><polyline points="0,0 6,16 2,32 12,24 22,32 18,16 24,0" fill="%23ffb300" stroke="%237a6a4a" stroke-width="2"/></svg>')
    no-repeat center/cover;
  z-index: 2;
}
.mining-sparks {
  position: absolute;
  right: 0;
  top: 50%;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 4;
}
.mining-sparks::before,
.mining-sparks::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe066 60%, #ffb30000 100%);
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(0.7);
  animation: spark-flicker 0.7s infinite alternate;
}
.mining-sparks::after {
  width: 5px;
  height: 5px;
  left: 70%;
  top: 30%;
  opacity: 0.5;
  animation-delay: 0.3s;
}
@keyframes spark-flicker {
  0% {
    opacity: 0.7;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.mining-progress-label {
  margin-top: 0.5rem;
  color: #bca77a;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 4px #000a;
  font-weight: 600;
}
@media (max-width: 600px) {
  .mining-progress-bar-bg.rocky-border {
    width: 99vw;
    min-width: 0;
  }
  .mining-drill-svg {
    left: -36px;
    width: 48px;
    height: 48px;
  }
}

/* --- SIGNAL SECTION STYLES --- */
.signal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(120deg, #2d2216 80%, #3a2c1b 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #000a, 0 0 0 4px #4a3c2a33;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0 auto 2rem auto;
  max-width: 420px;
  position: relative;
}
.signal-icon {
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 2px 8px #ffb30088);
  animation: signal-pulse 1.5s infinite alternate;
}
@keyframes signal-pulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.discord-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.discord-handle {
  color: #998b57;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.3rem;
  text-shadow: none;
}
.discord-id {
  color: #998b57;
  font-size: 1rem;
  margin-top: 0.1rem;
}
.signal-desc {
  color: #998b57;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  text-shadow: none;
}
#contact h2 {
  color: #998b57 !important;
  text-shadow: none;
}

.github-card {
  background: linear-gradient(120deg, #2d2216 80%, #3a2c1b 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #000a, 0 0 0 4px #4a3c2a33;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0 auto 2.5rem auto;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.github-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #998b57;
  letter-spacing: 0.04em;
}
.github-profile-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  min-height: 80px;
  width: 100%;
  justify-content: center;
}
.github-avatar-wrap {
  flex-shrink: 0;
}
.github-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid #998b57;
  box-shadow: 0 2px 12px #0008;
  background: #2d2216;
}
.github-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.github-username {
  color: #998b57;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.2rem;
}
.github-username:hover {
  text-decoration: underline;
  color: #ffb300;
}
.github-bio {
  color: #998b57;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  opacity: 0.85;
}
.github-stats {
  color: #998b57;
  font-size: 0.98rem;
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.github-loading,
.github-error {
  color: #998b57;
  font-size: 1rem;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .github-card {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .github-profile-card {
    flex-direction: column;
    gap: 0.7rem;
  }
  .github-avatar {
    width: 54px;
    height: 54px;
  }
}

/* Excavation Timeline Styles */
.excavation-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 0;
  position: relative;
}

.excavation-timeline::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #7a6a4a, #bca77a);
  border-radius: 2px;
  z-index: 0;
}

.excavation-item {
  background-color: #2d2216;
  border-radius: 12px;
  padding: 1.5rem;
  margin-left: 4rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.excavation-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.excavation-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 1.5rem;
  width: 2rem;
  height: 4px;
  background: #7a6a4a;
  z-index: 1;
}

.excavation-date {
  font-size: 0.9rem;
  color: #ffb300 !important;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.excavation-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #bca77a !important;
}

.excavation-desc {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.gem-icon {
  position: absolute;
  left: -3.5rem;
  top: 1rem;
  width: 3rem;
  height: 3rem;
  background: #2d2216;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid #7a6a4a;
  z-index: 2;
  animation: gemPulse 3s infinite alternate;
}

@keyframes gemPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 179, 0, 0);
  }
  100% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.4);
  }
}

/* Tech Stack Section */
.tech-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 1.5rem 0;
}

.tech-item {
  background: #2d2216;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7a6a4a, #ffb300, #7a6a4a);
  border-radius: 4px 4px 0 0;
}

.tech-icon {
  margin-bottom: 1rem;
  position: relative;
}

.tech-icon svg {
  filter: drop-shadow(0 2px 5px rgba(255, 179, 0, 0.3));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.tech-item:hover .tech-icon svg {
  filter: drop-shadow(0 4px 8px rgba(255, 179, 0, 0.5));
  transform: scale(1.1);
}

.tech-name {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #bca77a !important;
}

.tech-level {
  width: 100%;
  height: 8px;
  background: #18130e;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.tech-bar {
  height: 100%;
  background: linear-gradient(90deg, #7a6a4a, #ffb300);
  border-radius: 4px;
  position: relative;
  animation: techFill 1.5s ease-out forwards;
  transform-origin: left;
}

/* Mining Drill Animation and Sparks */
.mining-drill-svg {
  transition: left 0.3s ease;
}

.mining-drill-svg.drilling {
  animation: drillVibration 0.1s infinite alternate;
}

@keyframes drillVibration {
  0% {
    transform: translateY(-1px) rotate(-1deg);
  }
  100% {
    transform: translateY(1px) rotate(1deg);
  }
}

.mining-sparks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffb300;
  border-radius: 50%;
  opacity: 0;
  animation: sparkFly 1s ease-out forwards;
}

@keyframes sparkFly {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) scale(0);
    opacity: 0;
  }
}

@keyframes techFill {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.section-desc {
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .excavation-timeline::before {
    left: 1.5rem;
  }

  .excavation-item {
    margin-left: 3rem;
  }

  .gem-icon {
    left: -2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
}

/* Navigation Menu Styles */
.nav-menu {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.nav-link {
  color: #bca77a !important;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: 500;
}

.nav-link:hover {
  color: #ffb300 !important;
  background: rgba(255, 179, 0, 0.1);
  border-color: #ffb300;
  transform: translateY(-2px);
}

/* Rock Collection Styles */
.rock-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.rock-specimen {
  background: #2d2216;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 3px solid #7a6a4a;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rock-specimen:hover {
  transform: translateY(-8px);
  border-color: #ffb300;
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.3);
}

.specimen-container {
  position: relative;
  margin-bottom: 1rem;
}

.rock-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.rock-specimen:hover .rock-emoji {
  transform: scale(1.2) rotate(10deg);
}

.rock-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 179, 0, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.rock-specimen:hover .rock-shine {
  left: 100%;
}

.rock-specimen.discovered {
  animation: discovered 0.5s ease;
}

@keyframes discovered {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.floating-discovery {
  position: absolute;
  top: -20px;
  color: #ffb300 !important;
  font-weight: bold;
  animation: floatUp 2s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

.rock-specimen h3 {
  color: #bca77a !important;
  margin-bottom: 0.5rem;
}

.rock-specimen p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Back to Top Mining Cart */
.mining-cart {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #2d2216;
  border: 3px solid #7a6a4a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.mining-cart.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mining-cart:hover {
  background: #1a1410;
  border-color: #ffb300;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 179, 0, 0.3);
}

.mining-cart svg {
  transition: transform 0.3s ease;
}

.mining-cart:hover svg {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .nav-menu {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .rock-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mining-cart {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}
