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

html {
    overflow-x: hidden;
}

:root {
    --orange: #FD831B;
    --dark-gray: #453636;
    --light-gray: #999999;
    --white: #FFFFFF;
}

body {
    font-family: 'Varela Round', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden; /* hide off-screen decorative elements */
}

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

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.nav {
    display: flex;
    gap: 30px;
}

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

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

/* Hero Section */
.hero {
    background: var(--orange);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

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

.hero-circle {
    width: 400px;
    height: 400px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-main-image {
    margin-left: 10px;
    width: 160%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-characters {
    width: 120%;
    height: 120%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.character-placeholder {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.char-left,
.char-right {
    width: 120px;
    height: 200px;
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
    border-radius: 20px;
    position: relative;
}

.char-right {
    background: linear-gradient(135deg, #87CEEB 0%, #4169E1 100%);
}

.char-left::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 20px;
    background: #D2B48C;
    border-radius: 10px;
}

.char-right::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 20px;
    background: #D2B48C;
    border-radius: 10px;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: var(--white);
    line-height: 1.6;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}



.section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.game-entry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}

.game-entry.reverse {
    direction: rtl;
}

.game-entry.reverse > * {
    direction: ltr;
}

.game-thumbnail {
    position: relative;
    overflow: visible;
}

.game-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 3;
}

.game-thumbnail::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background: var(--orange);
    z-index: 2;
}



.game-details h3 {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.game-details p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.wishlist-button {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.wishlist-button:hover {
    opacity: 0.8;
}

.wishlist-button {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.wishlist-image {
    height: 50px;
    width: auto;
    display: block;
}

/* About Section */
.about-section {
    background: var(--dark-gray);
    padding: 100px 0;
}

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

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

.character-heads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    justify-items: center;
}

.character-head {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    margin: -40px;
    position: relative;
}

.character-head:nth-child(1) {
    transform: translateX(-60px) translateY(15px);
    z-index: 10;
}

.character-head:nth-child(2) {
    transform: translateX(-45px) translateY(20px);
    z-index: 10;
}

.character-head:nth-child(3) {
    transform: translateX(-10px) translateY(10px);
    z-index: 7;
}

.character-head:nth-child(4) {
    transform: translateX(10px) translateY(10px);
    z-index: 6;
}

.about-text h2 {
    font-size: 42px;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 18px;
    color: var(--white);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
}

.contact-section .container,
.career-section .container {
    padding-left: 40px;
}

.contact-section h2,
.career-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.contact-section p,
.career-section p {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    background: var(--orange);
    color: var(--dark-gray);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-button:hover {
    background: #D46F17;
    color: var(--white);
}

/* Career Section */
.career-section {
    padding: 80px 0;
    background: var(--white);
}

/* Footer */
.footer {
    position: relative;
    z-index: 0;
    overflow: visible;
}

.footer-top {
    background: var(--orange);
    padding: 40px 0;
    position: relative;
}

.footer-top p {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.footer-top .container {
    text-align: center;
}

.footer-top p::before,
.footer-top p::after {
    content: '↓';
    color: var(--white);
    font-size: 24px;
    margin: 0 15px;
    vertical-align: middle;
}

.footer::after {
    content: '';
    position: absolute;
    right: -175px;
    top: -175px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--orange);
    z-index: -1;
}

.footer-bottom {
    background: var(--dark-gray);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.follow-us {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.press-kit-button {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.press-kit-button:hover {
    opacity: 0.8;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .footer::after {
        display: none;
    }
    
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    
    .games-section {
        padding: 50px 0;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .career-section {
        padding: 40px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hero-content,
    .game-entry,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .game-entry.reverse {
        direction: ltr;
    }
    
    .game-entry.reverse .game-thumbnail {
        order: 1;
    }
    
    .game-entry.reverse .game-details {
        order: 2;
    }

    .hero-circle {
        width: 300px;
        height: 300px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .game-details h3 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .footer-top p {
        font-size: 20px;
    }
}
