:root {
    --primary-color: #ff70a6;
    --bg-color: #1a1a2e;
    --text-color: #ffffff;
    --accent-color: #a29bfe;
    --card-bg: #16213e;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --discord-color: #5865F2;
    --twitter-color: #1DA1F2;
    --python-color: #306998;
    --cpp-color: #00599C;
    --csharp-color: #68217A;
}

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

body {
    color-scheme: dark;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #f3f6ff;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

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

/* Star field effect */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: url('https://raw.githubusercontent.com/JulianLaval/canvas-particle-network/master/img/demo-bg.jpg');
    opacity: 0.18;
    background-size: cover;
    background-repeat: repeat;
}

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

.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 10px rgba(255, 112, 166, 0.3);
}

h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.8;
}

section {
    margin-bottom: 5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.skill-card:nth-child(1):hover {
    border-color: var(--python-color);
}

.skill-card:nth-child(2):hover {
    border-color: var(--cpp-color);
}

.skill-card:nth-child(3):hover {
    border-color: var(--csharp-color);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.interest-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.project-links {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent-color);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.game-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.game-detail {
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Social Section */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card.discord:hover {
    background: var(--discord-color);
}

.social-card.twitter:hover {
    background: var(--twitter-color);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

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

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem;
    max-width: 1100px;
    margin: 4rem auto 2rem auto;
    padding: 0 1.5rem;
    z-index: 1;
}

.profile-card {
    grid-column: span 2;
    padding: 2.5rem 1.7rem 1.7rem 1.7rem;
    align-items: center;
    text-align: center;
    position: relative;
}

.profile-title {
    justify-content: center;
    width: 100%;
    margin-bottom: 0.7rem;
}

.profile-emoji {
    font-size: 1.5rem;
}

.profile-name-gradient {
    background: linear-gradient(90deg, #a29bfe 30%, #ff70a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: 0.01em;
    text-shadow: 0 0 16px #a29bfe88, 0 0 32px #ff70a655;
    animation: glowText 2.5s ease-in-out infinite alternate;
    display: inline-block;
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.profile-desc {
    margin-bottom: 1.1rem;
    color: #fff;
    opacity: 0.85;
    font-size: 1.08rem;
}

.profile-social {
    display: flex;
    gap: 1.1rem;
    margin-top: 0.2rem;
}

.social-btn {
    font-size: 1.7rem;
    color: var(--accent-color);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), color 0.18s;
    text-decoration: none;
}

.social-btn:hover {
    color: var(--primary-color);
    transform: scale(1.35) rotate(-8deg);
    filter: drop-shadow(0 0 8px #ff70a6cc);
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 2.2rem 1.7rem 1.7rem 1.7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1.5px solid rgba(162,155,254,0.10);
    transition: box-shadow 0.2s, border 0.2s;
    min-width: 0;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(162,155,254,0.10);
    border: 1.5px solid var(--accent-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.1rem;
    letter-spacing: 0.01em;
}

.card-content {
    color: #fff;
    opacity: 0.92;
    font-size: 1.05rem;
    line-height: 1.7;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    opacity: 0.92;
    font-size: 1.05rem;
    line-height: 2.1;
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
}

.game-entry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.game-title {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.08rem;
}

.game-detail {
    color: #fff;
    opacity: 0.8;
    font-size: 0.98rem;
    margin-left: 0.1rem;
}

.chunithm-link {
    color: #e0e6ff;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: color 0.18s, text-shadow 0.18s, background 0.18s;
    border-radius: 6px;
    padding: 0.1em 0.2em;
}

.chunithm-link:hover .game-title {
    color: #ff70a6;
    text-shadow: 0 0 8px #ff70a6cc, 0 0 2px #fff;
}

.chunithm-link:hover {
    background: rgba(255,112,166,0.08);
}

.minigame-btn {
    display: inline-block;
    margin-top: 1.3rem;
    background: linear-gradient(90deg, #ff70a6 30%, #a29bfe 70%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
    padding: 0.7em 2.2em;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 12px #a29bfe33;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
    letter-spacing: 0.5px;
}

.minigame-btn:hover {
    background: linear-gradient(90deg, #a29bfe 30%, #ff70a6 70%);
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 4px 24px #ff70a6aa;
}

.minigame-float-btn {
    position: fixed;
    right: 2.2rem;
    bottom: 2.2rem;
    z-index: 1000;
    background: rgba(162,155,254,0.13);
    color: #a29bfe;
    border: 1.5px solid #a29bfe;
    border-radius: 1.2em;
    padding: 0.55em 1.5em;
    font-size: 1.08rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 12px #a29bfe22;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.18s;
    letter-spacing: 0.2px;
    cursor: pointer;
    outline: none;
    display: inline-block;
}

.minigame-float-btn:hover {
    background: #a29bfe;
    color: #fff;
    border-color: #ff70a6;
    box-shadow: 0 4px 24px #ff70a6aa;
    transform: translateY(-2px) scale(1.04);
    text-decoration: none;
}

.games-card .game-title {
    font-weight: 500;
    font-size: 0.98em;
    margin-bottom: 0.05em;
    display: block;
    text-align: left;
    color: #e0e6ff;
}

.games-card .game-detail {
    color: #b3b8d6;
    font-size: 0.93em;
    font-weight: 400;
    margin-left: 0;
    display: block;
    text-align: left;
    margin-bottom: 0.15em;
}

.games-card .chunithm-link {
    color: #e0e6ff;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: color 0.18s, text-shadow 0.18s, background 0.18s;
    border-radius: 6px;
    padding: 0.1em 0.2em;
}

.games-card .chunithm-link:hover .game-title {
    color: #ff70a6;
    text-shadow: 0 0 8px #ff70a6cc, 0 0 2px #fff;
}

.games-card .chunithm-link:hover {
    background: rgba(255,112,166,0.08);
}

.toast {
    position: fixed;
    right: 2.2rem;
    bottom: 2.2rem;
    min-width: 180px;
    max-width: 90vw;
    background: rgba(30,34,60,0.97);
    color: #fff;
    padding: 1.1em 1.6em;
    border-radius: 1em;
    font-size: 1.08em;
    box-shadow: 0 4px 24px 0 rgba(31,38,135,0.13);
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    transition: opacity 0.5s cubic-bezier(.4,2,.6,1), transform 0.5s cubic-bezier(.4,2,.6,1);
    transform: translateY(30px);
}

.toast-show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast-hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
}

.ripple {
    position: fixed;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    animation: ripple 1s linear;
    pointer-events: none;
    z-index: 9999;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@media (max-width: 700px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 0.5rem;
    }
    .card {
        padding: 1.2rem 0.7rem 1.1rem 0.7rem;
    }
}

.social-center {
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
}

.music-controls {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.music-btn {
    background: rgba(162, 155, 254, 0.1);
    color: #a29bfe;
    border: 1px solid rgba(162, 155, 254, 0.2);
    border-radius: 12px;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-btn svg {
    width: 22px;
    height: 22px;
    stroke: #a29bfe;
}

.music-btn.play {
    background: rgba(162, 155, 254, 0.2);
}

.music-btn:hover {
    background: rgba(162, 155, 254, 0.25);
    transform: translateY(-2px);
} 