@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg: #07070f;
    --surface: rgba(14, 16, 30, 0.65);
    --surface-hover: rgba(20, 22, 42, 0.85);
    --border: rgba(0, 200, 255, 0.1);
    --border-hover: rgba(0, 200, 255, 0.3);
    --cyan: #00d4ff;
    --magenta: #ff00e5;
    --purple: #6c00ff;
    --text: #e0e6f0;
    --muted: #6a7a94;
    --radius: 14px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Animated Background ── */
#stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(10, 10, 46, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 70%, rgba(26, 0, 51, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(0, 20, 40, 0.4) 0%, transparent 40%),
        var(--bg);
}

#stars::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 5% 15%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 12% 55%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 22% 8%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 48% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 58% 88%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 68% 42%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 78% 12%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 35%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.2px 1.2px at 15% 92%, rgba(0, 212, 255, 0.4) 0%, transparent 100%),
        radial-gradient(1.2px 1.2px at 45% 5%, rgba(255, 0, 229, 0.3) 0%, transparent 100%),
        radial-gradient(1.2px 1.2px at 75% 50%, rgba(108, 0, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1.2px 1.2px at 55% 95%, rgba(0, 212, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1.2px 1.2px at 88% 80%, rgba(255, 0, 229, 0.3) 0%, transparent 100%);
    animation: twinkle 6s ease-in-out infinite alternate;
}

#stars::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1px 1px at 30% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.2) 0%, transparent 100%);
    animation: twinkle 4s ease-in-out infinite alternate-reverse;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ── Floating Orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: orb-float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px; height: 400px;
    background: rgba(0, 212, 255, 0.08);
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px; height: 350px;
    background: rgba(255, 0, 229, 0.06);
    bottom: -50px; right: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: rgba(108, 0, 255, 0.05);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -40px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(40px, 30px); }
}

.orb-3 {
    animation: orb-pulse 15s ease-in-out infinite;
}

@keyframes orb-pulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.3); }
}

/* ── Layout ── */
header, .search-bar, section, footer {
    position: relative;
    z-index: 1;
}

/* ── Header / Hero ── */
header {
    text-align: center;
    padding: 7rem 1rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, rgba(255, 0, 229, 0.03) 40%, transparent 70%);
    pointer-events: none;
    animation: hero-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes hero-glow-pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    100% { transform: translateX(-50%) scale(1.3); opacity: 1; }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
    pointer-events: none;
    animation: grid-scroll 8s linear infinite;
}

@keyframes grid-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    animation: logo-entrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

@keyframes logo-entrance {
    0% { opacity: 0; transform: scale(0.8) translateY(30px); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* ── Animated Logo Icon ── */
.logo-icon {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-diamond {
    font-size: 3rem;
    color: #fff;
    position: relative;
    z-index: 3;
    text-shadow:
        0 0 20px var(--cyan),
        0 0 40px var(--cyan),
        0 0 80px var(--magenta),
        0 0 120px rgba(255, 0, 229, 0.3);
    animation: diamond-pulse 3s ease-in-out infinite alternate;
}

@keyframes diamond-pulse {
    0% { text-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan), 0 0 80px transparent; transform: scale(1) rotate(0deg); }
    50% { text-shadow: 0 0 40px var(--cyan), 0 0 80px var(--cyan), 0 0 120px rgba(255, 0, 229, 0.4); transform: scale(1.15) rotate(8deg); }
    100% { text-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan), 0 0 80px var(--magenta); transform: scale(1) rotate(-8deg); }
}

.icon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.15);
    animation: ring-spin 8s linear infinite;
    z-index: 1;
}

.icon-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan), 0 0 60px rgba(0, 212, 255, 0.3);
    transform: translateX(-50%);
}

.ring-2 {
    width: 82%;
    height: 82%;
    border-color: rgba(255, 0, 229, 0.12);
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 5s;
}

.ring-2::before {
    background: var(--magenta);
    box-shadow: 0 0 20px var(--magenta), 0 0 40px var(--magenta);
    width: 10px;
    height: 10px;
}

.ring-3 {
    width: 65%;
    height: 65%;
    border-color: rgba(108, 0, 255, 0.1);
    border-width: 1px;
    animation-duration: 12s;
}

.ring-3::before {
    background: var(--purple);
    box-shadow: 0 0 15px var(--purple), 0 0 30px var(--purple);
    width: 6px;
    height: 6px;
    top: -1px;
}

.icon-core {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
    z-index: 0;
    animation: core-pulse 2s ease-in-out infinite alternate;
}

@keyframes core-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.2); opacity: 0.8; }
}

@keyframes ring-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Particles ── */
.icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
    animation: particle-float 3s ease-in-out infinite;
}

.p1 { top: 10%; left: 20%; animation-delay: 0s; background: var(--cyan); }
.p2 { top: 15%; right: 15%; animation-delay: 0.5s; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.p3 { bottom: 25%; left: 8%; animation-delay: 1s; background: var(--purple); box-shadow: 0 0 6px var(--purple); }
.p4 { bottom: 10%; right: 25%; animation-delay: 1.5s; background: var(--cyan); }
.p5 { top: 45%; left: 5%; animation-delay: 2s; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.p6 { bottom: 40%; right: 5%; animation-delay: 2.5s; background: var(--purple); box-shadow: 0 0 6px var(--purple); }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    25% { opacity: 1; }
    50% { transform: translate(15px, -15px) scale(1.5); opacity: 0.8; }
    75% { opacity: 0.3; }
}

/* ── Logo Text ── */
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.logo-text h1 {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.glitch {
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088ff 30%, #ff00e5 70%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease-in-out infinite;
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(135deg, #00d4ff 0%, #0088ff 30%, #ff00e5 70%, #ff6600 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease-in-out infinite;
    pointer-events: none;
}

.glitch::before {
    animation: glitch-1 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    opacity: 0.8;
}

.glitch::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    opacity: 0.8;
}

@keyframes glitch-1 {
    0% { transform: translate(0); opacity: 0.8; }
    20% { transform: translate(-3px, 1px); opacity: 0.6; }
    40% { transform: translate(3px, -1px); opacity: 0.4; }
    60% { transform: translate(-2px, 2px); opacity: 0.6; }
    80% { transform: translate(2px, -2px); opacity: 0.8; }
    100% { transform: translate(-1px, 1px); opacity: 0.5; }
}

@keyframes glitch-2 {
    0% { transform: translate(0); opacity: 0.8; }
    20% { transform: translate(3px, -1px); opacity: 0.4; }
    40% { transform: translate(-3px, 1px); opacity: 0.6; }
    60% { transform: translate(2px, -2px); opacity: 0.8; }
    80% { transform: translate(-2px, 2px); opacity: 0.5; }
    100% { transform: translate(1px, -1px); opacity: 0.6; }
}

.mods-part {
    font-size: 2.8rem;
    font-weight: 200;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    position: relative;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.2rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.divider-dot {
    color: var(--cyan);
    font-size: 0.6rem;
    animation: sparkle 2s ease-in-out infinite;
    text-shadow: 0 0 10px var(--cyan);
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.subtitle {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: left;
}

.subtitle .highlight {
    color: var(--cyan);
    font-weight: 500;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ── Search ── */
.search-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.search-bar input,
.search-bar select {
    background: rgba(14, 16, 30, 0.7);
    border: 1px solid rgba(0, 200, 255, 0.12);
    color: var(--text);
    padding: 0.85rem 1.3rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    outline: none;
}

.search-bar input {
    flex: 1;
    padding-left: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a7a94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.1), inset 0 0 25px rgba(0, 212, 255, 0.03);
    background: rgba(14, 16, 30, 0.85);
}

.search-bar select option {
    background: #0e101e;
    color: var(--text);
}

/* ── Platform Tabs ── */
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem 1.5rem;
    position: relative;
    z-index: 1;
}

.tab-btn {
    background: rgba(14, 16, 30, 0.6);
    border: 1px solid rgba(0, 200, 255, 0.08);
    color: var(--muted);
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-size: 0.83rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tab-btn:hover {
    color: #fff;
    border-color: rgba(0, 200, 255, 0.2);
    background: rgba(14, 16, 30, 0.85);
}

.tab-btn.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.08);
}

.mod-card .badge.platform {
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.12);
}

.mod-card .badge.platform.bedrock {
    background: rgba(108, 0, 255, 0.1);
    color: #b080ff;
    border: 1px solid rgba(108, 0, 255, 0.15);
}

/* ── Section ── */
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    margin: 0.6rem auto 0;
    border-radius: 2px;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ── Mod Grid ── */
.mod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* ── Mod Card ── */
.mod-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 0.6s forwards;
    position: relative;
    overflow: hidden;
}

.mod-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), transparent 40%, transparent 60%, rgba(255, 0, 229, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mod-card:hover::before {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), transparent 30%, transparent 70%, rgba(255, 0, 229, 0.2));
}

.mod-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mod-card:hover::after {
    opacity: 1;
}

.mod-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--border-hover);
    background: var(--surface-hover);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.05);
}

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.mod-card.hidden {
    display: none;
}

.mod-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.mod-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s;
}

.mod-card:hover .card-icon {
    transform: scale(1.08);
}

.mod-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.mod-card .desc {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.mod-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.mod-card .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.mod-card .badge.mc-version {
    background: rgba(108, 0, 255, 0.15);
    color: #b080ff;
    border: 1px solid rgba(108, 0, 255, 0.2);
}

.mod-card .badge.category {
    background: rgba(255, 0, 229, 0.08);
    color: var(--magenta);
    border: 1px solid rgba(255, 0, 229, 0.12);
}

.mod-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.mod-card .btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0090cc);
    color: #000;
}

.mod-card .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.mod-card .btn-primary:hover::before {
    opacity: 1;
}

.mod-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.3);
}

.mod-card .btn-primary:active {
    transform: translateY(0);
}

/* ── Info Card ── */
.info-card {
    background: var(--surface);
    border: 1px solid rgba(255, 0, 229, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 0, 229, 0.15), transparent 40%, transparent 60%, rgba(0, 212, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.info-card h3 {
    color: var(--magenta);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.info-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.info-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.25rem;
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: #fff;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-secondary:hover::before { opacity: 1; }

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(108, 0, 255, 0.3);
}

.btn-outline {
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--cyan);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.1);
}

/* ── Paid Services / Coming Soon ── */
.coming-soon {
    background: var(--surface);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.coming-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), transparent 30%, transparent 70%, rgba(255, 0, 229, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.coming-soon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    animation: coming-soon-glow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes coming-soon-glow {
    0% { transform: translate(-20%, -20%) rotate(0deg); opacity: 0.5; }
    100% { transform: translate(20%, 20%) rotate(10deg); opacity: 1; }
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: coming-soon-bounce 2s ease-in-out infinite;
}

@keyframes coming-soon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.coming-soon h3 {
    color: var(--cyan);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.coming-soon p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 0, 229, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.25); border-color: rgba(0, 212, 255, 0.4); }
}

/* ── Disclaimer ── */
.disclaimer {
    position: relative;
    z-index: 1;
    background: rgba(255, 60, 60, 0.06);
    border: 1px solid rgba(255, 60, 60, 0.15);
    color: #ff7777;
    text-align: center;
    padding: 0.8rem 1.2rem;
    font-size: 0.82rem;
    max-width: 800px;
    margin: 1rem auto 0;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.bedrock-disclaimer {
    position: relative;
    z-index: 1;
    background: rgba(180, 60, 255, 0.06);
    border: 1px solid rgba(180, 60, 255, 0.15);
    color: #cc88ff;
    text-align: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    max-width: 800px;
    margin: 0.6rem auto 0;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.bedrock-disclaimer.hidden {
    display: none;
}

.bedrock-disclaimer a {
    color: var(--cyan);
    text-decoration: underline;
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 3rem 1rem 3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 200, 255, 0.06);
    margin-top: 2rem;
}

footer h4 {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

footer p {
    color: #2a2a3a;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-credits, .footer-takedown {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.01);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
}

.footer-credits p, .footer-takedown p {
    color: #3a3a4a;
}

.footer-takedown strong {
    color: var(--cyan);
    font-weight: 600;
}

.footer-legal {
    margin-top: 1.5rem;
    font-size: 0.72rem;
    color: #1a1a2a;
}

/* ── VirusTotal Link ── */
.vt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.vt-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan), var(--magenta));
    border-radius: 3px;
    opacity: 0.5;
}
::-webkit-scrollbar-thumb:hover { opacity: 1; }

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
}

.modal {
    background: rgba(12, 14, 26, 0.95);
    border: 1px solid rgba(0, 200, 255, 0.12);
    border-radius: 24px;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.06), 0 20px 60px rgba(0,0,0,0.4);
    animation: modal-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    backdrop-filter: blur(20px);
}

@keyframes modal-in {
    from { transform: scale(0.92) translateY(15px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    transform: rotate(90deg);
}

.modal h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #fff;
    padding-right: 2rem;
    letter-spacing: -0.5px;
}

.modal-desc {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.modal-cat {
    display: inline-block;
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    background: rgba(255, 0, 229, 0.08);
    color: var(--magenta);
    border: 1px solid rgba(255, 0, 229, 0.12);
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-versions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.modal-version-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 200, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.3rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    cursor: pointer;
}

.modal-version-btn:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.05);
}

.modal-version-btn .ver-badge {
    font-weight: 700;
    color: var(--cyan);
    font-size: 0.95rem;
    letter-spacing: -0.3px;
}

.modal-version-btn .ver-mc {
    color: var(--muted);
    font-size: 0.82rem;
}

.modal-version-btn .ver-arrow {
    color: var(--cyan);
    font-size: 1rem;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}

.modal-version-btn:hover .ver-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .logo { flex-direction: column; gap: 1rem; }
    .logo-icon { width: 60px; height: 60px; }
    .icon-diamond { font-size: 2rem; }
    .icon-ring { border-width: 1.5px; }
    .icon-ring::before { width: 8px; height: 8px; }
    .ring-2::before { width: 6px; height: 6px; }
    .ring-3 { display: none; }
    .particle { width: 2px; height: 2px; }
    .logo-text { align-items: center; text-align: center; }
    .glitch { font-size: 2.2rem; letter-spacing: 4px; }
    .mods-part { font-size: 1.6rem; padding-left: 0; border-left: none; }
    .subtitle { text-align: center; font-size: 0.85rem; }
    .hero-glow { width: 300px; height: 300px; top: -100px; }
    .hero-grid { height: 250px; background-size: 25px 25px; }
    .search-bar { flex-direction: column; }
    .search-bar input { padding-left: 2.4rem; }
    .mod-grid { grid-template-columns: 1fr; }
    .info-card { padding: 1.5rem; }
    .info-card .btn { display: flex; width: 100%; justify-content: center; }
    header { padding: 3rem 1rem 1.5rem; }
    .modal { padding: 1.5rem; }
}
