body, html {
    height: 100%;
    margin: 0;
    background-color: #f3f4f6; /* Modern light gray */
    color: #333;
}

* {
    box-sizing: border-box;
}

.lexend-normal {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* The hero image */
.hero-image {
  background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url("../20250113_101833.jpg");
  height: 500px;
  background-position: 50% 30%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
    padding-top: 64px;
    text-align: center;
    position: relative;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-text img {
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

nav {
    display: flex;
    position: fixed;
    top: 20px;
    left: 50%;
    width: 90%;
    transform: translate(-50%, 0);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.nav-brand {
    margin-left: 15px; 
    display: flex; 
    align-items: center;
    font-weight: 600;
    color: #1f2937;
}

.nav-brand img {
    border-radius: 50%;
    margin-right: 10px;
}

.menu {
    display: flex;
    justify-content: space-around;
    flex-basis: 75%;
    z-index: 2;
    align-items: center;
}
.menu > a {
    color: #4b5563;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.menu > a:hover {
    color: #591e6b;
    background: rgba(89, 30, 107, 0.08);
}

.section {
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 40px;
}
.section.white {
    display: block;
    background-color: white;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.g-cols {
    display: grid;
    grid-template-columns: 2fr 1fr;
}
.f-cols {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 40px;
}

.discord-card {
    border-radius: 16px;
    color: white;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    margin-top: 0;
    color: #1f2937;
}

footer {
    background-color: #1f2937;
    padding: 30px 40px;
    color: #f9fafb;
    text-align: center;
}

.submit-btn {
    padding: 14px 40px;
    border-radius: 12px;
    border: none;
    background-color: #591e6b;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 30, 107, 0.3);
}
.submit-btn:hover {
    background-color: #7d2a96;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(89, 30, 107, 0.4);
}

.form-container {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.form-container input[type="text"],
.form-container input[type="number"],
.form-container input[type="tel"] {
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.3s;
}

.form-container input[type="text"]:focus,
.form-container input[type="number"]:focus,
.form-container input[type="tel"]:focus {
    outline: none;
    border-color: #591e6b;
    background: white;
    box-shadow: 0 0 0 3px rgba(89, 30, 107, 0.1);
}

.member-list {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 0;
}
.member-list > li {
    padding: 12px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    font-weight: 500;
    color: #4b5563;
    cursor: default;
}

.member-list > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    color: #111827;
    border-color: #111827;
}

.alert-success {
    background-color: #def7ec;
    color: #03543f;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #84e1bc;
    text-align: center;
}

.alert-error {
    background-color: #fde8e8;
    color: #9b1c1c;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #f8b4b4;
    text-align: center;
}

@media only screen and (max-width: 900px) {
    .g-cols { grid-template-columns: 1fr; }
    .f-cols { flex-direction: column; }
    .discord-card { width: 100%; }
    .section { padding-left: 20px; padding-right: 20px; }
    .hero-text { width: 90%; font-size: 24px; }
    .menu { display: none; }
    .form-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
}
