body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; background-color: #f0f2f5; color: #333; line-height: 1.6; } .page-can-t-sleep-poppy-playtime__container { max-width: 1200px; margin: 0 auto; padding: 20px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__container { padding: 15px; } } .page-can-t-sleep-poppy-playtime__section-title { font-size: 2.5em; color: #cc0000; text-align: center; margin-bottom: 40px; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__section-title { font-size: 1.8em; margin-bottom: 20px; } } .page-can-t-sleep-poppy-playtime__text-content { font-size: 1.1em; text-align: center; max-width: 800px; margin: 0 auto 50px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__text-content { font-size: 1em; margin-bottom: 30px; } } /* Hero Section */ .page-can-t-sleep-poppy-playtime__hero-section { position: relative; width: 100%; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; padding-top: 10px; /* Assumes body padding-top handles header offset */ } .page-can-t-sleep-poppy-playtime__hero-section img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; } .page-can-t-sleep-poppy-playtime__hero-content { position: relative; z-index: 1; padding: 20px; background: rgba(0, 0, 0, 0.5); border-radius: 10px; max-width: 900px; } .page-can-t-sleep-poppy-playtime__hero-title { font-size: 3.8em; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); line-height: 1.1; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__hero-title { font-size: 2.2em; } } .page-can-t-sleep-poppy-playtime__hero-subtitle { font-size: 1.5em; margin-bottom: 30px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__hero-subtitle { font-size: 1.1em; } } .page-can-t-sleep-poppy-playtime__cta-button { display: inline-block; background-color: #cc0000; color: #fff; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-size: 1.3em; font-weight: bold; transition: background-color 0.3s ease, transform 0.3s ease; } .page-can-t-sleep-poppy-playtime__cta-button:hover { background-color: #ff3333; transform: translateY(-3px); } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__cta-button { padding: 12px 25px; font-size: 1.1em; } } /* Intro Section */ .page-can-t-sleep-poppy-playtime__intro-section { padding: 80px 0; background-color: #fff; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__intro-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; text-align: center; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__features-grid { grid-template-columns: 1fr; margin-top: 30px; } } .page-can-t-sleep-poppy-playtime__feature-item { background: #f9f9f9; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; } .page-can-t-sleep-poppy-playtime__feature-item:hover { transform: translateY(-5px); } .page-can-t-sleep-poppy-playtime__feature-item img { max-width: 150px; height: auto; margin-bottom: 20px; } .page-can-t-sleep-poppy-playtime__feature-item h3 { font-size: 1.5em; color: #cc0000; margin-bottom: 15px; } .page-can-t-sleep-poppy-playtime__feature-item p { font-size: 1em; color: #555; } /* Quick Access Section */ .page-can-t-sleep-poppy-playtime__quick-access-section { padding: 80px 0; background-color: #e6e6e6; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__quick-access-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__access-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__access-buttons { margin-top: 20px; } } .page-can-t-sleep-poppy-playtime__access-button { flex: 1 1 auto; min-width: 220px; max-width: 300px; background-color: #007bff; color: #fff; padding: 15px 20px; border-radius: 8px; text-decoration: none; font-size: 1.1em; font-weight: bold; text-align: center; transition: background-color 0.3s ease, transform 0.3s ease; } .page-can-t-sleep-poppy-playtime__access-button:hover { background-color: #0056b3; transform: translateY(-3px); } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__access-button { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; margin-left: 0 !important; margin-right: 0 !important; font-size: 1em; } } /* Games Section */ .page-can-t-sleep-poppy-playtime__games-section { padding: 80px 0; background-color: #fff; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__games-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__game-tabs { display: flex; justify-content: center; margin-bottom: 40px; border-bottom: 2px solid #ddd; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__game-tabs { flex-wrap: wrap; margin-bottom: 20px; } } .page-can-t-sleep-poppy-playtime__game-tab-item { padding: 15px 25px; cursor: pointer; font-size: 1.2em; font-weight: bold; color: #555; border-bottom: 3px solid transparent; transition: all 0.3s ease; } .page-can-t-sleep-poppy-playtime__game-tab-item:hover, .page-can-t-sleep-poppy-playtime__game-tab-item.active { color: #cc0000; border-bottom-color: #cc0000; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__game-tab-item { flex: 1 1 auto; text-align: center; padding: 10px 15px; font-size: 1em; } } .page-can-t-sleep-poppy-playtime__game-content { display: none; } .page-can-t-sleep-poppy-playtime__game-content.active { display: block; } .page-can-t-sleep-poppy-playtime__game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__game-grid { grid-template-columns: 1fr; } } .page-can-t-sleep-poppy-playtime__game-card { background: #f9f9f9; padding: 20px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; } .page-can-t-sleep-poppy-playtime__game-card img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; } .page-can-t-sleep-poppy-playtime__game-card h3 { font-size: 1.4em; color: #cc0000; margin-bottom: 10px; } .page-can-t-sleep-poppy-playtime__game-card p { font-size: 0.95em; color: #555; margin-bottom: 20px; } .page-can-t-sleep-poppy-playtime__game-button { display: inline-block; background-color: #28a745; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; } .page-can-t-sleep-poppy-playtime__game-button:hover { background-color: #218838; } /* Promotions Section */ .page-can-t-sleep-poppy-playtime__promo-section { padding: 80px 0; background-color: #e6e6e6; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__promo-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__promo-grid { grid-template-columns: 1fr; margin-top: 20px; } } .page-can-t-sleep-poppy-playtime__promo-card { background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; } .page-can-t-sleep-poppy-playtime__promo-card img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; } .page-can-t-sleep-poppy-playtime__promo-card h3 { font-size: 1.5em; color: #cc0000; margin-bottom: 10px; } .page-can-t-sleep-poppy-playtime__promo-card p { font-size: 1em; color: #555; margin-bottom: 20px; } .page-can-t-sleep-poppy-playtime__promo-button { display: inline-block; background-color: #cc0000; color: #fff; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; } .page-can-t-sleep-poppy-playtime__promo-button:hover { background-color: #ff3333; } /* Security & Support Section */ .page-can-t-sleep-poppy-playtime__security-support-section { padding: 80px 0; background-color: #fff; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__security-support-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__security-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; text-align: center; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__security-features { grid-template-columns: 1fr; margin-top: 20px; } } .page-can-t-sleep-poppy-playtime__feature-item-small { background: #f9f9f9; padding: 25px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); } .page-can-t-sleep-poppy-playtime__feature-item-small img { max-width: 100px; height: auto; margin-bottom: 15px; } .page-can-t-sleep-poppy-playtime__feature-item-small h3 { font-size: 1.3em; color: #007bff; margin-bottom: 10px; } .page-can-t-sleep-poppy-playtime__feature-item-small p { font-size: 0.95em; color: #555; } .page-can-t-sleep-poppy-playtime__contact-button { display: block; width: fit-content; margin: 50px auto 0; background-color: #28a745; 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.3s ease; } .page-can-t-sleep-poppy-playtime__contact-button:hover { background-color: #218838; transform: translateY(-3px); } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__contact-button { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; margin-left: 0 !important; margin-right: 0 !important; font-size: 1.1em; padding: 12px 25px; } } /* FAQ Section */ .page-can-t-sleep-poppy-playtime__faq-section { padding: 80px 0; background-color: #e6e6e6; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__faq-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__faq-list { max-width: 800px; margin: 40px auto 0; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__faq-list { margin-top: 20px; } } .page-can-t-sleep-poppy-playtime__faq-item { background: #fff; margin-bottom: 15px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .page-can-t-sleep-poppy-playtime__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; cursor: pointer; background-color: #f9f9f9; border-bottom: 1px solid #eee; transition: background-color 0.3s ease; } .page-can-t-sleep-poppy-playtime__faq-question:hover { background-color: #f0f0f0; } .page-can-t-sleep-poppy-playtime__faq-question h3 { margin: 0; font-size: 1.2em; color: #333; pointer-events: none; /* Prevent h3 from blocking click event */ } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__faq-question h3 { font-size: 1em; } } .page-can-t-sleep-poppy-playtime__faq-toggle { font-size: 1.5em; font-weight: bold; color: #cc0000; transition: transform 0.3s ease; pointer-events: none; /* Prevent toggle from blocking click event */ } .page-can-t-sleep-poppy-playtime__faq-item.active .page-can-t-sleep-poppy-playtime__faq-toggle { transform: rotate(45deg); } .page-can-t-sleep-poppy-playtime__faq-answer { max-height: 0; overflow: hidden; padding: 0 25px; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease; opacity: 0; } .page-can-t-sleep-poppy-playtime__faq-item.active .page-can-t-sleep-poppy-playtime__faq-answer { max-height: 2000px !important; /* Sufficiently large */ padding: 20px 25px !important; opacity: 1; } .page-can-t-sleep-poppy-playtime__faq-answer p { margin: 0; font-size: 1em; color: #666; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__faq-answer { padding: 0 15px; } .page-can-t-sleep-poppy-playtime__faq-item.active .page-can-t-sleep-poppy-playtime__faq-answer { padding: 15px !important; } } /* Blog Section */ .page-can-t-sleep-poppy-playtime__blog-section { padding: 80px 0; background-color: #f0f2f5; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__blog-section { padding: 40px 0; } } .page-can-t-sleep-poppy-playtime__blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__blog-grid { grid-template-columns: 1fr; margin-top: 20px; } } .page-can-t-sleep-poppy-playtime__blog-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; text-align: left; } .page-can-t-sleep-poppy-playtime__blog-card:hover { transform: translateY(-5px); } .page-can-t-sleep-poppy-playtime__blog-card img { max-width: 100%; height: auto; display: block; } .page-can-t-sleep-poppy-playtime__blog-card h3 { font-size: 1.3em; margin: 20px 20px 10px; line-height: 1.4; } .page-can-t-sleep-poppy-playtime__blog-card h3 a { color: #cc0000; text-decoration: none; transition: color 0.3s ease; } .page-can-t-sleep-poppy-playtime__blog-card h3 a:hover { color: #ff3333; } .page-can-t-sleep-poppy-playtime__blog-card p { font-size: 0.9em; color: #666; margin: 0 20px 20px; } /* General Image Styling */ .page-can-t-sleep-poppy-playtime__hero-image img, .page-can-t-sleep-poppy-playtime__feature-item img, .page-can-t-sleep-poppy-playtime__game-card img, .page-can-t-sleep-poppy-playtime__promo-card img, .page-can-t-sleep-poppy-playtime__feature-item-small img, .page-can-t-sleep-poppy-playtime__blog-card img { max-width: 100%; height: auto; display: block; box-sizing: border-box; } @media (max-width: 768px) { .page-can-t-sleep-poppy-playtime__hero-image img, .page-can-t-sleep-poppy-playtime__feature-item img, .page-can-t-sleep-poppy-playtime__game-card img, .page-can-t-sleep-poppy-playtime__promo-card img, .page-can-t-sleep-poppy-playtime__feature-item-small img, .page-can-t-sleep-poppy-playtime__blog-card img { width: 100% !important; max-width: 100% !important; height: auto !important; } }