:root {
    --bg-dark: #1a0d2e;
    --bg-darker: #0d0617;
    --bg-card: #2d1b4e;
    --text-primary: #f0f0f0;
    --text-secondary: #d0a8ff;
    --accent-primary: #0099ff;
    --accent-secondary: #ff0088;
    --accent-tertiary: #00ff88;
    --accent-ralsei: #a8d8ff;
    --border-color: #5d3a8a;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    cursor: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    background-image: url('img/dark_fountain_bg_animated.gif');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    margin: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 6, 23, 0.4);
    pointer-events: none;
    z-index: -1;
}

#custom-cursor {
    position: fixed;
    width: 64px;
    height: 64px;
    background-image: url('img/Maus_battle_idle.webp');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

header {
    display: none;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    background-color: rgba(13, 6, 23, 0.95);
    border-right: 3px solid var(--accent-primary);
    padding: 2rem 1rem;
    overflow-y: auto;
    z-index: 50;
}

.sidebar h3 {
    color: var(--accent-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(0, 153, 255, 0.3);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 1rem;
}

.sidebar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.sidebar-links a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(0, 153, 255, 0.2);
    transform: translateX(4px);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    margin-left: 220px;
}

section {
    padding: 6rem 0;
    border-bottom: 2px solid var(--accent-primary);
    background-color: rgba(26, 13, 46, 0.7);
    margin: 0 -2rem;
    padding: 6rem 2rem;
}

section:last-child {
    border-bottom: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    text-align: center;
    padding: 2rem 0;
}

.hero-content {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 255, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-button {
    display: none;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}

section h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 0px;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.6);
}

.about-grid {
    display: block;
}

.about-text h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.stats {
    display: none;
}

.activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activity-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 0px;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.activity-card:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.25);
    transform: translateY(-8px);
}

.activity-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.activity-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.interests-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.consoles, .games {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 0px;
    border: 3px solid var(--border-color);
}

.consoles h3, .games h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.3);
}

.console-list, .game-list {
    list-style: none;
}

.console-list li, .game-list li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    transition: var(--transition);
}

.console-list li::before, .game-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.console-list li:hover, .game-list li:hover {
    color: var(--text-primary);
    padding-left: 2.5rem;
}

.favorite-tag {
    display: inline-block;
    background-color: var(--accent-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 0, 110, 0.3);
}

.philosophy-quote {
    background-color: var(--bg-card);
    padding: 3rem;
    border-left: 6px solid var(--accent-tertiary);
    border-radius: 0px;
    margin-bottom: 2rem;
    border-top: 3px solid var(--accent-primary);
    border-bottom: 3px solid var(--accent-tertiary);
    position: relative;
    overflow: hidden;
}

.philosophy-quote::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -50px;
    width: 350px;
    height: 350px;
    background-image: url('img/Titan_overworld_fountain_loop.gif');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.philosophy-quote p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.philosophy-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

footer {
    background-color: rgba(13, 6, 23, 0.95);
    border-top: 3px solid var(--accent-primary);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 4rem;
    box-shadow: 0 -4px 12px rgba(255, 255, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease backwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease backwards;
}

.scroll-scale {
    transform: scale(0.95);
    opacity: 0;
}

.scroll-scale.active {
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.scroll-rotate {
    transform: rotateY(15deg);
    opacity: 0;
}

.scroll-rotate.active {
    animation: rotateIn 0.8s ease forwards;
}

.scroll-float {
    transition: transform 0.6s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotateIn {
    from {
        transform: rotateY(15deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.parallax-bg {
    position: relative;
}

@media (max-width: 768px) {
    .sidebar {
        width: 150px;
        padding: 1rem 0.5rem;
    }

    main {
        margin-left: 150px;
        padding: 0 1rem;
    }

    .sidebar h3 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .sidebar-links a {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .interests-container {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}
