.hero-section {
  width: 100%;
  min-height: 100vh;
  height: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  background: linear-gradient(40deg, #1c1c1c 40%, #08463b 100%);
  position: relative;
  overflow: hidden;
}

.hero {
  width: 100%;
  height: 258px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  justify-content: space-between;
}

.hero-text {
  width: 100%;
  max-width: 432px;
  height: 40px;
  color: #ffffff;
  font-family: var(--font-code);
  font-weight: 400;
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: 0%;
  margin: 0;
}

.hero-name {
  width: 100%;
  height: 128px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hero-name h1 {
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12.8rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: -40px;
}

.hero-links {
  gap: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 363px;
}

.hero-links a {
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  cursor: pointer;
  border: #ffffff 1px solid;
  border-radius: 100px;
  gap: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.scroll-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 100px;
  transform: translateX(0);
  transition: transform 0.8s ease-in-out;
}

.scroll-track span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  width: 100%;
}

@keyframes marquee-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 100px));
  }
}

.check-work {
  max-width: 172px;
  width: 100%;
  height: 48px;
}

.contact-me {
  max-width: 143px;
  width: 100%;
  height: 48px;
}

.side-left {
  position: absolute;
  bottom: 0;
  left: 100px;
  width: 30px;
  height: 312px;
  justify-content: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.scroll-down {
  width: 30px;
  height: 48px;
  border: 1px solid #3dcfb6;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.scroll-down img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: auto;
  animation: bounce-down 0.5s ease-in-out infinite alternate;
}

@keyframes bounce-down {
  0% {
    top: 30%;
  }
  100% {
    top: 55%;
  }
}

.v-line-left {
  width: 1px;
  height: 240px;
  background-color: #3dcfb6;
}

.scroll-down {
  width: 30px;
  height: 48px;
}

.side-right {
  right: 100px;
  width: 30px;
  height: 480px;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 24px;
  z-index: 10;
}

.side-email {
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1.8rem;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  white-space: nowrap;
}

.side-socials .side-email-icon {
  display: none;
}

.side-socials {
  width: 32px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.side-socials a img {
  width: 28px;
  height: auto;
  filter: none;
  transition: filter 0.3s ease;
}

.side-socials a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.v-line-right {
  width: 1px;
  height: 186px;
  background-color: #ffffff;
}

.billboard-track {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  width: 115vw;
  height: 68px;
  overflow: hidden;
  z-index: 20;
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
  background: rgba(124, 122, 122, 0.4);
  backdrop-filter: blur(5.3px);
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  width: max-content;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 24px;
}

.ticker-item span {
  color: #3dcfb6;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Media Queries */
@media (max-width: 1600px) {
  .hero-section .hero-name h1 {
    font-size: 9rem;
    margin-top: -20px;
  }
}

@media (max-width: 1200px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-section .hero-name h1 {
    font-size: 8rem;
  }
}

@media (hover: hover) {
  .hero-links a:hover .scroll-track {
    animation: marquee-loop 3s linear infinite;
  }

  .hero-links a:hover {
    border-color: #3dcfb6;
    color: #3dcfb6;
  }

  .side-email:hover {
    color: #3dcfb6;
  }

  .side-socials a:hover img {
    filter: brightness(0) invert(1);
  }

  .side-socials a::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    background-color: #3dcfb6;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .side-socials a:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@media (max-width: 768px) {
  .hero {
    gap: 20px;
    margin-bottom: 20px;
  }

  .hero-section .hero-name h1 {
    font-size: 7rem;
  }

  .hero-text {
    font-size: 2.4rem;
  }

  .header-content {
    display: none;
  }

  .side-email {
    display: none !important;
  }

  .side-socials .side-email-icon {
    display: block;
  }

  .side-socials {
    height: 120px;
  }

  .side-socials a:active {
    transform: scale(0.95);
    opacity: 0.7;
    transition: transform 0.1s ease;
  }

  

  .hero-links a {
    transition:
      transform 0.1s ease,
      opacity 0.1s ease;
  }

  .hero-links a:active {
    transform: scale(0.95) translateY(2px);
    opacity: 0.6;
  }

  .side-left {
    left: 20px;
    height: auto;
    max-height: 40vh;
  }

  .side-right {
    right: 20px;
    height: auto;
    max-height: 40vh;
  }

  .ticker-item span {
    font-size: 2.4rem;
  }

  .ticker-inner {
    height: 50px;
  }

  .billboard-track {
    height: 50px;
  }

  .v-line-right {
    flex-grow: 1;
    min-height: 50px;
  }

  .v-line-left {
    flex-grow: 1;
    min-height: 50px;
  }

  .hero-links a {
    color: #ffffff;
    border-color: #ffffff;
  }

  .side-email {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero {
    gap: 30px;
    margin-bottom: 20px;
  }

  .hero-section .hero-name h1 {
    font-size: 6.2rem;
  }

  .hero-links {
    margin-bottom: inherit;
  }

  .v-line-right {
    height: 100px;
  }

  .v-line-left {
    height: 140px;
  }

  .side-socials {
    height: 90px;
    gap: 8px;
  }

  .billboard-track {
    margin-bottom: auto 0;
    top: 91vh;
  }
}

@media (max-width: 375px) {
  .hero {
    gap: 20px;
    margin-bottom: 30px;
  }

  .hero-section .hero-name h1 {
    font-size: 5rem;
  }

  .hero-text {
    font-size: 2.4rem;
  }

  .v-line-right {
    height: 80px;
  }

  .v-line-left {
    height: 120px;
  }

  .side-socials {
    height: 90px;
    gap: 8px;
  }

  .billboard-track {
    margin-bottom: auto 0;
    top: 91vh;
  }
}
