/*
Theme Name: IceboxAI
Theme URI: https://icebox.cloud
Author: hatdnt
Author URI: https://github.com/hatdnt
Description: A futuristic dark mode WordPress theme designed for AI image generation websites. Features modern minimalist design with neon accents, responsive layout, and optimized for AI content creators.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iceboxai
Tags: dark, modern, AI, futuristic, responsive, blog

IceboxAI is a cutting-edge WordPress theme built for AI image generation platforms.
*/

/* === CSS Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0E0E10;
    --bg-secondary: #1A1A1D;
    --bg-card: #252529;
    --text-primary: #E0E0E0;
    --text-secondary: #B0B0B0;
    --accent-cyan: #00FFFF;
    --accent-purple: #A259FF;
    --border-color: #2A2A2E;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Ensure main content area is properly structured */
.site-main {
    display: block !important;
    position: relative;
    z-index: 1;
}

#main-content {
    display: block !important;
    position: relative;
    z-index: 1;
}

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-purple);
    text-shadow: 0 0 10px var(--accent-purple);
}

/* === Header === */
.site-header {
    background: rgba(14, 14, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo di kiri */
.site-branding {
    flex: 0 0 auto;
}

.site-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation di tengah */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--accent-cyan);
}

/* CTA Button di kanan */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.btn-try-free {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--bg-primary);
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    border: 2px solid transparent;
}

.btn-try-free::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-try-free:hover::before {
    left: 100%;
}

.btn-try-free:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 255, 255, 0.5), 0 0 20px rgba(162, 89, 255, 0.3);
    color: var(--bg-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-try-free:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

/* === Hero Section === */
.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* === Image Generator Section === */
/* === Image Generator Section === */
.generator-section {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 50px rgba(0, 255, 255, 0.05);
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Image Loading Placeholder Animation */
.image-loading-placeholder {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.image-loading-placeholder .pre-loader-5 {
    color: var(--accent-cyan);
    height: 15px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(farthest-side, currentColor 90%, #0000);
    background:
        var(--_g) left,
        var(--_g) right;
    background-size: 25% 100%;
    display: grid;
}

.image-loading-placeholder .pre-loader-5:before,
.image-loading-placeholder .pre-loader-5:after {
    content: "";
    height: inherit;
    aspect-ratio: 1;
    grid-area: 1/1;
    margin: auto;
    border-radius: 50%;
    transform-origin: -100% 50%;
    background: currentColor;
    animation: load-5 1s infinite linear;
}

.image-loading-placeholder .pre-loader-5:after {
    transform-origin: 200% 50%;
    --s: -1;
    animation-delay: -.5s;
}

@keyframes load-5 {
    58%,
    100% {
        transform: rotate(calc(var(--s, 1)*1turn))
    }
}

/* Generated Image Styles */
.generated-image {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.generated-image:hover {
    transform: scale(1.02);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

/* === Content Section === */
.content-section {
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}

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

.content-section h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-section strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* === Tutorial Section === */
.tutorial-section {
    padding: 5rem 0;
    background: var(--primary);
}


.tutorial-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tutorial-article h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.tutorial-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.step-number {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--accent-cyan);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* === Tips Section (Neo Futuristic Glow Style - Rounded Edge) === */
.tips-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.08), transparent 70%), var(--bg-primary);
    border-radius: 100px / 60px; /* <-- buat sisi melengkung lembut */
    clip-path: ellipse(120% 100% at 50% 50%); /* bantu bentuk lebih bulat di atas bawah */
    margin: 4rem auto;
    max-width: 1400px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.05);
}

.tips-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(162, 89, 255, 0.05) 0%, transparent 70%);
    animation: rotateGlow 40s linear infinite;
    z-index: 0;
    filter: blur(40px);
    border-radius: 50%; /* agar glow juga membulat */
}

.tips-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.tips-article h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.tips-article h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.tips-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

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

/* Tip Card Styling */
.tip-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(6px);
    z-index: 1;
}

/* Animated Glow Accent */
.tip-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(0, 255, 255, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15);
}

/* Floating accent lines */
.tip-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.tip-card:hover::after {
    transform: translateX(100%);
}

/* Icon with subtle glow */
.tip-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Title & Text */
.tip-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tip-card:hover h3 {
    color: var(--accent-cyan);
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}


/* === FAQ Section (Rounded Glow Neo Style) === */
.faq-section {
    padding: 6rem 0;
    display: flex;
    justify-content: center;
    background: var(--bg-primary);
}

.faq-wrapper {
    width: 100%;
    max-width: 1100px;
    border-radius: 24px;
    overflow: hidden;
    padding: 5rem 2rem;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.08) 0%, transparent 70%), 
                linear-gradient(to bottom right, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.faq-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(162, 89, 255, 0.08));
    opacity: 0.5;
    z-index: -1;
}

/* FAQ Header */
.faq-article {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.faq-article h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

/* FAQ Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.faq-question {
    padding: 1.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: var(--accent-cyan);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-purple);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 1.2rem 2rem 2rem;
    max-height: 600px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}


/* === Responsive Design === */
@media (max-width: 768px) {
    .tutorial-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tip-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .content-section,
    .tutorial-article,
    .tips-article,
    .faq-article {
        padding: 0 1rem;
    }
}

/* === Blog Section === */
.blog-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin-top: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.post-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(162, 89, 255, 0.2);
    border-color: var(--accent-purple);
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.post-title a {
    color: var(--text-primary);
}

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

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* === Footer === */
.site-footer {
    background: rgba(14, 14, 16, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    list-style: none;
}

/* Social Media Icons - Add this to your style.css */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-color: transparent;
    color: var(--bg-primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.4);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-social {
        margin-top: 2rem;
        padding-top: 1.2rem;
        gap: 1.2rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* === Single Post === */
.single-post {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Featured Image Styling */
.post-thumbnail {
    width: 100%;
    margin: 2rem 0;
    clear: both;
    position: relative;
    z-index: 1;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 100%;
}

/* Content Wrapper */
.post-content-wrapper {
    clear: both;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-cyan);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-cyan), 0 0 30px var(--accent-purple);
    }
}

/* Post Card Animation - Compatible with simple JS */
.post-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(162, 89, 255, 0.2);
    border-color: var(--accent-purple);
}

/* Button Transitions - Compatible with simple JS */
.btn, .btn-try-free {
    transition: all 0.3s ease;
}

/* Download Button Styles */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

/* === Mobile Menu Toggle === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.menu-toggle-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === Responsive === */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(14, 14, 16, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .main-navigation.active {
        transform: translateX(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .main-navigation a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        display: block;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .main-navigation a:hover {
        background: rgba(0, 255, 255, 0.1);
        color: var(--accent-cyan);
        transform: scale(1.05);
    }
    
    .header-actions {
        display: none;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .generator-section {
        padding: 2rem 1.5rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .site-container {
        padding: 0 15px;
        overflow-x: hidden;
    }
    
    .generator-section {
        padding: 1.5rem 1rem;
    }
    
    /* Fix horizontal scroll on mobile */
    body {
        overflow-x: hidden;
    }
    
    .single-post {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .post-content-wrapper {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .post-content-wrapper img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .post-content-wrapper table {
        width: 100% !important;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .post-content-wrapper pre,
    .post-content-wrapper code {
        word-wrap: break-word;
        white-space: pre-wrap;
        max-width: 100%;
        overflow-x: auto;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left !important;
    }
    
    /* Single Post Mobile Fixes */
    .post-header h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    .post-meta {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }
    
    .post-navigation {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .nav-next {
        text-align: left !important;
    }
    
    .post-thumbnail {
        margin: 1rem 0 !important;
    }
    
    .post-content-wrapper {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

/* === Responsive Adjustments for Content, Tutorial, Tips, FAQ, Blog === */
@media (max-width: 992px) {
    .content-section,
    .tutorial-section,
    .tips-section,
    .faq-section,
    .blog-section {
        padding: 4rem 0;
    }

    .content-section h2,
    .tutorial-article h2,
    .tips-article h2,
    .faq-article h2 {
        font-size: 2rem;
    }

    .tutorial-intro,
    .tips-subtitle,
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .faq-wrapper {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 3rem 1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .content-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Tutorial Section */
    .tutorial-article {
        padding: 0 1rem;
    }

    .tutorial-article h2 {
        font-size: 2rem;
    }

    .tutorial-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    /* Tips Section */
    .tips-article {
        padding: 0 1rem;
    }

    .tips-article h2 {
        font-size: 2rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tip-card {
        padding: 1.8rem 1.2rem;
        border-radius: 14px;
    }

    .tip-icon {
        font-size: 2.2rem;
    }

    .tip-card h3 {
        font-size: 1.1rem;
    }

    .tip-card p {
        font-size: 0.9rem;
    }

    /* FAQ Section */
    .faq-wrapper {
        padding: 3rem 1.2rem;
        border-radius: 18px;
    }

    .faq-article h2 {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.2rem 1rem;
    }

    .faq-toggle {
        font-size: 1.2rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    /* Blog Section */
    .blog-section {
        padding: 3rem 1rem;
    }

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

    .post-thumbnail {
        height: 200px;
    }

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

    .post-excerpt {
        font-size: 0.9rem;
    }

    .read-more {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .content-section h2,
    .tutorial-article h2,
    .tips-article h2,
    .faq-article h2 {
        font-size: 1.7rem;
    }

    .tutorial-intro,
    .tips-subtitle,
    .faq-subtitle {
        font-size: 0.9rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tip-card {
        padding: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

