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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a, #3b1e39, #0f172a);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
}

/* Animated Gradient */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Glow */
.background-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #487378, transparent 70%);
    filter: blur(150px);
    top: -200px;
    right: -200px;
    z-index: -1;
}

/* HERO */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #e3e3e3;
    object-fit: cover;
    margin-bottom: 20px;
    transition: 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.08) rotate(2deg);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.subtitle {
    opacity: 0.7;
    margin-bottom: 30px;
}

/* SOCIAL BUTTONS */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.social img {
    width: 20px;
    height: 20px;
}

.social:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(241, 99, 165, 0.6);
}

/* SECTION BASE */
.section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 50px;
    border-radius: 25px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    border-left: 4px solid rgba(241, 99, 165, 0.6);
    padding-left: 15px;
}

/* PROJECTS */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 25px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(241, 99, 194, 0.1), rgba(0,0,0,0.3));
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(241, 99, 165, 0.6);
}

.project-card h3 {
    margin-bottom: 10px;
}

.project-card button {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    background: #6366f1;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.project-card button:hover {
    background: #4f46e5;
}

/* GAMES GRID */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.game-square {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    background: #111827;
    transition: 0.4s ease;
    position: relative;
}

.game-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.game-square:hover img {
    transform: scale(1.1);
}

.game-square:hover {
    box-shadow: 0 0 25px rgba(99,102,241,0.7);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    opacity: 0.5;
}