/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    font-size: 24px;
    line-height: 1.6;
    color: #4b2d05;
    background: #f5f5dc;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero {
    background: url('assets/images/bg.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 50px 0 100px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.hero-speech-bubble {
    background: #ffffff;
    border: 3px solid #4b2d05;
    border-radius: 20px;
    padding: 80px 30px 30px 30px;
    margin-top: -100px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: center;
    width: 100%;
}

.hero-brand {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
    letter-spacing: 2px;
}

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

/* Header removed - content moved to hero section */

/* Main content */
.main {
    margin-top: 0;
}

/* Hero section styles are now defined above with background image */

.hero-title {
    font-family: 'Rubik Mono One', monospace;
    font-size: 2.5rem;
    color: #4b2d05;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Rubik Mono One', monospace;
    font-size: 1.8rem;
    color: #4b2d05;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-family: 'VT323', monospace;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #1a3d59;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
}

.btn-secondary {
    background: transparent;
    color: #1a3d59;
    border: 2px solid #1a3d59;
}

.btn-secondary:hover {
    background: #1a3d59;
    color: #ffffff;
    transform: translate(-2px, -2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.7rem;
}



/* Image styling */
.logo-img {
    max-height: 40px;
    width: auto;
    margin-right: 15px;
    filter: drop-shadow(2px 2px 0px #1a2e38);
    object-fit: contain;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border: 4px solid #264653;
    box-shadow: 8px 8px 0px #1a2e38;
    border-radius: 8px;
    margin-bottom: 20px;
}



.feature-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border: 2px solid #4b2d05;
    margin-bottom: 20px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: transform 0.3s ease;
}

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

.gameplay-img {
    max-width: 100%;
    height: auto;
    border: 3px solid #4b2d05;
    box-shadow: 4px 4px 0px #4b2d05;
    border-radius: 6px;
}

.pixel-art-img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}



/* Sections */
section {
    padding: 80px 0;
}

section h3 {
    font-family: 'Rubik Mono One', monospace;
    font-size: 2.5rem;
    color: #0f2a3a;
    text-align: center;
    margin-bottom: 50px;
}

/* About section */
.about {
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 3px;
    background: #4b2d05;
    z-index: 1;
}

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

.about-text p {
    font-size: 1.6rem;
    color: #4b2d05;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}


.about-video {
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-video-player {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto 32px auto;
    border: 3px solid #4b2d05;
    border-radius: 20px;
    background: #000;
}

/* Features section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    text-align: center;
    border: 2px solid #1a3d59;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translate(-2px, -2px);
}



.feature-card h4 {
    font-family: 'Rubik Mono One', monospace;
    font-size: 1.4rem;
    color: #2c3400;
    margin-bottom: 15px;
}

.feature-card p {
    color: #4b2d05;
    font-size: 1.5rem;
}

/* Signup section */
.signup {
    /* Same styling as other sections */
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.signup-container p {
    font-size: 1.6rem;
    color: #4b2d05;
    margin-bottom: 40px;
}

.substack-embed {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1a3d59;
    border-radius: 8px;
    box-shadow: 4px 4px 0px #0f2a3a;
}

.substack-embed iframe {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 15px;
}

.social-media-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border: 2px solid #4b2d05;
    border-radius: 20px;
    background: #ffffff;
    color: #4b2d05;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 8px rgba(75, 45, 5, 0.1);
}

.social-link:hover {
    background: #87CEEB;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(135, 206, 235, 0.3);
}

.social-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.social-name {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #4b2d05;
}

.social-link:hover .social-name {
    color: #ffffff;
}

/* Beta Signup Section */
.beta-signup {
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e8c8 100%);
    border-top: 3px solid #4b2d05;
    border-bottom: 3px solid #4b2d05;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.beta-signup-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.beta-signup-container h3 {
    font-family: 'Rubik Mono One', monospace;
    font-size: 2.5rem;
    color: #0f2a3a;
    margin-bottom: 20px;
}

.beta-signup-container p {
    font-size: 1.6rem;
    color: #4b2d05;
    margin-bottom: 40px;
    line-height: 1.6;
}

.beta-signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.beta-signup-form .form-group input,
.beta-signup-form .form-group select {
    padding: 15px;
    border: 2px solid #4b2d05;
    border-radius: 8px;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    background: #ffffff;
    color: #4b2d05;
    width: 100%;
}

.beta-signup-form .form-group input:focus,
.beta-signup-form .form-group select:focus {
    outline: none;
    border-color: #1a3d59;
    box-shadow: 0 0 0 2px rgba(26, 61, 89, 0.2);
}

.beta-signup-form .btn {
    margin-top: 10px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 15px;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1a3d59;
    color: #1a3d59;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #8b7355;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 1);
}

.form-group select {
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #1a3d59;
    box-shadow: 0 0 0 2px rgba(26, 61, 89, 0.2);
}

.signup-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #1a3d59;
}

.benefit-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: #97a914;
    border-top: 2px solid #57660e;
    padding: 40px 0 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h4 {
    font-family: 'Rubik Mono One', monospace;
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section p {
    color: #ffffff;
    font-size: 1.4rem;
}

.social-links, .legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link, .legal-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.social-link:hover, .legal-link:hover {
    color: #87ceeb;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #0f2a3a;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 1.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border: 4px solid #57660e;
    box-shadow: 8px 8px 0px #57660e;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.modal-content h3 {
    font-family: 'Rubik Mono One', monospace;
    font-size: 1.5rem;
    color: #57660e;
    margin-bottom: 20px;
}

.modal-content p {
    color: #57660e;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

/* Responsive design - Mobile First */
@media (max-width: 480px) {
    body {
        font-size: 18px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        background-attachment: scroll;
        padding: 40px 0 60px 0;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 15px;
        gap: 15px;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .hero-speech-bubble {
        padding: 50px 15px 20px 15px;
        margin-top: -60px;
        max-width: 95%;
        border-radius: 15px;
    }
    
    .hero-brand {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    section {
        padding: 50px 0;
    }
    
    section h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .about-video-player {
        max-width: 100%;
        margin: 0 auto 20px auto;
        border-radius: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .feature-img {
        height: 100px;
        border-radius: 10px;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .social-media-links {
        gap: 10px;
        margin-top: 20px;
        padding: 0 10px;
    }
    
    .social-link {
        padding: 15px 10px;
        min-width: 80px;
        border-radius: 15px;
        flex: 1;
        max-width: 120px;
    }
    
    .social-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .social-name {
        font-size: 0.8rem;
        color: #4b2d05;
    }
    
    .social-link:hover .social-name {
        color: #ffffff;
    }
    
    .character-carousel {
        gap: 10px;
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .character-cards-wrapper {
        width: calc(100vw - 100px);
        max-width: 240px;
        height: auto;
        min-height: 300px;
    }
    
    .character-card,
    .character-card.active {
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 15px 12px 12px 12px;
        border-radius: 15px;
    }
    
    .character-portrait {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .character-name {
        font-size: 1.1rem;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .character-desc {
        font-size: 1rem;
        line-height: 1.4;
        text-align: center;
    }
    
    .beta-signup-container h3 {
        font-size: 1.8rem;
    }
    
    .beta-signup-container p {
        font-size: 1.2rem;
    }
    
    .beta-signup-form .form-group input,
    .beta-signup-form .form-group select {
        font-size: 1.2rem;
        padding: 12px;
    }
}

@media (max-width: 600px) and (min-width: 481px) {
    .hero {
        background-attachment: scroll;
        padding: 50px 0 80px 0;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .hero-speech-bubble {
        padding: 60px 20px 20px 20px;
        margin-top: -75px;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section h3 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .feature-img {
        height: 120px;
    }
    
    .about-video-player {
        max-width: 100%;
    }
    
    .social-media-links {
        gap: 15px;
    }
    
    .social-link {
        padding: 20px 15px;
        min-width: 100px;
        border-radius: 15px;
    }
    
    .social-icon {
        font-size: 1.5rem;
    }
    
    .social-name {
        font-size: 0.9rem;
        color: #4b2d05;
    }
    
    .social-link:hover .social-name {
        color: #ffffff;
    }
    
    .character-cards-wrapper {
        width: 260px;
        max-width: 85vw;
        height: auto;
        min-height: 340px;
    }
    
    .character-card,
    .character-card.active {
        width: 100%;
        height: auto;
        min-height: 340px;
        padding: 20px 15px 15px 15px;
    }
    
    .character-portrait {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .character-name {
        font-size: 1.2rem;
    }
    
    .character-desc {
        font-size: 1.2rem;
    }
    
    .beta-signup-container h3 {
        font-size: 2rem;
    }
    
    .beta-signup-container p {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) and (min-width: 601px) {
    .hero {
        background-attachment: scroll;
        padding: 60px 0;
    }
    
    .hero-logo {
        width: 170px;
        height: 170px;
    }
    
    .hero-brand {
        font-size: 1.5rem;
    }
    
    .hero-speech-bubble {
        margin-top: -85px;
        padding: 70px 25px 25px 25px;
        max-width: 85%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-video-player {
        max-width: 100%;
    }
    
    .character-cards-wrapper {
        width: 300px;
        max-width: 80vw;
        height: auto;
        min-height: 360px;
    }
    
    .character-card,
    .character-card.active {
        width: 100%;
        height: auto;
        min-height: 360px;
        padding: 22px 16px 16px 16px;
    }
}

/* Loading animation */
.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline;
}

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

/* Character Profiles Section */
.characters {
    padding: 80px 0;
    background: none;
    text-align: center;
}

.characters h3 {
    font-family: 'Rubik Mono One', monospace;
    font-size: 2.5rem;
    color: #0f2a3a;
    margin-bottom: 50px;
}

.character-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.carousel-arrow {
    background: #ffffff;
    border: 3px solid #4b2d05;
    color: #4b2d05;
    font-size: 2.5rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: static;
}

.carousel-arrow:hover {
    background: #4b2d05;
    color: #fff;
}

.character-cards-wrapper {
    position: relative;
    width: 280px;
    height: auto;
    min-height: 380px;
    margin: 0 auto;
    display: block;
    max-width: 90vw;
}

.character-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: auto;
    min-height: 380px;
    background: #fff;
    border: 3px solid #4b2d05;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 25px 18px 18px 18px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s;
    max-width: 90vw;
}

.character-card.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.character-portrait {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #4b2d05;
    margin-bottom: 24px;
    image-rendering: pixelated;
}

.character-name {
    font-family: 'Rubik Mono One', monospace;
    font-size: 1.4rem;
    color: #2c3400;
    margin-bottom: 12px;
}

.character-desc {
    font-size: 1.5rem;
    color: #4b2d05;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
} 