/* Base page theme */
body {
    margin: 0;
    padding: 20px;
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Header / Welcome Content */
.header-card {
    text-align: center;
}

.header-card h1 {
    color: #58a6ff;
    margin-top: 0;
    font-size: 1.8rem;
}

.header-card p {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form Styles */
.form-card h2 {
    margin-top: 0;
    color: #3fb950;
    font-size: 1.4rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #8b949e;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #8b949e;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #30363d;
    background: #0d1117;
    color: #f0f6fc;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #58a6ff;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #238636;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #2ea043;
}

/* Status message output */
#form-result {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
}



/* Secret Message Card & Box */
.secret-card h2 {
    margin-top: 0;
    color: #a371f7;
    font-size: 1.4rem;
    text-align: center;
}

.message-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(163, 113, 247, 0.1);
    border: 1px solid rgba(163, 113, 247, 0.3);
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.message-box h3 {
    margin-top: 0;
    color: #d2a8ff;
    font-size: 1.1rem;
}

.message-box p {
    color: #f0f6fc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.hidden {
    display: none;
}



/* Helper class to show/hide elements */
.hidden {
    display: none;
}
