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

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333;
    --muted: #95a5a6;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

nav.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 0.7rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    background: var(--gradient);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 20s infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-typing {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease;
}

.typing-text {
    color: var(--primary);
    border-right: 3px solid var(--primary);
    animation: typing 3s steps(30) infinite, blink 0.5s step-end infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--primary); }
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
    line-height: 1.8;
}

/* Hero Tech Tags */
.hero-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1.5s ease;
}

.hero-tech-tags span {
    padding: 0.3rem 1rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
}

.hero-meta {
    margin-bottom: 0.8rem;
    animation: fadeInUp 1.6s ease;
}

.hero-meta span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-unity-note {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.7s ease;
}

.hero-unity-note span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.6s ease;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: white;
    transform: translateY(-3px);
}

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.btn-tertiary:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1.8s ease;
}

.hero-social a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.hero-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInUp 1.2s ease;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: morph 6s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 70% 30% 70% 30% / 30% 70% 30% 70%; }
    50% { border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%; }
    75% { border-radius: 70% 30% 70% 30% / 70% 30% 70% 30%; }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
    color: var(--primary);
}

.card-1 {
    top: 0;
    left: -20%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -20%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 0;
    left: -10%;
    animation-delay: 2s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

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

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* About */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 20px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    padding: 1.5rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.experience-badge .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Skills */
.skills {
    background: white;
}

.skills-grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--primary);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category ul li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.skill-category ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Experience */
.experience {
    background: var(--light);
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.experience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.experience-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
}

.company {
    display: block;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.date {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    background: var(--light);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.experience-item ul {
    list-style: none;
    padding: 0;
}

.experience-item ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.experience-item ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Projects */
.projects {
    background: white;
}

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

.project-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-item.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    gap: 0.5rem;
    transition: var(--transition);
}

.project-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.project-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 1px;
}

.project-item:hover .project-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

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

.project-links a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.project-links a:hover {
    background: var(--gradient);
    color: white;
    transform: rotate(360deg);
}

.project-info {
    padding: 1.5rem;
}

.project-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-tag {
    background: var(--gradient);
    color: white;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.tech-stack span {
    padding: 0.2rem 0.8rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--primary);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Game Development Section */
.game-dev {
    background: var(--light);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: #666;
    line-height: 1.8;
}

.game-category-title {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.game-category-title i {
    color: var(--primary);
}

.game-category-title:first-of-type {
    margin-top: 0;
}

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

.game-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.game-item.featured-game {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-left-color: #f1c40f;
    border: 2px solid #f1c40f;
}

.game-icon {
    font-size: 2rem;
    color: var(--primary);
    min-width: 50px;
    text-align: center;
    padding-top: 0.2rem;
}

.game-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.game-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.game-info .tech-stack {
    margin-top: 0;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    margin-right: 0.8rem;
    padding: 0.4rem 1.2rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.game-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.game-link.secondary {
    background: var(--dark);
}

.game-link.secondary:hover {
    background: var(--primary);
}

/* Game Resources */
.game-resources {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.game-resources h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.game-resources h3 i {
    color: var(--primary);
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--light);
    color: var(--dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.resource-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

/* Project Details */
.project-details {
    background: var(--dark);
    color: white;
}

.project-details .section-title {
    color: white;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.details-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.details-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.details-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.details-card h3 {
    margin-bottom: 0.5rem;
}

.details-card p {
    opacity: 0.8;
}

.details-card .role {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 1rem;
    background: var(--gradient);
    border-radius: 50px;
    font-size: 0.8rem;
}

.details-description {
    margin-bottom: 3rem;
}

.details-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.details-description ul {
    list-style: none;
    padding: 0;
}

.details-description ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
    line-height: 1.6;
}

.details-description ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.tech-details {
    margin-bottom: 3rem;
}

.tech-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-item ul {
    list-style: none;
    padding: 0;
}

.tech-item ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.tech-item ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.results-section {
    margin-top: 2rem;
}

.results-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.result-item i {
    color: #48bb78;
    font-size: 1.2rem;
}

/* Contact */
.contact {
    background: var(--dark);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-line {
    background: var(--gradient);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-card h4 {
    margin-bottom: 0.3rem;
}

.contact-card p {
    opacity: 0.7;
}

.contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: white;
    transform: translateX(5px);
}

.contact-message {
    display: flex;
    align-items: center;
}

.contact-card.large {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.contact-card.large h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-card.large p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links-large {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links-large a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links-large a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: #0d0d1a;
    color: white;
    padding: 3rem 0;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero-tech-tags {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-typing {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid-categories {
        grid-template-columns: 1fr 1fr;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .game-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .game-category-title {
        font-size: 1.4rem;
    }
    
    .game-link {
        display: inline-block;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        padding: 0.3rem 1rem;
    }
    
    .resource-links {
        flex-direction: column;
    }
    
    .resource-link {
        justify-content: center;
    }
    
    .profile-placeholder {
        font-size: 6rem;
    }
    
    .about-placeholder {
        font-size: 5rem;
    }
    
    .project-placeholder {
        height: 200px;
        font-size: 2rem;
    }
    
    .project-placeholder i {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .skills-grid-categories {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        display: none;
    }
    
    .contact-card.large {
        padding: 1.5rem;
    }
    
    .social-links-large {
        justify-content: center;
    }
}