:root {
    /* Core Colors */
    --bg-dark: #080808;
    --bg-card: #0f0f0f;
    --bg-card-hover: #151515;

    /* Text */
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --text-dark: #000000;

    /* Accents */
    --primary: #7458FF;
    --primary-gradient: linear-gradient(222deg, #A28FFF 10%, #7458FF 37%, #7054FB 63%, #4D31D9 87%);
    --secondary: #22c55e;
    --accent: #F72585;
    /* Pink from ccleaf */
    --accent-glow: rgba(247, 37, 133, 0.4);

    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Slightly more visible */
    --border-light: rgba(255, 255, 255, 0.1);
    --radius-lg: 24px;
    /* Highly rounded from ccleaf */

    /* Typography */
    --font-main: 'Inter', system-ui, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Animations */
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.2s var(--ease-smooth);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, var(--bg-dark) 40%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.6;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: pulseGlow 10s infinite alternate;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: -200px;
    left: 20%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    bottom: -100px;
    right: 10%;
    animation-delay: -5s;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Typography & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.container-narrow {
    max-width: 800px;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: transform 0.3s var(--ease-smooth), padding 0.3s;
}

.navbar.hidden-nav {
    transform: translateY(-100%);
}

.navbar.scroll-down {
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-symbol {
    color: var(--primary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-nav {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
    filter: brightness(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Add specialized Hero Grid Background scoped to this section if needed, 
   but global .background-effects covers it. */

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-glow);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -2px;
}

.hero-title span.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* Dashed border effect around highlighted text */
.hero-title span.highlight-dashed {
    position: relative;
    padding: 0 12px;
    z-index: 1;
}

.hero-title span.highlight-dashed::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px dashed var(--accent);
    border-radius: 8px;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: rotate(-2deg);
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 16px;
}

.btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(116, 88, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(116, 88, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
}

.btn.secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn.secondary:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

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

.stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.stat-separator {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-main);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Sections General */
.section {
    padding: 120px 0;
}

.section-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--primary-glow), var(--accent-glow), transparent);
    opacity: 0.5;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: clamp(16px, 2vw, 18px);
    max-width: 600px;
    margin: -40px auto 60px;
    line-height: 1.6;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Skills */
.skill-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 0 20px -5px var(--primary-glow);
}

.skill-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--primary);
}

.skill-name {
    display: block;
    font-weight: 500;
}

.skill-ticker-container {
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
}

.skill-ticker {
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    display: inline-block;
}

.skill-ticker span {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-muted);
    margin: 0 20px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Journey (Vertical Timeline) */
.journey-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.journey-item {
    display: flex;
    gap: 24px;
}

.journey-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    flex-shrink: 0;
}

.journey-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.journey-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin-top: 10px;
    opacity: 0.3;
}

.journey-item:last-child .journey-line {
    display: none;
}

.journey-content {
    flex: 1;
    padding: 30px;
    position: relative;
    transition: transform 0.3s var(--ease-smooth);
}

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

.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.journey-role {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text-main);
    font-weight: 700;
}

.journey-date {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.journey-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.journey-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.journey-tags .tag {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-muted);
}

.glass-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

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

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s var(--ease-smooth);
}

.gradient-1 {
    background: linear-gradient(45deg, #4f46e5, #ec4899);
}

.gradient-2 {
    background: linear-gradient(45deg, #059669, #3b82f6);
}

.gradient-3 {
    background: linear-gradient(45deg, #7c3aed, #db2777);
}

.project-card:hover .project-bg {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-logo {
    position: relative;
    z-index: 1;
    font-size: 48px;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    width: 44px;
    height: 44px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-elastic);
}

.project-card:hover .btn-icon {
    transform: translateY(0);
}

.project-content {
    padding: 24px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-type {
    color: var(--primary);
}

.project-status {
    color: var(--secondary);
}

.project-title {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.project-tech-list {
    display: flex;
    gap: 10px;
    list-style: none;
}

.project-tech-list li {
    font-size: 12px;
    color: var(--text-muted);
    position: relative;
    padding-left: 10px;
}

.project-tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.project-tech-list li:first-child {
    padding-left: 0;
}

.project-tech-list li:first-child::before {
    display: none;
}

/* Website Cards */
.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.website-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.website-card:hover {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.website-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: transform 0.3s var(--ease-elastic);
}

.website-card:hover .website-icon {
    transform: scale(1.1) rotate(5deg);
}

.website-info {
    flex: 1;
    min-width: 0;
}

.website-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.website-url {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.website-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.website-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.website-card:hover .website-arrow {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

/* Browser Preview Card */
.website-card-preview {
    display: block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s var(--ease-smooth);
}

.website-card-preview:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.5);
}

/* macOS Browser Frame */
.browser-frame {
    background: #1c1c1e;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #2c2c2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots .dot.red {
    background: #ff5f56;
}

.browser-dots .dot.yellow {
    background: #ffbd2e;
}

.browser-dots .dot.green {
    background: #27ca40;
}

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.browser-url i {
    font-size: 10px;
    color: #27ca40;
}

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

.browser-content {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s var(--ease-smooth);
}

.website-card-preview:hover .browser-content img {
    transform: scale(1.02);
}

.website-card-info {
    padding: 20px;
}

.website-card-info .website-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.website-card-info .website-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Archived Card */
.website-card-preview.archived {
    position: relative;
    opacity: 0.85;
}

.website-card-preview.archived:hover {
    opacity: 1;
}

.archived-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #ef4444;
    color: white;
    padding: 6px 40px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Simple Project Cards (Logo + Info Layout) */
.project-card-simple {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        var(--primary-gradient) border-box;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.project-card-simple:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(116, 88, 255, 0.4);
    /* var(--primary) is #7458FF which is 116, 88, 255 */
}

.project-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--ease-elastic);
}

.project-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-avatar.icon-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-size: 28px;
    color: white;
}

.project-card-simple:hover .project-avatar {
    border-color: var(--primary);
    transform: scale(1.05);
}

.project-info {
    flex: 1;
    min-width: 0;
}

.project-info .project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info .project-title {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.project-info .project-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Bot Avatar Updates */
.project-logo.img-logo {
    font-size: 0;
    /* Remove icon font sizing */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s var(--ease-elastic);
}

.project-logo.img-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card:hover .project-logo.img-logo {
    transform: scale(1.1);
    border-color: var(--primary);
}

.status-active {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.archived-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    backdrop-filter: blur(4px);
}

/* Clips Grid - Modern Style */
.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.clip-card {
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        var(--primary-gradient) border-box;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.clip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -10px rgba(116, 88, 255, 0.3);
}

.clip-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    overflow: hidden;
}

.clip-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.5s;
}

.clip-card:hover .clip-thumbnail img {
    opacity: 1;
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.8);
    /* Primary color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s var(--ease-elastic);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.play-overlay i {
    margin-left: 4px;
    /* Optical centering */
}

.clip-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.clip-info {
    padding: 20px;
}

.clip-title {
    color: var(--text-main);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clip-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 13px;
}

.clip-views i,
.clip-date i {
    margin-right: 6px;
    color: var(--secondary);
}

/* Modals - Modern Style */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.clip-modal {
    background: rgba(20, 20, 20, 0.95);
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s var(--ease-elastic);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-overlay.active .clip-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.modal-title {
    color: var(--text-main);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--danger, #ef4444);
    color: white;
    transform: rotate(90deg);
}

.modal-video-container {
    aspect-ratio: 16/9;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-video-container iframe,
.modal-video-container video {
    width: 100%;
    height: 100%;
}

.modal-details {
    padding: 30px;
}

.modal-description {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
}

.modal-tags {
    display: flex;
    gap: 10px;
}

.modal-tag {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Contact */
.contact-section {
    display: flex;
    justify-content: center;
}

.contact-card {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

.big-btn {
    padding: 18px 40px;
    font-size: 18px;
}

.social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-link {
    color: var(--text-muted);
    font-size: 24px;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 12px;
}

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

.copyright i {
    color: #ef4444;
}

/* Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-side {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-side.right {
    transform: translateX(50px);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .navbar .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: white;
        margin-bottom: 6px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .stat-separator {
        width: 100%;
        height: 1px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }

    .timeline-content {
        width: 100%;
        text-align: left !important;
        padding: 20px;
    }

    .timeline-dot {
        left: 0;
    }
}

/* Showcase Section (Webbites Style) */
.showcase-section {
    overflow: hidden;
    padding: 100px 0;
    position: relative;
}

.showcase-window {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 40px 0;
}

.showcase-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: showcaseScroll 40s linear infinite;
}

.showcase-track:hover {
    animation-play-state: paused;
}

@keyframes showcaseScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 20px));
    }

    /* Scroll half the track (original set) */
}

.showcase-card {
    width: 450px;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.4s var(--ease-smooth);
    perspective: 1000px;
}

.showcase-card:hover {
    transform: scale(1.02) translateY(-10px);
    z-index: 10;
}

.showcase-card .browser-frame {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(#1c1c1e, #1c1c1e) padding-box,
        linear-gradient(222deg, #333 0%, #444 100%) border-box;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.showcase-card:hover .browser-frame {
    background: linear-gradient(#1c1c1e, #1c1c1e) padding-box,
        var(--primary-gradient) border-box;
    box-shadow: 0 30px 60px -15px rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
}

.showcase-card .browser-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #2c2c2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 16px;
}

.showcase-card .dots {
    display: flex;
    gap: 6px;
}

.showcase-card .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3f3f41;
}

.showcase-card:hover .dots span:nth-child(1) {
    background: #ff5f56;
}

.showcase-card:hover .dots span:nth-child(2) {
    background: #ffbd2e;
}

.showcase-card:hover .dots span:nth-child(3) {
    background: #27ca40;
}

.showcase-card .url-bar {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    height: 24px;
    border-radius: 4px;
    font-size: 11px;
    color: #777;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.showcase-card .browser-body {
    aspect-ratio: 16/10;
    position: relative;
}

.showcase-card .browser-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.showcase-info {
    margin-top: 20px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.showcase-card:hover .showcase-info {
    opacity: 1;
}

.showcase-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.showcase-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.showcase-card.archived .showcase-info p {
    color: #ef4444;
    font-weight: 600;
}

.archived-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 30px;
    transform: rotate(45deg);
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.section-title.align-center {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title.align-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle.align-center {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .showcase-card {
        width: 300px;
    }
}

/* Redesigned Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    overflow: hidden;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: floatOrb 20s infinite alternate;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 0;
    right: 0;
    animation: floatOrb 25s infinite alternate-reverse;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content.align-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(39, 202, 64, 0.1);
    border: 1px solid rgba(39, 202, 64, 0.2);
    color: #27ca40;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ca40;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(39, 202, 64, 0.2);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 202, 64, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(39, 202, 64, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 202, 64, 0);
    }
}

.hero-title {
    font-size: 80px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-display);
}

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

/* Tech Marquee */
.tech-marquee-wrapper {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee {
    display: flex;
    gap: 24px;
    width: max-content;
}

.tech-marquee.left {
    animation: scrollLeft 30s linear infinite;
}

.tech-marquee.right {
    animation: scrollRight 30s linear infinite;
}

.tech-marquee:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.tech-group {
    display: flex;
    gap: 24px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
}

.tech-item i {
    font-size: 18px;
    color: var(--primary);
}

.tech-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--text-main);
    transform: translateY(-4px);
    box-shadow: 0 0 20px -5px var(--primary-glow);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-stats-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-box {
        flex: 1;
        min-width: 100px;
    }
}

/* Modern Footer */
.main-footer {
    background: var(--bg-dark);
    padding: 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-light);
}

/* Pre-Footer Community CTA */
.community-cta {
    background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, rgba(116, 88, 255, 0.05) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-icon {
    font-size: 56px;
    color: #5865F2;
    /* Discord Color */
    margin-bottom: 8px;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.4));
    animation: floatOrb 6s infinite ease-in-out;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(180deg, #FFFFFF 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.cta-desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Footer Links Section */
.main-footer>.container {
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo .logo-symbol {
    color: var(--primary);
    font-size: 32px;
}

.footer-bio {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
    font-size: 18px;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-main);
    color: var(--text-main);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 140px;
}

.footer-heading {
    font-size: 13px;
    text-transform: uppercase;
    color: white;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    font-size: 12px;
}

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

.footer-tech span {
    font-weight: 600;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}