@import url("../../globals.css");

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 1000px) {
  body .contact-subtitle {
    font-size: 1.5vw;
  }
  body .contact-footer-text {
    font-size: 3vw;
  }
}

html {
  background: black !important;
}
body {
  background: transparent !important;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

canvas[data-engine] {
  background: black !important;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none !important; 
  z-index: -1 !important; 
}

canvas[data-engine].vfx-ready {
  opacity: 1;
  pointer-events: none !important; 
  z-index: -1 !important;
}

body > div:not(.crt):not(.buttons-container):not(.navbar):not(.site-footer) {
  pointer-events: none !important;
}

.button-hitbox,
.shader-button-container button {
  pointer-events: auto !important;
  z-index: 99999 !important;
  position: absolute !important;
}

body.vfx-ready {
  animation: fadeIn 1s ease-in-out 0.1s forwards;
}

h1 {
  opacity: 0; 
  pointer-events: none;
}

h2 {
  opacity: 1;
  color: white;
  pointer-events: none;
}

hr.shader-hr {
  border: 1px solid white;
  width: 100%;
  margin-top: 14rem;
  opacity: 0;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: auto;
  pointer-events: none; 
  position: relative;
  z-index: 1;
}

.shader-button-container {
  position: relative;
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 0.15em 0.25em;
  text-align: center;
  line-height: 1;
  opacity: 1;
  visibility: visible;
  color: white; 
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.3); 
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
}

.buttLarge {
  font-size: 25px;
}

.buttSmall {
  font-size: 15px;
}

.buttMedium {
  font-size: 18px;
}

.shader-button-container .button-hitbox,
.shader-button-container button {
  position: absolute !important;
  top: -1rem; 
  bottom: -1rem;
  left: -3rem; 
  right: -3rem;
  opacity: 0 !important;
  visibility: visible !important; 
  color: transparent !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  z-index: 99999 !important;
}

.bull-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.bull-side-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  min-width: 200px;
  padding: 1rem;
  color: white;
  font-size: 14px;
  line-height: 1.5;
  opacity: 1;
  visibility: visible;
  pointer-events: none; 
}

.bull-left-text {
  order: 1;
  text-align: left;
}

#bull {
  order: 2;
}

.bull-right-text {
  order: 3;
  text-align: right;
}

@media (max-width: 1200px) {
  .bull-container {
    flex-direction: column;
    gap: 1rem;
  }

  .bull-side-text {
    width: 100%;
    min-width: auto;
  }

  .bull-left-text {
    order: 1;
  }

  #bull {
    order: 2;
  }

  .bull-right-text {
    order: 3;
  }
}

.home-hero {
  margin: auto;
  display: flex;
  width: 80%;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  margin-top: -1rem;
}

#main {
  padding: 30vw 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
/* BULLLLLLLLLLLLLLLLLLLL */
#bull {
  color: red;
  font-size: 7px;
}

.hero-title {
  font-size: 2rem;
  margin-top: -50px;
  text-align: center;
}

.some-section {
  width: 100%;
  padding: 4rem 2rem;
  margin: 5rem auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.some-container {
  max-width: 80%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.some-title {
  font-size: clamp(18px, 2vw, 24px);
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.2rem;
  width: 100%;
}

.some-playlist {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.some-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.some-rectangle {
  width: 200px;
  height: 200px;
  background: rgba(128, 128, 128, 0.075);
  border-radius: 8px;
}

img {
  width: 100%;
  height: 100%;
  z-index: 5;
  margin: auto;
}

div {
  opacity: 0;
}

div.show {
  opacity: 1;
}

.contact-section .contact-block {
  opacity: 0;
}

.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem clamp(1rem, 3vw, 1.5rem);
  margin-top: -15rem;
  margin-bottom: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  margin: 0 auto;
  padding: 2rem;
  display: block;
  width: fit-content;
}

.contact-section {
  position: relative;
  width: 100%;
  max-width: min(640px, calc(100vw - 5rem));
  margin: 0 auto clamp(4rem, 10vw, 8rem);
  padding: clamp(0.75rem, 2vw, 1.5rem) max(1rem, 4vw) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  margin-top: -3rem;
  box-sizing: border-box;
  overflow: visible;
}

@media screen and (max-width: 800px) {
  .contact-section {
    margin-top: -5rem;
  }
}

.contact-ascii-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow-x: hidden;
  margin-bottom: -17rem;
}

.contact-ascii-wrap .contact-ascii {
  font-family: monospace;
  line-height: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.274);
  white-space: pre;
  overflow-x: hidden;
}

#contact-ascii-art {
  margin: -70rem 0 -20rem 0;
  padding-bottom: -100rem;
}

@media screen and (max-width: 768px) {
  .contact-ascii-wrap .contact-ascii {
    font-size: 5px;
    line-height: 7px;
  }
  .contact-ascii-wrap {
    margin-bottom: 0rem;
  }
  #contact-ascii-art {
    margin: -40rem 0 -25rem 0;
  }
}

.contact-section .contact-block,
.contact-section .contact-subtitle,
.contact-section .contact-footer-text {
  position: relative;
  z-index: 1;
}

.contact-block {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-heading {
  font-size: clamp(0.3rem, 2.5vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  margin: 0 0 0.25em;
  opacity: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.contact-email {
  font-size: clamp(0.5rem, 2vw, 1.25rem);
  color: #e53939;
  display: block;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.01);
}

.contact-email-break {
  display: none;
}

@media screen and (max-width: 900px) {
  .contact-email-break {
    display: block;
  }
  .contact-email {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

.contact-subtitle {
  font-size: clamp(0.85rem, 2.3vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  max-width: 100%;
  word-wrap: break-word;
}

.contact-footer-text {
  font-family: monospace !important;
  font-size: clamp(0.8rem, 1.5vw, 0.8rem);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08rem;
  max-width: 100%;
  word-wrap: break-word;
}


.contact-button {
  position: absolute;
  display: block;
  width: 150%;
  height: 200%;
}

span, p {
  pointer-events: none;
}