:root {
    --black: #000000;
    --white: #FFFFFF;
    --accent: #00FF00;
    --border-style: 3px solid var(--black);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'VT323', monospace;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    padding: 1rem; /* Reduced padding for mobile */
    overflow-x: hidden;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 1rem;
}
h1 { font-size: clamp(2.5rem, 10vw, 6rem); line-height: 1; } /* Adjusted clamp for mobile */
h2 { font-size: clamp(1.8rem, 8vw, 4rem); line-height: 1.1; } /* Adjusted clamp for mobile */
h3 { font-size: 1.25rem; }
p {
    font-size: 1.1rem; /* Adjusted for mobile */
    margin-bottom: 1.5em;
    max-width: 65ch;
}
.main-header {
    text-align: center;
    padding: 2rem 1rem; /* Adjusted padding */
    border: var(--border-style);
    margin-bottom: 1.5rem;
}
.main-header .subtitle {
    font-size: 1.25rem;
}
.main-header .header-text {
    margin: 2rem auto 0;
    max-width: 80ch;
}
.hero-image-section {
    border: var(--border-style);
    padding: 0.5rem; /* Reduced padding */
    margin-bottom: 1.5rem;
}
.hero-image-section img {
    width: 100%;
    display: block;
}
.section {
    padding: 2rem 1rem; /* Adjusted padding */
    border: var(--border-style);
    margin-bottom: 1.5rem;
}
.section-header {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}
.centered-text p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.soul-display-container {
    background: var(--black);
    color: var(--accent);
    padding: 1rem; /* Adjusted padding */
    border: var(--border-style);
    margin: 1.5rem auto;
    max-width: 100%;
    overflow-x: auto; /* Allow horizontal scroll for ASCII art */
}
.soul-ascii-art {
    white-space: pre;
    font-family: 'VT323', monospace;
    font-size: 0.8rem; /* Smaller font for ASCII art */
    line-height: 1.2;
    text-align: left;
}
.soul-explanation-wrapper {
    text-align: center;
}
.soul-explanation-wrapper h3 {
    font-size: 1.5rem;
}
.button {
    display: inline-block;
    background: var(--accent);
    color: var(--black);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'VT323', monospace;
    text-transform: uppercase;
    border: var(--border-style);
    box-shadow: 4px 4px 0px var(--black);
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}
.button:hover, .button:focus {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--black);
}
.prophecy-walkthrough {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}
.feature-section {
    border: var(--border-style);
    padding: 1.5rem;
}
.feature-image {
    border: var(--border-style);
    margin-bottom: 1rem;
}
.feature-image img {
    width: 100%;
    display: block;
}
.feature-text {
    text-align: center;
}
.footer {
    padding: 1.5rem;
    border: var(--border-style);
    text-align: center;
}
.social-links {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.social-links a {
    color: var(--black);
    text-decoration: underline;
    margin: 0;
    font-size: 1.1rem;
}
.break-text {
    font-size: clamp(1.5rem, 6vw, 3rem); /* Adjusted clamp */
    font-weight: normal;
    text-align: center;
    padding: 2rem 1rem;
    border: var(--border-style);
    background: var(--accent);
    color: var(--black);
    margin-bottom: 1.5rem;
}
.soul-interface-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.card {
    border: var(--border-style);
    padding: 1.5rem;
    text-align: center;
}
.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.quote {
    font-style: italic;
    margin-top: 1rem;
    padding: 1rem;
    border-left: var(--border-style);
}
@media (min-width: 768px) {
    body {
        padding: 2rem;
    }
    p {
        font-size: 1.25rem;
    }
    .main-header {
        padding: 4rem 2rem;
        margin-bottom: 2rem;
    }
    .main-header .subtitle {
        font-size: 1.5rem;
    }
    .hero-image-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    .section {
        padding: 4rem 2rem;
        margin-bottom: 2rem;
    }
    .prophecy-walkthrough {
        gap: 2rem;
    }
    .feature-section {
        padding: 2rem;
    }
    .footer {
        padding: 2rem;
    }
    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
    .social-links a {
        margin: 0 1rem;
    }
    .break-text {
        padding: 4rem 2rem;
    }
    .soul-interface-container {
        grid-template-columns: 2fr 1fr;
        align-items: center;
        gap: 2rem;
        margin: 2rem 0;
    }
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    .card {
        padding: 2rem;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .soul-ascii-art {
        font-size: 1.1rem;
    }
}
