* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #9333ea;
    --primary-dark: #7e22ce;
    --primary-light: #a855f7;
    --secondary: #ec4899;
    --accent: #f472b6;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --text-main: #1f2937;
    --text-gray: #4b5563;
    --text-light: #9ca3af;
    --white: #ffffff;
    --light-bg: #f5f3ff;
    --border: #e5e7eb;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    color: var(--text-main);
    background: var(--white);
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: all 0.3s;
}

.main-wrapper {
    flex: 1;
}

.intro-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.intro-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-heading {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.intro-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.action-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.content-section p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.text-block {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-block strong {
    color: var(--text-main);
    font-weight: 600;
}

.items-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.item-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.item-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.box-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.box-description {
    color: var(--text-gray);
    line-height: 1.75;
    font-size: 0.95rem;
}

.highlight-section {
    background: var(--light-bg);
    padding: 4rem 2rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: center;
}

.highlight-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.highlight-section p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-box {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.game-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.game-header {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
}

.game-body {
    padding: 2rem;
}

.game-body h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.game-body p {
    color: var(--text-gray);
    line-height: 1.75;
    font-size: 0.95rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item-box {
    text-align: center;
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-item-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-item-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.map-wrapper {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 440px;
    border: 0;
}

.page-banner {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumb-container {
    padding: 1.25rem 0;
    background: var(--light-bg);
    font-size: 0.9rem;
}

.breadcrumb-container a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-container span {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    color: var(--text-main);
}

.content-wrapper h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-main);
}

.content-wrapper h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-main);
}

.content-wrapper p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.content-wrapper ul, .content-wrapper ol {
    margin: 1.25rem 0 1.25rem 2rem;
    line-height: 1.8;
}

.content-wrapper li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.error-wrapper {
    text-align: center;
    padding: 6rem 2rem;
}

.error-code {
    font-size: 9rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.error-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.error-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 6rem 2.5rem 2rem;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-button {
        display: block;
    }

    .intro-heading {
        font-size: 2.25rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .items-container,
    .games-container {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    .intro-section {
        padding: 3.5rem 0;
    }

    .intro-heading {
        font-size: 1.875rem;
    }

    .intro-description {
        font-size: 1rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 2rem;
    }
}

