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

:root {
    --primary-color: #0077ff;
    --secondary-color: #00e676;
    --accent-color: #00c6a7;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #0077ff 0%, #00c6a7 50%, #00e676 100%);
    --gradient-secondary: linear-gradient(135deg, #0099ff 0%, #00c6a7 50%, #00e676 100%);
    --gradient-accent: linear-gradient(135deg, #00c6a7 0%, #00e676 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.bootup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
    cursor: pointer;
}

.bootup-container::after {
    content: "Click to enable audio";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.7;
    pointer-events: none;
    animation: fadeInOut 2s infinite;
}

.bootup-container.audio-enabled::after {
    display: none;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.bootup-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.terminal {
    width: 90%;
    max-width: 800px;
    height: 60%;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.terminal-header {
    background: var(--light-bg);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

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

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27ca3f;
}

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--secondary-color);
}

.terminal-content {
    padding: 20px;
    height: calc(100% - 50px);
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.bootup-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--secondary-color);
    white-space: pre-wrap;
    word-break: break-all;
}

.cursor {
    display: inline-block;
    background: var(--secondary-color);
    width: 10px;
    height: 1.2em;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

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

.main-content {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.main-content.hidden {
    opacity: 0;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.music-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.music-btn.playing {
    background: var(--secondary-color);
    color: var(--dark-bg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 198, 167, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 198, 167, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 198, 167, 0);
    }
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .greeting {
    display: block;
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hero-title .name {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.hero-title .title {
    display: block;
    color: var(--accent-color);
    font-size: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.code-window {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.code-header {
    background: var(--darker-bg);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.code-title {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.code-content {
    padding: 20px;
}

.code-content pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 100%;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

.about-image {
    display: inline-flex; 
    justify-content: center;
    padding: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
    justify-self: center;
}

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

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--dark-bg);
}

.friends {
    padding: 100px 0;
    background: var(--dark-bg);
}

.friends-carousel {
    position: relative;
    max-width: 800px;
    margin: 60px auto 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.friend-card {
    min-width: 100%;
    background: var(--light-bg);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
    transform: scale(0.9);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.friend-card.active {
    opacity: 1;
    transform: scale(1);
}

.friend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.friend-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.friend-image {
    margin-bottom: 25px;
    padding: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
    display: inline-block;
}

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

.friend-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    margin: 0;
    display: block;
}

.friend-card:hover .friend-photo {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.friend-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.friend-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.friend-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-btn {
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--accent-color);
}

.projects {
    padding: 100px 0;
}

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

.project-card {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 200px;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    background: var(--dark-bg);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: #111;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link.btn.btn-primary {
    color: #fff !important;
    background: var(--gradient-primary);
    border: none;
}

.project-link.btn.btn-primary:hover {
    color: #fff !important;
    background: var(--gradient-secondary);
}

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

.skills {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.skill-category {
    background: var(--dark-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.skill-category-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 4px;
    transition: width 1s ease;
}

.footer {
    background: var(--darker-bg);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        padding: 0 15px;
    }

    .nav-logo {
        flex: 1;
        text-align: left;
    }

    .nav-controls {
        order: 0;
        margin: 0 15px;
    }

    .hamburger {
        display: flex;
        order: 1;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .friends-carousel {
        max-width: 100%;
        margin: 40px auto 30px;
        gap: 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .friend-card {
        padding: 30px 20px;
    }

    .friend-photo {
        width: 120px;
        height: 120px;
    }

    .friend-name {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-title .title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 

#vhs-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.25;
    mix-blend-mode: lighten;
} 

.about-links {
    margin-top: 32px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--light-bg);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.about-link.coffee {
    background: #ffdd00;
    color: #222;
}
.about-link.discord {
    background: #5865F2;
    color: #fff;
}
.about-link.twitter {
    background: #1da1f2;
    color: #fff;
}
.about-link.x {
    background: #000;
    color: #fff;
}

.about-link:hover {
    filter: brightness(0.95);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-decoration: none;
}

.about-link.x i {
    margin-right: 0;
}

.about-link i {
    font-size: 1.2em;
    margin-right: 6px;
} 

h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, textarea, select, label {
    font-family: 'Inter', sans-serif;
}

.terminal-title,
.nav-logo .logo-text {
    font-family: 'JetBrains Mono', monospace !important;
    color: var(--secondary-color) !important;
}

.bootup-text * {
    font-family: 'JetBrains Mono', monospace !important;
}

.code-content pre, .code-content code {
    font-family: 'JetBrains Mono', monospace !important;
} 
