:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --bg-color: #1A1A2E;
    --text-light: #FFFFFF;
    --text-dark: #2d3436;
    --card-bg: rgba(255, 255, 255, 0.95);
    /* Mishika's Favorites */
    --mishi-pink: #FF9A9E;
    --mishi-purple: #C297D8;
    --mishi-blue: #89CFF0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Space Background Animation */
#stars, #stars2, #stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
}
#stars {
    box-shadow: 200px 100px #FFF, 400px 300px #FFF, 800px 150px #FFF, 600px 500px #FFF, 150px 700px #FFF, 900px 800px #FFF, 50px 400px #FFF;
    width: 2px;
    height: 2px;
    animation: animStar 50s linear infinite;
}
#stars2 {
    box-shadow: 100px 200px #FFF, 300px 400px #FFF, 700px 300px #FFF, 500px 800px #FFF, 250px 600px #FFF, 800px 900px #FFF, 150px 100px #FFF;
    width: 3px;
    height: 3px;
    animation: animStar 100s linear infinite;
}

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    animation: slideDown 1s ease-out;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    background: var(--text-light);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

h1 {
    font-family: 'Comic Neue', cursive;
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px var(--primary);
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
    transform: rotate(-2deg);
    transition: transform 0.2s;
}

.badge:nth-child(even) {
    background: var(--primary);
    color: white;
    transform: rotate(2deg);
}

.badge:hover {
    transform: scale(1.1) rotate(0deg);
}

.bio {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Projects Section */
.projects {
    margin-top: 3rem;
    text-align: center;
}

h2 {
    font-family: 'Comic Neue', cursive;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    top: -5px;
}

.project-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.vibe-case-bg {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
}

.placeholder-bg {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.project-info {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.project-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.play-btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    transition: background 0.2s;
}

.project-card:hover .play-btn {
    background: #45b8b0;
    transform: scale(1.05);
}

.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    top: 0;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 5rem;
    padding: 2rem;
    border-top: 2px dashed rgba(255,255,255,0.2);
    font-size: 1.1rem;
}

/* About Page Specifics */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.about-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    color: var(--text-dark);
    transition: transform 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.about-card:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-card.pink { border-top: 8px solid var(--mishi-pink); }
.about-card.purple { border-top: 8px solid var(--mishi-purple); }
.about-card.blue { border-top: 8px solid var(--mishi-blue); }

.about-card.conversational {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-direction: column; /* Changed to column for a hybrid tile/sentence look */
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.about-card.conversational p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-card.conversational .icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.about-card h3 {
    font-family: 'Comic Neue', cursive;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.back-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--mishi-pink);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.4);
    transition: all 0.3s;
}

.back-btn:hover {
    background: var(--mishi-purple);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(194, 151, 216, 0.5);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.nav-item {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-item:hover {
    border-bottom: 2px solid var(--accent);
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
