:root {
    --bg-color: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover-bg: rgba(255, 255, 255, 0.07);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-gold: #D4AF37;
    --accent-gold-dim: rgba(212, 175, 55, 0.3);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Background Effect (Subtle Gradient) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.logo-area {
    margin-bottom: 1rem;
}

.logo-symbol {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--accent-gold-dim);
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.subtitle {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 600px;
    margin: 0 auto;
}


/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: inline-block;
}

/* Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Card */
.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold-dim), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold-dim);
}

.project-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-gold);
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.status-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold-dim);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.link-arrow {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.project-card:hover .link-arrow {
    transform: translateX(5px);
    color: var(--accent-gold);
}

/* Footer */
footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.footer-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }
}