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

body{
    background: linear-gradient(to bottom, rgba(1, 93, 255, 1) 0%,  rgb(0, 0, 0) 100% );
    user-select: none;
}

html {
  scroll-behavior: smooth;
}

.background-glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(1, 218, 254, 0.5) 0%,  rgba(33, 37, 41, 0) 100% );
    transform: translate(-50%, -50%);
    filter: blur(200px);
    z-index: 99;
}

header {
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-head {
    position: fixed;
    width: 60%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    background-color: rgba(0, 0, 0, 0.377); 
    backdrop-filter: blur(10px);              
    -webkit-backdrop-filter: blur(10px);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 100;
}

.nav-head a {
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: white;
}

.nosotros {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nos-container {
    width: 60%;
    display: flex;
    align-items: center;
}


.logo-nos {
    width: 50%;
    height: auto;
}

.logo-nos img {
    width: 100%;
    height: auto;
}

.nos-presentation {
    padding: 0 0 0 96px;
    color: white;
    font-family: "Poppins", sans-serif;
}

.nos-presentation h1 {
    font-size: 64px;
    color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 2px rgb(255, 255, 255));
}

/* Contenedor principal de la sección */
.main-container {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.carousel-image-container {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-image-container:hover {
    transform: scale(1.01);
}

.carousel-wrapper {
    width: 60%; 
    position: relative;
}

.carousel-slide {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: background-image 0.6s ease-in-out;
}

/* Tarjeta translúcida adentro */
.info-card {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    max-width: 100%;
    z-index: 2;
}

.info-card h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 14px;
    line-height: 1.4;
}

#slide-link {
    text-decoration: none;
    color: inherit; 
    display: block; /* Para que ocupe todo el ancho */
}

#slide-link:visited {
    color: inherit;
}

/* Footer con controles abajo de la imagen */
.carousel-footer-outside {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.btn-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: white;
    color: black;
}

.dot {
    width: 10px;
    height: 10px;
    border: 1px solid white;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    cursor: pointer;
}

.dot.active {
    background: white;
}



.join-discord {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.discord-card {
    width: 60%;
    background: linear-gradient(135deg, #5865F2 0%, #36393f 100%);
    margin-top: 48px;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(1, 93, 255, 0.2);
    transition: transform 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
}

.discord-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.discord-logo {
    width: 100px;
    height: auto;
}

.discord-text {
    color: white;
    font-family: 'Poppins', sans-serif;
}

.discord-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.discord-text p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 400px;
}

.btn-discord {
    background-color: white;
    color: #5865F2;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-discord:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.join-x {
    width: 100%;
    display: flex;
    justify-content: center;
}

.x-card {
    width: 60%;
    background: linear-gradient(135deg, #15181c 0%, #000000 100%);
    border: 1px solid #333;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.x-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.x-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.x-text {
    color: white;
    font-family: 'Poppins', sans-serif;
}

.x-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.x-text p {
    font-size: 16px;
    color: #aaa;
    max-width: 400px;
}

.btn-x {
    background-color: white;
    color: black;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-x:hover {
    background-color: #e1e1e1;
    transform: scale(1.05);
}

.join-x {
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.x-card {
    width: 60%;
    border: 1px solid #333; 
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.x-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.x-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.x-logo {
    width: 60px;
    height: 60px;
    color: white;
}

.x-text {
    color: white;
    font-family: 'Poppins', sans-serif;
}

.x-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.x-text p {
    font-size: 16px;
    color: #aaa;
    max-width: 400px;
}

.btn-x {
    background-color: white;
    color: black;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-x:hover {
    background-color: #e1e1e1;
    transform: scale(1.05);
}

.x-logo {
  width: 100px;
  height: auto;
}

.join-tiktok {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tiktok-card {
    width: 60%;
    background: #010101;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: -4px 0 0 #fe2c55, 4px 0 0 #25f4ee; 
    transition: transform 0.3s ease;
}

.tik-logo {
  width: 100px;
  height: auto;
}

.tiktok-card:hover {
    transform: translateY(-5px);
}

.tiktok-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.tiktok-logo {
    width: 50px;
    height: 50px;
    color: white;
}

.tiktok-text {
    color: white;
    font-family: 'Poppins', sans-serif;
}

.tiktok-text h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.tiktok-text p {
    font-size: 16px;
    color: #ccc;
    max-width: 400px;
}

.btn-tiktok {
    background-color: white;
    color: black;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-tiktok:hover {
    background-color: #fe2c55;
    color: white;
    transform: scale(1.05);
}

.contacto {
    width: 100%;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.contacto-container {
    width: 60%; 
}

.contacto-header {
  text-align: center;
  margin-bottom: 50px;
  color: white;
}

.contacto-header h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.contacto-header p {
  color: white;
}

textarea {
  resize: none;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    gap: 20px;
}

.input-group input, 
.contacto-form input, 
.contacto-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.contacto-form input:focus, 
.contacto-form textarea:focus {
    border-color: rgb(1, 93, 255); 
}

.btn-enviar {
    background-color: white;
    color: black;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.main-footer {
    width: 100%;
    padding: 80px 0 40px 0;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    width: 60%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.footer-brand p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: white;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #1a1a1a;
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #555;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: white;
}


@media (max-width: 992px) {
    .nav-head, .nos-container, .carousel-wrapper, 
    .discord-card, .x-card, .tiktok-card, 
    .contacto-container, .footer-container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .nav-head a { font-size: 14px; }
    
    .nos-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-nos { width: 70%; margin-bottom: 30px; }
    
    .nos-presentation { padding: 0; }
    .nos-presentation h1 { font-size: 48px; }

    .carousel-slide { aspect-ratio: 4/3; }
    .info-card h2 { font-size: 20px; }
    .info-card p { font-size: 12px; }

    /* Tarjetas de redes en vertical */
    .discord-card, .x-card, .tiktok-card {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .discord-info, .x-info, .tiktok-info {
        flex-direction: column;
        gap: 15px;
    }

    .input-group { flex-direction: column; gap: 16px; }

    .footer-top {
        gap: 40px;
        text-align: center;
    }
    .footer-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .nav-head { height: 50px; }
    .nav-head a { font-size: 12px; }
    .nos-presentation h1 { font-size: 36px; }
    .btn-discord, .btn-x, .btn-tiktok { width: 100%; text-align: center; }
}