:root{
    --color-primary:#f5c84c;
    --color-primary-dark:#e0a800;
    --color-primary-darker:#b8860b;

    --color-accent:#7c3aed;
    --color-accent-dark:#5b21b6;

    --color-text:#e8eaf2;
    --color-text-muted:#b7b9cf;

    --color-bg:#0f0f1a;
    --color-bg-soft:#141428;
    --color-bg-muted:#0b0b14;

    --color-border:#2a2a44;
    --color-border-soft:#2f2f4d;

    --gradient-hero:#0f0f1a;
    --gradient-icon:#f5c84c;

    --radius-md:4px;
    --radius-lg:6px;

    --space-xs:0.75rem;
    --space-sm:1rem;
    --space-md:1.5rem;

    --transition-fast:140ms;
    --transition-base:220ms;
    --transition-slow:520ms;

    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;

    --shadow-primary:none;
}

.single-post{
    overflow:hidden;
}

.single-post .post-meta{
    font-size:0.9rem;
}

.single-post .post-meta i{
    color:var(--color-primary);
}

.post-content{
    line-height:1.8;
    font-size:1.05rem;
    color:var(--color-text);
}

.post-content :is(h2, h3, h4){
    margin-block:2rem 1rem;
    font-weight:700;
    color:var(--color-primary);
    line-height:1.4;
}

.post-content h2{
    font-size:1.75rem;
    padding-bottom:var(--space-xs);
    border-bottom:2px solid var(--color-primary);
}

.post-content h3{
    font-size:1.35rem;
}

.post-content :is(p, li){
    margin-bottom:var(--space-sm);
}

.post-content blockquote{
    border-inline-start:4px solid var(--color-accent);
    padding:var(--space-sm) var(--space-md);
    background:var(--color-bg-muted);
    border-radius:0 4px 4px 0;
    margin-block:var(--space-md);
    color:var(--color-text-muted);
    font-style:italic;
}

.post-content img{
    max-width:100%;
    height:auto;
    border-radius:4px;
    margin-block:var(--space-sm);
    box-shadow:none;
}

.post-content a{
    color:var(--color-primary);
    text-decoration:underline;
    transition:color var(--transition-fast) ease;
}

.post-content a:hover{
    color:var(--color-primary-dark);
}

.post-content ul,
.post-content ol{
    padding-inline-start:1.5rem;
}

.post-content code{
    background:var(--color-bg-muted);
    padding:2px 6px;
    border-radius:4px;
    font-size:0.9em;
    color:var(--color-primary);
}

.post-content pre{
    background:var(--color-accent);
    color:#fff;
    padding:var(--space-md);
    border-radius:4px;
    overflow-x:auto;
    margin-block:var(--space-md);
}

.post-content pre code{
    background:transparent;
    color:inherit;
    padding:0;
}

.post-content table{
    width:100%;
    border-collapse:collapse;
    margin-block:var(--space-md);
}

.post-content table th,
.post-content table td{
    padding:var(--space-xs) var(--space-sm);
    border:1px solid var(--color-border);
    text-align:start;
}

.post-content table th{
    background:var(--color-bg-soft);
    font-weight:600;
}

.toc-box{
    border-inline-start:3px solid var(--color-primary);
}

.toc-box ol{
    padding-inline-start:1.2rem;
}

.toc-box ol li{
    margin:0.4rem 0;
}

.toc-box ol li a{
    transition:color var(--transition-fast) ease, padding-inline-start var(--transition-fast) ease;
}

.toc-box ol li a:hover{
    color:var(--color-primary-dark);
    text-decoration:underline !important;
    padding-inline-start:4px;
}

.post-tags .badge{
    background:var(--color-bg-muted) !important;
    color:#d1d5db !important;
    padding:6px 12px;
    font-weight:500;
    transition:background-color var(--transition-fast) ease, color var(--transition-fast) ease, transform var(--transition-fast) ease;
    border:1px solid var(--color-border-soft);
    border-radius:999px;
}

.post-tags .badge:hover{
    background:var(--color-primary) !important;
    color:#0f0f1a !important;
    transform:translateY(-1px);
    border-color:var(--color-primary-dark);
}

.post-nav{
    flex-wrap:wrap;
    gap:var(--space-sm);
}

.post-nav .btn{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
}

.app-hero-section{
    background:#0f0f1a;
    color:#fff;
    position:relative;
    overflow:hidden;
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.app-hero-section::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(10,10,18,0.55);
    z-index:0;
}

.app-hero-section > .container{
    position:relative;
    z-index:1;
}

.app-hero-section h1{
    font-size:clamp(2rem, 4vw, 3rem);
    line-height:1.2;
    color:#fff;
    text-shadow:0 1px 0 rgba(0,0,0,0.35);
}

.app-hero-section img{
    transition:transform var(--transition-slow) ease, filter var(--transition-slow) ease;
    filter:none;
}

.app-hero-section img:hover{
    transform:translateY(-10px);
}

.text-white-50{
    color:rgba(255,255,255,0.65) !important;
}

.app-qr-section{
    background:var(--color-bg-soft);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.qr-card{
    transition:transform var(--transition-base) ease, border-color var(--transition-fast) ease, background-color var(--transition-fast) ease;
    border:2px solid transparent;
    border-radius:4px;
    background:#141428;
}

.qr-card:hover{
    transform:scale(1.03);
    border-color:var(--color-primary);
    box-shadow:none;
}

.qr-card img{
    image-rendering:pixelated;
    image-rendering:-moz-crisp-edges;
    image-rendering:crisp-edges;
    border-radius:4px;
}

.app-install-section{
    background:var(--color-bg-soft);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.app-install-section .badge.rounded-circle{
    width:50px;
    height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:1.2rem;
    font-weight:700;

    background:var(--color-primary);
    color:#0f0f1a;
    border:1px solid rgba(0,0,0,0.2);
    border-radius:999px;
}

.app-install-section .bg-white{
    transition:transform var(--transition-base) ease, border-color var(--transition-fast) ease, background-color var(--transition-fast) ease;
    position:relative;
    overflow:hidden;
    background:#111122 !important;
    border:1px solid var(--color-border);
    border-radius:4px;
    color:#fff;
}

.app-install-section .bg-white:hover{
    transform:translateY(-5px);
    box-shadow:none;
    border-color:var(--color-primary);
}

.app-install-section .bg-white::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:4px;
    height:100%;
    background:var(--color-primary);
    transform:scaleY(0);
    transform-origin:top;
    transition:transform var(--transition-base) ease;
}

.app-install-section .bg-white:hover::before{
    transform:scaleY(1);
}

.app-showcase-section{
    background:var(--color-bg);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.app-showcase-section img{
    transition:transform var(--transition-slow) ease, filter var(--transition-slow) ease;
    filter:none;
    border-radius:4px;
    border:1px solid var(--color-border);
}

.app-showcase-section img:hover{
    transform:translateY(-5px) rotate(-1deg);
}

.app-showcase-section .bg-white{
    transition:transform var(--transition-base) ease, border-color var(--transition-fast) ease, background-color var(--transition-fast) ease;
    border-inline-start:3px solid transparent;
    border-radius:4px;
    background:#141428 !important;
    border:1px solid var(--color-border);
    color:#fff;
}

.app-showcase-section .bg-white:hover{
    border-inline-start-color:var(--color-accent);
    transform:translateX(5px);
    box-shadow:none;
}

.contact-channels-section{
    background:var(--color-bg);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.contact-channels-section article{
    transition:transform var(--transition-base) ease, border-color var(--transition-fast) ease, background-color var(--transition-fast) ease;
    border:1px solid var(--color-border-soft);
    background:var(--color-bg-soft);
    border-radius:4px;
}

.contact-channels-section article:hover{
    transform:translateY(-5px);
    box-shadow:none;
    border-color:var(--color-primary);
}

.contact-channels-section article ul li{
    transition:padding var(--transition-fast) ease, color var(--transition-fast) ease;
}

.contact-channels-section article ul li:hover{
    padding-inline-start:4px;
}

.contact-quick-section{
    background:var(--color-bg-soft);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.contact-quick-section .contact-card{
    transition:transform var(--transition-base) ease, border-color var(--transition-fast) ease, background-color var(--transition-fast) ease;
    border-radius:4px;
    border:1px solid var(--color-border);
    background:var(--color-bg-muted);
}

.contact-quick-section .contact-card:hover{
    transform:translateY(-5px);
    box-shadow:none;
    border-color:var(--color-accent);
}

.contact-quick-section .contact-card i{
    transition:transform var(--transition-base) ease;
}

.contact-quick-section .contact-card:hover i{
    transform:scale(1.1) rotate(-5deg);
}

.contact-form-section{
    background:var(--color-bg-soft);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.contact-form-section .form-control,
.contact-form-section .form-select{
    border:2px solid var(--color-border);
    transition:border-color var(--transition-fast) ease, background-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
    border-radius:4px;
    background:#0e0e1a;
    color:#fff;
}

.contact-form-section .form-control::placeholder,
.contact-form-section .form-select::placeholder{
    color:rgba(255,255,255,0.45);
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus{
    border-color:var(--color-accent);
    box-shadow:none;
    outline:0;
    background:#0f0f1a;
}

.contact-form-section button[type="submit"]{
    transition:transform var(--transition-base) ease, background-color var(--transition-fast) ease, border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
    border-radius:4px;
}

.contact-form-section button[type="submit"]:hover{
    transform:translateY(-2px);
    box-shadow:none;
}

.contact-commitments-section{
    background:var(--color-bg-soft);
    border-top:1px solid var(--color-border);
    border-bottom:1px solid var(--color-border);
}

.contact-commitments-section .bg-white{
    transition:transform var(--transition-base) ease, border-color var(--transition-fast) ease, background-color var(--transition-fast) ease;
    text-align:center;
    background:#141428 !important;
    border:1px solid var(--color-border);
    border-radius:4px;
    color:#fff;
}

.contact-commitments-section .bg-white:hover{
    transform:translateY(-5px);
    box-shadow:none;
    border-color:var(--color-primary);
}

.contact-commitments-section .bg-white i{
    transition:transform var(--transition-base) ease;
}

.contact-commitments-section .bg-white:hover i{
    transform:scale(1.15);
}

main:has(> .container > .bg-white > form) .input-group-text{
    background-color:var(--color-bg-muted);
    border-color:var(--color-border);
    border-inline-end:none;
    color:#fff;
    border-radius:4px;
    border-style:solid;
}

main:has(> .container > .bg-white > form) .input-group .form-control{
    border-inline-start:none;
    border-radius:4px;
    background:#0e0e1a;
    color:#fff;
}

main:has(> .container > .bg-white > form) .input-group:focus-within .input-group-text{
    border-color:var(--color-primary);
    background-color:#120f1f;
}

main:has(> .container > .bg-white > form) .input-group:focus-within .form-control{
    border-color:var(--color-primary);
    background:#0f0f1a;
}

main:has(> .container > .bg-white > form) .form-check-input:checked{
    background-color:var(--color-accent);
    border-color:var(--color-accent);
}

main:has(> .container > .bg-white > form) button[type="submit"]{
    transition:transform var(--transition-base) ease, background-color var(--transition-fast) ease, border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
    font-weight:600;
    border-radius:4px;
}

main:has(> .container > .bg-white > form) button[type="submit"]:hover{
    transform:translateY(-2px);
    box-shadow:none;
}

.icon-img{
    max-width:32px;
    max-height:32px;
    object-fit:contain;
}

.icon-emoji{
    display:inline-block;
    line-height:1;
}

.hero-buttons .btn{
    transition:transform var(--transition-base) ease, background-color var(--transition-fast) ease, border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease, color var(--transition-fast) ease;
    border-radius:4px;
}

.hero-buttons .btn:hover{
    transform:translateY(-3px);
    box-shadow:none;
}

.hero-buttons .btn-warning{
    background-color:var(--color-primary);
    border-color:var(--color-primary);
    color:var(--color-primary-darker);
    font-weight:600;
    box-shadow:none;
}

.hero-buttons .btn-warning:hover{
    background-color:var(--color-primary-dark);
    border-color:var(--color-primary-dark);
    box-shadow:none;
}

.hero-buttons .btn-outline-light:hover{
    background-color:rgba(255,255,255,0.12);
    color:#fff;
    border-color:rgba(255,255,255,0.35);
}

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track{
    background:var(--color-bg-muted);
}

::-webkit-scrollbar-thumb{
    background:#8b5cf6;
    border-radius:5px;
    border:2px solid var(--color-bg-muted);
}

::-webkit-scrollbar-thumb:hover{
    background:var(--color-primary);
}

*{
    scrollbar-width:thin;
    scrollbar-color:#8b5cf6 var(--color-bg-muted);
}

@media print{
    :is(.header,
        .footer,
        .sidebar-widgets,
        .social-share,
        #back-to-top,
        .breadcrumb-nav,
        .notice-bar,
        .cta-banner-section,
        .post-nav,
        .related-posts,
        .author-box,
        .pagination,
        .navbar-toggler,
        .nav-item){
        display:none !important;
    }

    body{
        background:#fff !important;
        color:#000 !important;
        font-size:12pt;
    }

    .single-post{
        box-shadow:none !important;
        border:none !important;
        padding:0 !important;
        max-width:100% !important;
    }

    .post-content{
        font-size:11pt;
        line-height:1.6;
    }

    a{
        text-decoration:underline;
        color:#000 !important;
    }

    a[href^="http"]::after{
        content:" (" attr(href) ")";
        font-size:9pt;
        color:#555;
    }

    a[href^="#"]::after,
    a[href^="javascript:"]::after,
    a[href^="mailto:"]::after,
    a[href^="tel:"]::after{
        content:"";
    }

    .post-content img{
        max-width:100% !important;
        page-break-inside:avoid;
        border-radius:0 !important;
    }

    :is(h1, h2, h3, h4){
        page-break-after:avoid;
        color:#000 !important;
        text-shadow:none !important;
    }

    p, li{
        orphans:3;
        widows:3;
    }
}

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

@keyframes pulse{
    0%, 100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.05);
    }
}

.animate-fade-in{
    animation:fadeInUp 0.6s ease-out;
}

.animate-pulse{
    animation:pulse 2s infinite;
}

@media (max-width: 991.98px){
    .post-content{
        font-size:1rem;
    }

    .post-content h2{
        font-size:1.5rem;
    }

    .post-content h3{
        font-size:1.2rem;
    }
}

@media (max-width: 767.98px){
    .single-post{
        padding:var(--space-md) !important;
    }

    .post-content{
        font-size:0.95rem;
    }

    .post-content h2{
        font-size:1.35rem;
    }

    .post-nav{
        flex-direction:column;
    }

    .post-nav .btn{
        width:100%;
    }

    .post-tags .badge{
        font-size:0.8rem;
        padding:4px 8px;
    }

    .app-hero-section h1{
        font-size:1.75rem;
    }

    .app-install-section .badge.rounded-circle{
        width:40px;
        height:40px;
        font-size:1rem;
    }

    .toc-box{
        padding:var(--space-sm) !important;
    }

    .qr-card img{
        max-width:140px !important;
    }
}

@media (max-width: 575.98px) {
    .app-hero-section .row .col-lg-7 {
        text-align: center;
        color: #f2f1ff;
    }

    .app-hero-section .badge.bg-warning {
        font-size: 0.85rem;
        color: #1b1430;
        background-color: #d6b15e;
        border-color: #b78940;
        border-style: solid;
        border-width: 1px;
        border-radius: 4px;
        box-shadow: none;
        text-shadow: none;
        opacity: 0.98;
        transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, opacity 220ms ease;
    }

    .contact-channels-section article,
    .contact-quick-section .contact-card {
        padding: var(--space-md) !important;
        background-color: #0f0f1a;
        color: #f2f1ff;
        border-radius: 4px;
        border-style: solid;
        border-color: #2a2446;
        border-width: 1px;
        box-shadow: none;
        text-shadow: none;
        outline: none;
        transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, opacity 220ms ease;
    }
}