:root {
    --color-bg: #1e1e2f;
    --color-accent: #ffcad4;
    --color-card: #2b2b3f;
    --shadow: rgba(0, 0, 0, 0.25);
  }

  @font-face {
    font-family: 'Farabee';
    src: url('../fonts/Farabee Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  
  @font-face {
    font-family: 'Yuruka';
    src: url('../fonts/fot-yuruka-std.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  
  body {
    background: var(--color-bg);
    font-family: 'Farabee', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    animation: pageEnter 0.8s ease-out forwards;
    overflow-x: hidden;
  }
  
  .animated-entry {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideIn 1s ease-out 0.3s forwards;
  }
  
  @keyframes fadeSlideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }
  
  .content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    animation: fadeSlideIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  @keyframes fadeSlideIn {
    to {
      opacity: 1;
      transform: translateY(-10px);
    }
  }
  
  .logo {
    width: 85%;
    max-width: 420px;
    filter: drop-shadow(0 0 15px var(--shadow));
  }

  .back-button {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 202, 212, 0.15);
    color: #f5f5f5;
    border: 1px solid rgba(255, 202, 212, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-family: 'Yuruka', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .back-button:hover {
    background: rgba(255, 202, 212, 0.25);
  }
  
  .back-button {
    top: 1rem;
    left: 1rem;
  }
  
  
  .nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 2rem auto;
    padding: 0.75rem 2rem;
    background-color: rgba(255, 202, 212, 0.05); /* pastelito suave */
    border: 1px solid rgba(255, 202, 212, 0.15);
    border-radius: 2rem;
    box-shadow: 0 8px 20px var(--shadow);
    backdrop-filter: blur(6px); /* efecto frost */
    font-size: 1.25rem;
    font-family: 'Yuruka', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInNavBar 1s ease-out 0.6s forwards;
  }
  
  .nav-menu a {
    color: #f5f5f5;
    text-decoration: none;
    background: none;
    border: none;
    transition: none;
    padding: 0.25rem 0.75rem;
    opacity: 0.85;
  }
  
  @keyframes fadeInNavBar {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-card);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 10px var(--shadow);
    transition: background-color 0.3s ease;
    text-decoration: none;
  }
  
  .social-icons img {
    width: 28px;
    height: 28px;
    opacity: 0.85;
  }
  
  @media (max-width: 480px) {
    .social-icons a {
      width: 48px;
      height: 48px;
    }
  
    .social-icons img {
      width: 24px;
      height: 24px;
    }
  }
  
  /* Fondo con flechitas */
  .mania-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }

  .hidden {
    display: none;
  }
  

  .mania-arrow {
    position: absolute;
    width: 32px;
    height: 32px;
    background: url('../img/arrow.png') no-repeat center;
    background-size: contain;
    animation: fall 4s linear infinite;
    opacity: 0.4;
  }

  
  
  
  .mania-arrow:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
  }
  .mania-arrow:nth-child(2) {
    left: 40%;
    animation-delay: 1s;
  }
  .mania-arrow:nth-child(3) {
    left: 60%;
    animation-delay: 2s;
  }
  .mania-arrow:nth-child(4) {
    left: 80%;
    animation-delay: 3s;
  }
  
  @keyframes fall {
    0% {
      top: -40px;
      transform: rotate(0deg);
    }
    100% {
      top: 100vh;
      transform: rotate(360deg);
    }
  }
  @keyframes slideDownFade {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeSlideIn {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .contact-container {
    max-width: 600px;
    margin: 5rem auto;
    padding: 2rem;
    background: var(--color-card);
    border-radius: 12px;
    box-shadow: 0 6px 15px var(--shadow);
    color: #f5f5f5;
    font-family: 'Yuruka', sans-serif;
  }

  .contact-container h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
  }

  .contact-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-container input,
  .contact-container textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #2e2e2e;
    color: #f5f5f5;
  }

  .contact-container button {
    padding: 0.8rem;
    background: rgba(255, 202, 212, 0.15);
    border: 1px solid rgba(255, 202, 212, 0.3);
    border-radius: 20px;
    color: #f5f5f5;
    cursor: pointer;
    font-family: 'Yuruka', sans-serif;
  }

  .contact-container button:hover {
    background: rgba(255, 202, 212, 0.3);
  }

  .discord-note {
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.8;
    font-size: 0.95rem;
    font-family: "Farabee", sans-serif;
  }

  .form-message {
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
    font-family: 'Yuruka', sans-serif;
  }
  .form-message.success {
    color: #a8ffb0;
  }
  .form-message.error {
    color: #ff6b6b;
  }

  @keyframes pageEnter {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }