/* ============================================
   bZow Portfolio v3 - SeekNow Style (Dark/Gold)
   ============================================ */

:root {
    /* Colors - SeekNow Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0d0d0d;
    --bg-tertiary: #111111;
    --bg-card: rgba(18, 18, 18, 0.8);

    /* Accent - Gold/Yellow */
    --accent: #f5a623;
    --accent-light: #ffc857;
    --accent-dark: #d4920e;
    --accent-glow: rgba(245, 166, 35, 0.4);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(245, 166, 35, 0.3);

    /* Grid */
    --grid-color: rgba(255, 255, 255, 0.03);
    --grid-size: 60px;

    /* Effects */
    --transition: 0.3s ease;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Grid Background
   ============================================ */
.grid-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 70%);
}

/* Corner Brackets */
.corner-bracket {
    position: fixed;
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent);
    opacity: 0.3;
    z-index: 1;
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* Scan Line - Disabled for better UX */
.scan-line {
    display: none;
}

@keyframes scanMove {
    0% { top: 0; }
    100% { top: 100%; }
}

/* ============================================
   Loader
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.loader-circle {
    animation: loaderSpin 1s linear infinite;
    transform-origin: center;
}

@keyframes loaderSpin {
    to { stroke-dashoffset: -208; }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.nav-logo-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--accent);
    color: #000;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 999;
    padding: 100px 32px;
    transition: right var(--transition);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-links a {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-greeting {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-name {
    display: block;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
}

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

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 32px;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    display: flex;
    align-items: baseline;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    display: inline;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Visual - Profile Card */
.hero-visual {
    display: flex;
    justify-content: center;
    z-index: 2;
}

.profile-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 340px;
    backdrop-filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Card Corners */
.card-corner,
.profile-card-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent);
}

.card-corner.tl, .profile-card-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.card-corner.tr, .profile-card-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.card-corner.bl, .profile-card-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.card-corner.br, .profile-card-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.profile-info {
    margin-bottom: 20px;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
}

.profile-role {
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.profile-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.badge-gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #000;
}

.badge-blue {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #5865F2;
}

.profile-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.profile-link svg {
    width: 20px;
    height: 20px;
}

.profile-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.profile-views {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-views strong {
    color: var(--accent);
}

/* Profile Discord Stats */
.profile-discord-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
}

.profile-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

/* ============================================
   Discord Stats Section
   ============================================ */
.discord-stats-section {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.discord-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.discord-stat-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}

.discord-stat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.discord-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.discord-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #ffd3ff;
    font-family: var(--font-mono);
    text-shadow: 0 0 20px rgba(255, 211, 255, 0.3);
}

/* ============================================
   Sections Common
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.section-dark {
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tag-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.tag-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-lead {
    font-size: 20px !important;
    color: var(--text-primary) !important;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition);
}

.about-stat-card:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 10px;
    color: var(--accent);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   Projects Section
   ============================================ */
.project-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.project-featured-visual {
    position: relative;
}

.terminal-window {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

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

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

.btn-close { background: #ff5f57; }
.btn-minimize { background: #febc2e; }
.btn-maximize { background: #28c840; }

.terminal-title {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.terminal-body {
    overflow: hidden;
    height: 300px;
    position: relative;
}

.project-image {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: autoScroll 40s ease-in-out infinite;
}

/* Auto scroll animation - simulates user browsing the page */
@keyframes autoScroll {
    0%, 15% {
        transform: translateY(0);
    }
    45%, 55% {
        transform: translateY(calc(-100% + 300px));
    }
    85%, 100% {
        transform: translateY(0);
    }
}

.project-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}

.project-glow-green {
    background: #22c55e;
}

/* Project Featured Reverse (content right, image left) */
.project-featured-reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-featured-reverse .project-featured-content {
    order: 1;
}

.project-featured-reverse .project-featured-visual {
    order: 2;
}

/* Button Green variant */
.btn-green {
    background: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.btn-green:hover {
    background: #16a34a;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

/* Add spacing between featured projects */
.project-featured + .project-featured {
    margin-top: 80px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
}

.tag-live {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-dot-live {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.project-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.project-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-features {
    list-style: none;
    margin-bottom: 24px;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-stack span {
    padding: 4px 10px;
    font-size: 12px;
    font-family: var(--font-mono);
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 4px;
    color: var(--accent);
}

/* Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--transition);
}

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

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
}

.project-icon svg {
    width: 24px;
    height: 24px;
}

.project-icon-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    color: #000;
}

.project-icon-discord {
    background: #5865F2;
    border: none;
    color: #fff;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
}

.project-status-tools {
    color: var(--text-muted);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.project-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.project-card-tags span {
    padding: 4px 8px;
    font-size: 11px;
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition);
}

.project-card-link:hover {
    gap: 12px;
}

/* Mini Projects */
.projects-mini {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.projects-mini-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.projects-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.project-mini-item {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--transition);
}

.project-mini-item:hover {
    border-color: var(--border-accent);
}

.mini-icon {
    color: #5865F2;
    margin-bottom: 8px;
}

.mini-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mini-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.project-mini-link {
    text-decoration: none;
    cursor: pointer;
}

.project-mini-link:hover {
    border-color: #5865F2;
}

.projects-mini-grid {
    grid-template-columns: repeat(5, 1fr);
}

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

.timeline-track {
    display: none;
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

/* Line segment above the marker */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -60px;
    height: 60px;
    width: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    z-index: 1;
}

/* Line segment below the marker */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: -60px;
    width: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    z-index: 1;
}

/* First item: no line above */
.timeline-item:first-child::before {
    display: none;
}

/* Last item: no line below */
.timeline-item:last-child::after {
    display: none;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-card {
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-year {
    display: block;
    padding: 8px 16px;
    background: #0a0a0a;
    border: 2px solid var(--accent);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent);
    position: relative;
    z-index: 3;
}

.marker-current .marker-year {
    background: var(--accent);
    color: #000;
    animation: pulse 2s ease-in-out infinite;
}

.timeline-card {
    width: calc(50% - 60px);
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all var(--transition);
}

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

.timeline-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Timeline Active State (on scroll) */
.timeline-item.timeline-active {
    opacity: 1;
}

.timeline-item.timeline-active .marker-year {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
    transform: scale(1.1);
    transition: all 0.4s ease;
}

.timeline-item.timeline-active .timeline-card {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.15);
}

/* ============================================
   Skills Section
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.skill-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.skill-category-title svg {
    color: var(--accent);
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition);
}

.skill-item:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.skill-item img {
    width: 24px;
    height: 24px;
}

.skill-item span {
    font-size: 14px;
    font-weight: 500;
}

.skill-list-text {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-item-text {
    padding: 10px 16px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 10px;
    color: var(--accent);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-secondary);
}

.contact-arrow {
    color: var(--text-muted);
    transition: all var(--transition);
}

.contact-card:hover .contact-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* Contact Form */
.contact-form-wrap {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.03);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--accent);
    background: transparent;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 32px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    color: #000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* ============================================
   Toast
   ============================================ */
.toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    color: #22c55e;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition);
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    width: 0%;
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ============================================
   Typing Effect
   ============================================ */
.typing-text {
    display: inline;
}

.typing-cursor {
    display: inline-block;
    color: var(--accent);
    animation: blink 1s step-end infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--transition);
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-discord {
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .project-featured {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .discord-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

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

    .projects-mini-grid {
        grid-template-columns: 1fr;
    }

    .timeline-track {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 60px;
    }

    .timeline-item::before,
    .timeline-item::after {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        width: 100%;
        text-align: left;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .corner-bracket {
        display: none;
    }

    .discord-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
