/* OnceWas RPG Website Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #8b4513;
    --primary-dark: #5d2f0a;
    --primary-light: #a0522d;
    --secondary-color: #2c5f2d;
    --accent-gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --background-light: #f9f6f0;
    --background-dark: #2a2520;
    --border-color: #d4c5b0;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Navigation */
.header {
    background-color: var(--background-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
}

.logo-symbol {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border: none;
}

.nav-cta:hover {
    background-color: #f4d03f;
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.cta-button.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
}

.hero-book-cover {
    margin-bottom: 2rem;
}

.book-cover-image {
    max-width: 250px;
    height: auto;
    border: 3px solid var(--accent-gold);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-headline {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    color: var(--accent-gold);
}

.hero-subheadline {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-tagline {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Creator Section */
.creator-section {
    padding: 6rem 0;
    background-color: white;
}

.creator-photo {
    text-align: center;
}

.creator-image {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    border: 3px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.signature {
    font-style: italic;
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.creator-bio {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

/* Secret Door Section */
.secret-door-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-dark), var(--primary-dark));
    color: var(--text-light);
}

.secret-door-section .section-title {
    color: var(--accent-gold);
}

.secret-door-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.door-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.door-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.door-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.door-links {
    list-style: none;
    margin-top: 1rem;
}

.door-links li {
    margin-bottom: 0.5rem;
}

.door-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.door-links a:hover {
    color: var(--accent-gold);
}

.door-card .text-link {
    color: var(--accent-gold);
}

/* Experience Section */
.experience-section {
    padding: 6rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.column {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
}

.column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.column h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: color 0.3s;
}

.text-link:hover {
    color: var(--primary-dark);
}

/* What is OnceWas Section */
.what-is-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-column h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-column h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-column ul {
    list-style: none;
    margin: 1rem 0 2rem 0;
}

.content-column li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-column li:before {
    content: "⚔";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.placeholder-image {
    background: linear-gradient(135deg, #d4c5b0, #e8dcc8);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    color: #666;
    font-style: italic;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Odd Company Section */
.odd-company-section {
    padding: 6rem 0;
    background-color: white;
}

.featured-book {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.book-cover .placeholder-image {
    min-height: 500px;
}

.book-details h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.book-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Adventures Section */
.adventures-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.adventure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.adventure-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.adventure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.adventure-image {
    background: linear-gradient(135deg, #d4c5b0, #8b7355);
    overflow: hidden;
    line-height: 0;
}

.adventure-image img {
    width: 100%;
    height: auto;
    display: block;
}

.adventure-card h3 {
    color: var(--primary-color);
    padding: 1.5rem 1.5rem 0.5rem;
}

.adventure-card p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.free-badge,
.price-badge {
    display: inline-block;
    margin: 0 1.5rem 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.free-badge {
    background-color: var(--secondary-color);
    color: white;
}

.price-badge {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.adventure-card .text-link {
    padding: 0 1.5rem 1.5rem;
    display: block;
}

/* Launch and Status Badges */
.launch-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.launch-badge {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-badge.available {
    background-color: var(--secondary-color);
    color: white;
}

.status-badge.coming-soon {
    background-color: #666;
    color: white;
}

.adventure-status {
    margin: 1rem 1.5rem;
}

.level-info {
    font-style: italic;
    color: #666;
    padding: 0 1.5rem;
}

/* Price Info */
.price-info {
    padding: 0.5rem 1.5rem 1rem;
    font-size: 1rem;
}

.price-info strong {
    color: var(--primary-color);
}

.save-badge {
    color: var(--secondary-color);
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Books List and Grid */
.books-list {
    margin-top: 4rem;
}

.books-list h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.book-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.kickstarter-message {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: var(--background-light);
    border-left: 4px solid var(--accent-gold);
    border-radius: 5px;
}

.kickstarter-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #f4d03f);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.kickstarter-card {
    border-color: var(--accent-gold);
    background: linear-gradient(to bottom, var(--background-light), white);
}

.kickstarter-cta {
    text-align: center;
    margin-top: 2rem;
}

/* RPG Products Section */
.rpg-products-section {
    padding: 6rem 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border-color: var(--accent-gold);
    border-width: 3px;
}

.product-image {
    background: linear-gradient(135deg, #8b7355, #d4c5b0);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    font-style: italic;
}

.product-card h3 {
    color: var(--primary-color);
    padding: 1.5rem 1.5rem 0.5rem;
}

.product-card p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.product-card .launch-date {
    padding: 0 1.5rem;
}

.product-card .cta-button {
    margin: 1rem 1.5rem 1.5rem;
}

.access-options {
    padding: 1.5rem;
    background-color: white;
}

.access-options h4 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.option {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-light);
}

.option strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.option p {
    margin: 0;
    padding: 0;
    color: #666;
}

.option .price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.option .text-link,
.option .cta-button {
    margin-top: 0.5rem;
    display: inline-block;
}

.cta-buttons-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Tokens & Maps Section */
.tokens-maps-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.token-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.token-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.token-image {
    background: linear-gradient(135deg, #d4c5b0, #e8dcc8);
    padding: 3rem 2rem;
    text-align: center;
    color: #666;
    font-style: italic;
}

.token-card h3 {
    color: var(--primary-color);
    padding: 1.5rem 1.5rem 0.5rem;
}

.token-card p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.token-card .cta-button {
    margin: 1rem 1.5rem 1.5rem;
}

/* Community Section */
.community-section {
    padding: 6rem 0;
    background-color: white;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.community-card {
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.community-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-direction: column;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    width: 100%;
}

/* Why Section */
.why-section {
    padding: 6rem 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.why-section .section-title {
    color: var(--accent-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.cta-box {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.trust-signal {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .book-cover-image {
        max-width: 200px;
    }
    
    .two-column-layout,
    .featured-book {
        grid-template-columns: 1fr;
    }
    
    .secret-door-grid,
    .products-grid,
    .tokens-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .book-cover-image {
        max-width: 150px;
    }
}
