@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body{
    width: 100%;
    min-height: 200vh; /* más alto que la pantalla para scroll */
    overflow-x: hidden;
    background-color: black;
    color: white;
}



html, body {
    width: 100%;
    overflow-x: hidden;  /* Evita scroll horizontal */
}

.parallax-left,
.parallax-right {
  position: relative;
}


/* Elementos que se moverán horizontalmente */
.parallax-left {
  transform: translateX(0);
  transition: transform 0.1s linear;
}

.parallax-right {
  transform: translateX(0);
  transition: transform 0.1s linear;
}



.logo img {
    width: 300px;
    /* Ajusta el tamaño según necesites */
    height: auto;
    /* Mantiene proporción */
    display: block;
    border-radius: 0%;
    /* Opcional: para hacerlo redondo */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    /* Efecto hover */
}

/* Parallax base */
.home {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.home-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 80%;
  object-fit: cover;
  z-index: -1; /* detrás de contenido */
  transform: translateY(0px);
  transition: transform 0.1s;
}

.home-content {
  position: relative;
  z-index: 1; /* encima de la imagen */
  padding: 0 2rem;
}


header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
     z-index: 1000; /* siempre arriba */
}

.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:995px){
    /* Estilo del nav cuando está activo (toggle) */
nav {
    position: fixed; /* que quede sobre la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* ocupa toda la pantalla */
    background-color: rgba(0,0,0,0.95); /* fondo semi-transparente */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
    align-items: center;     /* centra horizontalmente */
    transform: translateY(-100%); /* inicia oculto */
    transition: transform 0.3s ease;
    z-index: 1000;
}

nav.active {
    transform: translateY(0); /* despliega */
}

nav a {
    color: #fff;
    font-size: 1.5rem;
    margin: 1rem 0; /* separa cada enlace */
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover {
    color: #ff5a5a;
}


    .home-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1; /* detrás de contenido */
        transform: translateY(0px);
        transition: transform 0.1s;
        }

}


/* Botón de menú */
.menu-toggle{
    display: none;
    font-size: 3rem;
    color: #b74b4b;
    cursor: pointer;
    z-index: 110;
}

/* Mostrar el botón en pantallas pequeñas */
@media(max-width: 995px){
    nav{
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #161616;
        display: flex;                 /* Activamos flexbox */
        flex-direction: column;        /* Vertical */
        justify-content: center;       /* Centrado vertical */
        align-items: center;           /* Centrado horizontal */
        transition: left 0.3s ease;
        z-index: 105;
        padding: 0;                    /* Quitamos padding que desplace los enlaces */
    }

    nav.active{
        left: 0;
    }

    nav a{
        font-size: 3rem;
        margin: 1.5rem 0;              /* Espaciado entre letras */
        text-align: center;             /* Centrado del texto */
    }

    nav a:hover,
    nav a.active{
        border: none;
        color: #b74b4b;
    }
}


.menu-toggle{
    display: none;
    font-size: 3rem;
    color: #b74b4b;
    cursor: pointer;
    position: fixed;      /* Fijamos la posición */
    top: 2rem;            /* Desde arriba */
    right: 2rem;          /* Desde la derecha */
    z-index: 110;
}

@media(max-width: 995px){
    .menu-toggle{
        display: block;
    }
}


section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}



.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.2s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "Mass Checking";
    }
    21%, 40%{
        content: "CC Generator";
    }
    41%, 60%{
        content: "Amazon Gates";
    }
    61%, 80%{
        content: "Email Temps";
    }
    81%, 100%{
        content: "Fake Address";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .logo img {
        width: 120px;
        /* Ajusta el tamaño según necesites */
        height: auto;
        /* Mantiene proporción */
        display: block;
        border-radius: 0%;
        /* Opcional: para hacerlo redondo */
        transition: transform 0.3s ease;
    }

    .logo img:hover {
        transform: scale(1.1);
        /* Efecto hover */
    }



    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }
    .home .home-content h1{
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}



.telegram-login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 270px; /* aumenta si quieres */
    border-radius: 4rem;
    border: 2px solid #b74b4b;
    background-color: black;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    overflow: visible; /* CAMBIO: permite que el iframe salga */
}

.telegram-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    transform-origin: center;
}

.telegram-wrapper iframe {
    width: 100%; /* toma todo el ancho del wrapper */
    max-width: 300px; /* limita para móviles grandes */
    transform: scale(0.85);
    transform-origin: center;
    border: none;
}


/* Ajuste para móviles */
@media(max-width: 600px){
    .telegram-login {
        max-width: 220x;
        padding: 0.4rem;
   /* Ancho máximo del botón */
        width: 80%;
    }
    .telegram-wrapper iframe {
        transform: scale(0.8); /* Más pequeño en móviles */
    }
}




#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Detrás de todo */
    background-color: black; /* o tu color de fondo */
}


#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* detrás de todo */
}

.home-img,
.home-content {
    position: relative;
    z-index: 1; /* por encima de las partículas */
}


/* Partículas en el fondo */
#tsparticles, #particles-js, #bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* permite clics sobre elementos encima */
}


body{
    overflow-x: hidden;
}

html, body {
    overflow-x: hidden;
}

/* Card centrada */
.profile-card {
    position: relative;
    z-index: 1; /* encima de las partículas */
    max-width: 450px;
    width: 90%;
    margin: 8rem auto; /* centrado vertical y horizontal */
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85); /* semi-transparente */
    border-radius: 2rem;
    border: 2px solid #b74b4b;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 25px #b74b4b;
}

.profile-card h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.profile-card .profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #b74b4b;
    margin-bottom: 1rem;
    object-fit: cover;
}

.profile-card h2.user-data {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    font-size: 1.4rem;
    border-radius: 2rem;
    border: 2px solid #b74b4b;
    background-color: black;
    color: #b74b4b;
    transition: 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #b74b4b;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 15px #b74b4b;
}

@media(max-width: 600px) {
    .profile-card {
        margin: 6rem 1rem;
        padding: 1.5rem;
    }

    .profile-card h1 {
        font-size: 1.8rem;
    }

    .profile-card h2.user-data {
        font-size: 1.3rem;
    }

    .profile-card .profile-picture {
        width: 100px;
        height: 100px;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
}


.profile-card {
    position: relative;           /* Para estar sobre el canvas/partículas */
    max-width: 500px;             /* Ancho máximo de la card */
    margin: 0 auto;               /* Centrado horizontal */
    padding: 2rem 3rem;
    background-color: rgba(0,0,0,0.7); /* Fondo semi-transparente */
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(183, 75, 75, 0.6);
    color: #fff;
    text-align: center;           /* Centrar texto dentro */
    z-index: 10;                  /* Encima de partículas */
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    background-color: #ffffff00;
    color: #b74b4b;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: #b74b4b;
    color: #fff;
}


