/* Modern Dark Theme - Fetish / BDSM Inspired */

:root {
    /* Colors */
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --fg-main: #e0e0e0;
    --fg-muted: #a0a0a5;

    /* Accents */
    --accent-red: #c90b0b;
    --accent-red-hover: #e61414;
    --accent-gold: #ce9c45;
    --accent-gold-hover: #e8b150;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-elegant: 'Playfair Display', serif;

    /* Layout */
    --max-width: 1000px;
    --border-radius: 0px;
    --transition: 0.3s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--fg-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--fg-main);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-gold-hover);
}

p {
    margin-bottom: 1.25rem;
}

/* Header & Nav */
.main-header {
    background-color: rgba(15, 15, 17, 0.9);
    border-bottom: 1px solid rgba(206, 156, 69, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: none;
    letter-spacing: 1px;
    font-family: var(--font-elegant);
}

.site-logo:hover {
    color: var(--accent-gold-hover);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--fg-main);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-gold);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-gold);
    transition: width var(--transition);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-switcher a {
    color: var(--fg-muted);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
    text-transform: uppercase;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--accent-gold);
    border-color: rgba(206, 156, 69, 0.4);
    background-color: rgba(206, 156, 69, 0.1);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: var(--max-width);
    margin: 3rem auto;
    padding: 0 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--fg-main);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-sidebar {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 6rem;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(206, 156, 69, 0.2);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.2rem;
    font-family: var(--font-elegant);
}

.profile-meta {
    color: var(--fg-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    border-top: none;
    margin-top: 1rem;
    padding-top: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.stat-label {
    color: var(--fg-muted);
}

.stat-value {
    color: var(--fg-main);
    font-weight: 600;
}

.stat-item.top-1 {
    border-left: 3px solid var(--accent-gold);
    padding-left: 0.6rem;
}

.stat-item.top-2 {
    border-left: 3px solid rgba(206, 156, 69, 0.8);
    padding-left: 0.6rem;
}

.stat-item.top-3 {
    border-left: 3px solid rgba(206, 156, 69, 0.6);
    padding-left: 0.6rem;
}

.stat-item.top-1 .stat-label {
    color: var(--accent-gold);
    font-weight: 600;
}

.stat-item.top-1 .stat-value {
    color: var(--accent-gold);
}

.stat-item.top-2 .stat-label {
    color: rgba(206, 156, 69, 0.8);;
    font-weight: 550;
}

.stat-item.top-2 .stat-value {
    color: rgba(206, 156, 69, 0.8);;
}

.stat-item.top-3 .stat-label {
    color: rgba(206, 156, 69, 0.6);;
    font-weight: 500;
}

.stat-item.top-3 .stat-value {
    color: rgba(206, 156, 69, 0.6);;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.profile-section {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-section h2 {
    color: var(--accent-gold);
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(206, 156, 69, 0.2);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background-color: rgba(206, 156, 69, 0.1);
    color: var(--accent-gold);
    padding: 0.4rem 0.6rem;
    
    font-size: 1.0rem;
    border: 1px solid rgba(206, 156, 69, 0.3);
}

.tag.taboo {
    background-color: rgba(201, 11, 11, 0.1);
    color: var(--accent-red);
    border-color: rgba(201, 11, 11, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 11, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

/* Layout for Pages (Single & List) */
.page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.meta-date {
    color: var(--fg-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.meta-author {
    color: var(--fg-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.meta-author a {
    color: var(--accent-gold);
    font-weight: 600;
    font-style: normal;
}

.page-intro {
    font-size: 1.1rem;
    color: var(--fg-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Typography styles inside content */
.page-content p {
    font-size: 1.1rem;
    color: var(--fg-main);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--fg-main);
}

.page-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.page-content h2,
.page-content h3 {
    font-family: var(--font-elegant);
    color: var(--accent-gold);
    margin: 2.5rem 0 1.5rem 0;
}

/* Sections for Links page (and others) centered H2 */
.single-page .page-content h2 {
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.single-page .page-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-red);
}

/* Post Cards */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    display: block;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(206, 156, 69, 0.3);
}

.post-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-elegant);
}

.post-card h2 a {
    color: var(--fg-main);
}

.post-card h2 a:hover {
    color: var(--accent-gold);
}

.single-page {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.single-page h1 {
    font-family: var(--font-elegant);
}

.single-page .page-content {
    margin: 0 auto;
    display: inline-block;
    width: 100%;
}

.post-summary {
    color: var(--fg-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--accent-red);
}

.read-more:hover {
    color: var(--accent-red-hover);
}

/* Links List Special Styling */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--bg-card), rgba(206, 156, 69, 0.1));
    border-radius: 0;
    border: 1px solid rgba(206, 156, 69, 0.3);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fg-main);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-gold);
}

.link-item:hover {
    background: linear-gradient(135deg, rgba(206, 156, 69, 0.2), var(--bg-card));
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 156, 69, 0.15);
}

/* Footer */
.main-footer {
    background-color: var(--bg-card);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-container p {
    color: var(--fg-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Info Box & FAQ */
.profile-info-box {
    background-color: rgba(206, 156, 69, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 2rem;
}

.profile-info-box summary {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    text-align: center;
}

.profile-info-box summary::-webkit-details-marker {
    display: none;
}

.profile-info-box .info-content {
    color: #ffffff;
    padding-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.faq-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section h2 {
    color: var(--accent-gold);
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    padding: 1rem;
}

.faq-item summary {
    color: var(--fg-main);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 0;
}

.faq-item p,
.faq-content {
    color: var(--fg-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.faq-content p {
    margin-bottom: 1rem;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* Setup Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--bg-main), var(--accent-gold), var(--bg-main));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item.left {
    flex-direction: row-reverse;
}

.timeline-item .timeline-content {
    width: 45%;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.timeline-item.left .timeline-content {
    text-align: right;
}

.timeline-item .timeline-content h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.timeline-item .timeline-content h3 a {
    color: inherit;
    text-decoration: none;
}

.timeline-item .timeline-content p {
    font-size: 0.95rem;
    text-align: left;
}

.timeline-item.left .timeline-content p {
    text-align: right;
}

.timeline-item .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--accent-red);
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.left {
        flex-direction: row;
        justify-content: flex-start;
    }

    .timeline-item .timeline-dot {
        left: 20px;
    }

    .timeline-item .timeline-content,
    .timeline-item.left .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        text-align: left;
    }

    .timeline-item.left .timeline-content p {
        text-align: left;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .main-content {
        padding: 0 1.5rem;
    }
}

/* NUR im BDSM-Test */
.bdsm-test .stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08); /* "freier Bereich" */
    overflow: hidden;
}

.bdsm-test .stat-bar-fill {
    height: 100%;
    width: calc(var(--value) * 1%);
    background: rgba(206, 156, 69, 0.4);
    transition: width 0.4s ease;
}

.bdsm-test .stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bdsm-test .stat-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.bdsm-test .stat-item.top-1 .stat-bar-fill {
    background: var(--accent-gold);
}

.bdsm-test .stat-item.top-2 .stat-bar-fill {
    background: rgba(206, 156, 69, 0.8);
}

.bdsm-test .stat-item.top-3 .stat-bar-fill {
    background: rgba(206, 156, 69, 0.6);
}