/* ===================================
   unsalaslan.me — Gamified Resume CSS
   =================================== */

/* CSS Variables - Design System */
:root {
    /* Colors */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #1a1a1d;
    --bg-card: #141416;

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;

    --accent: #00d4aa;
    --accent-dim: rgba(0, 212, 170, 0.2);
    --accent-glow: rgba(0, 212, 170, 0.4);

    --hp-red: #ff4757;
    --xp-gold: #ffd700;
    --coffee-brown: #8b4513;
    --mana-blue: #3742fa;

    --legendary: #ff8c00;
    --epic: #a855f7;
    --rare: #3b82f6;
    --common: #6b7280;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --grid-color: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 100px 5%;
    --card-radius: 16px;
    --card-radius-sm: 8px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-icon {
    font-size: 4rem;
    animation: pulse 1s ease-in-out infinite;
}

.loading-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--accent);
}

.loading-bar {
    width: 300px;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin: 1.5rem auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--xp-gold));
    width: 0%;
    animation: loadProgress 2s ease-out forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.loading-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Achievement Toast */
.achievement-toast {
    position: fixed;
    top: 100px;
    right: -400px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--xp-gold);
    border-radius: var(--card-radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.achievement-toast.show {
    right: 20px;
}

.achievement-icon {
    font-size: 2rem;
    animation: bounce 0.5s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.achievement-text {
    display: flex;
    flex-direction: column;
}

.achievement-label {
    font-size: 0.75rem;
    color: var(--xp-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-bracket {
    color: var(--accent);
}

.logo-text {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--bg-primary) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--card-radius-sm);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--text-primary);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 99;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 1rem;
    color: var(--text-secondary);
    border-radius: var(--card-radius-sm);
    transition: var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.cta {
    background: var(--bg-tertiary);
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Character Card */
.character-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.character-card:hover {
    border-color: var(--accent);
    box-shadow: 0 25px 50px -12px rgba(0, 212, 170, 0.15);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #ff5f56;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #27ca40;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.5rem;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.prompt {
    color: var(--accent);
    font-weight: 600;
}

.command {
    color: var(--text-primary);
}

.typing {
    border-right: 2px solid var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--accent);
    }

    50% {
        border-color: transparent;
    }
}

.player-info {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.5s ease forwards 1s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.player-class {
    font-size: 1rem;
    color: var(--text-secondary);
}

.separator {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.player-location {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.online-indicator {
    color: #27ca40;
    margin-left: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Status Bars */
.status-bars {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    animation: slideUp 0.5s ease forwards 1.5s;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-label {
    width: 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease-out;
}

.hp-bar .bar-fill {
    background: linear-gradient(90deg, var(--hp-red), #ff6b7a);
}

.xp-bar .bar-fill {
    background: linear-gradient(90deg, var(--xp-gold), #ffe066);
}

.coffee-bar .bar-fill {
    background: linear-gradient(90deg, var(--coffee-brown), #a0522d);
}

.bar-fill.critical {
    animation: pulse 1s ease-in-out infinite;
}

.stat-value {
    font-size: 0.75rem;
    color: var(--text-secondary);
    min-width: 50px;
}

.critical-text {
    color: var(--hp-red);
    font-weight: 600;
    animation: blink 0.5s step-end infinite;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 1.5rem;
    opacity: 0;
    animation: slideUp 0.5s ease forwards 2s;
}

.quick-stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    z-index: 1;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Section Styles */
.section {
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Quest Log - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dim), transparent);
}

.quest-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.quest-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.main-quest .quest-icon {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.quest-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.quest-content:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.quest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.quest-type {
    font-size: 0.7rem;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 1px;
}

.main-quest .quest-type {
    background: var(--accent);
    color: var(--bg-primary);
}

.quest-period {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quest-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.quest-company {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quest-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quest-rewards {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.xp-badge {
    background: linear-gradient(135deg, var(--xp-gold), #ffb700);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.role-badge {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid var(--border-subtle);
}

.quest-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quest-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.quest-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.quest-status {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
}

.quest-status.completed {
    color: var(--text-muted);
}

/* Abilities Grid */
.abilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ability-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.ability-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.1);
}

.ability-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ability-icon {
    font-size: 1.5rem;
}

.ability-name {
    flex: 1;
    font-size: 1.25rem;
}

.ability-level {
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.ability-stars {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.ability-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.ability-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--mana-blue));
    border-radius: 3px;
    width: 0%;
    transition: width 1s ease-out;
}

.ability-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Raids Grid */
.raids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.raid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.raid-card:hover {
    border-color: var(--legendary);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.1);
}

.raid-card.wide {
    grid-column: span 2;
}

.raid-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.raid-icon {
    font-size: 2rem;
}

.raid-name {
    flex: 1;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.raid-count {
    font-size: 0.75rem;
    color: var(--legendary);
    background: rgba(255, 140, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.raid-bosses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.boss-tag {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.boss-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.boss-tag.legendary {
    border-color: var(--legendary);
    color: var(--legendary);
    background: rgba(255, 140, 0, 0.1);
}

.raid-status {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.raid-status.defeated {
    color: #27ca40;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.achievement-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--xp-gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.achievement-badge {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.achievement-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.achievement-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.achievement-rarity {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.achievement-rarity.legendary {
    background: rgba(255, 140, 0, 0.2);
    color: var(--legendary);
}

.achievement-rarity.epic {
    background: rgba(168, 85, 247, 0.2);
    color: var(--epic);
}

.achievement-rarity.rare {
    background: rgba(59, 130, 246, 0.2);
    color: var(--rare);
}

.achievement-rarity.common {
    background: rgba(107, 114, 128, 0.2);
    color: var(--common);
}

/* Origin Story */
.origin-scroll {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    position: relative;
}

.scroll-decoration {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.origin-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2rem;
}

.origin-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Education Cards */
.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.education-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.edu-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.edu-degree {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.edu-field {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.edu-focus {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.edu-badge {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--xp-gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--xp-gold);
}

/* Side Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.1);
}

.project-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    font-size: 0.65rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.project-link {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-terminal .terminal-body {
    padding: 1.5rem;
}

.terminal-response {
    color: #27ca40;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius-sm);
    transition: var(--transition-normal);
}

.contact-link:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-cta {
    margin-top: 2rem;
}

.cta-text {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cta-subtext {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 5%;
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.footer-code {
    color: var(--accent);
}

.footer-name {
    color: var(--text-primary);
}

.footer-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.konami-hint {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    letter-spacing: 2px;
}

/* Easter Egg Modal */
.easter-egg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.easter-egg-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 2px solid var(--xp-gold);
    border-radius: var(--card-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--xp-gold);
}

.cheat-codes {
    text-align: left;
    margin-bottom: 1.5rem;
}

.cheat-code {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.code-key {
    font-weight: 700;
    color: var(--accent);
    min-width: 100px;
}

.code-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.modal-footer {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .raid-card.wide {
        grid-column: span 1;
    }

    .timeline::before {
        left: 20px;
    }

    .quest-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .player-name {
        font-size: 2rem;
    }

    .quick-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .abilities-grid,
    .raids-grid,
    .achievements-grid,
    .education-cards,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .achievement-toast {
        /* Position at bottom on mobile */
        top: auto;
        bottom: -100px;
        right: 10px;
        left: 10px;
        width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .achievement-toast.show {
        right: 10px;
        bottom: 20px;
    }

    .achievement-icon {
        font-size: 1.5rem;
    }

    .achievement-label {
        font-size: 0.65rem;
    }
}

/* Particle Styles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    animation: float 15s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Theme Navigation */
.theme-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
}

.theme-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.theme-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .theme-nav {
        bottom: 10px;
        left: 10px;
        flex-direction: column;
    }

    .theme-btn {
        font-size: 0.65rem;
        padding: 0.4rem 0.75rem;
    }
}

/* Legendary Quest Styles */
.legendary-quest .quest-icon {
    background: linear-gradient(135deg, var(--legendary), #ff6600);
    border-color: var(--legendary);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4);
    animation: legendaryGlow 2s ease-in-out infinite;
}

@keyframes legendaryGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 140, 0, 0.6);
    }
}

.legendary-quest .quest-content {
    border-color: var(--legendary);
    background: linear-gradient(135deg, var(--bg-card), rgba(255, 140, 0, 0.05));
}

.quest-type.legendary {
    background: linear-gradient(135deg, var(--legendary), #ff6600);
    color: var(--bg-primary);
}

.xp-badge.legendary {
    background: linear-gradient(135deg, var(--legendary), #ff6600);
    animation: pulse 2s ease-in-out infinite;
}

.role-badge.legendary {
    border-color: var(--legendary);
    color: var(--legendary);
    background: rgba(255, 140, 0, 0.1);
}

.quest-link {
    color: var(--legendary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.quest-link:hover {
    color: #ff6600;
    text-decoration: underline;
}

/* Life Quest - Featured Project */
.life-quest {
    background: linear-gradient(180deg, var(--bg-primary), rgba(0, 212, 170, 0.03));
}

.featured-project {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--card-radius);
    padding: 3rem;
    overflow: hidden;
}

.featured-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.featured-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.featured-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.featured-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.featured-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.featured-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.featured-tech span {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.featured-tech span:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.featured-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.featured-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
}

.featured-btn.primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.featured-btn.primary:hover {
    background: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.featured-btn.secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.featured-btn.secondary:hover {
    background: var(--accent-dim);
    transform: translateY(-3px);
}

.featured-cta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Upcoming Project Cards */
.project-card.upcoming {
    position: relative;
    border-style: dashed;
    border-color: var(--epic);
}

.project-card.upcoming:hover {
    border-color: var(--epic);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.1);
}

.upcoming-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--epic);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-link.upcoming {
    color: var(--epic);
}

/* Responsive for featured section */
@media (max-width: 768px) {
    .featured-project {
        padding: 2rem 1.5rem;
    }

    .featured-title {
        font-size: 2rem;
    }

    .featured-actions {
        flex-direction: column;
    }

    .featured-btn {
        width: 100%;
        text-align: center;
    }
}