@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
  --primary: #8b5cf6;
  --secondary: #06b6d4;
  --bg-dark: #030712;
  --surface: #111827;
  --surface-light: #1f2937;
  --text-main: #f9fafb;
  --text-dim: #9ca3af;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --glass: rgba(17, 24, 39, 0.85);
  --border-glass: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

body { background-color: var(--bg-dark); color: var(--text-main); }

/* BARRA DE FERRAMENTAS PREMIUM */
.reader-toolbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    height: 75px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 10000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.reader-toolbar button {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.reader-toolbar button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.4);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--border-glass);
}

/* CARDS DE PROMPTS (3 COLUNAS) */
.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.p-card {
    background: #0f172a;
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

.border-green { border-left: 5px solid #4ade80; }
.border-blue { border-left: 5px solid #3b82f6; }
.border-cyan { border-left: 5px solid #22d3ee; }

.prompt-text {
    font-style: italic;
    color: #94a3b8;
    margin: 2rem 0;
    line-height: 1.6;
}

.copy-btn-new {
    width: 100%;
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.9rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: auto;
}

.copy-btn-new:hover {
    background: var(--secondary);
    color: white;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

#pdf-container {
    display: flex;
    justify-content: center;
    padding: 120px 20px 50px;
    background: #000;
}

canvas {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 100px rgba(0,0,0,0.8);
}
