@font-face {
    font-family: 'valentine-cute';
    src: url('/fonts/Valentine Cute.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lemon-milk';
    src: url('/fonts/LEMONMILK-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'beaming';
    src: url('/fonts/Beaming.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vortigra';
    src: url('/fonts/Vortigra.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
  cursor: url('/img/cursor.png') 0 0, auto !important;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: linear-gradient(-45deg, #d291bc, #f3c6e0, #f9a1bc, #c38edb);
    background-size: 2000% 2000%;
    animation: romanticGradient 8s ease-in-out infinite;
    color: #333;
    user-select: none;
    cursor: url('/img/cursor.png'), auto;
}

.containero {
    text-align: center;
    background: rgba(255,255,255,0.85);
    padding: 2rem 4rem;
    border-radius: 1rem; /* 15px approx */
    box-shadow: 0 0.5rem 1.25rem rgba(180, 50, 100, 0.2); /* 8px 20px */
    width: 43.75rem; /* 700px / 16 */
    margin: 5rem auto 0 auto; /* 80px top */
}

.title {
    font-family: 'lemon-milk', cursive;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #b30059;
    text-align: center;
    margin-top: 2rem;
}

.letterList {
    margin-top: 4rem;
}

@keyframes romanticGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-img {
    width: 100%;
    max-width: 7.5rem; /* 120px / 16 */
    border-radius: 1rem; /* 15px */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.active-card:hover {
    transform: scale(1.1);
    filter: drop-shadow(0.125rem 0.25rem 0.375rem rgba(0, 0, 0, 0.2)); /* 2px 4px 6px */
    cursor: pointer;
}

.disabled-card {
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: not-allowed;
}

.card-link {
    text-decoration: none;
    border: none;
    background: none;
    width: 12rem;
}

header {
    padding: 0.625rem; /* 10px */
}

.logo {
    height: 3.4375rem; /* 55px */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0.125rem 0.25rem 0.375rem rgba(0, 0, 0, 0.2));
    transform: scale(1.1);
}

.nav-buttons {
    padding-right: 5rem;
}

.modal-dialog {
    max-width: 56.25rem; /* 900px */
}

.modal-body {
    padding: 2rem;
}

.nav-buttons a {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #ff758c, #eb6ca1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 1.5625rem; /* 25px */
    box-shadow: 0 0.25rem 0.4375rem rgba(255, 92, 145, 0.3); /* 4px 7px */
    transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.03em;
    font-family: 'lemon-milk', sans-serif;
}

.nav-buttons a:hover {
    background: linear-gradient(135deg, #e6005c, #ff1a75);
    box-shadow: 0 0.5rem 1.25rem rgba(230, 0, 92, 0.3); /* 8px 20px */
    transform: scale(1.08);
}

/* Tablets (max-width: 900px) */
@media (max-width: 991px) {
  .containero {
    width: 80%;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 3rem;
  }

  .modal-dialog {
    max-width: 100%;
    margin: 1rem;
  }

  .nav-buttons {
    display:none!important;
  }
}

/* Móviles (max-width: 600px) */
@media (max-width: 767px) {

  .nav-buttons {
    padding-right: 0;
  }

  .nav-buttons a {
      display: inline-block;
      padding: 1%;
      font-size: 60%;
  }

  .title {
    font-size: 2rem;
  }

  .logo {
    height: 2.5rem;
  }
}

@media (max-width: 575px) {

  .containero {
    width: 80%;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 3rem;
    margin-bottom:5rem;
  }

}

@media (max-width: 425px) {

    .containero{
        margin-bottom: 5rem;
        width:90%;
        margin-top: 1rem;
    }

  .nav-buttons {
        display: none !important;
    }

    .mobile-nav.show {
        display: flex;
    }

  .nav-buttons a {
      display: inline-block;
      padding: 2%;
      font-size: 51%;
  }

  .title {
    font-size: 1.5rem;
  }

  .logo {
    height: 2.5rem;
  }

  .card-img {
    width: 60%;
    }
}

/* Estilo del botón hamburguesa */
.hamburger-btn {
    position: absolute;
    top: 1.2rem;
    right: 1rem;
    z-index: 1001;
    font-size: 2rem;
    background: none;
    border: none;
    color: #b30059;
    cursor: pointer;
}

/* Menú móvil oculto por defecto */
.mobile-nav {
    display: none;
    position: absolute;
    top: 4.5rem; /* debajo del botón */
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    flex-direction: column;
    padding: 1rem;
    z-index: 1000;
}

.mobile-nav a {
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff758c, #eb6ca1);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'lemon-milk', sans-serif;
}

.mobile-nav a:hover {
    background: linear-gradient(135deg, #e6005c, #ff1a75);
}