/* Enhanced Universe Modal */
.enhanced-universe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0f0c29 0%, #302b63 50%, #24243e 100%);
    z-index: 9999;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.cosmic-scene-enhanced {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Enhanced Galaxy */
.enhanced-galaxy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
}

.nebula-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: nebula-drift 30s ease-in-out infinite;
}

.nebula-1 {
    width: 400px;
    height: 400px;
    top: 20%;
    left: 20%;
    background: radial-gradient(circle, #667eea, transparent 70%);
    animation-delay: 0s;
}

.nebula-2 {
    width: 300px;
    height: 300px;
    bottom: 30%;
    right: 25%;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    animation-delay: -15s;
}

.spiral-arm-enhanced {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    animation: spiral-rotate-enhanced 180s linear infinite;
}

.arm-1 {
    width: 500px;
    height: 500px;
    animation-delay: 0s;
}

.arm-2 {
    width: 650px;
    height: 650px;
    animation-delay: -60s;
}

.arm-3 {
    width: 800px;
    height: 800px;
    animation-delay: -120s;
}

.galactic-core-enhanced {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #fbbf24, #f59e0b, #dc2626);
    border-radius: 50%;
    box-shadow:
        0 0 100px #fbbf24,
        0 0 200px rgba(251, 191, 36, 0.6),
        0 0 300px rgba(220, 38, 38, 0.3);
    animation: core-pulse-enhanced 3s ease-in-out infinite;
}

@keyframes spiral-rotate-enhanced {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes core-pulse-enhanced {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: brightness(1.3);
    }
}

@keyframes nebula-drift {

    0%,
    100% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(50px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

/* Enhanced Stars */
.enhanced-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(3px 3px at 5% 15%, #ffffff, transparent),
        radial-gradient(2px 2px at 15% 45%, #ffffff, transparent),
        radial-gradient(1px 1px at 25% 75%, #ffffff, transparent),
        radial-gradient(2px 2px at 35% 25%, #ffffff, transparent),
        radial-gradient(3px 3px at 45% 55%, #ffffff, transparent),
        radial-gradient(1px 1px at 55% 5%, #ffffff, transparent),
        radial-gradient(2px 2px at 65% 65%, #ffffff, transparent),
        radial-gradient(1px 1px at 75% 35%, #ffffff, transparent),
        radial-gradient(3px 3px at 85% 85%, #ffffff, transparent),
        radial-gradient(2px 2px at 95% 15%, #ffffff, transparent);
    animation: star-twinkle-enhanced 6s ease-in-out infinite;
}

@keyframes star-twinkle-enhanced {

    0%,
    100% {
        opacity: 0.7;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    75% {
        opacity: 0.9;
    }
}

/* Enhanced Planets */
.planet-enhanced {
    position: absolute;
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: planet-float-enhanced 25s ease-in-out infinite;
}

.blue-planet {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 10%;
    background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.6),
        inset 15px 15px 50px rgba(255, 255, 255, 0.3),
        0 0 80px rgba(59, 130, 246, 0.5);
}

.purple-planet {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6, #a78bfa);
    box-shadow:
        inset -15px -15px 30px rgba(0, 0, 0, 0.5),
        inset 10px 10px 30px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(139, 92, 246, 0.5);
    animation-delay: -12s;
}

.planet-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    top: -10px;
    left: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    animation: planet-glow-pulse 4s ease-in-out infinite;
}

.planet-surface-enhanced {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.craters,
.mountains {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.craters {
    width: 15px;
    height: 15px;
    top: 30%;
    left: 20%;
}

.mountains {
    width: 25px;
    height: 8px;
    bottom: 40%;
    right: 15%;
    border-radius: 4px;
}

.atmosphere-enhanced {
    position: absolute;
    width: 140px;
    height: 140px;
    top: -10px;
    left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    animation: atmosphere-rotate 20s linear infinite;
}

.planet-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
    animation: ring-rotate 15s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
}

.ring-2 {
    width: 140px;
    height: 140px;
    animation-delay: -7.5s;
}

@keyframes planet-float-enhanced {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
    }

    50% {
        transform: translateY(0px) rotate(180deg);
    }

    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

@keyframes planet-glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes atmosphere-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ring-rotate {
    from {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
    }
}

/* Comet */
.comet {
    position: absolute;
    top: 10%;
    left: -100px;
    animation: comet-fly 15s linear infinite;
}

.comet-core {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 20px #ffffff;
}

.comet-tail {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, #ffffff);
    transform: translateX(-100px);
    filter: blur(1px);
}

@keyframes comet-fly {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(100vw + 200px)) translateY(200px);
        opacity: 0;
    }
}

/* Enhanced Content */
.enhanced-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.6),
        0 0 200px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
    z-index: 10;
}

/* Enhanced Header */
.enhanced-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pulse-orbit {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 10s linear infinite;
}

.central-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    animation: icon-bounce 2s ease-in-out infinite;
}

.orbiting-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: orbit-dot 6s linear infinite;
}

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

.dot-2 {
    animation-delay: -2s;
}

.dot-3 {
    animation-delay: -4s;
}

.title-container {
    margin-top: 1rem;
}

.enhanced-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #60a5fa 25%, #a5b4fc 50%, #c084fc 75%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: title-shimmer 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    margin: 0 auto;
    animation: underline-glow 2s ease-in-out infinite;
}

@keyframes orbit-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit-dot {
    from {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes title-shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes underline-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Development Status */
.development-status {
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: status-pulse-enhanced 2s ease-in-out infinite;
}

.status-text {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes status-pulse-enhanced {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
        transform: scale(1.2);
    }
}

/* Feature Preview */
.feature-preview {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}

.feature-text {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Enhanced Progress */
.enhanced-progress {
    margin: 2rem 0;
}

.progress-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-lines {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.progress-percent-enhanced {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1rem;
}

.progress-container-enhanced {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.progress-track {
    position: relative;
    height: 16px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.progress-fill-enhanced {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
    border-radius: 8px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.progress-sparkle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: sparkle-slide 2s ease-in-out infinite;
}

.progress-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.progress-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particle-pop 1.5s ease-in-out infinite;
}

.progress-particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.progress-particle:nth-child(2) {
    top: 60%;
    left: 60%;
    animation-delay: 0.5s;
}

.progress-particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.milestone {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.milestone.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

@keyframes sparkle-slide {

    0%,
    100% {
        transform: translateX(-30px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100px);
    }
}

@keyframes particle-pop {

    0%,
    100% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Tech Specs */
.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.spec-details {
    flex: 1;
}

.spec-label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.spec-value {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Enhanced Actions */
.enhanced-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.action-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.primary-btn {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.ghost-btn {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.action-btn:active {
    transform: translateY(0);
}

.btn-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: btn-sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 1.4s;
}

@keyframes btn-sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Live Activity */
.live-activity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.activity-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-pulse {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: activity-pulse 1.5s ease-in-out infinite;
}

.activity-text {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
}

.commit-feed {
    text-align: right;
}

.commit-message {
    color: #cbd5e1;
    font-size: 0.75rem;
    margin-bottom: 0.125rem;
}

.commit-time {
    color: #64748b;
    font-size: 0.625rem;
}

@keyframes activity-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
        transform: scale(1.3);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    animation: float-element 20s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.element-2 {
    top: 30%;
    right: 8%;
    animation-delay: -5s;
}

.element-3 {
    bottom: 40%;
    left: 10%;
    animation-delay: -10s;
}

.element-4 {
    bottom: 20%;
    right: 5%;
    animation-delay: -15s;
}

@keyframes float-element {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translateY(0px) rotate(180deg) scale(1);
    }

    75% {
        transform: translateY(20px) rotate(270deg) scale(0.9);
    }
}

/* Add this to your CSS */
.col-span-full {
    grid-column: 1 / -1;
}

.tool-card-gradient {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

/* Animation for tool cards */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}
/* Add these styles for better button appearance */
.tool-card-gradient {
    display: flex;
    flex-direction: column;
}

.tool-card-gradient .mt-auto {
    margin-top: auto;
}

/* Link button styles */
.tool-card-gradient a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-card-gradient a:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* Coming Soon button styles */
.tool-card-gradient button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 8px;
    border: none;
}