/*
* === Master Stylesheet ===
* This stylesheet defines the core visual identity of the website. It includes a modern color palette, typography, and component styles for a consistent and polished user experience.
*/

/* Root Variables */
:root {
    --primary-color: #00aaff;
    --secondary-color: #0077cc;
    --background-color: #0d1117;
    --surface-color: #161b22;
    --text-color: #c9d1d9;
    --subtle-text-color: #8b949e;
    --border-color: #30363d;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --border-radius: 6px;
}

/* General Body Styles */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-align: center;
    padding-bottom: 80px; /* Space for the bottom nav */
}

.container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
site-header h1 {
    text-align: center;
    width: 100%;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 170, 255, 0.1);
}

.card img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--subtle-text-color);
    line-height: 1.5;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface-color);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    z-index: 1000;
    border-top: 1px solid var(--border-color);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--subtle-text-color);
    text-decoration: none;
    font-size: 0.75rem;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* Forms */
.form-section {
    max-width: 400px;
    margin: 2rem auto;
    text-align: center;
}

.form-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-section input {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
}

.form-links {
    margin-top: 1.5rem;
}

.form-links a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.google-login {
    background-color: #dc3545;
    color: #fff;
}

.google-login:hover {
    background-color: #c82333;
}

.google-login i {
    margin-right: 0.5rem;
}

/* Profile Page */
.profile-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 600;
}

.verified-badge {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    margin-left: 0.5rem;
    vertical-align: middle;
}

.profile-info p {
    margin: 0.5rem 0;
    color: var(--subtle-text-color);
}

.profile-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
