/************************************************************
 * styles.css
 * Basis-CSS für BDSM Sex Wörterbuch
 * Nutzung:
 *  - index.php
 *  - Detailseiten
 *  - Übersichtsseiten
 *  - später erweiterbar (Module)
 ************************************************************/

/* ===== RESET ===== */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }

/* ===== VARIABLEN ===== */
:root {
    --pink:   #ff2ea1;
    --violet: #a855f7;
    --cyan:   #4fd1ff;
    --dark:   #0b0b0f;
    --light:  #f9fafb;
}

/* ===== GLOBAL ===== */
body {
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
    color: var(--light);
    background:
        radial-gradient(900px 520px at 18% 12%, rgba(255,46,161,0.38), transparent 62%),
        radial-gradient(900px 520px at 82% 16%, rgba(79,209,255,0.34), transparent 62%),
        radial-gradient(1100px 680px at 50% 92%, rgba(168,85,247,0.30), transparent 66%),
        linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.05)),
        var(--dark);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
}

.hero-inner {
    width: 100%;
    max-width: 720px;
}

/* Logo */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.hero-logo img {
    max-width: 260px;
    width: 100%;
    filter: drop-shadow(0 10px 28px rgba(0,0,0,0.45));
}

/* ===== SEARCH ===== */
.search-box {}

.glass {
    padding: 22px 18px 18px;
    border-radius: 22px;
    background: rgba(10,10,14,0.28);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.search-box h1 {
    text-align: center;
    font-size: 2.2rem;
    margin: 0 0 1.3rem;
    font-weight: 820;
}

.search-form {
    display: flex;
    gap: 0.6rem;
}

.search-form input {
    flex: 1;
    padding: 1.05rem 1.2rem;
    font-size: 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.95);
    color: #111;
}

.search-form button {
    padding: 1.05rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-weight: 860;
    background: linear-gradient(90deg,var(--pink),var(--violet),var(--cyan));
    color: #111;
    cursor: pointer;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}
.scroll-link {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(10,10,14,0.18);
}
.compass-circle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    position: relative;
}
.compass-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-35%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid rgba(255,255,255,0.85);
}

/* ===== PAGE 2 / CONTENT ===== */
.content {
    padding: 4.2rem 1.5rem 3.2rem;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 1.2rem;
}

.card {
    background: rgba(255,255,255,0.96);
    color: #111;
    border-radius: 16px;
    padding: 1.2rem;
    border-left: 6px solid var(--pink);
}
.card a {
    text-decoration: none;
    color: #111;
}

/* ===== FOOTER ===== */
.page-footer {
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}
.page-footer a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}
.page-footer a:hover {
    border-bottom-color: rgba(255,255,255,0.85);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .search-form { flex-direction: column; }
    .search-form button { width: 100%; }
    .search-box h1 { font-size: 1.8rem; }
}
