/* Speaker Linksammlung Styles */

/* GDPR Compliant Local Fonts */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('/fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 800;
    font-display: swap;
}

:root {
    --color-primary: #064E3B;
    --color-bg: #020617;
    --color-accent: #10B981;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--color-bg);
    color: #F8FAFC;
}

.grip-border {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.section-header {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

/* TIPPS Block Style */
.description-block {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.6;
}

.description-block strong {
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Expandable Card Styles */
.expandable-card {
    cursor: pointer;
}

.expandable-card .expand-icon {
    transition: transform 0.3s ease;
}

.expandable-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.card-description {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.expandable-card.expanded .card-description {
    grid-template-rows: 1fr;
    opacity: 1;
}

.card-description-inner {
    overflow: hidden;
}

/* Audio Player Styles */
.audio-player {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 0.75rem;
}

.audio-player audio {
    width: 100%;
    height: 40px;
}

.audio-player audio::-webkit-media-controls-panel {
    background: rgba(15, 23, 42, 0.8);
}

/* Non-clickable card */
.card-no-link {
    cursor: default;
}

.card-no-link:hover {
    background: transparent !important;
    border-color: rgba(16, 185, 129, 0.1) !important;
}

/* Markdown Formatting in Descriptions */
.card-description p {
    margin-bottom: 0.75rem;
}

.card-description p:last-child {
    margin-bottom: 0;
}

.card-description strong,
.card-description b {
    color: #10B981;
    font-weight: 700;
}

.card-description em,
.card-description i {
    color: #94A3B8;
    font-style: italic;
}

.card-description ol,
.card-description ul {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.card-description ol {
    list-style-type: decimal;
}

.card-description ul {
    list-style-type: disc;
}

.card-description li {
    margin-bottom: 0.25rem;
}

.card-description code {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
    font-family: 'Courier New', monospace;
}

.card-description blockquote {
    border-left: 3px solid #10B981;
    padding-left: 1rem;
    margin: 0.75rem 0;
    color: #94A3B8;
    font-style: italic;
}

.card-description h1,
.card-description h2,
.card-description h3,
.card-description h4 {
    color: #F8FAFC;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.card-description a {
    color: #10B981;
    text-decoration: underline;
}

.card-description a:hover {
    color: #34D399;
}

/* PDF Modal Styles */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pdf-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.pdf-modal-content {
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pdf-modal.active .pdf-modal-content {
    transform: scale(1);
}

/* === SECRET FILE / GEHEIMAKTE STYLES (linksammlung.html - emerald theme) === */
.secret-file-card--emerald {
    position: relative;
    background-color: #020617;
    background-image: repeating-linear-gradient(45deg,
            rgba(16, 185, 129, 0.03) 0px,
            rgba(16, 185, 129, 0.03) 1px,
            transparent 1px,
            transparent 10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid #059669;
    border-radius: 0.25rem 0.5rem 0.5rem 0.25rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.secret-file-card--emerald::before {
    content: 'RESTRICTED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg) scale(0.9);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(16, 185, 129, 0.05);
    border: 4px dashed rgba(16, 185, 129, 0.1);
    padding: 0.5rem 2rem;
    pointer-events: none;
    letter-spacing: 0.2em;
    white-space: nowrap;
    z-index: 0;
    transition: all 0.5s ease;
    mix-blend-mode: overlay;
}

.secret-file-card--emerald:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
    background-color: #050a1a;
}

.secret-file-card--emerald:hover::before {
    transform: translate(-50%, -50%) rotate(-12deg) scale(1.1);
    color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.secret-file-card--emerald .folder-tab {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(16, 185, 129, 0.1) 50%);
    border-left: 1px solid rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.secret-file-card--emerald .scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(16, 185, 129, 0.3);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.secret-file-card--emerald:hover .scanline {
    animation: scandown 1.5s linear infinite;
    opacity: 0.5;
}

@keyframes scandown {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.secret-file-card--emerald .card-content {
    position: relative;
    z-index: 1;
}

/* === SECRET FILE STYLES (verification_linksammlung.html - amber theme) === */
.secret-file-card--amber {
    position: relative;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.secret-file-card--amber::before {
    content: 'CONFIDENTIAL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    letter-spacing: 0.2em;
    white-space: nowrap;
    z-index: 0;
}

.secret-file-card--amber:hover {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.5);
    background: #252f42;
}

.secret-file-card--amber .folder-tab {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 80px;
    height: 12px;
    background: #f59e0b;
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

.secret-file-card--amber .card-content {
    position: relative;
    z-index: 1;
}