:root {
    --primary: #9C27B0;
    --secondary: #E91E63;
    --dark: #121212;
    --light: #f3f3f3;
    --text: #e0e0e0;
    --accent: #FF4081;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    flex: auto;
}

.twitter-tweet {
    margin-left: auto !important;
    margin-right: auto !important;
}

header {
    background: linear-gradient(to right, rgba(156, 39, 176, 0.9), rgba(233, 30, 99, 0.9)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo a {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: #FF5B9F;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.concept {
    padding: 3rem 0;
    background-color: rgba(18, 18, 18, 0.9);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent);
    font-weight: 700;
}

.concept-content {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.concept-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.concept-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.concept-image:hover img {
    transform: scale(1.05);
}

.concept-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.highlights {
    padding: 3rem 0;
    background-color: rgba(25, 25, 25, 0.95);
}

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

.card {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent);
}

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

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.featured {
    padding: 4rem 0;
    background-color: rgba(18, 18, 18, 0.95);
}

.featured-item {
    background: linear-gradient(to right, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.9));
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.featured-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(156, 39, 176, 0.05), rgba(233, 30, 99, 0.05));
    z-index: -1;
}

.post-header {
    background-color: rgba(35, 35, 35, 0.9) !important;
    background-image: none !important;
    background: rgba(35, 35, 35, 0.9) !important;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    border-left: 4px solid var(--accent);
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
}

.post-date {
    margin-right: 1rem;
}

.post-category {
    background-color: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.post-content {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0 2rem 0;
}

.tag {
    display: inline-block;
    background-color: rgba(156, 39, 176, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.tag:hover {
    background-color: rgba(156, 39, 176, 0.3);
}

.post-tags.small {
    margin: 0.5rem 0;
}

.tag-small {
    display: inline-block;
    background-color: rgba(156, 39, 176, 0.2);
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    text-decoration: none;
}

.tag-small.active {
    background-color: rgba(156, 39, 176, 0.5);
    font-weight: bold;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.tag-item {
    display: inline-block;
    background-color: rgba(156, 39, 176, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background-color: rgba(156, 39, 176, 0.3);
    transform: translateY(-2px);
}

.similar-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
}

.similar-tags h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--text);
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-post-content {
    padding: 1.2rem;
}

.related-post-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.related-post-date {
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.7);
}

.links-section {
    padding: 3rem 0;
    background-color: rgba(25, 25, 25, 0.95);
}

.link-card {
    display: flex;
    align-items: center;
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.link-card:hover {
    background-color: rgba(45, 45, 45, 0.9);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.link-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.link-text {
    flex-grow: 1;
}

.link-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.link-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.comment-section {
    margin-bottom: 3rem;
}

.comment-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.comment-form {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: rgba(25, 25, 25, 0.9);
    color: var(--text);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.testimonials {
    padding: 4rem 0;
    background-color: rgba(18, 18, 18, 0.95);
}

.testimonial {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(156, 39, 176, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(to right, rgba(156, 39, 176, 0.8), rgba(233, 30, 99, 0.8)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--light);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.vision {
    padding: 3rem 0;
    background-color: rgba(25, 25, 25, 0.95);
}

.vision-content {
    background: linear-gradient(to right, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.9));
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary);
}

.vision-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.vision-item p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.vision-item ul {
    list-style-type: none;
    padding-left: 0;
}

.vision-item ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.vision-item ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.faq-section {
    padding: 4rem 0;
    background-color: rgba(18, 18, 18, 0.95);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: linear-gradient(to right, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.9));
    border-radius: 10px;
    padding: 1.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
}

.faq-item p {
    line-height: 1.6;
}

.terms-section {
    padding: 4rem 0;
    background-color: rgba(25, 25, 25, 0.95);
}

.terms-content {
    background: linear-gradient(to right, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.9));
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.terms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.terms-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-content ol li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-admin {
    padding: 4rem 0;
    background-color: rgba(18, 18, 18, 0.95);
}

.admin-content {
    background: linear-gradient(to right, rgba(35, 35, 35, 0.9), rgba(25, 25, 25, 0.9));
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary);
}

.admin-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.admin-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.admin-content ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.admin-content ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-button.secondary {
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
    border: 1px solid var(--accent);
}

.cta-button.secondary:hover {
    background-color: rgba(45, 45, 45, 0.9);
}

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(to right, rgba(156, 39, 176, 0.9), rgba(233, 30, 99, 0.9)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

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

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.submit-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.submit-button:hover {
    background-color: #FF5B9F;
}

.back-button {
    display: inline-flex;
    align-items: center;
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: rgba(45, 45, 45, 0.9);
}

.back-button i {
    margin-right: 0.5rem;
}

.difficulty-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.difficulty-label {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
}

.difficulty-dots {
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
    background-color: rgba(35, 35, 35, 0.9);
}

.dot.active {
    background-color: var(--accent);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.primary-button:hover {
    background-color: #8E24AA;
}

.secondary-button {
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
}

.secondary-button:hover {
    background-color: rgba(45, 45, 45, 0.9);
}

.action-button i {
    margin-right: 0.5rem;
}

.warning-box {
    background-color: rgba(233, 30, 99, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 10px 10px 0;
}

.warning-box h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.warning-box h4 i {
    margin-right: 0.5rem;
}

.newsletter {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    text-align: center;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

footer {
    background-color: rgba(15, 15, 15, 0.95);
    padding: 3rem 0;
    text-align: center;
    margin-top: 3rem;
}

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

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

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(35, 35, 35, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.responsive-iframe-container {
    position: relative;
    height: 1300px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 1300px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeIn 0.6s ease-out;
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pagination-button {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination-button:hover {
    background-color: #8E24AA;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.pagination-button.prev:before {
    content: "←";
    margin-right: 0.5rem;
}

.pagination-button.next:after {
    content: "→";
    margin-left: 0.5rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text);
    text-align: center;
    padding: 0.5rem 1rem;
    background-color: rgba(25, 25, 25, 0.5);
    border-radius: 5px;
}

/* Disclaimer Modal Styles */
.disclaimer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.disclaimer-modal-content {
    background-color: var(--dark);
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.4s ease;
}

.disclaimer-modal-header {
    background: linear-gradient(to right, rgba(156, 39, 176, 0.9), rgba(233, 30, 99, 0.9));
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.disclaimer-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
}

.disclaimer-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
}

.disclaimer-modal-close:hover {
    transform: scale(1.1);
}

.disclaimer-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
    max-height: 60vh;
}

.disclaimer-modal-body h3 {
    color: var(--accent);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.disclaimer-modal-body li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.disclaimer-note {
    font-style: italic;
    opacity: 0.8;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(156, 39, 176, 0.2);
    padding-top: 1rem;
}

.disclaimer-note a {
    color: var(--accent);
    text-decoration: underline;
}

.disclaimer-modal-footer {
    padding: 1.2rem 1.5rem;
    background-color: rgba(25, 25, 25, 0.9);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-modal-agree {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    min-width: 200px;
}

.disclaimer-modal-agree:hover {
    background-color: #FF5B9F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumbs styles */
.breadcrumbs-container {
    padding: 0.5rem 0;
    background-color: rgba(25, 25, 25, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.25rem 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text);
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent);
}

.breadcrumb-item.home {
    margin-right: 0.35rem;
}

.breadcrumb-item.active {
    color: var(--accent);
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: rgba(224, 224, 224, 0.5);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .breadcrumbs-container {
        padding: 0.35rem 0;
    }

    .breadcrumb-item {
        font-size: 0.75rem;
    }

    .breadcrumb-separator {
        margin: 0 0.35rem;
        font-size: 0.6rem;
    }
}

/* Top Navigation Bar */
.top-navbar {
    background-color: rgba(18, 18, 18, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    flex-shrink: 0;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #FF5B9F;
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-social {
    display: flex;
    align-items: center;
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        padding: 2rem 0;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .top-navbar-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .logo-section {
        text-align: center;
    }

    .nav-logo {
        font-size: 1.1rem !important;
        padding: 0.2rem 0;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        min-height: auto;
    }

    .nav-link i {
        font-size: 0.8rem;
        margin-right: 0.3rem;
    }

    .nav-social {
        display: none; /* Hide social on mobile as it's in the footer */
    }

    .concept-content {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 1.8rem;
    }

    /* Responsive pagination */
    .pagination {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .pagination-info {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .pagination-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0;
        margin-bottom: 0.8rem;
    }

    h1 {
        font-size: 1.7rem;
        margin-bottom: 0.3rem;
    }

    .top-navbar-content {
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
    }

    .nav-logo {
        font-size: 1rem !important;
        padding: 0.1rem 0;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .nav-link i {
        font-size: 0.7rem;
        margin-right: 0.2rem;
    }
}

@media (min-width: 768px) {
    .responsive-iframe-container,
    .responsive-iframe-container iframe {
        height: 1300px;
    }
}

@media (min-width: 992px) {
    .responsive-iframe-container,
    .responsive-iframe-container iframe {
        height: 1300px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .responsive-iframe-container,
    .responsive-iframe-container iframe {
        height: 1200px;
    }
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.lang-link {
    color: var(--text);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.lang-link.active {
    background-color: var(--accent);
    color: white;
}

.lang-separator {
    color: var(--text);
    opacity: 0.6;
    font-size: 0.8rem;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 0.5rem;
    }

    .lang-link {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Product Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.3);
    border-color: var(--primary);
}

.product-item.small {
    max-width: 250px;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--accent);
}

.product-description {
    color: rgba(224, 224, 224, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #ffd700;
}

.product-rating span {
    color: var(--text);
    font-size: 0.8rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-tags .tag {
    background: rgba(156, 39, 176, 0.2);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

/* Product Detail Styles */
.product-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.product-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-image-container {
    position: relative;
}

.product-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-info h1.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-info h1.product-title a.title-link {
    color: #2c2c2c;
    text-decoration: none;
    text-shadow: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-info h1.product-title a.title-link:hover {
    border-bottom-color: #9c27b0;
}

.product-rating {
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.product-rating .rating-value {
    margin-left: 0.5rem;
    color: #666666;
    text-shadow: none;
    font-size: 0.9rem;
}

.product-price {
    margin-bottom: 1.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.currency {
    color: rgba(224, 224, 224, 0.6);
    margin-left: 0.5rem;
}

.product-description {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

.product-description p {
    color: #666666;
    text-shadow: none;
    line-height: 1.6;
    padding: 0.5rem 0;
    border-left: 2px solid #e0e0e0;
    padding-left: 0.8rem;
}

.product-review {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(233, 30, 99, 0.1));
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid rgba(156, 39, 176, 0.3);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.2);
    position: relative;
}

.product-review::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.product-review h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(156, 39, 176, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-review h3 i {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-content {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.purchase-section {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.purchase-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 64, 129, 0.4);
}

.external-link {
    opacity: 0.7;
}

.affiliate-notice {
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.related-products {
    margin-top: 3rem;
}

.related-products h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.section-description {
    font-size: 1rem;
    color: rgba(224, 224, 224, 0.8);
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive Product Styles */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-info h1.product-title {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .purchase-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-item {
        margin: 0 auto;
        max-width: 350px;
    }
}

/* Blog posts styling */
.posts {
    padding: 2rem 0;
}

.posts h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    text-align: center;
}

.section-description {
    text-align: center;
    color: rgba(224, 224, 224, 0.8);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.posts-list.animated {
    animation: fadeInUp 0.5s ease-out;
}

.post-item {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-left-color: var(--secondary);
}

.post-item .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
    flex-wrap: wrap;
}

.post-item .post-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-item .post-category {
    background-color: var(--primary);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-item .post-author {
    color: rgba(224, 224, 224, 0.6);
    font-style: italic;
}

.post-item .post-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
    text-decoration: none;
    line-height: 1.3;
}

.post-item .post-title:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
}

.post-item .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem 0;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

.post-excerpt p {
    color: rgba(224, 224, 224, 0.9);
    line-height: 1.6;
    margin: 0;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 224, 224, 0.1);
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(224, 224, 224, 0.6);
    font-size: 0.85rem;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background-color: rgba(35, 35, 35, 0.5);
    border-radius: 10px;
    margin: 2rem 0;
}

.no-posts p {
    color: rgba(224, 224, 224, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-posts .sub-text {
    color: rgba(224, 224, 224, 0.6);
    font-size: 0.9rem;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(224, 224, 224, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 224, 224, 0.2);
}

.pagination-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.pagination-btn.prev {
    margin-right: auto;
}

.pagination-btn.next {
    margin-left: auto;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(35, 35, 35, 0.9);
    color: var(--text);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 224, 224, 0.2);
}

.pagination-number:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination-number.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Post detail page styles */
.post-detail {
    padding: 2rem 0;
}

.post-detail header,
.post-content header,
.post-content .post-header,
header.post-header {
    background: rgba(35, 35, 35, 0.9) !important;
    background-image: none !important;
    background-color: rgba(35, 35, 35, 0.9) !important;
    padding: 2rem !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    color: var(--text) !important;
}

/* Specific overrides for blog post detail page text colors */
.post-detail header .post-title,
.post-content header .post-title,
.post-detail .post-header .post-title,
.post-content .post-header .post-title,
header.post-header .post-title,
h1.post-title {
    color: var(--accent) !important;
}

.post-detail header .post-meta,
.post-content header .post-meta,
.post-detail .post-header .post-meta,
.post-content .post-header .post-meta,
header.post-header .post-meta,
.post-header .post-meta {
    color: rgba(224, 224, 224, 0.8) !important;
}

.post-detail header .post-meta span,
.post-content header .post-meta span,
.post-detail .post-header .post-meta span,
.post-content .post-header .post-meta span,
header.post-header .post-meta span,
.post-header .post-meta span {
    color: rgba(224, 224, 224, 0.8) !important;
}

.post-detail header .tag,
.post-content header .tag,
.post-detail .post-header .tag,
.post-content .post-header .tag,
header.post-header .tag,
.post-header .tag {
    color: var(--accent) !important;
    background-color: rgba(156, 39, 176, 0.2) !important;
}

/* Force text color for all elements in blog post header */
.post-detail header *,
.post-content header *,
.post-header * {
    color: rgba(224, 224, 224, 0.9) !important;
}

.post-detail header h1,
.post-content header h1,
.post-header h1,
section.post-detail header h1,
article.post-content header h1 {
    color: #FF4081 !important;
    font-size: 2.5rem !important;
}

/* Additional fallback with highest specificity */
body .post-detail header .post-title,
body .post-content header .post-title {
    color: #FF4081 !important;
}

body .post-detail header .post-meta,
body .post-content header .post-meta {
    color: rgba(224, 224, 224, 0.8) !important;
}

/* Override app/style.css conflicting rules */
.post-detail .post-title,
.post-content .post-title,
.post-info .post-title,
.post-card .post-title {
    color: var(--accent) !important;
}

/* Force override for any post title in blog pages */
.post-detail h1,
.post-content h1,
section.post-detail h1,
article.post-content h1 {
    color: #FF4081 !important;
}

/* Ensure meta text is readable */
.post-detail .post-meta span,
.post-content .post-meta span,
.post-info .post-meta,
.post-card .post-meta {
    color: rgba(224, 224, 224, 0.8) !important;
}

.back-link {
    margin-bottom: 2rem;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--secondary);
}

.post-content {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent);
}

.post-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(224, 224, 224, 0.1);
    background-color: rgba(35, 35, 35, 0.9) !important;
    background-image: none !important;
    background: rgba(35, 35, 35, 0.9) !important;
}

.post-header .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    line-height: 1.2;
}

.post-header .post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
    flex-wrap: wrap;
}

.post-header .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-body {
    padding: 2rem;
    line-height: 1.8;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-body p {
    margin-bottom: 1.5rem;
    color: rgba(224, 224, 224, 0.9);
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
    color: rgba(224, 224, 224, 0.9);
}

.post-body blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(224, 224, 224, 0.8);
}

.post-body code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.post-body pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related posts section */
.related-posts {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(35, 35, 35, 0.5);
    border-radius: 10px;
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--secondary);
    text-align: center;
}

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

.related-post-item {
    background-color: rgba(35, 35, 35, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left-color: var(--secondary);
}

.related-post-item h4 {
    margin-bottom: 1rem;
}

.related-post-item h4 a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.3;
}

.related-post-item h4 a:hover {
    color: var(--secondary);
}

.related-post-item .excerpt {
    color: rgba(224, 224, 224, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.related-post-item .post-meta.small {
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.6);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.related-post-item .post-meta.small span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .posts h2 {
        font-size: 2rem;
    }

    .post-item {
        padding: 1.5rem;
    }

    .post-item .post-title {
        font-size: 1.5rem;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-numbers {
        order: 2;
    }

    .pagination-btn.prev {
        order: 1;
        margin-right: 0;
    }

    .pagination-btn.next {
        order: 3;
        margin-left: 0;
    }

    .post-header .post-title {
        font-size: 2rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .post-item {
        padding: 1rem;
    }

    .post-item .post-title {
        font-size: 1.3rem;
    }

    .post-header,
    .post-body {
        padding: 1.5rem;
    }

    .post-header .post-title {
        font-size: 1.8rem;
    }
}

/* CRITICAL: Final override for blog post visibility issues */
html body .post-detail .post-meta,
html body .post-content .post-meta,
html body .post-detail .post-meta span,
html body .post-content .post-meta span,
html body .post-detail .post-date,
html body .post-content .post-date,
html body .post-detail .post-author,
html body .post-content .post-author,
html body .post-detail .read-time,
html body .post-content .read-time {
    color: rgba(224, 224, 224, 0.9) !important;
}

html body .post-detail .post-title,
html body .post-content .post-title,
html body .post-detail h1,
html body .post-content h1 {
    color: #FF4081 !important;
}

/* Override the main header background for blog post pages */
.post-detail .post-content header,
.post-content .post-header,
article.post-content header.post-header {
    background: rgba(35, 35, 35, 0.9) !important;
    background-image: none !important;
    background-color: rgba(35, 35, 35, 0.9) !important;
    text-align: left !important;
    padding: 2rem !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(224, 224, 224, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
}

/* Remove the gradient overlay ::before element */
.post-detail .post-content header::before,
.post-content .post-header::before,
article.post-content header.post-header::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Force text color inheritance for blog post headers */
.post-detail .post-content header,
.post-content .post-header,
article.post-content header.post-header {
    color: #e0e0e0 !important;
}

.post-detail .post-content header *,
.post-content .post-header *,
article.post-content header.post-header * {
    color: #e0e0e0 !important;
}

.post-detail .post-content header h1,
.post-content .post-header h1,
article.post-content header.post-header h1,
.post-detail .post-content header .post-title,
.post-content .post-header .post-title,
article.post-content header.post-header .post-title {
    color: #FF4081 !important;
}

.post-detail .post-content header .post-meta,
.post-content .post-header .post-meta,
article.post-content header.post-header .post-meta {
    color: rgba(224, 224, 224, 0.8) !important;
}

.post-detail .post-content header .post-meta span,
.post-content .post-header .post-meta span,
article.post-content header.post-header .post-meta span,
.post-detail .post-content header .post-date,
.post-content .post-header .post-date,
article.post-content header.post-header .post-date,
.post-detail .post-content header .post-author,
.post-content .post-header .post-author,
article.post-content header.post-header .post-author,
.post-detail .post-content header .read-time,
.post-content .post-header .read-time,
article.post-content header.post-header .read-time {
    color: rgba(224, 224, 224, 0.8) !important;
}

/* Contact information styling for about page */
.contact-methods {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(35, 35, 35, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.contact-method strong {
    color: var(--accent);
    min-width: 80px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-link i {
    color: var(--accent);
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-option {
    padding: 1.5rem;
    background: rgba(35, 35, 35, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 64, 129, 0.2);
}

.contact-option h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-option p {
    color: rgba(224, 224, 224, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-button.email {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

.contact-button.email:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.contact-button.twitter {
    background: rgba(29, 155, 240, 0.1);
    color: #1DA1F2;
    border-color: rgba(29, 155, 240, 0.3);
}

.contact-button.twitter:hover {
    background: rgba(29, 155, 240, 0.2);
    border-color: #1DA1F2;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-method strong {
        min-width: auto;
    }
}

