* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}

#loader-screen{
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1);
}

#loader-screen .loader-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
  transform: translateY(-6vh); 
  padding: 20px;
}

.video-wrap{
  width: min(720px, 80vw);
  max-height: 55vh;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.04);
  background: #000;
}
.video-wrap video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.loader-bar{
  width: min(520px, 70vw);
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
.loader{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(0,255,255,0.95), rgba(0,255,255,0.7));
box-shadow: 0 0 48px rgba(0,255,255,0.12);
  transform-origin: left center;
  animation: loaderFill 2.2s linear forwards;
}
@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.loader::before, .loader::after{
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: .08;
  filter: blur(6px);
  transform: translateY(-50%);
  background: transparent;
  animation: spark 0.8s linear infinite;
}
@keyframes spark {
  0% { opacity: .6; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(-50%) scale(2.2); }
}

.res-txt {
  font-size: 1.4rem;
  text-align: center;
  color: floralwhite;
  font-family: 'Lugrasimo', cursive, serif;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3); 
}

#loader-screen.fade-out{
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1);
}
#main-content {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;   
  align-items: center;      
  justify-content: center;  
  opacity: 0;
  transform: translateY(20px) scale(0.995);
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1),
              transform 700ms cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
}

#main-content.fade-in{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  transition: opacity 1s ease;
}

.content-box {
  aspect-ratio: 9 / 16;
  width: 80%;
  padding: 2%;
  position: relative;
  text-align: center;
  margin: 5% auto;
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 2%;
  backdrop-filter: blur(90px);
  box-shadow: 0 0.4vw 2vw rgba(0, 0, 0, 0.2);
  border: 0.3vw solid transparent;
  z-index: 0;
}

.content-box::before {
  content: "";
  position: absolute;
  top: -0.5vw;
  left: -0.5vw;
  right: -0.5vw;
  bottom: -0.5vw;
  border-radius: 2%;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #ff6b6b,
    #ffb86c,
    #50fa7b,
    #8be9fd,
    #ff79c6,
    #ff6b6b
  );
  background-size: 300% 300%;
  animation: borderAnimation 6s infinite linear;
  border: 0.3vw solid transparent;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.profile-row {
  display: flex;
  justify-content: center;
  align-items: center;     
  height: auto;         
    padding: 20px;
}

.profile-pfp {
  width: 50%;
  height: auto;
  border-radius: 50%; 
  overflow: hidden;   
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.6), 0 0 10px rgba(106, 17, 203, 0.8);
  border: 4px solid #fff;  
  transition: transform 0.3s ease; 
  cursor: pointer;
}

.profile-pfp img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.profile-pfp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.8), 0 0 15px rgba(106, 17, 203, 1);
}

.text-center-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title {
  font-family: 'Lugrasimo', cursive, serif;
  font-size: 2.2rem;
  color: white;
  position: relative;
    text-shadow: 0 6px 20px rgba(37, 117, 252, 0.8), 0 0 15px rgba(106, 17, 203, 1);
}

.subtitle {
  font-family: sans-serif;
  font-size: 1.2rem;
  color: white;
  font-variant-caps: small-caps;
}

.about-section {
  width: 100%;
  color: white;
  text-align: left;
}

.about-title {
  font-family: 'Cinzel Decorative';
  display: inline-block;     
  position: relative;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.about-title::after {
  content: "";
  display: block;
  width: 60%;                   
  height: 2px;                  
  background-color: white;      
  margin-top: 4px;    
}

@font-face {
  font-family: 'Gabriela';
  src: url('Fonts/Gabriela.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.about-text {
font-family: 'Gabriela', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

:root{
  --telegram:#2A9DF4; --instagram:#E1306C; --github:#111; --whatsapp:#25D366;
  --size:55px; --gap:18px;
}
.social-row {
  display: flex;
  gap: var(--gap);
  justify-content: center;
  align-items: center;
  padding: 12px;
  margin-top: 20px;   
  clear: both;      
  width: 100%;        
}

.social-row a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon{
  width:var(--size); height:var(--size); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:2px solid transparent; transition:all .25s; cursor:pointer;
}
.icon i{ font-size:25px; transition:color .2s, transform .2s; }

/* telegram */
.icon:nth-child(1){ border-color:var(--telegram); color:var(--telegram); background:transparent; }
.icon:nth-child(1):hover {
  background: var(--telegram);
  color: #fff;
  box-shadow: 0 0px 80px rgba(42, 157, 244, 0.7); 
  transform: translateY(-4px);
}
/* instagram */
.icon:nth-child(2){ border-color:var(--instagram); color:var(--instagram); }
.icon:nth-child(2):hover{ background:var(--instagram); color:#fff; box-shadow:0 0px 80px rgba(225,48,108,0.22); transform:translateY(-4px); }

/* github */
.icon:nth-child(3){ border-color: black; color:var(--github); }
.icon:nth-child(3):hover{ background:var(--github); color:#fff; box-shadow:0 0px 80px rgba(0,0,0,0.28); transform:translateY(-4px); }

/* whatsapp */
.icon:nth-child(4){ border-color:var(--whatsapp); color:var(--whatsapp); }
.icon:nth-child(4):hover{ background:var(--whatsapp); color:#fff; box-shadow:0 0px 80px rgba(37,211,102,0.28); transform:translateY(-4px); }
