
/* SCSS HEX */

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    color: #1a202c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
  }
  /* PARTICLES */
  #particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }
  .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: float 25s linear infinite;
  }
  .particle.cyan { background: #00B5D8; box-shadow: 0 0 8px #00B5D8; }
  .particle.purple { background: #805AD5; box-shadow: 0 0 8px #805AD5; }
  @keyframes float {
    0% { transform: translateY(100vh) translateX(0); }
    100% { transform: translateY(-100vh) translateX(100px); }
  }
  /* TITLE WITH LOGO */
  .title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  .logo {
    flex-shrink: 0;
  }
  .logo img {
    width: clamp(80px, 10vw, 140px); /* Logo reducido proporcionalmente */
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 181, 216, 0.2));
  }
  .title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(36px, 6vw, 50px); /* Título reducido a 50px máximo */
    font-weight: 600;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
  }
  .title::after {
    content: 'BIENVENIDO';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    filter: blur(20px);
    color: #00B5D8;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
  }
  /* MAIN CONTAINER */
  .container {
    width: 90%;
    max-width: 1400px;
    text-align: center;
    padding: 10px;
  }
  /* CENTER ELEMENTS */
  .center-elements {
    margin: 30px 0 30px;
  }
  /* GAMING ICONS */
  .gaming-icons {
    display: flex;
    gap: clamp(15px, 2.5vw, 25px);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .game-icon {
    font-size: clamp(28px, 4vw, 40px);
    filter: grayscale(30%);
    /*animation: rotate 20s linear infinite;*/
    color: #2d3748;
  }
  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  /* INSTRUCTION */
  .instruction {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 40px;
  }
  /* TWO COLUMN LAYOUT */
  .content-grid {
    display: flex;
    gap: 40px;
    /*align-items: flex-start;*/
    justify-content: center;
    flex-wrap: wrap;
  }
  /* LEFT COLUMN - COUNTRY BUTTONS */
  .left-column {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
  }
  .country-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reducido entre botones */
  }
  .country-btn {
    width: 100%;
    height: auto; /* Altura automática */
    min-height: 70px; /* Mínimo */
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid transparent; /* Borde más fino */
    border-radius: 12px; /* Bordes menos redondeados */
    display: flex;
    flex-direction: row; /* Banderas y texto en fila */
    align-items: center;
    justify-content: flex-start; /* Alinear a la izquierda */
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease; /* Transición más suave */
    position: relative;
    overflow: hidden;
  }
  .country-btn:hover {
    transform: translateY(-3px); /* Hover sutil */
    border-color: rgba(0, 181, 216, 0.4);
    background: rgba(0, 181, 216, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Sombra sutil */
  }
  .country-btn:hover .flag-img {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  .country-btn:hover .name {
    color: #00B5D8; /* Cambio de color sutil */
  }
  .flag-img {
    width: 50px; /* Banderas más pequeñas */
    height: 33px;
    margin-right: 15px; /* Espacio entre bandera y texto */
    margin-bottom: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  .name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px; /* Texto más pequeño */
    font-weight: 600;
    color: #2d3748;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }
  /* RIGHT COLUMN - MAP */
  .right-column {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    align-items: center;
    display: flex;
  }
  .world-map-container {
    width: 100%;
    /*background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);*/
  }
  .world-map {
    position: relative;
    /*width: 100%;
    height: 240px;*/ /* Altura simétrica a 3 botones (70px * 3 + 15px * 2 gaps) */
    display: inline-block;
  }
  .world-map svg {
    width: 100%;
    height: 100%;
  }
  .world-map svg path {
    fill: #4a5568;
    stroke: #2d3748;
    stroke-width: 0.2;
    opacity: 0.8;
  }
  .world-map img {
    width: clamp(200px, 40vw, 400px);
    height: auto;
    filter: brightness(0.9);
  }
  /* CLICKABLE MARKERS */
  .country-marker {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .country-marker:hover {
    transform: translate(-50%, -50%) scale(1.2); /* Hover sutil en marcadores */
  }
  .country-marker.peru {
    bottom: 34%;
    left: 62%;
    background: #ff3624;
    box-shadow: 0 0 12px #ff3624, 0 0 0 3px rgba(255, 54, 36, 0.3);
  }
  .country-marker.mexico {
    top: 26%;
    left: 35%;
    background: #38A169;
    box-shadow: 0 0 12px #38A169, 0 0 0 3px rgba(56, 161, 105, 0.3);
  }
  .country-marker.ecuador {
    bottom: 44%;
    left: 59%;
    background: #D69E2E;
    box-shadow: 0 0 12px #D69E2E, 0 0 0 3px rgba(214, 158, 46, 0.3);
  }
  @keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  }
  /* FOOTER */
  .footer {
    margin-top: 50px;
    font-size: 14px;
    color: #718096;
    opacity: 0.8;
  }
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .title-container {
      gap: 15px;
    }
    .content-grid {
      flex-direction: column;
      gap: 50px;
      align-items: inherit;
    }
    .left-column, .right-column {
      max-width: 100%;
      order: 0;
    }
    .world-map {
      height: 200px;
    }
    .country-btn {
      padding: 12px 15px;
    }
    .flag-img {
      width: 45px;
      height: 30px;
    }
  }
  @media (max-width: 480px) {
    .title {
      letter-spacing: 2px;
    }
    .title-container {
      flex-direction: column;
      margin-bottom:30px;
    }
    .logo img {
      width: clamp(100px, 10vw, 140px);
    }
    .world-map img {
      width: clamp(300px, 40vw, 400px);
    }
    .country-marker{
      width: 10px;
      height: 10px;
    }
    .country-marker.peru {
      bottom: 0%;
      left: 62%;

    }
    .country-marker.mexico {
      top: 40%;
      left: 34%;
      
    }
    .country-marker.ecuador {
      bottom: 16%;
      left: 58%;
      
    }
  }
