/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --candy-pink: #ff6b9d;
    --candy-purple: #c77dff;
    --candy-blue: #6b9fff;
    --candy-light-pink: #ffb3d9;
    --candy-light-purple: #e0b3ff;
    --candy-light-blue: #b3d9ff;
    --candy-dark-pink: #ff4d7a;
    --candy-dark-purple: #a855f7;
    --candy-dark-blue: #4d7aff;
    --white: #ffffff;
    --black: #1a1a1a;
    --text-dark: #2d2d2d;
    --gradient-primary: linear-gradient(135deg, var(--candy-pink) 0%, var(--candy-purple) 50%, var(--candy-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--candy-light-pink) 0%, var(--candy-light-purple) 50%, var(--candy-light-blue) 100%);
    --shadow-candy: 0 8px 32px rgba(255, 107, 157, 0.3), 0 4px 16px rgba(199, 125, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-secondary);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(199, 125, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(107, 159, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header Styles */
.site-header {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-candy);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    flex-wrap: wrap;
}

.header-logo .logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.header-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Breadcrumbs Styles */
.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.breadcrumbs-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--candy-purple);
    font-weight: 600;
}

.breadcrumbs-link {
    color: var(--candy-dark-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.breadcrumbs-link:hover {
    color: var(--candy-dark-pink);
    background: rgba(255, 107, 157, 0.1);
}

.breadcrumbs-current {
    color: var(--candy-dark-purple);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-candy);
    scroll-margin-top: 100px;
}

section h1 {
    font-size: 2.5rem;
    color: var(--candy-dark-pink);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section h2 {
    font-size: 2rem;
    color: var(--candy-dark-purple);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--candy-pink) 0%, var(--candy-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

section li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

section strong {
    color: var(--candy-dark-blue);
}

/* Banner Styles */
.banner-container {
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-candy);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-middle {
    margin: 3rem 0;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(199, 125, 255, 0.2);
}

table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(199, 125, 255, 0.1);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:nth-child(even) {
    background: rgba(255, 107, 157, 0.05);
}

/* Footer Styles */
.site-footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0 7.5rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 32px rgba(255, 107, 157, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo .logo-img {
    height: 60px;
    width: auto;
}

.footer-nav {
    display: flex;
}

.footer-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-candy);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.5);
}

.scroll-to-top.visible {
    display: flex;
}

/* Bottom Banner Bar */
.bottom-banner-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    padding: 1rem 2rem;
    box-shadow: 0 -4px 32px rgba(255, 107, 157, 0.4);
    z-index: 998;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}

.bottom-banner-bar.visible {
    display: flex;
}

.bottom-banner-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.bottom-banner-button {
    padding: 0.75rem 2rem;
    background: var(--white);
    color: var(--candy-dark-pink);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bottom-banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Accordion */
.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(199, 125, 255, 0.2);
    padding-bottom: 0.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    color: var(--candy-dark-blue);
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    user-select: none;
    margin: 0;
}

.faq-question:hover {
    color: var(--candy-dark-pink);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--candy-purple);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0.75rem 0 1rem 0;
}

/* Demo Game Container */
.demo-game-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-candy);
    background: rgba(255, 255, 255, 0.3);
}

.demo-game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 100;
    pointer-events: auto;
}

.demo-overlay.hidden {
    display: none !important;
}

.demo-overlay-button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.demo-overlay-button.play {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(255, 107, 157, 0.4);
}

.demo-overlay-button.play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.5);
}

.demo-overlay-button.demo {
    background: rgba(255, 255, 255, 0.9);
    color: var(--candy-dark-pink);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.demo-overlay-button.demo:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Header Play Button */
.header-play-button {
    padding: 0.75rem 2rem;
    background: var(--white);
    color: var(--candy-dark-pink);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: inline-block;
    flex-shrink: 0;
}

.header-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* Nav Play Button (for mobile menu) */
.nav-play-button-item {
    list-style: none;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-play-button {
    background: var(--white) !important;
    color: var(--candy-dark-pink) !important;
    font-weight: 700 !important;
}


/* 404 Error Page Styles */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 20px;
    padding: 5rem 3rem 3rem 3rem;
    box-shadow: var(--shadow-candy);
    margin: 2rem auto 0 auto;
    width: 100%;
}

.error-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 2rem;
    color: var(--candy-dark-pink);
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.4);
}

.error-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 107, 157, 0.5);
}

/* Responsive Design */

/* PC - min 1025px */
@media (min-width: 1025px) {
    .header-container,
    .footer-container,
    main {
        max-width: 1200px;
    }
}

/* Laptop - max 1024px */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-play-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-primary);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        padding: 1.5rem;
        z-index: 1001;
    }
    
    .header-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .header-play-button {
        display: none !important;
    }
    
    main {
        padding: 1.5rem;
    }
    
    .breadcrumbs {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumbs-item {
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem;
    }
    
    section h1 {
        font-size: 2.2rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .demo-game-iframe {
        height: 500px;
    }
    
    .scroll-to-top {
        bottom: 110px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .bottom-banner-bar {
        padding: 0.875rem 1.5rem;
        gap: 1rem;
    }
    
    .bottom-banner-text {
        font-size: 1rem;
    }
    
    .bottom-banner-button {
        padding: 0.65rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Tablet - max 768px */
@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 9rem;
    }
    .header-container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-primary);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        padding: 1.5rem;
    }
    
    .header-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    section {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    section h1 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    section p,
    section li {
        font-size: 1rem;
    }
    
    .banner-container {
        border-radius: 15px;
        margin: 1.5rem 0;
    }
    
    .banner-middle {
        margin: 2rem 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-nav-list {
        gap: 1rem;
        flex-direction: column;
    }
    
    .footer-nav-link {
        display: block;
        text-align: center;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.75rem;
    }
    
    .error-section {
        padding: 2rem 1.5rem;
        min-height: 50vh;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-message {
        font-size: 1.5rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-link {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .demo-game-iframe {
        height: 400px;
    }
    
    .demo-overlay-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .scroll-to-top {
        bottom: 85px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .bottom-banner-bar {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        flex-direction: column;
        border-radius: 15px 15px 0 0;
    }
    
    .bottom-banner-text {
        font-size: 0.95rem;
    }
    
    .bottom-banner-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .breadcrumbs {
        padding: 0 0.75rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumbs-item {
        font-size: 0.85rem;
    }
    
    .breadcrumbs-link,
    .breadcrumbs-current {
        padding: 0.2rem 0.4rem;
    }
}

/* Mobile L - max 425px */
@media (max-width: 425px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .header-logo .logo-img {
        height: 40px;
    }
    
    .header-nav {
        padding: 1rem;
    }
    
    main {
        padding: 0.75rem;
    }
    
    section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    section p,
    section li {
        font-size: 0.95rem;
    }
    
    section ul {
        margin-left: 1.5rem;
    }
    
    .banner-container {
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .banner-middle {
        margin: 1.5rem 0;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th,
    table td {
        padding: 0.6rem 0.5rem;
    }
    
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .error-section {
        padding: 3rem 1rem 1.5rem 1rem;
        min-height: 40vh;
        margin-top: 1rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-message {
        font-size: 1.3rem;
    }
    
    .error-description {
        font-size: 0.95rem;
    }
    
    .error-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .footer-logo .logo-img {
        height: 50px;
    }
    
    .footer-nav-list {
        gap: 0.75rem;
    }
    
    .footer-nav-link {
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }
    
    .demo-game-iframe {
        height: 350px;
    }
    
    .demo-overlay-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .header-play-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .header-play-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        bottom: 85px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .bottom-banner-bar {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        flex-direction: column;
        border-radius: 15px 15px 0 0;
    }
    
    .bottom-banner-text {
        font-size: 0.95rem;
    }
    
    .bottom-banner-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile M - max 375px */
@media (max-width: 375px) {
    .header-container {
        padding: 0.5rem 0.75rem;
    }
    
    .header-logo .logo-img {
        height: 35px;
    }
    
    main {
        padding: 0.5rem;
    }
    
    .breadcrumbs {
        padding: 0 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .breadcrumbs-item {
        font-size: 0.8rem;
    }
    
    section {
        padding: 1rem;
        border-radius: 12px;
    }
    
    section h1 {
        font-size: 1.3rem;
    }
    
    section h2 {
        font-size: 1.15rem;
    }
    
    section p,
    section li {
        font-size: 0.9rem;
    }
    
    .banner-container {
        border-radius: 10px;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    table th,
    table td {
        padding: 0.5rem 0.4rem;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .breadcrumbs {
        padding: 0 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .breadcrumbs-item {
        font-size: 0.75rem;
    }
    
    .breadcrumbs-item:not(:last-child)::after {
        margin: 0 0.3rem;
    }
    
    .error-section {
        padding: 1.25rem 0.75rem;
        min-height: 35vh;
    }
    
    .error-code {
        font-size: 4.5rem;
    }
    
    .error-message {
        font-size: 1.2rem;
    }
    
    .error-description {
        font-size: 0.9rem;
    }
    
    .error-link {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
    
    .footer-logo .logo-img {
        height: 45px;
    }
    
    .demo-game-iframe {
        height: 300px;
    }
    
    .demo-overlay-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
        min-width: 160px;
    }
    
    .header-play-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Mobile S - max 320px */
@media (max-width: 320px) {
    .breadcrumbs {
        padding: 0 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .breadcrumbs-item {
        font-size: 0.7rem;
    }
    
    .breadcrumbs-item:not(:last-child)::after {
        margin: 0 0.25rem;
    }
    
    .breadcrumbs-link,
    .breadcrumbs-current {
        padding: 0.15rem 0.3rem;
    }
    
    .error-section {
        padding: 1rem 0.75rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-message {
        font-size: 1.1rem;
    }
    
    .error-description {
        font-size: 0.85rem;
    }
    
    .error-link {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    .header-container {
        padding: 0.5rem;
    }
    
    .header-logo .logo-img {
        height: 30px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    main {
        padding: 0.5rem;
    }
    
    section {
        padding: 0.75rem;
    }
    
    section h1 {
        font-size: 1.15rem;
    }
    
    section h2 {
        font-size: 1rem;
    }
    
    section p,
    section li {
        font-size: 0.85rem;
    }
    
    section ul {
        margin-left: 1.25rem;
    }
    
    table {
        font-size: 0.75rem;
    }
    
    table th,
    table td {
        padding: 0.4rem 0.3rem;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-logo .logo-img {
        height: 40px;
    }
    
    .footer-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .error-section {
        padding: 1rem 0.75rem;
        min-height: 30vh;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-message {
        font-size: 1.1rem;
    }
    
    .error-description {
        font-size: 0.85rem;
    }
    
    .error-link {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .demo-game-iframe {
        height: 300px;
    }
    
    .scroll-to-top {
        bottom: 95px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .bottom-banner-bar {
        padding: 0.65rem 0.75rem;
        gap: 0.65rem;
    }
    
    .bottom-banner-text {
        font-size: 0.85rem;
    }
    
    .bottom-banner-button {
        padding: 0.55rem 1.25rem;
        font-size: 0.85rem;
    }
    
}

