:root {
    --bg-color: #050507;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-red: #ff1f3a;
    --accent-red-glow: rgba(255, 31, 58, 0.6);
    --accent-purple: #7a1fff;
    --accent-purple-glow: rgba(122, 31, 255, 0.4);
    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Cursor Glow Effect */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: opacity 0.3s;
    opacity: 0.5;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5,5,7,0.9), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-family: 'Syncopate', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo .jujutsu { color: var(--text-main); }
.logo .kaisen { color: var(--accent-red); }

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-red-glow);
}

.btn-login {
    padding: 8px 20px;
    border: 1px solid var(--accent-red);
    border-radius: 20px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-red-glow);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 50%, rgba(5,5,7,0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.glitch {
    font-family: 'Syncopate', sans-serif;
    font-size: 4vw;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    color: white;
    text-shadow: 2px 2px 0px var(--accent-red), -2px -2px 0px var(--accent-purple);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--accent-red), #b00020);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-red-glow);
}

/* Lore Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.lore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.card-glass h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-purple);
}

.card-glass p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.stat-bars { margin-top: 30px; }
.stat { margin-bottom: 15px; }
.stat span { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.bar { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.fill { height: 100%; background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }

.lore-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.lore-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.lore-image:hover img {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    box-shadow: inset 0 0 50px rgba(255, 31, 58, 0.4);
    pointer-events: none;
    border-radius: 15px;
}

/* Quotes Section */
.section-title {
    text-align: center;
    font-family: 'Syncopate', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quote-card {
    background: #111115;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(255, 31, 58, 0.15);
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.quote-card:hover::before {
    transform: scaleY(1);
}

.card-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.quote {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.tag {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-yuji { background: rgba(255, 165, 0, 0.2); color: orange; }
.tag-sukuna { background: rgba(255, 31, 58, 0.2); color: var(--accent-red); }
.tag-nanami { background: rgba(122, 31, 255, 0.2); color: var(--accent-purple); }

/* Footer */
footer {
    background: #020203;
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-family: 'Syncopate', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
}
.footer-logo .kaisen { color: var(--accent-red); }

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@media (max-width: 768px) {
    .lore-grid { grid-template-columns: 1fr; }
    .glitch { font-size: 2rem; }
    header { padding: 15px 20px; flex-direction: column; gap: 15px; }
    nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav a { margin: 0; }
}
