@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Inter:wght@300;400;600&display=swap');

:root {
    /* Brand: Crimson & Gold over Obsidian */
    --color-primary: #8b0000;        /* Crimson */
    --color-primary-hover: #b30000;
    --color-accent: #d4af37;         /* Antique Gold */
    --color-accent-hover: #f1cf5b;

    /* Backgrounds */
    --bg-body: #050505;             /* Deep Obsidian */
    --bg-navbar: rgba(10, 10, 12, 0.85);
    --bg-panel: rgba(20, 20, 22, 0.7);
    --bg-card: rgba(24, 24, 28, 0.6);

    /* Borders */
    --border-soft: rgba(212, 175, 55, 0.15); /* Soft gold tint */
    --border-glow: rgba(139, 0, 0, 0.5);

    /* Text */
    --text-main: #f0f0f0;
    --text-muted: #aaaaaa;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(139, 0, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(139, 0, 0, 0.6); }
    100% { box-shadow: 0 0 10px rgba(139, 0, 0, 0.2); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(180deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    color: #fff;
    border: 1px solid #ff4d4d;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ff1a1a 0%, var(--color-primary-hover) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-accent-hover);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Grids & Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(212,175,55,0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    color: var(--color-accent);
    font-size: 22px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* General Layout Elements */
.section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section h2 {
    font-size: 36px;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.panel {
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Forms */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.form-row label {
    width: 180px;
    color: var(--text-muted);
    font-weight: 600;
}

.form-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-main);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.8);
}

.form-error {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
    padding-left: 200px; /* Aligned with input */
}

.checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 15px;
}
