/* ================================
   CONFIGURAÇÃO GERAL
================================= */

body {
    margin: 0;
    font-family: Verdana, Geneva, sans-serif;
    background: linear-gradient(135deg, #0b1f33, #2b4a6f, #6fb1c8);
    background-size: 200% 200%;
    animation: bgMove 18s ease infinite;
    color: #0b1f33;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: center;
    padding: 20px 10px;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ================================
   LOGO E TÍTULOS
================================= */

.logo {
    max-width: 220px;
    margin: 0 0 -20px 0;
    display: block;
}

h1 {
    font-size: 32px;
    margin: 10px 0 5px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

h2 {
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.links-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


/* ================================
   GLASSMORPHISM (links container)
================================= */

.links-glass {
    padding: 20px 30px;
    margin-top: 10px;
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}


/* ================================
   LINKS (BOTÕES)
================================= */

.links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.links a {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.links a:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}


/* ================================
   RELÓGIOS COM GLASSMORPHISM
================================= */

.clock-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 25px;
    border-radius: 18px;

    /* Glass Panel */
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.clock-block {
    width: 180px;
}

.clock-title {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.clock {
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(11, 31, 51, 0.45);
    letter-spacing: 2px;

    /* Glass effect */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


/* ================================
   ANIMAÇÕES DE ENTRADA
================================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInMove 1.2s ease-out forwards;
}

@keyframes fadeInMove {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s;   }


/* ================================
   RESPONSIVIDADE
================================= */

@media (max-width: 768px) {

  .logo {
    max-width: 160px;
  }

  h1 {
    font-size: 26px;
  }

  .links {
    flex-direction: column;
    gap: 15px;
  }

  .links a {
    width: 90%;
    margin: 0 auto;
  }

  .clock-container {
    flex-direction: column;
  }

  .clock {
    font-size: 26px;
    padding: 15px;
  }
}

@media (max-width: 480px) {

  .logo {
    max-width: 130px;
  }

  h1 {
    font-size: 22px;
  }

  .clock {
    font-size: 22px;
  }
}
