:root {
    /*--primary: #0033ff;*/
    --accent: #E1FF00;
    --primary-text: #ffffff;
    --purple: #BD5E97;
    --text: #000000;
    --bg: #945169;
    --card-text: #ffb5de;
    --card-bg: #303030;
    --tech-text: #f143a3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    font-weight: 300;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(225, 255, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(151, 61, 92, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(189, 94, 151, 0.08) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--primary-text);
}

.hero .accent-text {
    color: var(--accent);
    display: inline-block;
    animation: slideIn 1.2s ease-out 0.3s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1.2s ease-out 0.4s both;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--accent);
    margin: 0 auto 0.5rem;
}

.scroll-indicator small {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /*background: linear-gradient(to bottom, var(--dark-bg) 0%, transparent 100%);
    animation: fadeIn 1s ease-out;*/
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--primary-text);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Projects Grid */
.projects-section {
    padding: 8rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--primary-text);
}

.section-description {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--card);
    max-width: 600px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(122, 122, 122, 0.3);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}


.project-image {
    height: 17rem;
    /*background: linear-gradient(135deg, var(--primary-text) 0%, var(--purple) 100%);*/
    position: relative;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.project-image:hover {
    filter: grayscale(0%);
}

/*
.project-card:nth-child(2n) .project-image {
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
}

.project-card:nth-child(3n) .project-image {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-text) 100%);
}

.project-card:nth-child(4n) .project-image {
    background: linear-gradient(135deg, var(--primary-text) 0%, #1a1a1a 100%);
}

.project-card:nth-child(5n) .project-image {
    background: linear-gradient(135deg, var(--purple) 0%, var(--text) 100%);
}

.project-card:nth-child(6n) .project-image {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--purple) 100%);
}
*/

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
    border-radius: 0;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: var(--primary-text);
}

.project-description {
    color: var(--card-text);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.project-description a{
    text-decoration: underline;
    color: var(--card-text);
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.7rem;
    color: var(--tech-text);
    border-top: 1px solid rgba(122, 122, 122, 0.2);
    padding-top: 1rem;
    letter-spacing: 0.08em;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link {
    padding: 3px;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 400;
    font-size: 0.75rem;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: gap 0.3s ease;
    position: relative;
}

.project-link::after {
    content: '';
    position:absolute;
    bottom: 3spx;
    left: -5px;
    width: 3px;
    height: 50px;
    /*text-decoration: underline ;*/
    background: var(--accent);
    transition: width 0.5s ease-in;
    z-index: -1;
}

.project-link:hover::after {
    width: 320%;
    background: var(--tech-text);
}

.project-link:hover {
    color: var(--text);
}

.tutorial-link {
    margin-top: 1.5rem;
    margin-left: 11rem;
    align-items: right;
    color: var(--tech-text);
    font-weight: 400;
    font-size: 0.75rem;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tutorial-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Featured Project */
.featured-project {
    background: var(--card-bg);
    border: 1px solid rgba(122, 122, 122, 0.3);
    color: white;
    overflow: hidden;
    margin: 6rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    animation: fadeInUp 1s ease-out;
}

.featured-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
}

.featured-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--primary-text);
}

.featured-description {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.featured-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.featured-image {
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--purple) 50%, var(--accent) 100%);
    position: relative;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text);
    color: var(--accent);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
}

.cta-button:hover {
    background: var(--accent);
    color: var(--text);
}

/* Footer */
footer {
    background: var(--card-bg);
    color: white;
    padding: 4rem;
    text-align: center;
    border-top: 1px solid rgba(122, 122, 122, 0.3);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    color: var(--primary-text);
}

.footer-description {
    color: var(--tech-text);
    margin-bottom: 2rem;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    color: var(--text);
}

.social-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 1.3s ease;
}

.social-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(122, 122, 122, 0.3);
    color: var(--text);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 400px;
    }

    nav {
        padding: 1.5rem 2rem;
    }

    .projects-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-stats {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-title {
        font-size: 2rem;
    }
}
