/* ============================================
   STORYAMIGOS — CUSTOM STYLES
   ============================================ */

:root {
    --primary: #f5a623;
    --primary-dark: #e09515;
    --secondary: #2d4a6b;
    --background: #faf8f5;
    --text: #2d2a24;
    --white: #ffffff;
    --gray-light: #f3f4f6;
    --gray: #9ca3af;
}

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* === BUTTONS === */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #1e3852;
    transform: scale(1.02);
}

/* === BOOK CARDS === */
.book-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* === LANGUAGE BUTTONS === */
.lang-btn {
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* === FILTER BUTTONS === */
.filter-btn {
    padding: 8px 20px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

.filter-btn:hover {
    background: #e5e7eb;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
    .nav-mobile {
        flex-wrap: wrap;
        gap: 8px;
    }

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

@media (max-width: 480px) {
    .book-grid {
        grid-template-columns: 1fr;
    }
}

/* === UTILITIES === */
.text-primary {
    color: var(--primary);
}

.bg-primary {
    background: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.bg-secondary {
    background: var(--secondary);
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.rounded-xl {
    border-radius: 12px;
}

.rounded-2xl {
    border-radius: 16px;
}