html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html, body {
    height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  overflow-y: auto;
  overflow-x: hidden;
}

main {
 flex: 1;
}



.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: -1;
  overflow: hidden;
}

.background-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/dbbj.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3; 
}

.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  background: white;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: drift var(--duration) linear infinite;
}

@keyframes drift {
  0% {
    transform: translate(0px, 0px);
    opacity: 0.8;
  }
  50% {
    transform: translate(50px, 50px);
    opacity: 0.8;
  }
  100% {
    transform: translate(0px, 0px);
    opacity: 0.8;
  }
}



.logo-wrapper {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  width: 100%;         
  max-width: 100vw;      
  padding: 0 12px;     
  box-sizing: border-box;
}

.logo-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  transition: transform 0.4s ease;
  animation: logoFadeZoom 1.2s ease-out forwards;
}



.logo-img:hover {
  transform: scale(1.1) rotate(3deg);
}

.logo-subtext {
  text-align: center;
  margin-top: 8px;
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Courier New', monospace;
  height: 90px;
  animation: textFadeSlide 1.5s ease-out 1s forwards;
  opacity: 0;
}

.content-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

img, iframe {
  max-width: 100%;
  height: auto;
}


.typing-text::after {
  content: '|';
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (min-width: 992px) {
  .custom-profile-col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.profile-section {
  background: transparent;
}

.profile-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0.4);
}


.username {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.25rem;
  user-select: none;
  transition: transform 0.3s ease;
}

.profile-link:hover .username {
  transform: scale(1.1);
}

.intro-section {
  color: white;
  padding: 2rem 0;
}

.intro-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.video-wrapper {
  max-width: 640px;       
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;  
  height: 0;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.video-wrapper:hover {
  transform: scale(1.03);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.affiliation-section {
  color: white;
  padding: 2rem 0;
}

.affiliation-title {
  font-size: 1.8rem;
  font-weight: 600;;
}

.affiliation-link {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliation-logo {
  width: 420px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.affiliation-link:hover .affiliation-logo {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

.footer-view-count {
  width: 100%;
  background-color: transparent;
  color: white;
  padding: 10px 0;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  text-align: center;
}



.footer-view-count i.fa-eye {
  margin-right: 6px;
  color: #ccc;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes textFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-subtext {
  animation: textFadeSlide 1.5s ease-out 1s forwards;
  opacity: 0;
}

@media (min-width: 992px) {
  .custom-profile-col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (min-width: 992px) {
  .profile-section .row {
    --bs-gutter-x: 1rem; 
  }
}



@media (max-width: 576px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@keyframes logoFadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-img {
  animation: logoFadeZoom 1.2s ease-out forwards;
}

