@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #1c1e21;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

main {
    width: 100%;;
}

canvas {
    display: block;
}

.svg-patron {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: url(img/svg-patron.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #292028, #1e1b27, #130d15, #09000c);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#dragon-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    filter: opacity(0.7);
}

.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: #181818b3;
  backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 380px;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 40px
}


.logo-area img {
    width: 250px;
}

.logo {
    width: 80px;
    height: auto;
}

.login-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 30px;
    color: #000;
    letter-spacing: 5px;
    text-shadow:
        -2px -2px 0 #ffe136,
        2px -2px 0 #ffe136,
        -2px 2px 0 #ffe136,
        2px 2px 0 #ffe136;
}

.google-login-link {
    width: 100%;
    text-decoration: none;
    margin-bottom: 20px;
}

#google-login-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: #110d13;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(44, 44, 62, 0.3);
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}

#google-login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 44, 62, 0.4);
    background: #221b25;
}

#google-login-button img {
    width: 20px;
    height: 20px;
}

.extra-links {
    margin-top: 15px;
}

.extra-links a {
    color: #2f2d30;
    text-decoration: none;
    font-size: 0.95rem;
}

.extra-links a:hover {
    text-decoration: underline;
}


.login-form h2 .letter {
    display: inline-block;
    opacity: 0;
}


@media (max-width: 768px) {
    body {
        overflow: auto;
    }

    .login-container {
        max-width: 320px;
        padding: 30px 25px;
        margin-top: 5vh;
        position: relative;
        z-index: 10;
    }

    .logo {
        width: 120px;
    }

    .login-form h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    #google-login-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    body,
    button,
    a {
        cursor: default;
    }
    
    .navigation {
        background: #0000008f;
    }

@media (max-width: 480px) {
    .login-container {
        padding: 25px 20px;
    }

    .login-form h2 {
        font-size: 1.8rem;
    }

    #google-login-button {
        font-size: 0.9rem;
        gap: 10px;
    }
}

#orbital-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}