:root {
    --bg-dark: #050507;
    --bg-darker: #020203;
    --primary: #dc2626; /* Crimson Red */
    --primary-light: #ef4444;
    --secondary: #b45309; /* Dark Gold */
    --accent: #f59e0b; /* Amber/Gold */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(220, 38, 38, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-red {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* Glassmorphism */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.15);
}

/* Navigation */
.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}
nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    font-weight: 600;
}
nav a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 80px;
}
.hero .pre-title {
    color: var(--text-muted);
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.hero .title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    border: none;
    text-transform: uppercase;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
    transform: scale(1.02);
    background: var(--primary-light);
}
.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
    margin-left: 1rem;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}
.hero-actions {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Classes Section */
.classes-section {
    margin: 4rem 5%;
    text-align: center;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.class-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.2s;
}
.class-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Skills/Operations Section */
.skills-section {
    padding: 5rem 5%;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.skill-card {
    display: flex;
    flex-direction: column;
}
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}
.skill-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--primary);
}
.skill-card h3 {
    font-size: 1.2rem;
}
.skill-card p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.examples {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.example-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border-left: 2px solid var(--primary);
    transition: transform 0.2s;
}
.example-item:hover {
    transform: translateX(5px);
}

/* Combat & Bosses */
.combat-section {
    margin: 5rem 5%;
}
.combat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.combat-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.combat-text strong {
    color: var(--accent);
}
.relic-list {
    list-style: none;
    margin-top: 1rem;
}
.relic-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

.combat-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.boss-hologram {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed rgba(220, 38, 38, 0.5);
    animation: spin 20s linear infinite;
}
.hologram-inner {
    font-size: 5rem;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px var(--primary);
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.8);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .combat-grid { grid-template-columns: 1fr; }
    .hero .title { font-size: 3rem; }
    nav { display: none; }
}
