/* ========================================
   NekoLabs.me - Kawaii Tech Website
   ======================================== */

/* Local Font */
@font-face {
    font-family: 'Nunito';
    src: url('./Nunito/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('./Nunito/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --blue: #3B82F6;
    --blue-dark: #2563EB;
    --orange: #F97316;
    --orange-dark: #EA580C;
    --pink: #EC4899;
    --pink-light: #F9A8D4;
    --purple: #A855F7;
    --cyan: #06B6D4;
    --yellow: #FBBF24;
    --green: #22C55E;
    --dark: #1F2937;
    --darker: #111827;
    --light: #F3F4F6;
    --white: #FFFFFF;
    
    --gradient-primary: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
    --gradient-bg: linear-gradient(180deg, #FFF5F7 0%, #F0F9FF 50%, #FFF5F7 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.4);
    --shadow-glow-orange: 0 0 20px rgba(249, 115, 22, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--gradient-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Sparkles Animation
   ======================================== */

.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--yellow);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkle-float 3s ease-in-out infinite;
    opacity: 0;
}

@keyframes sparkle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.brand-neko {
    color: var(--blue);
}

.brand-labs {
    color: var(--orange);
}

.brand-me {
    color: var(--pink);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.logo-container {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.logo {
    max-width: 600px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 25px;
    opacity: 0.9;
}

.coming-soon-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.coming-soon-badge span {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow-orange);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.about-content-centered {
    text-align: center;
    margin-bottom: 50px;
}

.about-text {
    font-size: 1.2rem;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto;
}

.about-text a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-text a:hover {
    color: var(--blue);
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.project-status {
    display: inline-block;
    margin-top: 10px;
    color: var(--pink);
    font-weight: 600;
    font-size: 0.9rem;
}

.social-link.website {
    background: var(--gradient-secondary);
}

.footer a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--pink-light);
}

.footer-sub {
    opacity: 0.8;
    margin-bottom: 5px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.text-blue {
    color: var(--blue);
}

.text-orange {
    color: var(--orange);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--orange);
    border: 3px solid var(--orange);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gradient-secondary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 2.5rem;
    animation: float-around 6s ease-in-out infinite;
    opacity: 0.7;
}

.float-item.flask {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    font-size: 2.8rem;
}

.float-item.computer {
    top: 25%;
    right: 12%;
    animation-delay: 1s;
    font-size: 2.5rem;
}

.float-item.star {
    bottom: 30%;
    left: 12%;
    animation-delay: 2s;
}

.float-item.paw {
    bottom: 25%;
    right: 8%;
    animation-delay: 3s;
}

.float-item.sparkle1 {
    top: 35%;
    left: 5%;
    animation-delay: 0.5s;
    font-size: 2rem;
}

.float-item.sparkle2 {
    top: 20%;
    right: 25%;
    animation-delay: 2.5s;
    font-size: 1.8rem;
}

.float-item.cat {
    top: 45%;
    right: 5%;
    animation-delay: 1.5s;
    font-size: 2.2rem;
}

.float-item.heart {
    bottom: 40%;
    left: 20%;
    animation-delay: 3.5s;
    font-size: 1.8rem;
}

.float-item.code {
    top: 55%;
    left: 3%;
    animation-delay: 4s;
    font-size: 2rem;
}

.float-item.potion {
    bottom: 15%;
    right: 20%;
    animation-delay: 0.8s;
    font-size: 2.3rem;
}

.float-item.star2 {
    top: 10%;
    left: 25%;
    animation-delay: 2.2s;
    font-size: 2rem;
}

.float-item.diamond {
    bottom: 35%;
    right: 25%;
    animation-delay: 1.8s;
    font-size: 1.6rem;
}

.float-item.rocket {
    top: 60%;
    right: 3%;
    animation-delay: 4.5s;
    font-size: 2rem;
}

.float-item.pixel {
    bottom: 20%;
    left: 5%;
    animation-delay: 3.2s;
    font-size: 2rem;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-5px, -30px) rotate(-5deg);
    }
    75% {
        transform: translate(-15px, -10px) rotate(3deg);
    }
}

/* ========================================
   About Section
   ======================================== */

.about {
    padding: 100px 20px;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark);
}

.section-title .emoji {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--gradient-bg);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--dark);
    opacity: 0.8;
}

/* ========================================
   Projects Section
   ======================================== */

.projects {
    padding: 100px 20px;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFF5F7 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--orange);
    box-shadow: var(--shadow-glow-orange);
}

.project-image {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:nth-child(2) .project-image {
    background: var(--gradient-secondary);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
}

.project-emoji {
    font-size: 5rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.project-content p {
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--light);
    color: var(--blue);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: 100px 20px;
    background: var(--white);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 40px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-link {
    padding: 15px 30px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.social-link.github {
    background: var(--dark);
}

.social-link.discord {
    background: #5865F2;
}

.social-link.twitter {
    background: #1DA1F2;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
}

.contact-email a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--blue);
}

.paw-icon {
    animation: paw-wave 1s ease-in-out infinite;
}

@keyframes paw-wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--darker);
    color: var(--white);
    padding: 40px 20px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-jp {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .logo {
        max-width: 500px;
    }
    
    .float-item {
        font-size: 2rem;
    }
    
    .float-item.flask {
        left: 5%;
    }
    
    .float-item.computer {
        right: 5%;
    }
    
    .float-item.star {
        left: 8%;
    }
    
    .float-item.paw {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
        flex-direction: row;
        gap: 0;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 80px 15px 60px;
        min-height: auto;
    }
    
    .logo {
        max-width: 320px;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .coming-soon-badge span {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .about {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .about-text {
        font-size: 1.05rem;
        padding: 0 10px;
    }
    
    .float-item {
        font-size: 1.5rem;
        opacity: 0.5;
    }
    
    .contact {
        padding: 50px 15px;
    }
    
    .contact-email {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }
    
    .footer {
        padding: 30px 15px;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 12px;
        justify-content: center;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 70px 12px 50px;
    }
    
    .logo {
        max-width: 260px;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
    }
    
    .coming-soon-badge span {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .about {
        padding: 50px 12px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .float-item {
        display: none;
    }
    
    .contact {
        padding: 40px 12px;
    }
    
    .contact-email {
        font-size: 1rem;
    }
    
    .contact-email a {
        word-break: break-all;
    }
    
    .footer {
        padding: 25px 12px;
    }
    
    .footer-content p {
        font-size: 0.85rem;
    }
    
    .footer-jp {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: 220px;
    }
    
    .hero-tagline {
        font-size: 0.85rem;
    }
    
    .coming-soon-badge span {
        font-size: 0.8rem;
        padding: 7px 14px;
    }
    
    .btn {
        max-width: 220px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    .contact-email {
        font-size: 0.9rem;
    }
}

/* ========================================
   Scrollbar Styling
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}

/* ========================================
   Selection Styling
   ======================================== */

::selection {
    background: var(--pink-light);
    color: var(--dark);
}
