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

:root {
    --primary-bg: #f8f9fa;
    --secondary-bg: #ffffff;
    --accent: #4ECDC4;
    --accent-alt: #FF85B3;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.08) 0%, rgba(255, 133, 179, 0.08) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 133, 179, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(135deg, #4ECDC4, #00B4DB);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(78, 205, 196, 0.4);
    filter: brightness(1.1);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 133, 179, 0.1);
    border: 1px solid var(--accent-alt);
    color: var(--accent-alt);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

/* Latest Work Section */
.latest-work {
    padding: 5rem 0;
    background: #ffffff;
}

.latest-work h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.latest-work-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.latest-work-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.latest-work-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.latest-work-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.stats h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 800;
    color: var(--text-primary);
}

.stats-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.stat-card {
    padding: 3rem 2rem;
    border-radius: 28px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 4rem;
    flex-shrink: 0;
    z-index: 2;
    opacity: 0.9;
}

.stat-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.stat-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    text-transform: uppercase;
    opacity: 0.95;
}

.stat-description {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    opacity: 0.85;
}

/* Projects Carousel */
.projects {
    padding: 5rem 0;
    background: #ffffff;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-primary);
}

.projects-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transform: translateX(0);
    transition: transform 0.5s ease;
}

.project-card {
    flex: 0 0 300px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(78, 205, 196, 0.25);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
    padding: 12px;
}

.game-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    opacity: 0.9;
    z-index: 1;
}

.game-icon-img {
    display: none;
}

.game-stats {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    padding: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.game-visits {
    padding: 1.5rem;
    padding-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.projects-action {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.view-more-btn {
    background: linear-gradient(135deg, #4ECDC4, #00B4DB);
    color: #ffffff;
    border: none;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #ffffff;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f5f9f9;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 4rem;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.social-icon {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.3s ease;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon.discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #1a8cd8);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
}

.mascot {
    animation: bounce 2s infinite;
}

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

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    color: var(--text-secondary);
}

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

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-badge {
        position: static;
        margin-top: 1rem;
    }

    .latest-work-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 2rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats h2 {
        font-size: 2rem;
    }

    .carousel-container {
        flex-direction: column;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .project-card {
        flex: 0 0 250px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem;
    }

    .stat-icon {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .project-card {
        flex: 0 0 200px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-icon {
        width: 100%;
    }
}
