/* Portfolio Styles */
body {
    background: #fff;
    color: #2d3748;
}

/* Game Icon Button */
.game-icon-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.game-icon-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .name {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text .title {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text .bio {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: #fff;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1a202c;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #4a5568;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background: #f7fafc;
}

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

.skill-category {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 20px;
}

.skill-category ul li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.skill-category ul li:last-child {
    border-bottom: none;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: #fff;
}

.projects-grid {
    display: grid;
    gap: 50px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.project-card:nth-child(even) .project-image {
    order: 2;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-link {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #fff;
    color: #667eea;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.project-info p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: #edf2f7;
    color: #667eea;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: #f7fafc;
}

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

.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid #f7fafc;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 25px;
    width: 2px;
    height: calc(100% - 25px);
    background: #e2e8f0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 5px;
}

.timeline-content .company {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-content .duration {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
}

.responsibilities {
    list-style: disc;
    padding-left: 20px;
}

.responsibilities li {
    color: #4a5568;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact .section-title::after {
    background: #fff;
}

.contact-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.social-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-btn:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-btn i {
    margin-right: 8px;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-location {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text .name {
        font-size: 2.5rem;
    }

    .hero-text .title {
        font-size: 1.2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .project-card,
    .project-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) .project-image {
        order: 1;
    }

    .game-icon-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
        top: 20px;
        right: 20px;
    }
}