@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FD2E48;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #FD2E48;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 120px 20px 60px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-content-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(253, 46, 72, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00D4AA;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title-centered {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.hero-description-centered {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons-centered {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: #FD2E48;
    color: white;
    box-shadow: 0 4px 15px rgba(253, 46, 72, 0.3);
}

.btn-primary:hover {
    background: #e02640;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 46, 72, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}



/* ===== Section Styles ===== */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.highlight-text {
    color: #FD2E48;
    font-weight: 700;
}

/* ===== Blogs Section ===== */
.blogs-section {
    padding: 100px 20px;
    background: white;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(253, 46, 72, 0.2);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #FD2E48 0%, #ff6b85 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
    opacity: 1;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

.blog-author {
    font-weight: 600;
    color: #FD2E48;
}

.blog-read {
    font-style: italic;
}

.blogs-cta {
    text-align: center;
}

/* ===== Platformer Section ===== */
.platformer-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.platformer-header {
    text-align: center;
    margin-bottom: 50px;
}

.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    border-radius: 20px;
    border: 5px solid #FD2E48;
    box-shadow: 0 10px 50px rgba(253, 46, 72, 0.3);
    max-width: 100%;
    height: auto;
}

.desktop-only {
    display: block;
}

/* ===== Games Section ===== */
.games-section {
    padding: 100px 20px;
    background: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 46, 72, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FD2E48;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    text-decoration: none;
}

.play-btn i {
    margin-left: 3px;
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(253, 46, 72, 0.4);
    text-decoration: none;
}

.game-info {
    padding: 25px;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.game-info p {
    color: #666;
    line-height: 1.6;
}

.games-cta {
    text-align: center;
}

/* ===== Team Section ===== */
.team-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(253, 46, 72, 0.2);
}

.team-image {
    margin-bottom: 25px;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(253, 46, 72, 0.3);
    border: 3px solid #FD2E48;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-avatar i {
    font-size: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FD2E48 0%, #e02640 100%);
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.team-role {
    color: #FD2E48;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    font-size: 24px;
    color: #FD2E48;
}

/* ===== Social Section ===== */
.social-section {
    padding: 100px 20px;
    background: white;
}

.gmail-cta {
    text-align: center;
    margin-bottom: 50px;
}

.btn-gmail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: #FD2E48;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(253, 46, 72, 0.3);
}

.btn-gmail:hover {
    background: #e02640;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 46, 72, 0.4);
}

.btn-gmail i {
    font-size: 20px;
}

.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-card i {
    font-size: 32px;
    transition: all 0.3s ease;
}

.social-card.twitter {
    border: 2px solid #1DA1F2;
}

.social-card.twitter:hover {
    background: #1DA1F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3);
}

.social-card.twitter i,
.social-card.twitter span {
    color: #1DA1F2;
}

.social-card.twitter:hover i {
    color: white;
    transform: scale(1.2) rotate(5deg);
}

.social-card.github {
    border: 2px solid #333;
}

.social-card.github:hover {
    background: #333;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.3);
}

.social-card.github i,
.social-card.github span {
    color: #333;
}

.social-card.github:hover i {
    color: white;
    transform: scale(1.2) rotate(-5deg);
}

.social-card.youtube {
    border: 2px solid #FF0000;
}

.social-card.youtube:hover {
    background: #FF0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.social-card.youtube i,
.social-card.youtube span {
    color: #FF0000;
}

.social-card.youtube:hover i {
    color: white;
    transform: scale(1.2) rotate(5deg);
}

.social-card.itch {
    border: 2px solid #FA5C5C;
}

.social-card.itch:hover {
    background: #FA5C5C;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(250, 92, 92, 0.3);
}

.social-card.itch i,
.social-card.itch span {
    color: #FA5C5C;
}

.social-card.itch:hover i {
    color: white;
    transform: scale(1.2) rotate(-5deg);
}

.social-card.dribbble {
    border: 2px solid #EA4C89;
}

.social-card.dribbble:hover {
    background: #EA4C89;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 76, 137, 0.3);
}

.social-card.dribbble i,
.social-card.dribbble span {
    color: #EA4C89;
}

.social-card.dribbble:hover i {
    color: white;
    transform: scale(1.2) rotate(5deg);
}

.social-card.coffee {
    border: 2px solid #FFDD00;
}

.social-card.coffee:hover {
    background: #FFDD00;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 221, 0, 0.3);
}

.social-card.coffee i,
.social-card.coffee span {
    color: #FFDD00;
}

.social-card.coffee:hover i {
    color: #333;
    transform: scale(1.2) rotate(-5deg);
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 60px;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FD2E48;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
}

.footer-bottom p {
    color: #666;
    margin-bottom: 10px;
}

.footer-motto {
    color: #FD2E48;
    font-weight: 600;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
    
    .hero-content-centered {
        padding: 0 20px;
    }
    
    .hero-buttons-centered {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 12px 25px;
        width: auto;
        background: #f8f9fa;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: #FD2E48;
        color: white !important;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero-section {
        padding: 100px 20px 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        gap: 15px;
    }
    
    .hero-buttons-centered {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .hero-title-centered {
        font-size: 2rem;
    }
    
    .hero-description-centered {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .social-grid {
        gap: 12px;
    }
    
    .social-card {
        width: 60px;
        height: 60px;
    }
    
    .social-card i {
        font-size: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
