/* Ultra-Premium Glassmorphic Post Page */
.post-page {
    background-color: var(--bg-base);
    overflow-x: hidden;
}

.post-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 60px 24px;
    box-sizing: border-box;
}

.post-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.post-main-col {
    flex: 1;
    min-width: 0;
}

.post-side-col {
    width: 320px;
    flex-shrink: 0;
}

/* Base App Header */
.app-header {
    position: relative;
    z-index: 10;
    margin-top: -15px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header-top-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 4px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    object-fit: cover;
}

.app-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0;
}

.play-protect-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #00c853;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.meta-item .material-icons-round {
    font-size: 18px;
    color: var(--accent);
}

.meta-rating .material-icons-round {
    color: #ff9800 !important;
}

.post-download-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700; /* Increased boldness */
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 1;
}

/* Double Gradient Borders */
.dl-btn::before, .dl-btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), #9b00ff);
    transition: all 0.4s ease;
    opacity: 0.6;
    z-index: 2;
}

.dl-btn::before { left: 0; }
.dl-btn::after { right: 0; }

.dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.15);
    background: linear-gradient(90deg, #00e5ff, #9b00ff) !important;
    color: #fff !important;
}

.dl-btn:hover::before, .dl-btn:hover::after {
    width: 5px;
    opacity: 1;
}

.dl-btn.android { 
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
}

.dl-btn.ios { 
    background: #ffffff;
    color: #0a0a0c; /* Writing in the bg of body */
    border: none;
}

.dl-btn.android .material-icons-round { color: #fff; }
.dl-btn.ios .material-icons-round { color: #0a0a0c; }

.dl-btn:hover .material-icons-round {
    color: #fff !important;
    transform: scale(1.1);
}

.dl-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.feat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Consolidated Premium Sections */
.article-section, .screenshots-section, .side-widget, .app-header {
    background: linear-gradient(145deg, var(--bg-surface), rgba(0,229,255,0.05));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.article-section::before, .article-section::after,
.screenshots-section::before, .screenshots-section::after,
.side-widget::before, .side-widget::after,
.app-header::before, .app-header::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, transparent, var(--accent), #9b00ff, transparent);
    opacity: 0.9;
    z-index: 50;
    pointer-events: none;
}

.article-section::before, .screenshots-section::before, .side-widget::before, .app-header::before { left: 0; }
.article-section::after, .screenshots-section::after, .side-widget::after, .app-header::after { right: 0; }

.article-section h2, .screenshots-section h2, .side-widget h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
}
.carousel-container::-webkit-scrollbar { display: none; }

.carousel-track {
    display: flex;
    gap: 16px;
    padding: 10px 0;
}

.screenshot-slide {
    flex: 0 0 400px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    cursor: zoom-in;
}

.screenshot-slide:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.15);
}

@media (max-width: 600px) {
    .screenshot-slide {
        flex: 0 0 85%;
        height: 150px;
    }
    .carousel-btn { display: none; }
}

.ss-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-secondary);
    font-weight: 700;
}
.img-ph .material-icons-round { font-size: 48px; margin-bottom: 16px; color: rgba(255,255,255,0.1); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100;
    border: 1px solid rgba(255,255,255,0.1);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Read More */
.read-more-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 24px; padding: 16px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px dashed rgba(0, 229, 255, 0.3);
    color: var(--accent);
    font-weight: 700; border-radius: 12px; cursor: pointer;
}

.article-content.collapsed { max-height: 150px; overflow: hidden; position: relative; }
.article-content.collapsed::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(to top, rgba(20,20,24,0.9), transparent);
}

/* Sidebar Widget */
.side-card {
    display: flex; gap: 12px; align-items: center; padding: 12px;
    border-radius: 12px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05); margin-bottom: 12px;
}

.side-img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.side-info h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.side-info p { font-size: 12px; color: var(--text-secondary); }

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1002;
}

@media (max-width: 1024px) {
    .drawer-close { display: flex; }
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    transform: rotate(90deg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.open img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--accent);
    color: #000;
    transform: rotate(90deg);
}

/* --- RESPONSIVENESS --- */

@media (max-width: 1024px) {
    .post-layout { flex-direction: column; }
    .post-side-col { width: 100%; }
}

@media (max-width: 768px) {
    .post-container { padding: 20px 16px; }
    
    .app-header { padding: 20px; margin-top: 10px; }
    .header-top-row { gap: 16px; }
    .app-icon { width: 80px; height: 80px; border-radius: 18px; }
    .app-title { font-size: 20px; }
    
    .app-meta { gap: 8px; }
    .meta-item { flex: 1 1 calc(50% - 8px); font-size: 12px; padding: 10px; justify-content: center; }

    .premium-section { padding: 24px 16px; }
    
    .screenshots-section.premium-section { padding-left: 0; padding-right: 0; }
    .screenshots-section h2 { padding-left: 20px; font-size: 18px; }
    
    .carousel-track { gap: 0; }
    .screenshot-slide {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }
    .carousel-container { padding: 0 20px; }
    .carousel-btn { width: 36px; height: 36px; }
    
    .article-section h2 { font-size: 18px; }
    .article-content { font-size: 15px; line-height: 1.6; }
}
/* --- DOWNLOAD MODAL REVAMPED --- */
.dl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dl-modal {
    background: linear-gradient(165deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.98));
    width: 100%;
    max-width: 480px;
    border-radius: 40px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 229, 255, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dl-overlay.open .dl-modal {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.dl-icon-circle {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    border-radius: 35% 65% 65% 35% / 35% 35% 65% 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 2px solid rgba(0, 229, 255, 0.2);
    position: relative;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 35% 65% 65% 35% / 35% 35% 65% 65%; }
    50% { border-radius: 65% 35% 35% 65% / 65% 65% 35% 35%; }
    100% { border-radius: 35% 65% 65% 35% / 35% 35% 65% 65%; }
}

.dl-icon-circle i {
    font-size: 48px;
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent));
}

.dl-status-label {
    font-size: 11px;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.8;
}

.dl-modal h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.dl-modal p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.dl-prog-wrap {
    background: rgba(255, 255, 255, 0.03);
    height: 12px;
    border-radius: 100px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.dl-prog-bar {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #00e5ff, #9b00ff, #00e5ff);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

@keyframes gradientMove {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}

.dl-prog-stats {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    align-items: center;
}

#dlPercent {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#dlStepMsg {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    padding: 10px 24px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 100px;
    display: inline-block;
    min-width: 200px;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 600px) {
    .dl-modal {
        padding: 40px 24px;
        border-radius: 32px;
    }
    .dl-modal h2 { font-size: 24px; }
    .dl-modal p { font-size: 14px; margin-bottom: 30px; }
    #dlPercent { font-size: 36px; }
    #dlStepMsg { font-size: 13px; min-width: 180px; }
}

@keyframes dlFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.article-content h2, 
.article-content h3 {
    color: var(--accent);
    margin-top: 25px;
    margin-bottom: 15px;
}

/* --- PROS & CONS --- */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .pros-cons-grid { grid-template-columns: 1fr; }
}

.pros-box, .cons-box {
    padding: 24px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: left;
}

.pros-box {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.cons-box {
    background: rgba(244, 67, 54, 0.08);
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.pros-box h4, .cons-box h4 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-box h4 { color: #81c784; }
.cons-box h4 { color: #e57373; }

.pros-box ul, .cons-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-box li, .cons-box li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
    color: var(--text-secondary);
}

.pros-box li::before { content: 'check_circle'; font-family: 'Material Icons Round'; position: absolute; left: 0; color: #81c784; font-size: 16px; }
.cons-box li::before { content: 'cancel'; font-family: 'Material Icons Round'; position: absolute; left: 0; color: #e57373; font-size: 16px; }

/* --- FAQ SECTION --- */
.faq-wrap { margin-top: 40px; text-align: left; }
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
}
.faq-item h5 { color: var(--accent); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }

