/* ==========================================================================
   SPIKE SMP - MODERN & RESPONSIVE MINECRAFT STORE THEME
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700;800&family=Inter:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #0b0e14;
    --sidebar-bg: #121722;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-white: #ffffff;
    --text-muted: #8c9ba8;
    
    /* Farbverläufe für Kacheln */
    --blue-tile: linear-gradient(135deg, #0088ff, #0044cc);
    --purple-tile: linear-gradient(135deg, #d000ff, #7700cc);
    --gold-tile: linear-gradient(135deg, #ffaa00, #cc5500);
    --cyan-tile: linear-gradient(135deg, #00d2ff, #0077aa);
    --violet-tile: linear-gradient(135deg, #6a11cb, #2575fc);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    /* Sanfter Verlauf über den gesamten Bildschirm ohne harte Kanten */
    background-image: radial-gradient(circle at 50% -20%, rgba(0, 198, 255, 0.15) 0%, var(--bg-dark) 70%);
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    padding-bottom: 50px;
}

.store-wrapper {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* --------------------------------------------------------------------------
   HEADER & GROSSE ÜBERSCHRIFT
   -------------------------------------------------------------------------- */
.hero-header {
    text-align: center;
    padding: 25px 10px 15px;
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
    margin-bottom: 15px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVES LAYOUT (Sidebar & Main Grid)
   -------------------------------------------------------------------------- */
.store-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
}

.sidebar {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    height: fit-content;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-white) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    position: relative;
    transition: 0.2s;
}

.menu-item:hover, .menu-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: #00c6ff !important;
}

/* --------------------------------------------------------------------------
   MAIN KACHELN GRID
   -------------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cat-tile {
    border-radius: 14px;
    padding: 22px;
    min-height: 125px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.5);
}

.cat-tile h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    color: #fff;
    margin-bottom: 4px;
}

.cat-tile .sub-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    text-transform: uppercase;
}

.tile-icon {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.9);
}

/* Hintergründe */
.tile-blue   { background: var(--blue-tile); }
.tile-purple { background: var(--purple-tile); }
.tile-gold   { background: var(--gold-tile); }
.tile-cyan   { background: var(--cyan-tile); }
.tile-violet { background: var(--violet-tile); grid-column: span 2; }

/* --------------------------------------------------------------------------
   FORMULARE & AUTH PANELS
   -------------------------------------------------------------------------- */
.auth-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-links a, .auth-panel a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: bold;
}

.auth-links a:hover, .auth-panel a:hover {
    text-decoration: underline;
}

.verify-box {
    background: rgba(18, 23, 34, 0.9);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #00c6ff;
}

.form-card {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    max-width: 420px;
    margin: 40px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #00c6ff;
}

.form-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.form-footer a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .store-layout {
        grid-template-columns: 1fr;
    }

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

    .tile-violet {
        grid-column: span 1;
    }
}
