/* =========================================================
   RESET & BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #e8eaf0;
    background: #0a0e1a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8a94b4;
    background: rgba(138, 148, 180, 0.08);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid rgba(138, 148, 180, 0.12);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: #9aa4c2;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.highlight {
    background: linear-gradient(135deg, #6c7ae0, #4a6cf7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #4a6cf7, #6c7ae0);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #e8eaf0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* =========================================================
   NAVIGATION
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #8a94b4;
    letter-spacing: 0.05em;
    margin-left: 2px;
}
/* =========================================================
   FINAL VSHRN LOGO IMPLEMENTATION
========================================================= */

/* =========================================================
   VSHRN NAVBAR LOGO
========================================================= */

.navbar-logo {
    display: block;
    height: 60px;       /* Larger than before (was 54px) */
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Responsive scaling for mobile */
@media (max-width: 768px) {
    .navbar-logo {
        height: 44px;   /* Still looks good on smaller screens */
    }
}


/* =========================================================
   VSHRN FOOTER LOGO
========================================================= */

.footer-logo {
    display: block;
    max-width: 200px;   /* ~2:1 width-to-height ratio based on your 1152x854px image */
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

/* Responsive scaling for mobile */
@media (max-width: 768px) {
    .footer-logo {
        max-width: 150px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: #b0b8d0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a6cf7;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #e8eaf0;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    position: relative;
    background: #0a0e1a;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(45deg, rgba(74, 108, 247, 0.03) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(74, 108, 247, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a94b4;
    background: rgba(138, 148, 180, 0.08);
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(138, 148, 180, 0.12);
    margin-bottom: 28px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a6cf7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #9aa4c2;
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.about-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: rgba(74, 108, 247, 0.2);
}

.about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.3rem;
    color: #6c7ae0;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.95rem;
    color: #9aa4c2;
    line-height: 1.7;
}

/* =========================================================
   BOOKS
========================================================= */

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.book-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.book-card:nth-child(1) { animation-delay: 0.1s; }
.book-card:nth-child(2) { animation-delay: 0.2s; }
.book-card:nth-child(3) { animation-delay: 0.3s; }

.book-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 108, 247, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.book-image {
    background: #121826;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.book-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #4a5268;
}

.book-placeholder i {
    font-size: 3.5rem;
    color: #3a4258;
}

.book-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4a5268;
}

.book-info {
    padding: 24px 28px 28px;
}

.book-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.book-author {
    font-size: 0.85rem;
    color: #6c7ae0;
    margin-bottom: 12px;
}

.book-desc {
    font-size: 0.92rem;
    color: #9aa4c2;
    line-height: 1.7;
    margin-bottom: 18px;
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #6c7ae0;
    transition: all 0.3s ease;
}

.book-link:hover {
    color: #4a6cf7;
    gap: 12px;
}

/* =========================================================
   ANIME
========================================================= */

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.anime-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.anime-card:nth-child(1) { animation-delay: 0.1s; }
.anime-card:nth-child(2) { animation-delay: 0.2s; }
.anime-card:nth-child(3) { animation-delay: 0.3s; }

.anime-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 108, 247, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.anime-thumb {
    position: relative;
    background: #121826;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.anime-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #4a5268;
}

.anime-placeholder i {
    font-size: 3.5rem;
    color: #3a4258;
}

.anime-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4a5268;
}

.anime-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.anime-card:hover .anime-overlay {
    opacity: 1;
}

.btn-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4a6cf7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.3);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.4);
}

.anime-info {
    padding: 24px 28px 28px;
}

.anime-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.anime-meta {
    font-size: 0.85rem;
    color: #6c7ae0;
    margin-bottom: 12px;
}

.anime-desc {
    font-size: 0.92rem;
    color: #9aa4c2;
    line-height: 1.7;
    margin-bottom: 18px;
}

.anime-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #6c7ae0;
    transition: all 0.3s ease;
}

.anime-link:hover {
    color: #4a6cf7;
    gap: 12px;
}

/* =========================================================
   PROJECTS (Upcoming & Ongoing)
========================================================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.ongoing-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.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:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: rgba(74, 108, 247, 0.2);
}

.project-card.ongoing {
    border-left: 4px solid #4a6cf7;
}

.project-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a94b4;
    background: rgba(138, 148, 180, 0.08);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 0.95rem;
    color: #9aa4c2;
    line-height: 1.7;
    margin-bottom: 18px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #8a94b4;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    color: #6c7ae0;
}

.project-progress {
    margin-bottom: 16px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4a6cf7, #6c7ae0);
    border-radius: 999px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #8a94b4;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #0d111f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-desc {
    font-size: 0.92rem;
    color: #8a94b4;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: #8a94b4;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-column ul li a i {
    font-size: 0.85rem;
    color: #6c7ae0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #667087;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0d111f;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .projects-grid,
    .ongoing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .book-card,
    .anime-card {
        min-width: 100%;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-badge .badge-pulse {
        animation: none;
    }

    .about-card,
    .book-card,
    .anime-card,
    .project-card {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
/* =========================================================
   ACTIVE NAV LINK
========================================================= */

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::after {
    width: 100%;
}

/* =========================================================
   PAGE TRANSITIONS
========================================================= */

body {
    animation: pageFade 0.3s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

