body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #ddd;
  line-height: 1.6;
  background-color: #0e0e0e;
}
@font-face {
  font-family: "Minecraft";
  src: url(/assets/fonts/Minecraft.otf) format("opentype");
}
@font-face {
  font-family: "Minecraft-Bold";
  src: url(/assets/fonts/Minecraft-Bold.otf) format("opentype");
  font-weight: bold;
}
@font-face {
  font-family: "Valorant";
  src: url(/assets/fonts/Valorant.ttf) format("truetype");
}
header {
  background: rgba(5, 5, 5, 0.7);
  color: #ddd;
  padding: 1.5rem;
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
    0 0 0 0.25px rgba(169, 169, 169, 0.7);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
  font-size: clamp(0.9rem, 2vw, 1rem);
  white-space: nowrap;
  text-align: center;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ffd700;
  background: #222;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}
.hamburger .line {
  width: 25px;
  height: 3px;
  background: #ddd;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active .line1 {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .line2 {
  opacity: 0;
}
.hamburger.active .line3 {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 0;
    padding-top: 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }
  .nav-links a {
    padding: 10px;
    display: block;
  }
}
#home {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background: #0e0e0e;
  color: #fff;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s forwards ease-in-out;
  position: relative;
}
.home-content {
  position: relative;
}
.home-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  animation: scaleUp 1s forwards ease-in-out;
}
.home-content p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #ffd700;
  animation: typing 3s steps(30, end), blinkCursor 0.7s step-end infinite;
}
.btn {
  position: relative;
  display: inline-block;
  background: #e49b0f;
  color: #fff;
  padding: 0.5rem 1rem;
  top: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 1rem);
  opacity: 0;
  border: 1px solid rgba(228, 155, 15, 0.3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
              0 0 15px rgba(228, 155, 15, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInButton 0.5s 0.5s forwards, glowPulse 2s infinite;
}

.btn:hover {
  background-color: #c77a0a;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),
              0 0 25px rgba(228, 155, 15, 0.7);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
                0 0 15px rgba(228, 155, 15, 0.3);
  }
  50% {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(228, 155, 15, 0.5);
  }
  100% {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
                0 0 15px rgba(228, 155, 15, 0.3);
  }
}

#home,
#about,
#highlights,
#experience,
#content-creation,
#thumbnail,
#contacts {
  padding: 4rem 2rem;
  background: #0e0e0e;
  text-align: center;
}
#about p {
  font-size: 1.3rem;
  margin: 0 auto;
  width: 60%;
  text-align: center;
}
#about h2,
#highlights h2,
#experience h2,
#content-creation h2,
#thumbnail h2,
#contacts h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 0, 1) 23%,
    rgba(253, 218, 13, 1) 42%,
    rgba(228, 155, 15, 1) 63%
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.project-grid,
.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.project-item,
.skills-list li,
#contact form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.server-card,
.video-card,
.thumbnail-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-item:hover,
.server-card:hover,
.video-card:hover,
.thumbnail-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  cursor: auto;
  animation: none;
}
.video-card:hover {
  cursor: pointer;
}
.thumbnail-card:hover {
  cursor: pointer;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  max-width: 80%;
  max-height: 80%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}
footer {
  background: #0e0e0e;
  color: #ddd;
  text-align: center;
  padding: 1rem;
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 0.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn {
    padding: 0.5rem 1rem;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}
@keyframes fadeInButton {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.video-cards,
.thumbnail-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.video-card,
.thumbnail-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  width: 560px;
  height: 315px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card {
  width: 450px;
  height: 550px;
}
.video-card iframe,
.thumbnail-card img {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
}
@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 1024px) {
  .video-cards {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}
#experience {
  padding: 4rem 2rem;
  background-color: #0e0e0e;
  text-align: center;
  color: #ddd;
}
.server-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}
.server-card {
  font-family: "Minecraft", sans-serif;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  width: 350px;
  height: 460px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.server-card:nth-child(1) {
  font-family: "Minecraft", sans-serif;
}

.server-card:nth-child(2) {
  font-family: "Valorant", sans-serif;
}

.server-card:nth-child(2) h3 {
  font-family: "Valorant", sans-serif;
}

.server-card:nth-child(2) .server-ip {
  font-family: "Valorant", sans-serif;
}

.server-card:nth-child(2) .server-role {
  font-family: "Valorant", sans-serif;
}

.server-card a:link {
  color: #008aff;
  text-decoration: none;
}
.server-card a:visited {
  color: #008aff;
  text-decoration: none;
}
.server-card a:hover {
  color: #87ceeb;
  text-decoration: none;
}
.server-card .server-icon {
  width: 80%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.server-card:nth-child(3) .server-icon {
    width: 80%;  
    max-height: 120px;  
    object-fit: contain;
    margin-top: 0.5rem;  
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1.0);  
}

.server-card h3 {
  font-family: "Minecraft-Bold", sans-serif;
  font-size: 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 0, 1) 23%,
    rgba(253, 218, 13, 1) 42%,
    rgba(228, 155, 15, 1) 63%
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.1rem;
}
.server-card .server-ip {
  font-family: "Minecraft", sans-serif;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: #fff;
  margin-top: -0.3rem;
}
.server-card .server-role {
  font-family: "Minecraft", sans-serif;
  font-size: 1.1rem;
  color: #A9A9A9;
  margin-top: -1.3rem;
}
.server-card .server-description {
  font-family: "Minecraft", sans-serif;
  font-size: 1rem;
  color: #ddd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-card .btn {
  cursor: pointer;
  font-family: "Minecraft", sans-serif;
  background-color: #e49b0f;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10rem;
  font-size: 0.9rem;
}
.server-card .btn:hover {
  background-color: #c77a0a;
}
@media (max-width: 768px) {
  .server-cards {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
}
#contacts {
  padding: 4rem 2rem;
  background: #0e0e0e;
  text-align: center;
  color: #ddd;
}
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.contact-icon {
  display: inline-block;
  width: 100px;
  height: 100px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contact-icon:hover {
  transform: scale(1.1);
}
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.visible {
  opacity: 1;
  transform: translateY(0);
}
.dots {
  display: inline;
}
.read-more-text {
  display: none;
  transition: opacity 0.3s ease;
}
.read-more-text--show {
  display: inline;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prev-arrow {
  left: 1rem;
}
.next-arrow {
  right: 1rem;
}
.glitch-more {
  display: inline-block;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
  text-decoration: none;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.stack {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.stack span {
  font-weight: bold;
  grid-row-start: 1;
  grid-column-start: 1;
  font-size: 1.5rem;
  color: #ffffff;
  --stack-height: calc(100% / var(--stacks)-1px);
  --inverse-index: calc(calc(var(--stacks)-1)-var(--index));
  --clip-top: calc(var(--stack-height) * var(--index));
  --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
  clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
}
.stack span:nth-child(odd) {
  --glitch-translate: 4px;
}
.stack span:nth-child(even) {
  --glitch-translate: -4px;
}
@keyframes stack {
  0% {
    opacity: 0;
    transform: translateX(-50%);
    text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
  }
  60% {
    opacity: 0.5;
    transform: translateX(50%);
  }
  80% {
    transform: none;
    opacity: 1;
    text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
  }
  100% {
    text-shadow: none;
  }
}
@keyframes glitch {
  0% {
    text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
    transform: translate(var(--glitch-translate));
  }
  2% {
    text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
  }
  4%,
  100% {
    text-shadow: none;
    transform: none;
  }
}
.fade-in {
  opacity: 1;
}
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

video-card. {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  height: auto;
  aspect-ratio: 9/16;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1));
}

.play-button:before {
  content: "";
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-left: 25px solid white;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

.video-info {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
}

.channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-right: 10px;
}

.channel-name {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.video-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow:
    0 2px 16px rgba(0,0,0,1),
    0 0px 4px rgba(0,0,0,0.9),
    0 0px 32px rgba(0,0,0,0.7);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
}

.thumbnail-card:hover .video-title,
.video-title--hide {
  opacity: 0;
}


.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-content {
  width: auto;
  height: 85%;
  position: relative;
  overflow: hidden;
  
  aspect-ratio: 9/16;
}

.lightbox iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-arrow {
  left: 1rem;
}

.next-arrow {
  right: 1rem;
}

.thumbnail-card {
  position: relative;
}

.thumbnail-card .video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.thumbnail-card .video-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
#bg3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: transparent;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  text-align: center;
  color: #fff;
  font-family: 'Poppins',sans-serif;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), visibility 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}
.scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(60px);
}
.thumbnail-subtitle {
  margin-top: 6px;
  color: #7a7a7a;
  font-weight: 300;
  font-size: 0.95rem;
}


.glitch-hand {
  position: absolute;
  bottom: -2rem;
  right: calc(50% - 4.5rem);
  font-size: 1.3rem;
  
  user-select: none;
  pointer-events: none;
  animation:
    glitch-hand-nudge 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite,
    glitch-hand-fade 0.6s ease forwards 15s;
  will-change: transform;
}

@keyframes glitch-hand-nudge {
  0%, 100% { transform: rotate(-35deg) translateY(0); }
  35%       { transform: rotate(-33deg) translateY(-7px); }
  65%       { transform: rotate(-34deg) translateY(-4px); }
}

@keyframes glitch-hand-fade {
  to { opacity: 0; }
}


#about .brushstroke-highlight {
  position: relative;
  display: inline;
  color: #ffd700;
  font-weight: 600;
  padding-bottom: 0.05em;
}

#about .brushstroke-highlight::after {
  content: '';
  position: absolute;
  left: -2px;
  bottom: -0.18em;
  width: calc(100% + 4px);
  height: 0.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='10' viewBox='0 0 100 10'%3E%3Cpath d='M1,6 C18,3 38,8 58,5 C78,2 90,6 99,5' stroke='%23ffd700' stroke-width='3.5' stroke-linecap='round' fill='none' opacity='0.85'/%3E%3Cpath d='M2,7 C16,4 36,9 58,6 C78,3 91,7 99,6' stroke='%23e49b0f' stroke-width='1.5' stroke-linecap='round' fill='none' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}


.contact-form-wrapper {
  margin-top: 0.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ddd;
  font-weight: 600;
}

.contact-form {
  background: #0e0e0e;
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #dddddd;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(221, 221, 221, 0.55);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #0e0e0e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.form-textarea {
  resize: none;
}

.form-submit {
  display: block;
  margin: 0 auto;
  width: auto;
  min-width: 160px;
  background: #0e0e0e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


@media (max-width: 768px) {
  .contact-form-wrapper {
    margin-top: 2rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-input,
  .form-textarea {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .form-submit {
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
  }
}


.highlight-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-item {
  flex: 1 1 0;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.highlight-screenshot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.1rem;
}

.highlight-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.highlight-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ddd;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.highlight-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.highlight-link svg {
  width: 14px;
  height: 14px;
  display: block;
}

.highlight-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.highlight-item h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
  font-weight: 600;
  -webkit-text-fill-color: #fff;
  background: none;
}

.highlight-item p {
  font-size: 0.95rem;
  color: #b8b8b8;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .highlight-grid {
    gap: 2.25rem;
  }
  .highlight-item {
    flex: 1 1 100%;
    max-width: 380px;
  }
}