body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;

    background-image: url('/section-background.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

:root {
    --accent-color: #D4AF37;       /* Dourado principal */
    --accent-color-dark: #B08D2F;  /* Dourado hover */
    --background-dark: #050505;    /* Preto profundo */
    --background-medium: #111111;  /* Preto elegante */
    --text-light: #F8F6F0;         /* Branco premium */
    --text-medium: #CFC6A4;        /* Dourado claro/cinza quente */
    --text-dark: #111111;          /* Escuro para botões */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background-color: rgba(10, 10, 10, 0.92);
    color: var(--text-light);
    padding: 1rem 0;
    border-bottom: 3px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header #logo {
    height: 80px;
    width: auto;
    margin-right: 15px;
}

header nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

#hero {
    background: url('/hero-background.png') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding: 20px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0,0,0,0.70), rgba(0,0,0,0.78)),
        radial-gradient(circle at center, rgba(212,175,55,0.08), rgba(0,0,0,0) 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

#hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 18px rgba(0,0,0,0.8), 0 0 14px rgba(212,175,55,0.18);
    color: var(--text-light);
    letter-spacing: 2px;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #E8E1C8;
}

.music-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 4px;
}

.hero-buttons .secondary-button {
    min-width: 190px;
    text-align: center;
}

#login-cta-button,
#logout-button,
#login-form button,
#music-toggle-button,
.dashboard-item .dashboard-button {
    background: linear-gradient(135deg, #E3C25A 0%, #D4AF37 45%, #B08D2F 100%);
    color: #111111;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 25px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.30);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

#login-cta-button:hover,
#logout-button:hover,
#login-form button:hover,
#music-toggle-button:hover,
.dashboard-item .dashboard-button:hover {
    background: linear-gradient(135deg, #F0D878 0%, #D4AF37 45%, #9B7A24 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.38);
    filter: brightness(1.03);
}

.content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(212,175,55,0.18);
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    background: rgba(14, 14, 14, 0.82);
    backdrop-filter: blur(8px);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid var(--accent-color);
    border-radius: 6px;
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(0,0,0,0.28);
}

#member-dashboard {
    min-height: 80vh;
}

#member-dashboard .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

#member-dashboard .dashboard-item {
    background: linear-gradient(180deg, rgba(18,18,18,0.92) 0%, rgba(10,10,10,0.92) 100%);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.34);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#member-dashboard .dashboard-item h3 {
    color: var(--accent-color);
    margin-top: 0;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(212,175,55,0.12);
}

#member-dashboard .dashboard-item .dashboard-button {
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

#about, #rules {
}

#members {
    color: var(--text-light);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.member-profile {
    background: linear-gradient(180deg, rgba(18,18,18,0.94) 0%, rgba(9,9,9,0.94) 100%);
    backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 10px 28px rgba(0,0,0,0.42);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 18px rgba(212,175,55,0.18);
}

.member-profile h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(212,175,55,0.16);
}

.member-details {
    text-align: left;
    flex-grow: 1;
}

.member-details h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.10);
    padding-bottom: 5px;
}

.member-details p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 10px;
}

.member-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.member-details ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 5px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.10);
    background: none;
    border-left: none;
    margin-bottom: 0;
}

.member-details ul li:last-child {
    border-bottom: none;
}

footer {
    background: linear-gradient(180deg, rgba(12,12,12,0.96) 0%, rgba(7,7,7,0.96) 100%);
    color: var(--text-medium);
    text-align: center;
    padding: 30px 0;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 -4px 18px rgba(0,0,0,0.28);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-links a {
    color: var(--text-medium);
    text-decoration: none;
    margin: 0 10px;
    font-family: 'Orbitron', sans-serif;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212,175,55,0.25);
}

.copyright, .inspiration, .creator-credit {
    font-size: 0.9rem;
    margin: 2px 0;
}

.creator-credit {
    color: var(--text-medium);
}

.modal {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.82);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
}

.modal-content {
    background: linear-gradient(180deg, rgba(17,17,17,0.98) 0%, rgba(8,8,8,0.98) 100%);
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.58);
    position: relative;
    text-align: center;
}

.close-button {
    color: var(--text-medium);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-light);
    text-decoration: none;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#login-form label {
    color: var(--text-light);
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.10);
    border-radius: 6px;
    background-color: #0B0B0B;
    color: var(--text-light);
    font-size: 1rem;
    width: calc(100% - 30px);
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#login-form input[type="text"]:focus,
#login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.28);
}

#login-form button {
    margin-top: 10px;
    padding: 12px 25px;
    font-size: 1.1rem;
}

.error-message {
    color: #FF5C5C;
    font-size: 0.9em;
    margin-top: 15px;
    text-align: center;
}

.modal-footer-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.secondary-button {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.55);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--accent-color);
    color: #111111;
    box-shadow: 0 6px 16px rgba(212,175,55,0.22);
}

#admin-section {
    min-height: 80vh;
    color: var(--text-light);
}

#admin-login-area,
#admin-dashboard {
    background: linear-gradient(180deg, rgba(18,18,18,0.94) 0%, rgba(10,10,10,0.94) 100%);
    backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.52);
    margin: 40px auto;
    text-align: center;
}

#admin-login-area h2,
#admin-dashboard h2 {
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212,175,55,0.18);
}

#admin-login-form,
#add-user-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#admin-login-form label,
#add-user-form label {
    color: var(--text-light);
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
}

#admin-login-form input[type="text"],
#admin-login-form input[type="password"],
#add-user-form input[type="text"],
#add-user-form input[type="password"] {
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.10);
    border-radius: 6px;
    background-color: #0B0B0B;
    color: var(--text-light);
    font-size: 1rem;
    width: calc(100% - 30px);
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#admin-login-form input[type="text"]:focus,
#admin-login-form input[type="password"]:focus,
#add-user-form input[type="text"]:focus,
#add-user-form input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.28);
}

#admin-login-form button,
#add-user-form button {
    background: linear-gradient(135deg, #E3C25A 0%, #D4AF37 45%, #B08D2F 100%);
    color: #111111;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.30);
    margin-top: 10px;
}

#admin-login-form button:hover,
#add-user-form button:hover {
    background: linear-gradient(135deg, #F0D878 0%, #D4AF37 45%, #9B7A24 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.38);
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.admin-dashboard-item {
    background: linear-gradient(180deg, rgba(12,12,12,0.96) 0%, rgba(7,7,7,0.96) 100%);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.40);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-dashboard-item h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(212,175,55,0.14);
}

.admin-dashboard-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.admin-dashboard-item .dashboard-button {
    background: linear-gradient(135deg, #E3C25A 0%, #D4AF37 45%, #B08D2F 100%);
    color: #111111;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.26);
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
}

.admin-dashboard-item .dashboard-button:hover {
    background: linear-gradient(135deg, #F0D878 0%, #D4AF37 45%, #9B7A24 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.34);
}

#member-management-content {
    margin-top: 20px;
}

#member-management-content h2 {
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 10px rgba(212,175,55,0.16);
}

.admin-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.add-user-form-container,
.user-list-container {
    background: linear-gradient(180deg, rgba(12,12,12,0.96) 0%, rgba(7,7,7,0.96) 100%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.10);
    text-align: left;
    box-shadow: 0 8px 22px rgba(0,0,0,0.38);
}

.add-user-form-container h3,
.user-list-container h3 {
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

#member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#member-list li {
    background-color: #0B0B0B;
    border: 1px solid rgba(212, 175, 55, 0.08);
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

#member-list li span {
    flex-grow: 1;
    margin-right: 10px;
    word-break: break-all;
}

.delete-user-button {
    background-color: #8E1C1C;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.delete-user-button:hover {
    background-color: #C92C2C;
    transform: translateY(-1px);
}

.info-message {
    color: var(--accent-color);
    font-size: 0.9em;
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    header #logo {
        float: none;
        display: block;
        margin: 0 auto 10px auto;
        text-align: center;
        height: 60px;
    }
    header nav {
        float: none;
        text-align: center;
        width: 100%;
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    header nav ul li {
        display: block;
        margin: 10px 0;
        margin-left: 0;
    }
    #hero h1 {
        font-size: 2.5rem;
    }
  #hero p{
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.4rem;   /* maior */
    font-style: italic;
    font-weight: 500;
    color: #E8D7A2;
    letter-spacing: 0.6px;
    margin-bottom: 10px; /* diminui espaço abaixo */
    text-shadow:
        0 0 12px rgba(212,175,55,0.12),
        0 2px 10px rgba(0,0,0,0.85);
}
    .container {
        width: 95%;
    }
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    #member-dashboard .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .member-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (min-width: 992px) {
    .member-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    #member-dashboard .dashboard-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .member-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .admin-controls {
        grid-template-columns: 1fr 1fr;
    }
}

.primary-button {
    background: linear-gradient(135deg, #E3C25A 0%, #D4AF37 45%, #B08D2F 100%);
    color: #111111;
    border: none;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.30);
    display: inline-block;
    width: 100%;
    text-align: center;
}

.primary-button:hover {
    background: linear-gradient(135deg, #F0D878 0%, #D4AF37 45%, #9B7A24 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.38);
}