/* ============================================
   PSEO PAGE STYLES
   Follows existing Gamable design patterns
   ============================================ */

/* Base Page Styles */
.pseo-page {
    min-height: 100vh;
    padding: 40px 0 80px;
    background: #000000;
}

.pseo-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb Navigation */
.pseo-breadcrumb {
    margin-bottom: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.pseo-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pseo-breadcrumb a:hover {
    color: #fd288d;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.pseo-hero {
    text-align: center;
    padding: 60px 0 80px;
}

.pseo-hero-landing {
    padding: 80px 0 100px;
}

.pseo-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fd288d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.pseo-title-large {
    font-size: 4rem;
}

.pseo-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pseo-subtitle-large {
    font-size: 1.5rem;
    max-width: 700px;
}

/* Social Proof */
.pseo-social-proof {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pseo-social-proof-hero {
    margin-top: 60px;
}

.social-proof-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fd288d;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Box */
.pseo-cta-box {
    background: rgba(253, 40, 141, 0.1);
    border: 1px solid rgba(253, 40, 141, 0.3);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 40px auto;
    max-width: 800px;
    backdrop-filter: blur(10px);
}

.pseo-cta-content {
    text-align: left;
}

.pseo-cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.pseo-cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* CTA Buttons */
.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fd288d;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button-primary:hover {
    background: #e91c7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253, 40, 141, 0.4);
}

.cta-button-large {
    padding: 20px 48px;
    font-size: 18px;
}

.cta-button-hero {
    padding: 20px 48px;
    font-size: 18px;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-cta-note,
.final-cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
.pseo-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

.pseo-section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 40px;
}

/* Introduction Section */
.pseo-intro {
    margin: 60px 0;
    padding: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.intro-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* How To Steps */
.pseo-how-to {
    margin: 80px 0;
}

.pseo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pseo-step {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pseo-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 40, 141, 0.3);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fd288d 0%, #C026D3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.pseo-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.pseo-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* Game Grid */
.pseo-examples {
    margin: 80px 0;
}

.pseo-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pseo-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pseo-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 40, 141, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.game-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.game-card-mockup {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.mockup-frame {
    width: 140px;
    height: 280px;
    background: #1a1a1a;
    border-radius: 24px;
    padding: 8px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mockup-notch {
    width: 60px;
    height: 20px;
    background: #000;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mockup-screen {
    width: 100%;
    height: calc(100% - 20px);
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 12px;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.game-initial {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
}

.mockup-home-indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.game-card-info {
    padding: 16px 20px 8px;
}

.game-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.game-card-plays {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.game-card-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 20px 20px;
    padding: 12px;
    background: rgba(253, 40, 141, 0.2);
    border: 1px solid rgba(253, 40, 141, 0.3);
    border-radius: 12px;
    color: #fd288d;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.game-card-play-btn:hover {
    background: rgba(253, 40, 141, 0.3);
}

.pseo-no-games {
    text-align: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.pseo-no-games p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

/* Prompt Ideas */
.pseo-prompts {
    margin: 80px 0;
}

.pseo-prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pseo-prompt-card {
    background: rgba(253, 40, 141, 0.08);
    border: 1px solid rgba(253, 40, 141, 0.2);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pseo-prompt-card:hover {
    background: rgba(253, 40, 141, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(253, 40, 141, 0.2);
}

.prompt-card-icon {
    color: #fd288d;
    margin-bottom: 16px;
}

.prompt-card-text {
    color: white;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-style: italic;
}

.prompt-card-try {
    color: #fd288d;
    font-size: 13px;
    font-weight: 500;
}

/* FAQ Section */
.pseo-faq-section {
    margin: 80px 0;
    padding: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pseo-faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pseo-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.pseo-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pseo-faq-question:hover {
    color: #fd288d;
}

.faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.pseo-faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.pseo-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.pseo-faq-item.active .pseo-faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.pseo-faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Related Pages */
.pseo-related-section {
    margin: 80px 0;
}

.pseo-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.pseo-related-card {
    display: block;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.pseo-related-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(253, 40, 141, 0.3);
}

.related-card-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fd288d;
    margin-bottom: 8px;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.related-card-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.pseo-related-card:hover .related-card-arrow {
    color: #fd288d;
    transform: translateY(-50%) translateX(4px);
}

/* Final CTA */
.pseo-final-cta {
    margin: 80px 0;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(253, 40, 141, 0.15) 0%, rgba(192, 38, 211, 0.15) 100%);
    border-radius: 32px;
    text-align: center;
}

.pseo-final-cta-landing {
    margin-bottom: 0;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* Benefits Grid (Audience) */
.pseo-benefits {
    margin: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.benefit-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 40, 141, 0.3);
}

.benefit-icon {
    color: #fd288d;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* Features Grid (Landing) */
.pseo-features {
    margin: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 40, 141, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    color: #fd288d;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Game Types Grid (Landing) */
.pseo-game-types {
    margin: 80px 0;
}

.game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.game-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.2s ease;
}

.game-type-card:hover {
    background: rgba(253, 40, 141, 0.1);
    border-color: rgba(253, 40, 141, 0.3);
    transform: translateY(-4px);
}

.game-type-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.game-type-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* Topic Types Grid */
.pseo-topic-types {
    margin: 80px 0;
}

.topic-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.topic-type-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.topic-type-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 40, 141, 0.3);
}

.topic-type-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.topic-type-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* Customize Grid (Like Game) */
.pseo-customize-ideas {
    margin: 80px 0;
}

.customize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.customize-card {
    padding: 28px;
    background: rgba(253, 40, 141, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(253, 40, 141, 0.15);
}

.customize-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fd288d;
    margin-bottom: 8px;
}

.customize-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Legal Note */
.pseo-legal-note {
    margin: 40px 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.pseo-legal-note p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

/* Hero CTA */
.pseo-hero-cta {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pseo-title {
        font-size: 2.5rem;
    }

    .pseo-title-large {
        font-size: 3rem;
    }

    .pseo-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .pseo-page {
        padding: 20px 0 60px;
    }

    .pseo-hero {
        padding: 40px 0 60px;
    }

    .pseo-title {
        font-size: 2rem;
    }

    .pseo-title-large {
        font-size: 2.5rem;
    }

    .pseo-subtitle {
        font-size: 1rem;
    }

    .pseo-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .pseo-cta-content {
        text-align: center;
    }

    .pseo-social-proof {
        gap: 32px;
    }

    .pseo-intro,
    .pseo-faq-section {
        padding: 32px 24px;
    }

    .pseo-section-title {
        font-size: 1.5rem;
    }

    .final-cta-content h2 {
        font-size: 2rem;
    }

    .pseo-final-cta {
        padding: 60px 24px;
    }

    .pseo-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .game-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .pseo-page .container {
        padding: 0 16px;
    }

    .pseo-title {
        font-size: 1.75rem;
    }

    .pseo-title-large {
        font-size: 2rem;
    }

    .cta-button-primary {
        padding: 14px 28px;
        font-size: 15px;
    }

    .cta-button-large,
    .cta-button-hero {
        padding: 16px 32px;
        font-size: 16px;
    }

    .game-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pseo-social-proof {
        flex-direction: column;
        gap: 24px;
    }
}
