/* ==========================================
   TRIPLE STAR
   FOOTER INFORMATIVO - SOLO DESKTOP
========================================== */

.desktop-game-footer {
  display: none;
}

/* ==========================================
   VISUALIZZAZIONE ESCLUSIVAMENTE DESKTOP
========================================== */

@media
  (min-width: 900px) and
  (hover: hover) and
  (pointer: fine) {

  .desktop-game-footer {
    display: block;

    box-sizing: border-box;
    width: 100%;

    color: #ffffff;
    background:
      linear-gradient(
        180deg,
        #071321 0%,
        #02070d 100%
      );

    border-top: 2px solid #dba900;
  }

  /* ========================================
     NAVIGAZIONE PRINCIPALE
  ======================================== */

  .desktop-game-footer-navigation {
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;

    padding: 4px 20px;

    border-bottom: 1px solid rgba(255, 204, 40, 0.35);
  }

  .desktop-game-footer-navigation button,
  .desktop-game-footer-navigation a {
    position: relative;

    min-width: 100px;
    padding: 7px 22px;

    color: #ffd12c;
    text-align: center;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    background: transparent;
    border: 0;
    cursor: pointer;

    transition:
      color 160ms ease,
      background-color 160ms ease;
  }

  .desktop-game-footer-navigation button:not(:last-child)::after,
  .desktop-game-footer-navigation a:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 1px;
    height: 22px;

    transform: translateY(-50%);

    background: rgba(255, 204, 40, 0.75);
  }

  .desktop-game-footer-navigation button:hover,
  .desktop-game-footer-navigation a:hover {
    color: #ffffff;
    background: rgba(255, 204, 40, 0.08);
  }

  /* ========================================
     AREA INFERIORE
  ======================================== */

  .desktop-game-footer-responsible {
    min-height: 66px;

    display: grid;
    grid-template-columns:
      auto
      minmax(190px, 1fr)
      auto
      auto
      auto;

    align-items: center;
    gap: 10px;

    padding: 8px 18px 10px;
  }

  /* ========================================
     SIMBOLO 18+
  ======================================== */

  .desktop-game-footer-age {
    box-sizing: border-box;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #050505;
    font-size: 18px;
    font-weight: 900;

    background: #ffffff;

    border: 5px solid #e31b23;
    border-radius: 50%;

    box-shadow:
      0 0 0 2px #ffffff,
      0 2px 8px rgba(0, 0, 0, 0.7);
  }

  /* ========================================
     TESTO DI AVVERTIMENTO
  ======================================== */

  .desktop-game-footer-warning {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;

    padding-right: 10px;
  }

  .desktop-game-footer-warning strong {
    color: #ffd12c;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
  }

  .desktop-game-footer-warning span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
  }

  /* ========================================
     LICENZA P.M.A
  ======================================== */

  .desktop-game-footer-license {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 2px 12px;

    color: #ffd12c;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;

    background: transparent;
    border: 0;
    cursor: pointer;

    transition:
      color 160ms ease,
      transform 160ms ease;
  }

  .desktop-game-footer-license img {
    box-sizing: border-box;

    width: 40px;
    height: 40px;

    display: block;
    object-fit: contain;

    border-radius: 4px;

    filter:
      drop-shadow(
        0 0 4px rgba(255, 209, 44, 0.35)
      );
  }

  .desktop-game-footer-license span {
    display: block;

    color: inherit;
    text-align: left;
  }

  .desktop-game-footer-license:hover,
  .desktop-game-footer-license:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
  }

  .desktop-game-footer-license:hover img,
  .desktop-game-footer-license:focus-visible img {
    filter:
      drop-shadow(
        0 0 7px rgba(255, 209, 44, 0.75)
      );
  }

  /* ========================================
     COLLEGAMENTI SOCIAL
  ======================================== */

  .desktop-game-footer-social {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 16px;

    border-left: 1px solid rgba(255, 255, 255, 0.55);
    border-right: 1px solid rgba(255, 255, 255, 0.55);
  }

  .desktop-game-footer-social a {
    box-sizing: border-box;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffd12c;
    text-decoration: none;

    background:
      linear-gradient(
        180deg,
        rgba(255, 209, 44, 0.12),
        rgba(255, 209, 44, 0.03)
      );

    border: 1px solid rgba(255, 209, 44, 0.8);
    border-radius: 50%;

    box-shadow:
      0 0 8px rgba(255, 190, 0, 0.12);

    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease,
      transform 160ms ease;
  }

  .desktop-game-footer-social a:hover,
  .desktop-game-footer-social a:focus-visible {
    color: #ffffff;
    background: rgba(255, 209, 44, 0.2);
    border-color: #ffffff;

    box-shadow:
      0 0 12px rgba(255, 209, 44, 0.55);

    transform: translateY(-2px);
    outline: none;
  }

  .desktop-game-footer-social svg {
    width: 18px;
    height: 18px;

    display: block;

    fill: currentColor;
    stroke: none;
  }

  /*
   * Instagram utilizza il contorno.
   */
  .desktop-game-footer-social a:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  /*
   * Triangolo interno YouTube.
   */
  .desktop-game-footer-social .social-icon-cutout {
    fill: #071321;
    stroke: none;
  }

  .desktop-game-footer-social a:hover .social-icon-cutout,
  .desktop-game-footer-social a:focus-visible .social-icon-cutout {
    fill: #d49f00;
  }

  /* ========================================
     COLLEGAMENTI LEGALI
  ======================================== */

  .desktop-game-footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }

  .desktop-game-footer-legal button {
    position: relative;

    padding: 7px 12px;

    color: #e7bd3e;
    font: inherit;
    font-size: 11px;
    font-weight: 500;
    text-decoration: underline;

    background: transparent;
    border: 0;
    cursor: pointer;

    transition: color 160ms ease;
  }

  .desktop-game-footer-legal button:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 1px;
    height: 19px;

    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.55);
  }

  .desktop-game-footer-legal button:hover,
  .desktop-game-footer-legal button:focus-visible {
    color: #ffffff;
    outline: none;
  }
}

/* ==========================================
   PC CON SPAZIO ORIZZONTALE RIDOTTO
========================================== */

@media
  (min-width: 900px) and
  (max-width: 1150px) and
  (hover: hover) and
  (pointer: fine) {

  .desktop-game-footer-navigation button,
  .desktop-game-footer-navigation a {
    min-width: 82px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
  }

  .desktop-game-footer-responsible {
    grid-template-columns:
      auto
      minmax(190px, 1fr)
      auto
      auto;

    gap: 9px;

    padding-right: 16px;
    padding-left: 16px;
  }

  .desktop-game-footer-warning {
    padding-right: 4px;
  }

  .desktop-game-footer-license {
    gap: 6px;

    padding-right: 8px;
    padding-left: 8px;

    font-size: 10px;
  }

  .desktop-game-footer-license img {
    width: 36px;
    height: 36px;
  }

  .desktop-game-footer-social {
    gap: 7px;

    padding-right: 12px;
    padding-left: 12px;

    border-right: 0;
  }

  .desktop-game-footer-social a {
    width: 30px;
    height: 30px;
  }

  .desktop-game-footer-legal {
    grid-column: 1 / -1;
    justify-content: center;

    padding-top: 5px;

    border-top: 1px solid rgba(255, 204, 40, 0.2);
  }
}

/* ==========================================
   MOBILE E TABLET TOUCH
========================================== */

@media
  (hover: none),
  (pointer: coarse),
  (max-width: 899px) {

  .desktop-game-footer {
    display: none !important;
  }
}
