:root {
    --bg-color: #050508;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --primary: #7b2cbf;
    --secondary: #3a86ff;
    --accent: #f72585;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: -2;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
    z-index: -1;
}

/* Glass Container */
.glass-container {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeIn 1.5s ease-out;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: white;
}

.logo span {
    color: var(--secondary);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    text-align: center;      /* Center text */
    padding: 0 1rem;         /* Add padding for smaller screens */
}

.content {
    max-width: 700px;        /* Increased max-width slightly */
    padding: 0 1rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(123, 44, 191, 0.2);
    color: var(--primary); /* Lighter purple for better contrast if needed, check contrast */
    color: #c77dff;        /* Actually use lighter purple */
    border: 1px solid rgba(123, 44, 191, 0.4);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 .highlight {
    background: linear-gradient(to right, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block; /* Ensure gradient works properly */
}

p.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 500px;       /* Limit paragraph width for readability */
    margin-left: auto;      /* Center the paragraph */
    margin-right: auto;
}

/* Form */
.notify-form {
    width: 100%;
    max-width: 450px;      /* Slightly wider form */
    margin: 0 auto;        /* Center form */
}

.input-group {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.2);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

button {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
}

button svg {
    transition: transform 0.3s ease;
}

button:hover svg {
    transform: translateX(3px) translateY(-3px);
}

.message {
    margin-top: 1rem;
    font-size: 0.9rem;
    height: 1.2em; /* Reserve space */
}

.message.success { color: #4cc9f0; }
.message.error { color: #f72585; }

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .glass-container {
        height: auto;
        min-height: 90vh;
        margin: 2rem 0; /* Add vertical margin on mobile */
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
