/* General Body & Typography */
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    color: #00ff9d;
    font-weight: 700;
}

/* Header */
header {
    background: #222;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #00ff9d;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Authentication Card */
#auth-card {
    background: #2c2c2c;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 255, 157, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

#auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 255, 157, 0.2);
}

#auth-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #bbb;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #f0f0f0;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #00ff9d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Buttons */
#auth-button, .google-btn, #create-project-btn, #sign-out-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

#auth-button {
    background: #00ff9d;
    color: #1a1a1a;
}

#auth-button:hover {
    background: #00e68a;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.5);
    transform: scale(1.02);
}

.google-btn {
    background: #333;
    color: #f0f0f0;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-btn img {
    margin-right: 0.8rem;
    height: 20px;
}

.google-btn:hover {
    background: #444;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

#auth-toggle {
    text-align: center;
    margin-top: 1.5rem;
    color: #bbb;
}

#auth-toggle a {
    color: #00ff9d;
    text-decoration: none;
    font-weight: bold;
}

#auth-toggle a:hover {
    text-decoration: underline;
}

/* App Container */
#app-container {
    width: 100%;
    max-width: 900px;
}

#welcome-message {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

#projects-section {
    background: #2c2c2c;
    padding: 2rem;
    border-radius: 12px;
}

#projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #333;
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

#create-project-btn, #sign-out-btn {
    margin-top: 2rem;
    background: #444;
    color: #f0f0f0;
}

#create-project-btn:hover, #sign-out-btn:hover {
    background: #555;
}
