@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Crimson+Pro:wght@300;400;500;600&family=UnifrakturMaguntia&display=swap');

:root {
    --gold: #d4af37;
    --gold-dark: #b8960c;
    --bg: #0a0a0a;
    --bg2: #0f0e0b;
    --card: #141414;
    --border: #222;
    --text: #eee;
    --muted: #888;
    --dim: #555;
    --red: #8B0000;
    --green: #2d5016;
    --pink: #e85d75;
    --purple: #9333ea;
    --blue: #1a3a5c;
    --teal: #0e7490;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Crimson Pro', Georgia, serif;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAV ─── */
.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px; border-bottom: 1px solid #1a1a1a;
    position: sticky; top: 0; z-index: 100;
    background: rgba(10,10,10,0.95); backdrop-filter: blur(12px);
}
.nav-logo {
    font-family: 'Playfair Display', serif; font-size: 18px;
    color: var(--gold); letter-spacing: 3px;
}
.nav-logo span { opacity: 0.5; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a { font-size: 12px; color: #777; letter-spacing: 1px; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* ─── HERO ─── */
.hero {
    text-align: center; padding: 48px 20px 36px;
    background: linear-gradient(180deg, #13100a, var(--bg));
    border-bottom: 1px solid #1a1a1a;
}
.badge {
    display: inline-block; background: linear-gradient(135deg,#2d1810,#1a1020);
    border: 1px solid rgba(212,175,55,0.2); border-radius: 20px;
    padding: 4px 16px; font-size: 12px; color: var(--gold); margin-bottom: 14px;
}
.hero h1 {
    font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 900;
    color: #fff; letter-spacing: 4px; line-height: 1.1; margin-bottom: 8px;
}
.hero h1 span { color: var(--gold); }
.hero p { font-size: 16px; color: var(--muted); max-width: 440px; margin: 0 auto; line-height: 1.6; }

/* ─── BUTTONS ─── */
.btn-gold {
    display: inline-block; padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a; border: none; border-radius: 8px;
    font-size: 14px; font-weight: 700; font-family: 'Crimson Pro', serif;
    cursor: pointer; letter-spacing: 1px; text-transform: uppercase;
    text-decoration: none; transition: all 0.2s;
}
.btn-gold:hover { box-shadow: 0 4px 20px rgba(212,175,55,0.4); transform: translateY(-1px); text-decoration: none; }

.btn-outline {
    display: inline-block; padding: 12px 28px;
    border: 1px solid #333; color: var(--gold); background: none;
    border-radius: 8px; font-size: 14px; font-family: 'Crimson Pro', serif;
    cursor: pointer; letter-spacing: 1px; text-transform: uppercase;
    text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--gold); text-decoration: none; }

.btn-sm { padding: 6px 16px; font-size: 12px; }

/* ─── STATS BAR ─── */
.stats { display: flex; justify-content: center; gap: 32px; padding: 18px 20px; background: var(--bg2); border-bottom: 1px solid #1a1a1a; flex-wrap: wrap; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); font-weight: 700; }
.stat-lbl { font-size: 10px; color: #666; letter-spacing: 1.5px; text-transform: uppercase; }

/* ─── SECTIONS ─── */
.section { padding: 44px 16px; }
.section-label { font-size: 10px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; text-align: center; }
.section-title { font-family: 'Playfair Display', serif; font-size: 24px; color: #fff; letter-spacing: 2px; text-align: center; margin-bottom: 6px; }
.section-sub { color: var(--dim); font-size: 13px; text-align: center; margin-bottom: 24px; }

/* ─── CATEGORY TABS ─── */
.cat-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cat-tab {
    padding: 7px 14px; border-radius: 6px; border: 2px solid var(--border);
    background: var(--card); color: #666; cursor: pointer; font-size: 12px;
    font-family: 'Crimson Pro', serif; transition: all 0.2s;
}
.cat-tab:hover, .cat-tab.active { border-color: var(--gold); background: #2a2210; color: var(--gold); }

/* ─── VARIANT GRID ─── */
.var-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; max-width: 720px; margin: 0 auto 24px; }
.var-card {
    padding: 14px 16px; border-radius: 8px; border: 2px solid var(--border);
    background: var(--card); cursor: pointer; transition: all 0.15s; text-align: left;
}
.var-card:hover, .var-card.active { border-color: var(--gold); background: rgba(212,175,55,0.06); }
.var-card h4 { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; margin-bottom: 4px; color: #ccc; }
.var-card.active h4 { color: #fff; }
.var-card p { font-size: 11px; line-height: 1.4; color: #777; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.var-card .fine { font-size: 12px; color: var(--gold); font-weight: 600; margin-top: 4px; }

/* ─── CERTIFICATE PREVIEW ─── */
.cert {
    max-width: 540px; margin: 0 auto; border-radius: 2px; position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4); overflow: hidden;
}
.cert-inner { padding: 36px 30px 24px; position: relative; z-index: 1; text-align: center; }
.cert-divider { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 4px; }
.cert-divider span { font-size: 16px; opacity: 0.5; }
.cert-divider hr { flex: 1; border: none; height: 1px; opacity: 0.3; }
.cert-seal { font-size: 36px; margin-bottom: 2px; }
.cert-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 4px; }
.cert-subtitle { font-size: 9px; letter-spacing: 2px; color: #777; text-transform: uppercase; margin-bottom: 18px; }
.cert-az { font-size: 9px; color: #999; font-family: monospace; margin-bottom: 16px; }
.cert-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin: 6px 0 10px; }
.cert-text { font-style: italic; font-size: 15px; padding: 8px 14px; border-radius: 4px; margin: 10px 0; }
.cert-fine { font-size: 16px; font-weight: 700; margin-top: 10px; }
.cert-sig { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; }
.cert-sig-name { font-family: 'UnifrakturMaguntia', cursive; font-size: 18px; opacity: 0.6; }
.cert-sig-title { font-size: 7px; color: #999; letter-spacing: 1px; }
.cert-footer { font-size: 7px; color: #bbb; margin-top: 12px; letter-spacing: 1px; }

/* ─── PRODUCT CARDS ─── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; max-width: 880px; margin: 0 auto; }
.prod-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    padding: 20px 18px; position: relative; overflow: hidden; cursor: pointer;
    transition: all 0.25s; text-decoration: none; color: inherit;
}
.prod-card:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; }
.prod-tag {
    position: absolute; top: 10px; right: -26px; color: #fff;
    font-size: 7px; font-weight: 700; padding: 2px 30px;
    transform: rotate(35deg); letter-spacing: 1px;
}
.prod-emoji { font-size: 34px; margin-bottom: 8px; }
.prod-title { font-family: 'Playfair Display', serif; font-size: 16px; color: #fff; margin-bottom: 5px; }
.prod-desc { font-size: 12px; color: #777; line-height: 1.5; margin-bottom: 12px; }
.prod-price { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--gold); font-weight: 700; }

/* ─── MOCKUP STYLES ─── */
.mockup-container { min-height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* T-Shirt Mockup */
.mockup-shirt { position: relative; width: 200px; height: 220px; }
.mockup-shirt svg { position: absolute; top: 0; left: 0; }
.mockup-shirt-text {
    position: absolute; top: 50px; left: 25px; width: 150px;
    text-align: center; font-family: 'Playfair Display', serif;
    font-weight: 900; color: #222; line-height: 1.2;
}
.mockup-shirt-text .wanted { font-size: 18px; letter-spacing: 4px; color: #8B0000; }
.mockup-shirt-text .name { font-size: 11px; margin-top: 4px; color: #333; }
.mockup-shirt-text .crime { font-size: 8px; color: #666; margin-top: 2px; font-style: italic; font-weight: 400; }

/* Mug Mockup */
.mockup-mug { position: relative; width: 200px; height: 170px; }
.mockup-mug svg { position: absolute; top: 0; left: 0; }
.mockup-mug-text {
    position: absolute; top: 35px; left: 30px; width: 115px;
    text-align: center; font-family: 'Crimson Pro', serif; color: #333;
}

/* Poster Mockup */
.mockup-poster {
    width: 170px; background: #2a2a2a; border-radius: 4px; padding: 8px;
    box-shadow: 4px 6px 20px rgba(0,0,0,0.5); margin: 0 auto;
}
.mockup-poster-inner { background: #fff; padding: 8px; text-align: center; }
.mockup-poster .wanted-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: #8B0000; letter-spacing: 3px; }
.mockup-poster .photo-area {
    width: 80px; height: 80px; background: #f0f0f0; border: 2px solid #ddd;
    margin: 6px auto; border-radius: 4px; display: flex; align-items: center;
    justify-content: center; font-size: 28px; color: #ccc;
}
.mockup-poster .photo-area img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

/* Letter Mockup */
.mockup-letter { position: relative; width: 200px; height: 160px; }
.mockup-envelope {
    position: absolute; bottom: 0; left: 5px; width: 190px; height: 90px;
    background: #f5f0e8; border: 1px solid #d4c9b0; border-radius: 4px;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.3);
}
.mockup-letter-paper {
    position: absolute; top: 0; left: 20px; width: 160px; height: 110px;
    background: #fff; border: 1px solid #ddd; border-radius: 2px; padding: 8px;
    box-shadow: 1px 2px 8px rgba(0,0,0,0.15); transform: rotate(-2deg);
}

/* Song Mockup */
.mockup-song {
    width: 190px; background: linear-gradient(135deg,#1a1028,#0f0a1a);
    border-radius: 12px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    margin: 0 auto;
}
.mockup-album {
    width: 100%; aspect-ratio: 1; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px; position: relative; overflow: hidden;
}
.mockup-player { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mockup-play {
    width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 9px;
}
.mockup-progress { height: 3px; background: #333; border-radius: 2px; overflow: hidden; }
.mockup-progress-fill { width: 35%; height: 100%; background: var(--gold); border-radius: 2px; }

/* ─── FORMS ─── */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 10px; color: #666; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 10px 14px; border-radius: 6px;
    border: 1px solid #333; background: #111; color: #eee;
    font-size: 14px; font-family: 'Crimson Pro', serif; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 60px; }

/* Style selector buttons */
.style-options { display: flex; gap: 6px; flex-wrap: wrap; }
.style-btn {
    padding: 8px 14px; border-radius: 6px; border: 1px solid var(--border);
    background: var(--card); color: #777; cursor: pointer; font-size: 11px;
    font-family: 'Crimson Pro', serif; transition: all 0.2s; text-align: left;
}
.style-btn:hover, .style-btn.active { border-color: var(--gold); background: #2a2210; color: var(--gold); }
.style-btn small { display: block; font-size: 9px; color: #555; margin-top: 2px; }

.size-options { display: flex; gap: 6px; }
.size-btn {
    padding: 6px 14px; border-radius: 5px; border: 1px solid #333;
    background: #111; color: #777; cursor: pointer; font-size: 13px;
    font-family: 'Crimson Pro', serif;
}
.size-btn:hover, .size-btn.active { border-color: var(--gold); background: #2a2210; color: var(--gold); }

/* ─── PHOTO UPLOAD ─── */
.photo-upload {
    border: 2px dashed #333; border-radius: 8px; padding: 20px;
    text-align: center; cursor: pointer; transition: all 0.2s;
}
.photo-upload:hover { border-color: var(--gold); }
.photo-upload input[type="file"] { display: none; }
.photo-preview { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; margin: 8px auto; display: block; }

/* ─── ORDER / LOGIN PAGES ─── */
.page-container { max-width: 500px; margin: 0 auto; padding: 40px 16px; }
.page-wide { max-width: 900px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; margin-bottom: 16px; }

/* ─── ALERTS ─── */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #0a2e0a; border: 1px solid #2d5016; color: #7ddf64; }
.alert-error { background: #2e0a0a; border: 1px solid #8B0000; color: #ff6b6b; }
.alert-info { background: #0a1e2e; border: 1px solid #0e7490; color: #67d4e8; }

/* ─── ADMIN ─── */
.admin-nav { background: #111; border-bottom: 1px solid #222; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.admin-nav h2 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--gold); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.admin-stat { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 16px; text-align: center; }
.admin-stat .num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); font-weight: 700; }
.admin-stat .lbl { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 1px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 8px 12px; font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #1a1a1a; font-size: 13px; }
.admin-table tr:hover td { background: #1a1a1a; }

.status-badge {
    display: inline-block; padding: 2px 10px; border-radius: 10px;
    font-size: 10px; font-weight: 600; letter-spacing: 0.5px;
}
.status-neu { background: #1a2a1a; color: #7ddf64; }
.status-bearbeitung { background: #2a2a10; color: var(--gold); }
.status-versendet { background: #0a1a2a; color: #67d4e8; }
.status-abgeschlossen { background: #1a1a1a; color: #888; }

/* ─── FOOTER ─── */
.footer { text-align: center; padding: 28px 20px; border-top: 1px solid #1a1a1a; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--gold); letter-spacing: 3px; margin-bottom: 6px; }
.footer p { font-size: 10px; color: #444; line-height: 1.8; }
.footer-links { display: flex; gap: 14px; justify-content: center; margin-top: 8px; }
.footer-links a { font-size: 11px; color: var(--dim); }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
    .hero h1 { font-size: 32px; }
    .nav-links a { font-size: 10px; }
    .var-grid { grid-template-columns: 1fr; }
    .prod-grid { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
}
