/* SUPERPOWERS DASHBOARD STYLES */
:root {
    --bg-dark: #050505;
    --card-bg: rgba(18, 18, 18, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.4);
    --accent-green: #10b981;
    --text-main: #ffffff;
    --text-dim: #a1a1aa;
    --glass-blur: blur(20px);
}

.superpowers-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px;
    animation: fadeIn 0.6s ease-out;
}

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

.superpowers-header {
    margin-bottom: 48px;
    text-align: left;
}

.superpowers-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.superpowers-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.6;
}

.superpowers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

/* Glass Card */
.power-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.power-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.power-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.05), transparent 60%);
    pointer-events: none;
}

.power-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
}

.power-icon i {
    font-size: 24px;
    color: var(--text-main);
}

.power-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.power-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.power-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-active { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.status-inactive { background: #3f3f46; }

/* Buttons */
.btn-power {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-power-primary {
    background: var(--text-main);
    color: #000;
}

.btn-power-primary:hover {
    background: #e4e4e7;
    transform: scale(1.02);
}

.btn-power-outline {
    background: transparent;
    border-color: var(--card-border);
    color: var(--text-main);
}

.btn-power-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Preview / Demo Section */
.power-demo {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--card-border);
}

.demo-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #52525b;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Specific Tool: YT Sync */
.yt-sync-input {
    background: #000;
    border: 1px solid #27272a;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    width: 100%;
    margin-bottom: 12px;
    font-family: 'Geist Mono', monospace;
}

.yt-sync-input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

/* Mobile */
@media (max-width: 768px) {
    .superpowers-grid {
        grid-template-columns: 1fr;
    }
    .superpowers-title {
        font-size: 2rem;
    }
}
