:root {
    --bg-main: #0f1220;
    --bg-section: #151935;
    --accent: #e94560;
    --accent-soft: rgba(233,69,96,.2);
    --text-main: #ffffff;
    --text-muted: #b8b8d1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Inter, Segoe UI, system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
}

section {
    padding: 50px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15,18,32,.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo-text {
    font-family: 'Courier New', monospace;
}

.logo-text .brackets {
    color: var(--accent);
    font-weight: 700;
}

.logo-box {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    border-radius: 10px;
}

nav a {
    margin-left: 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s;
}

nav a:hover {
    color: var(--text-main);
}

/* Hero */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(233,69,96,.15), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(127,95,255,.15), transparent 40%);
}

.hero h1 {
    font-size: 3.4rem;
    max-width: 900px;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.05rem;
    max-width: 700px;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-section);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.04);
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.08);
}

.card h3 {
    color: var(--text-main);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

ul.features {
    list-style: none;
    margin-top: 16px;
}

ul.features li {
    margin-bottom: 10px;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
}

ul.features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.tech-badge {
    background: rgba(255,255,255,.08);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .9rem;
    color: var(--text-muted);
}

.cta-section {
    background: linear-gradient(135deg, rgba(233,69,96,.1), rgba(127,95,255,.1));
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 40px;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Form */
form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233,69,96,.3);
}

.message {
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.message.success {
    background: rgba(157,255,161,.1);
    color: #9dffa1;
    border: 1px solid rgba(157,255,161,.2);
}

.message.error {
    background: rgba(255,157,157,.1);
    color: #ff9d9d;
    border: 1px solid rgba(255,157,157,.2);
}

footer {
    background: #0b0d18;
    padding: 60px 20px 40px;
    margin-top: 100px;
}

footer p {
    font-size: .95rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer-section a:hover {
    color: var(--text-main);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: var(--text-muted);
    font-size: .9rem;
    text-align: center;
}

/* =========================================
   Plugins Page Styles (Adapted)
   ========================================= */

.hero-plugins {
    padding: 150px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(233,69,96,.15), transparent 60%);
}

.hero-plugins h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-plugins p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.plugin-card {
    background: var(--bg-section);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.05);
    transition: transform .2s, box-shadow .2s;
}

.plugin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.plugin-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.plugin-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.plugin-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.plugin-title .recode {
    color: var(--accent);
}

.plugin-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.plugin-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: .9rem;
    color: var(--text-muted);
}

.plugin-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.plugin-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .2s;
}

.plugin-button:hover {
    transform: translateY(-2px);
}

.coming-soon {
    opacity: .6;
    pointer-events: none;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255,255,255,.1);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform .2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* =========================================
   Single Plugin Page Styles (e.g. Cron Viewer)
   ========================================= */

.plugin-page-header {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at 50% 50%, rgba(233,69,96,.15), transparent 70%);
    border-radius: 20px;
    margin-bottom: 60px;
}

.plugin-page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.plugin-page-header .tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.plugin-page-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform .2s, box-shadow .2s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233,69,96,.3);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,.1);
    color: var(--text-main);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 15px;
    transition: background .2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: var(--bg-section);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.05);
}

.feature-card h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: .95rem;
}



code {
    background: rgba(255,255,255,.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: .9em;
}

ol, ul {
    padding-left: 25px;
    color: var(--text-muted);
    margin: 20px 0;
}

ol li, ul li {
    margin-bottom: 10px;
}

.changelog {
    background: var(--bg-section);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.05);
}

.changelog h3 {
    margin-top: 0;
}

.changelog-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.changelog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.changelog-date {
    color: var(--accent);
    font-weight: 600;
    margin-right: 10px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(233,69,96,.1), rgba(127,95,255,.1));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
}

.cta-box h3 {
    margin-bottom: 15px;
}

@media(max-width: 900px) {
    .grid-2, .grid-3, .footer-grid { 
        grid-template-columns: 1fr; 
    }
    .hero h1 { 
        font-size: 2.4rem; 
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 2rem;
    }
    nav {
        display: none;
    }
    
    /* Plugins Page Responsive */
    .hero-plugins h1 {
        font-size: 2.2rem;
    }
    .plugins-grid {
        grid-template-columns: 1fr;
    }
    
    /* Plugin Detail Responsive */
    .plugin-page-header h1 {
        font-size: 2rem;
    }
    .plugin-page-header .tagline {
        font-size: 1.1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .plugin-page-meta {
        flex-direction: column;
        gap: 10px;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    h2 {
        font-size: 1.8rem;
    }
}

/* Plugin Page Main Container */
.plugin-page-main {
    max-width: 900px;
    margin: 100px auto 60px;
    padding: 20px;
}


-e 


/**
 * Screenshot Slider Styles
 * Re{code} CMS v1.1.0
 *
 * Two modes:
 *   .screenshot-grid    — plain grid (no JS)
 *   .screenshot-carousel — carousel (JS injects .carousel-track inside)
 */

/* ================================================
   Shared styles for .screenshot and .screenshot-caption
   (used in both modes)
   ================================================ */

.screenshot {
    cursor: pointer;
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    transition: box-shadow .2s;
}

.screenshot:hover img {
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
}

.screenshot-caption {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* ================================================
   Mode 1: .screenshot-grid — plain grid
   ================================================ */

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

/* ================================================
   Mode 2: .screenshot-carousel — carousel
   ================================================ */

.screenshot-carousel {
    position: relative;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
    background: rgba(0,0,0,0.2); /* Dark background for the slider area */
}

/* Track — injected by JS */
.carousel-track {
    display: flex;
    transition: transform 0.35s ease;
}

.carousel-track .screenshot {
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    /* Center the image within the slide */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* Override image styles for carousel to be compact/fixed-height */
.screenshot-carousel .screenshot img {
    width: auto;
    height: 450px;       /* Fixed height */
    max-width: 90%;      /* Prevent touching edges */
    object-fit: contain; /* Maintain aspect ratio */
    cursor: pointer;     /* Hand cursor */
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(15,18,32,.75);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.carousel-arrow:hover { background: rgba(15,18,32,.95); }
.carousel-arrow::before { color: #fff; font-size: 24px; line-height: 1; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.prev::before { content: "‹"; }
.carousel-arrow.next { right: 12px; }
.carousel-arrow.next::before { content: "›"; }

/* Footer: counter + dots */
.carousel-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.carousel-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-width: 40px;
    text-align: center;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    cursor: pointer;
    transition: background .2s, transform .2s;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: var(--accent, #e94560);
    transform: scale(1.3);
}

/* ================================================
   Lightbox (shared for both modes)
   ================================================ */

.screenshot-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 10000;
    animation: fadeIn 0.2s;
}

.screenshot-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

.lightbox-caption {
    margin-top: 16px;
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
    max-width: 760px;
    padding: 0 20px;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 0.9rem;
    background: rgba(0,0,0,.5);
    padding: 6px 14px;
    border-radius: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-close::before { content: "✕"; color: #fff; font-size: 22px; line-height: 1; }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 10001;
}

.lightbox-arrow:hover { background: rgba(255,255,255,.2); }
.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }
.lightbox-arrow::before { color: #fff; font-size: 28px; line-height: 1; }
.lightbox-arrow.prev::before { content: "‹"; }
.lightbox-arrow.next::before { content: "›"; }

.lightbox-keyboard-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: 0.82rem;
    background: rgba(0,0,0,.5);
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Mobile ── */
@media(max-width: 768px) {
    .screenshot-grid { grid-template-columns: 1fr; }

    .carousel-arrow { width: 38px; height: 38px; }
    .carousel-arrow::before { font-size: 18px; }
    .carousel-arrow.prev { left: 6px; }
    .carousel-arrow.next { right: 6px; }

    .lightbox-arrow { width: 46px; height: 46px; }
    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
    .lightbox-counter { top: 10px; left: 10px; padding: 5px 10px; font-size: 0.8rem; }
    .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .lightbox-keyboard-hint { display: none; }
}
