/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.6;
    color: #374151;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: #dc2626;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.logo-text h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    line-height: 1;
}

.logo-text p {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    padding: 0.5rem 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #dc2626;
}

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    color: #111827;
}

.nav-mobile {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem;
}

.nav-mobile.show {
    display: block;
}

.nav-link-mobile {
    display: block;
    padding: 0.75rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.nav-link-mobile:hover {
    color: #dc2626;
    background: #f9fafb;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.game-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.game-intro h1 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .game-intro h1 {
        font-size: 2.25rem;
    }
}

.game-intro p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 32rem;
    margin: 0 auto;
}

.game-embed-container {
    max-width: 80rem;
    margin: 0 auto 3rem auto;
}

.game-embed {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    position: relative;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: black;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fullscreen-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

@media (min-width: 640px) {
    .fullscreen-btn {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }
}

.fullscreen-btn:hover {
    background: white;
}

.fullscreen-icon {
    width: 1rem;
    height: 1rem;
}

.gameplay-steps {
    text-align: center;
}

.steps-header {
    margin-bottom: 1.5rem;
}

.steps-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
}

.steps-header p {
    color: #4b5563;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.step-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.step-card p {
    color: #4b5563;
    font-size: 0.875rem;
}

/* Game Overview Section */
.game-overview {
    padding: 4rem 0;
    background: white;
}

.overview-header {
    margin-bottom: 2rem;
    text-align: center;
}

.overview-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
}

@media (min-width: 768px) {
    .overview-header h2 {
        font-size: 2.25rem;
    }
}

.overview-header p {
    margin-top: 0.75rem;
    color: #4b5563;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .overview-content {
        grid-template-columns: 2fr 1fr;
    }
}

.overview-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.overview-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.overview-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.overview-card p {
    color: #374151;
    margin-bottom: 1rem;
}

.overview-card p:last-child {
    margin-bottom: 0;
}

.overview-card ol {
    color: #374151;
    padding-left: 1.5rem;
}

.overview-card ol li {
    margin-bottom: 0.5rem;
}

.endings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .endings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ending-card {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 1rem;
}

.ending-card h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.ending-card ul {
    list-style: disc;
    padding-left: 1rem;
    color: #374151;
}

.ending-card li {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.upgrades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .upgrades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.upgrade-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #1f2937;
}

.upgrade-item .price {
    font-weight: 600;
    color: #111827;
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.facts-list, .tips-list {
    list-style: none;
    padding: 0;
}

.facts-list li {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.fact-title {
    font-weight: 500;
    color: #111827;
}

.tips-list {
    list-style: disc;
    padding-left: 1rem;
}

.tips-list li {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Game Videos Section */
.game-videos {
    padding: 4rem 0;
    background: #f9fafb;
}

.videos-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.videos-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
}

@media (min-width: 768px) {
    .videos-header h2 {
        font-size: 2.25rem;
    }
}

.videos-header p {
    margin-top: 0.75rem;
    color: #4b5563;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.video-card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    padding: 1rem;
}

.video-title p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .faq-header h2 {
        font-size: 2.25rem;
    }
}

.faq-header p {
    font-size: 1.125rem;
    color: #4b5563;
}

.faq-list {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question span:first-child {
    font-weight: 500;
    color: #111827;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    transition: transform 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-content {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 2rem;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background: #b91c1c;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
}

.footer-content {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text h3 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
}

.footer-logo .logo-text p {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1;
}

.footer-brand p {
    color: #9ca3af;
    max-width: 28rem;
    margin: 0 auto;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 