/* Custom styles for QEC */
body {
    background-color: #040706;
    color: #F3F4F1;  /* Light text for dark background */
}

h1, h2, h3 {
    color: #A58B62;
    font-family: 'Geist Mono', monospace;
    font-weight: 500;
}

.cta-button {
    display: block;
    width: 12.5em;
    height: 2.8em;
    margin: 30px auto 0;
    text-decoration: none;
    color: #fff;
    background: #A58B62;
    border: 1px solid #A58B62;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
    text-align: center;
    line-height: 2.8em;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(57, 255, 20, 0.1),
        rgba(57, 255, 20, 0.2)
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: -1;
}

.cta-button:hover {
    color: #fff;
    border-color: #39FF14;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.cta-button:hover::before {
    transform: translateX(0);
}

.logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0;
}

footer {
    text-align: center;
    color: #8B7355;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

.header-container {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.logo-container {
    text-align: center;
}

.tagline {
    color: #8B7355;
    margin-top: 10px;
    font-size: 1.1em;
    font-family: 'Geist Mono', monospace;
    font-weight: 100;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
    font-size: 1.9em;
    font-family: 'Geist Mono', monospace;
    font-weight: 500;
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-text {
        text-align: center;
    }

    .header-text h1 {
        font-size: 1.7em;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .tagline {
        font-size: 1em;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1.1em;
    }

    .cta-button {
        width: 90%;
        max-width: 15em;
    }
}

/* Update link colors for better contrast */
a {
    color: #A58B62;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 0.3s ease;
}

a:hover {
    text-decoration-color: #39FF14;
    text-decoration-thickness: 2px;
}

/* Exception for CTA button - keep existing hover styles */
.cta-button:hover {
    text-decoration: none;
}

/* Update input/form backgrounds */
input, pre, code {
    background-color: #1a1e1c;
    color: #F3F4F1;
}

/* Get Involved section */
.get-involved h2 {
    text-align: center;
    margin-top: 4rem;  /* More whitespace above */
    margin-bottom: 2rem;
}

/* Remove the general section h2 centering we added earlier */
section h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.signup-container, .meeting-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(165, 139, 98, 0.05);
    border-radius: 8px;
    position: relative;  /* For pseudo-element positioning */
}

/* Neon box effect */
.signup-container::before, .meeting-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px; /* Thickness of the neon effect */
    background: linear-gradient(
        90deg,
        rgba(57, 255, 20, 0.2) 0%,
        rgba(57, 255, 20, 0.4) 50%,
        rgba(57, 255, 20, 0.2) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.signup-container h3, .meeting-container h3 {
    margin-top: 0;
}

.meeting-container .cta-button {
    margin-top: 1.5rem;
}

/* MailerLite button styling */
#mlb2-20180425.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
    display: block;
    width: 12.5em;
    height: 2.8em;
    margin: 30px auto 0;
    text-decoration: none;
    color: #fff !important;
    background: #A58B62 !important;
    border: 1px solid #A58B62 !important;
    border-radius: 8px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out !important;
    text-align: center;
    line-height: 2.8em;
    z-index: 1;
    cursor: pointer;
}

#mlb2-20180425.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
    color: #fff !important;
    border: 1px solid #39FF14 !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1) !important;
}

#mlb2-20180425.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(57, 255, 20, 0.03),
        rgba(57, 255, 20, 0.08)
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: -1;
}

#mlb2-20180425.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover::before {
    transform: translateX(0);
} 