/* ========================================== */
/* 1. ROOT VARIABLES & BASE STYLES            */
/* ========================================== */
:root {
    --bg-color: #0f0f11;
    --card-bg: #1a1a1d;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a5;
    --accent: #6366f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* ========================================== */
/* 2. ANIMATIONS                              */
/* ========================================== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ========================================== */
/* 3. NAVIGATION                              */
/* ========================================== */
.navbar {
    background-color: rgba(15, 15, 17, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
    color: var(--text-main);
    background-color: var(--card-bg);
    border: 1px solid #333;
}

/* ========================================== */
/* 4. VIEW TOGGLING                           */
/* ========================================== */
.view {
    display: block;
    animation: fadeIn 0.4s ease;
}

.view.hidden {
    display: none;
}

/* ========================================== */
/* 5. HERO SECTIONS                           */
/* ========================================== */
.hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('24034.jpg');
    background-size: cover;
    background-position: center;
}

.socials-hero {
    background-image: url('21986.png');
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.subs-hero {
    background-image: url('24242.jpg');
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.directory-hero {
    height: 500px;
    background-image: url('21986.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.extra-hero {
    background-image: url('24241.jpg');
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(15,15,17,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-credits {
    position: relative;
    display: block;
    text-align: right;
    padding: 10px 20px 0 0;
    font-size: 0.85rem;
    color: var(--text-muted, #aaa);
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
}

.hero-credits a {
    color: #aaa;
    text-decoration: none;
}

.hero-credits a:hover {
    text-decoration: underline;
}

/* ========================================== */
/* 6. PORTFOLIO PROJECTS                      */
/* ========================================== */
.projects {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-title {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.2s, border-color 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.project-card a {
    text-decoration: none;
}

.project-card h3,
.project-card a h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.project-card a p {
    color: var(--text-muted);
}

/* ========================================== */
/* 7. SOCIALS VIEW (Linktree Style)           */
/* ========================================== */
.linktree-container {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    background-color: #121212;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2.5rem;
    text-align: left;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.profile-name {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--card-bg);
    color: var(--text-main);
    text-decoration: none;
    padding: 1rem;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover { 
    transform: scale(1.02); 
}

.social-link.tiktok:hover { background-color: #ff0050; color: white; border-color: #ff0050; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; border-color: transparent; }
.social-link.x-twitter:hover { background-color: #fff; color: #000; border-color: #fff; }
.social-link.twitch:hover { background-color: #9146FF; color: white; border-color: #9146FF; }
.social-link.discord:hover { background-color: #5865F2; color: white; border-color: #5865F2; }
.social-link.spotify:hover { background-color: #1DB954; color: white; border-color: #1DB954; }

/* ========================================== */
/* 8. DIRECTORY VIEW                          */
/* ========================================== */
.directory-overlap {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color, #0f0f11);
    border-radius: 20px;
    padding: 40px 20px 50px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.directory-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.directory-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #222;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.directory-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #444;
    transform: translateX(10px);
}

.dir-icon {
    font-size: 2rem;
}

.dir-info {
    display: flex;
    flex-direction: column;
}

.dir-info h3 {
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.dir-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================== */
/* 9. FOOTER STYLING                          */
/* ========================================== */
.site-footer {
    background-color: var(--card-bg, #1a1a1d);
    border-top: 1px solid #333;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ========================================== */
/* 10. MEDIA QUERIES                          */
/* ========================================== */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}





























/* ========================================= */
/* MOBILE RESPONSIVENESS                     */
/* ========================================= */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column; 
        gap: 12px;
        padding: 1rem;
        text-align: center;
    }

    
    .hero, .directory-hero, .socials-hero {
        height: 220px; 
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }

   
    .linktree-container, .directory-overlap, .directory-overlap-container {
        margin-top: -40px; 
        padding: 25px 15px;
        margin-left: 15px; 
        margin-right: 15px;
    }

    
    .profile-header {
        flex-direction: column; 
        text-align: center;
        gap: 15px;
    }

    .directory-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .dir-icon {
        font-size: 1.5rem;
    }
    
    .dir-info h3 {
        font-size: 1rem;
    }
}