.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
    position: relative;
}

.page-hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.meteor-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin: 16px 0 20px;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.plugin-card {
    background: rgba(20, 10, 50, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.plugin-card:hover {
    border-color: rgba(155, 89, 182, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(155, 89, 182, 0.15);
}

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

.plugin-card-featured {
    border-color: rgba(255, 215, 0, 0.2);
}

.plugin-card-featured::before {
    background: linear-gradient(90deg, transparent, var(--gold), var(--purple), transparent);
    opacity: 0.5;
}

.plugin-preview {
    margin: -28px -28px 20px -28px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    position: relative;
    max-height: 200px;
}

.constellation-wrap {
    background: radial-gradient(ellipse at center, rgba(20, 10, 50, 0.6) 0%, rgba(5, 2, 15, 0.9) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.constellation {
    width: 100%;
    height: 100%;
}

.constellation-star {
    fill: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
    animation: starPulse 2s ease-in-out infinite;
}

.constellation-line {
    stroke: rgba(155, 89, 182, 0.25);
    stroke-width: 1;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 2s ease forwards;
}

.cs-1 {
    animation-delay: 0s;
}

.cs-2 {
    animation-delay: 0.4s;
}

.cs-3 {
    animation-delay: 0.8s;
}

.cs-4 {
    animation-delay: 1.2s;
}

.cs-5 {
    animation-delay: 1.6s;
}

.cs-6 {
    animation-delay: 2.0s;
}

.cs-7 {
    animation-delay: 2.4s;
}

.cl-1 {
    animation-delay: 0.2s;
}

.cl-2 {
    animation-delay: 0.5s;
}

.cl-3 {
    animation-delay: 0.8s;
}

.cl-4 {
    animation-delay: 1.1s;
}

.cl-5 {
    animation-delay: 1.4s;
}

.cl-6 {
    animation-delay: 1.7s;
}

.cl-7 {
    animation-delay: 2.0s;
}

.cl-8 {
    animation-delay: 2.3s;
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 0.4;
        filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 1)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.plugin-ps {
    font-size: 0.75rem;
    color: rgba(255, 215, 0, 0.5);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(155, 89, 182, 0.08);
}

.plugin-screenshot {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.plugin-card:hover .plugin-screenshot {
    transform: scale(1.05);
}

.plugin-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.plugin-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(255, 215, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold);
    border: 1px solid rgba(155, 89, 182, 0.2);
}

.plugin-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
}

.status-dot.active {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.status-dot.dev {
    background: var(--gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.plugin-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.plugin-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 18px;
}

.plugin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.plugin-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(155, 89, 182, 0.12);
    border: 1px solid rgba(155, 89, 182, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.plugin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(155, 89, 182, 0.1);
}

.plugin-version {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Orbitron', monospace;
}

.plugin-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.plugin-download:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.plugins-cta {
    text-align: center;
    padding: 60px 40px;
    background: rgba(20, 10, 50, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.plugins-cta h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.plugins-cta p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    font-size: 1rem;
}

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

    .page-hero {
        min-height: 40vh;
        padding-top: 100px;
    }

    .page-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-hero-character {
        width: 150px;
        height: 150px;
    }

    .plugins-cta {
        padding: 40px 24px;
    }
}
