:root { --primary-color: #e50914; /* Red, common in gaming/thriller themes */ --secondary-color: #1a1a1a; /* Dark background */ --text-color: #f0f0f0; /* Light text */ --accent-color: #ffd700; /* Gold/Yellow for highlights */ --border-color: #333; } .page-what-is-chapter-3-in-poppy-playtime { font-family: 'Arial', sans-serif; color: var(--text-color); background-color: var(--secondary-color); line-height: 1.6; padding-top: var(--header-offset, 122px); /* Fallback for header spacing */ } .page-what-is-chapter-3-in-poppy-playtime__hero-section { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 20px 60px; /* Slight top padding, more bottom */ background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); /* Dark overlay */ overflow: hidden; } .page-what-is-chapter-3-in-poppy-playtime__hero-image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; } .page-what-is-chapter-3-in-poppy-playtime__hero-image { width: 100%; height: 100%; object-fit: cover; max-width: 100%; /* Responsive image */ } .page-what-is-chapter-3-in-poppy-playtime__hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; } .page-what-is-chapter-3-in-poppy-playtime__hero-title { font-size: 3.5em; margin-bottom: 20px; color: var(--primary-color); text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); } .page-what-is-chapter-3-in-poppy-playtime__hero-description { font-size: 1.2em; color: var(--text-color); margin-bottom: 30px; } .page-what-is-chapter-3-in-poppy-playtime__overview-section, .page-what-is-chapter-3-in-poppy-playtime__faq-section, .page-what-is-chapter-3-in-poppy-playtime__cta-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; } .page-what-is-chapter-3-in-poppy-playtime__section-title { font-size: 2.5em; color: var(--primary-color); text-align: center; margin-bottom: 40px; position: relative; } .page-what-is-chapter-3-in-poppy-playtime__section-title::after { content: ''; display: block; width: 80px; height: 4px; background-color: var(--accent-color); margin: 15px auto 0; border-radius: 2px; } .page-what-is-chapter-3-in-poppy-playtime__content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; } .page-what-is-chapter-3-in-poppy-playtime__grid-item { background-color: #2a2a2a; border-radius: 10px; padding: 30px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); text-align: center; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; } .page-what-is-chapter-3-in-poppy-playtime__item-title { font-size: 1.8em; color: var(--accent-color); margin-bottom: 15px; } .page-what-is-chapter-3-in-poppy-playtime__item-text { font-size: 1.1em; color: var(--text-color); margin-bottom: 20px; flex-grow: 1; text-align: left; } .page-what-is-chapter-3-in-poppy-playtime__item-image { max-width: 100%; height: auto; border-radius: 8px; margin-top: 20px; object-fit: cover; } /* FAQ Section */ .page-what-is-chapter-3-in-poppy-playtime__faq-container { max-width: 800px; margin: 0 auto; border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; } .page-what-is-chapter-3-in-poppy-playtime__faq-item { border-bottom: 1px solid var(--border-color); background-color: #2a2a2a; } .page-what-is-chapter-3-in-poppy-playtime__faq-item:last-child { border-bottom: none; } .page-what-is-chapter-3-in-poppy-playtime__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; cursor: pointer; background-color: #333; transition: background-color 0.3s ease; } .page-what-is-chapter-3-in-poppy-playtime__faq-question:hover { background-color: #444; } .page-what-is-chapter-3-in-poppy-playtime__faq-title { font-size: 1.2em; color: var(--text-color); margin: 0; pointer-events: none; /* Prevent h3 from blocking click event */ flex-grow: 1; } .page-what-is-chapter-3-in-poppy-playtime__faq-toggle { font-size: 1.5em; color: var(--accent-color); margin-left: 20px; transition: transform 0.3s ease; pointer-events: none; /* Prevent span from blocking click event */ } .page-what-is-chapter-3-in-poppy-playtime__faq-item.active .page-what-is-chapter-3-in-poppy-playtime__faq-toggle { transform: rotate(45deg); /* Change '+' to 'x' or '-' */ } .page-what-is-chapter-3-in-poppy-playtime__faq-answer { max-height: 0; overflow: hidden; padding: 0 25px; color: #ccc; font-size: 1.1em; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease; opacity: 0; } .page-what-is-chapter-3-in-poppy-playtime__faq-item.active .page-what-is-chapter-3-in-poppy-playtime__faq-answer { max-height: 2000px !important; /* Sufficiently large for content */ padding: 20px 25px !important; opacity: 1; } .page-what-is-chapter-3-in-poppy-playtime__faq-answer p { margin: 0; } /* CTA Section */ .page-what-is-chapter-3-in-poppy-playtime__cta-section { text-align: center; background-color: #1a1a1a; padding: 80px 20px; } .page-what-is-chapter-3-in-poppy-playtime__cta-text { font-size: 1.3em; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; color: #ccc; } .page-what-is-chapter-3-in-poppy-playtime__cta-button { display: inline-block; background-color: var(--primary-color); color: #fff; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-size: 1.2em; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); } .page-what-is-chapter-3-in-poppy-playtime__cta-button:hover { background-color: #ff3333; transform: translateY(-2px); } /* Responsive adjustments */ @media (max-width: 1024px) { .page-what-is-chapter-3-in-poppy-playtime__hero-title { font-size: 3em; } .page-what-is-chapter-3-in-poppy-playtime__section-title { font-size: 2em; } } @media (max-width: 768px) { .page-what-is-chapter-3-in-poppy-playtime { padding-top: var(--header-offset, 122px) !important; /* Ensure header offset on mobile */ } .page-what-is-chapter-3-in-poppy-playtime__hero-section { padding: 10px 15px 40px; } .page-what-is-chapter-3-in-poppy-playtime__hero-title { font-size: 2.2em; } .page-what-is-chapter-3-in-poppy-playtime__hero-description { font-size: 1em; } .page-what-is-chapter-3-in-poppy-playtime__overview-section, .page-what-is-chapter-3-in-poppy-playtime__faq-section, .page-what-is-chapter-3-in-poppy-playtime__cta-section { padding: 40px 15px; } .page-what-is-chapter-3-in-poppy-playtime__section-title { font-size: 1.8em; margin-bottom: 30px; } .page-what-is-chapter-3-in-poppy-playtime__content-grid { grid-template-columns: 1fr; gap: 30px; } .page-what-is-chapter-3-in-poppy-playtime__grid-item { padding: 20px; } .page-what-is-chapter-3-in-poppy-playtime__item-title { font-size: 1.5em; } .page-what-is-chapter-3-in-poppy-playtime__item-text { font-size: 0.95em; word-wrap: break-word !important; overflow-wrap: break-word !important; } /* Image responsive */ .page-what-is-chapter-3-in-poppy-playtime__hero-image, .page-what-is-chapter-3-in-poppy-playtime__item-image { max-width: 100% !important; height: auto !important; box-sizing: border-box !important; } .page-what-is-chapter-3-in-poppy-playtime__hero-image-wrapper { width: 100% !important; max-width: 100% !important; overflow: hidden !important; box-sizing: border-box !important; } /* FAQ responsive */ .page-what-is-chapter-3-in-poppy-playtime__faq-question { padding: 15px 15px; } .page-what-is-chapter-3-in-poppy-playtime__faq-title { font-size: 1.1em; } .page-what-is-chapter-3-in-poppy-playtime__faq-toggle { font-size: 1.3em; } .page-what-is-chapter-3-in-poppy-playtime__faq-answer { padding: 15px 15px; word-wrap: break-word !important; overflow-wrap: break-word !important; } .page-what-is-chapter-3-in-poppy-playtime__faq-item.active .page-what-is-chapter-3-in-poppy-playtime__faq-answer { padding: 15px 15px !important; } .page-what-is-chapter-3-in-poppy-playtime__cta-text { font-size: 1.1em; } .page-what-is-chapter-3-in-poppy-playtime__cta-button { font-size: 1.1em; padding: 12px 25px; } } @media (max-width: 480px) { .page-what-is-chapter-3-in-poppy-playtime__hero-title { font-size: 1.8em; } .page-what-is-chapter-3-in-poppy-playtime__section-title { font-size: 1.5em; } .page-what-is-chapter-3-in-poppy-playtime__faq-title { font-size: 1em; } .page-what-is-chapter-3-in-poppy-playtime__cta-button { width: 100%; max-width: 280px; } }