/* ==============================================
   FILE: assets/index.css
   Complete CSS for AN NEROB Website
   ============================================== */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body.dark {
    background: #0a0a0a;
    color: #e5e5e5;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00ffff, #7c3aed);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* ---------- BACKGROUND BLOBS ---------- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    transition: all 0.5s ease;
}

.blob-top {
    width: 600px;
    height: 600px;
    background: #7c3aed;
    top: -300px;
    right: -200px;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-bottom {
    width: 500px;
    height: 500px;
    background: #00ffff;
    bottom: -200px;
    left: -150px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 24px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

body:not(.dark) .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

body:not(.dark) .logo {
    color: #0a0a0a;
}

.logo-dot {
    color: #00ffff;
}

.logo:hover .logo-dot {
    animation: pulse 1s ease-in-out infinite;
}

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

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

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

body:not(.dark) .nav-link {
    color: #475569;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #7c3aed);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00ffff;
}

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

body:not(.dark) .nav-link:hover {
    color: #7c3aed;
}

/* ---------- THEME BUTTON ---------- */
.theme-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(30deg) scale(1.05);
}

body:not(.dark) .theme-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

body:not(.dark) .theme-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

body.dark .sun-icon {
    display: none;
}

body.dark .moon-icon {
    display: block;
}

body:not(.dark) .sun-icon {
    display: block;
}

body:not(.dark) .moon-icon {
    display: none;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
}

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

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 255, 0.08);
    color: #00ffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

body:not(.dark) .hero-badge {
    background: rgba(0, 255, 255, 0.12);
}

.badge-img {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #00ffff, #7c3aed, #00ffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-tagline {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 12px;
    font-weight: 400;
}

body:not(.dark) .hero-tagline {
    color: #64748b;
}

.hero-desc {
    color: #888;
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

body:not(.dark) .hero-desc {
    color: #475569;
}

/* ---------- BUTTONS ---------- */
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00ffff, #7c3aed);
    color: #000;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(0, 255, 255, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

body:not(.dark) .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0a0a0a;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

body:not(.dark) .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

.btn-img {
    width: 22px;
    height: 22px;
}

/* ---------- STATS ---------- */
.stats-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-img {
    width: 28px;
    height: 28px;
    opacity: 0.8;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00ffff;
}

.stat-lbl {
    color: #888;
    font-size: 0.85rem;
    font-weight: 400;
}

body:not(.dark) .stat-lbl {
    color: #64748b;
}

/* ---------- HERO IMAGE ---------- */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease;
}

.profile-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.12), transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.profile-img {
    position: relative;
    width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
}

.profile-img:hover {
    transform: scale(1.02);
    border-color: rgba(0, 255, 255, 0.3);
}

/* ---------- SECTION COMMON ---------- */
.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

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

/* ---------- ABOUT SECTION ---------- */
.about-section {
    padding: 80px 24px;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 56px 48px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

body:not(.dark) .about-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 255, 0.15);
}

.about-text {
    color: #a0a0a0;
    line-height: 1.9;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

body:not(.dark) .about-text {
    color: #475569;
}

/* ---------- SKILLS SECTION ---------- */
.skills-section {
    padding: 80px 24px;
}

.skills-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    gap: 16px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 24px;
    transition: all 0.3s ease;
}

body:not(.dark) .skill-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}

.skill-card:hover {
    transform: translateX(6px);
    border-color: rgba(0, 255, 255, 0.2);
}

.skill-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1rem;
}

.skill-img {
    width: 22px;
    height: 22px;
}

.skill-pct {
    color: #00ffff;
    font-weight: 600;
    font-size: 0.95rem;
}

body:not(.dark) .skill-pct {
    color: #7c3aed;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

body:not(.dark) .skill-bar {
    background: rgba(0, 0, 0, 0.06);
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #7c3aed);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* ---------- PROJECTS SECTION ---------- */
.projects-section {
    padding: 80px 24px;
}

.projects-grid {
    max-width: 1200px;
    margin: 40px auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 28px 24px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

body:not(.dark) .project-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
    color: #0a0a0a;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(124, 58, 237, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

body:not(.dark) .project-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.project-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover .project-bar {
    transform: scaleX(1);
}

.project-img {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    filter: brightness(0.8);
    transition: filter 0.3s;
}

body:not(.dark) .project-img {
    filter: brightness(0.3);
}

.project-card:hover .project-img {
    filter: brightness(1);
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.project-desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.5;
}

body:not(.dark) .project-desc {
    color: #64748b;
}

.project-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00ffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

body:not(.dark) .project-arrow {
    color: #7c3aed;
}

.project-card:hover .project-arrow {
    gap: 14px;
}

/* ---------- FOCUS BOX ---------- */
.focus-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 36px 40px;
    transition: all 0.3s ease;
}

body:not(.dark) .focus-box {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}

.focus-box:hover {
    border-color: rgba(0, 255, 255, 0.15);
}

.focus-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.focus-img {
    width: 30px;
    height: 30px;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.focus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0a0a0;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

body:not(.dark) .focus-item {
    color: #475569;
}

.focus-item:hover {
    background: rgba(0, 255, 255, 0.05);
    color: #e5e5e5;
}

body:not(.dark) .focus-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #0a0a0a;
}

/* ---------- CHANNELS SECTION ---------- */
.channels-section {
    padding: 80px 24px;
}

.channels-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    gap: 16px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 24px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

body:not(.dark) .channel-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
    color: #0a0a0a;
}

.channel-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 255, 255, 0.2);
    transform: translateX(6px);
}

body:not(.dark) .channel-card:hover {
    background: rgba(255, 255, 255, 0.7);
}

.channel-img-wrap {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.channel-card:hover .channel-img-wrap {
    background: rgba(0, 255, 255, 0.15);
    transform: scale(1.05);
}

.channel-img {
    width: 26px;
    height: 26px;
}

.channel-name {
    font-weight: 600;
    font-size: 1rem;
}

.channel-sub {
    color: #888;
    font-size: 0.85rem;
}

body:not(.dark) .channel-sub {
    color: #64748b;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 48px 24px 32px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body:not(.dark) .footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}

.footer-social {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

body:not(.dark) .footer-social {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.04);
}

.footer-social:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(0, 255, 255, 0.2);
}

body:not(.dark) .footer-social:hover {
    background: rgba(0, 0, 0, 0.06);
}

.footer-social-img {
    width: 24px;
    height: 24px;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
}

body:not(.dark) .footer-text {
    color: #94a3b8;
}

.footer-text .gradient-text {
    font-weight: 700;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        margin: 0 auto 24px;
        max-width: 100%;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;
    }
    
    .profile-wrap {
        max-width: 280px;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .about-card {
        padding: 32px 24px;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
    }
    
    .focus-box {
        padding: 24px 20px;
    }
    
    .hero-section {
        padding: 100px 16px 40px;
    }
    
    .about-section,
    .skills-section,
    .projects-section,
    .channels-section {
        padding: 60px 16px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blob-top {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -100px;
    }
    
    .blob-bottom {
        width: 250px;
        height: 250px;
        bottom: -100px;
        left: -80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .stats-row {
        gap: 20px;
    }
    
    .stat-num {
        font-size: 1.2rem;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .navbar {
        padding: 12px 16px;
    }
}