/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
    margin: 0;
    height: 100vh;
    background: url('/img/bg-stairs-blur.png') center center no-repeat;
    background-size: cover;          /* 🔥 THIS MAKES IT FULL SCREEN */
    background-position: center;     /* ensures perfect centering */
    background-repeat: no-repeat;    /* prevents tiling */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow: hidden;
}


/* --------------------------------------------------
   GLASS BASE
-------------------------------------------------- */
.glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(22px) saturate(40%);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    box-shadow:
        inset 0 0 12px rgba(255,255,255,0.10),
        0 0 30px rgba(0,0,0,0.35);
}

/* --------------------------------------------------
   WELCOME MODAL (SMALLER)
-------------------------------------------------- */
.welcome-modal {
    width: 85%;
    max-width: 1100px; /* SHRUNK */
    padding: 30px;     /* SHRUNK */
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --------------------------------------------------
   HERO AREA (TOP)
-------------------------------------------------- */
.hero-area {
    position: relative;
    width: 100%;
    height: 180px; /* SMALLER */
    border-radius: 18px;
    overflow: hidden;
}

.hero-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/hero-stairs-blur.jpg') center/cover no-repeat;
    opacity: 0.35;
    filter: blur(2px);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 20px; /* SHRUNK */
}

.hero-overlay h1 {
    font-size: 34px; /* SMALLER */
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.hero-overlay p {
    font-size: 16px; /* SMALLER */
    opacity: 0.75;
    line-height: 1.3;
    color: #333;
}

/* --------------------------------------------------
   HUB GRID (BOTTOM)
-------------------------------------------------- */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px; /* SMALLER */
    width: 100%;
}

.hub-card {
    padding: 22px; /* SMALLER */
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
    color: #333;
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(80,150,255,0.35);
}

.hub-card .icon {
    font-size: 32px; /* SMALLER */
    margin-bottom: 10px;
    color: #333;
}

/* --------------------------------------------------
   MOBILE RESPONSIVE
-------------------------------------------------- */
@media (max-width: 900px) {
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .welcome-modal {
        width: 95%;
        padding: 20px;
    }

    .hero-area {
        height: 140px;
    }

    .hero-overlay h1 {
        font-size: 26px;
    }

    .hero-overlay p {
        font-size: 14px;
    }

    .hub-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hub-card {
        padding: 18px;
    }

    .hub-card .icon {
        font-size: 28px;
    }
}

/* --------------------------------------------------
   LOGIN FORM WRAPPER
-------------------------------------------------- */
.login-card {
    width: 360px;
    padding: 30px;
    border-radius: 18px;
    text-align: left;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Title */
.login-card h2 {
    font-size: 26px;
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* Subtitle */
.login-card p {
    font-size: 15px;
    opacity: 0.7;
    margin: 0 0 10px 0;
}

/* --------------------------------------------------
   INPUT FIELDS
-------------------------------------------------- */
.input-field {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.6);
    color: #333;
    font-size: 15px;
    transition: 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: rgba(80,150,255,0.6);
    background: rgba(255,255,255,0.85);
}

/* Placeholder */
.input-field::placeholder {
    color: rgba(0,0,0,0.45);
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
    background: rgba(80,150,255,0.25);
    border: 1px solid rgba(80,150,255,0.35);
    color: #333;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-primary:hover {
    background: rgba(80,150,255,0.35);
}

.login-message {
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
}

/* --------------------------------------------------
   MOBILE RESPONSIVE
-------------------------------------------------- */
@media (max-width: 600px) {
    .login-card {
        width: 100%;
        padding: 22px;
        border-radius: 14px;
    }

    .login-card h2 {
        font-size: 22px;
    }

    .input-field {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px;
        font-size: 15px;
    }
}

/* Hub icon sizing */
.hub-icon {
  width: 150px;       /* reduced from 64px */
  height: 150px;
  margin-bottom: 10px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.25));
  transition: transform 0.3s ease;
}

.hub-card:hover .hub-icon {
  transform: scale(1.08);
}

