:root {
    --bg: #02040a;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --text-gray: rgba(255, 255, 255, 0.7);
    --border: rgba(212, 175, 55, 0.15);
    --dark-card: #05070f;
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    background: radial-gradient(circle at 50% 0%, #1a1f2e 0%, #02040a 80%);
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(15px);
    position: sticky; top: 0; z-index: 1000;
    background: rgba(2, 4, 10, 0.85);
}

.brand { font-family: 'Cinzel Decorative'; color: var(--gold); text-decoration: none; font-size: 1.4rem; letter-spacing: 2px; text-shadow: 0 0 10px var(--gold-glow); }

nav { display: none; }
nav a { color: white; text-decoration: none; margin-left: 0; font-family: 'Cinzel'; font-size: 0.8rem; transition: 0.3s; opacity: 0.7; letter-spacing: 1px; }
nav a:hover { color: var(--gold); opacity: 1; }

.hero-section {
    max-width: 1100px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.hero-section h1 {
    font-family: 'Cinzel Decorative';
    font-size: clamp(2.2rem, 8vw, 3.8rem);
    color: var(--gold);
    margin-bottom: 40px;
    text-shadow: 0 0 25px var(--gold-glow);
}

.manifest-container { max-width: 850px; margin: 0 auto 60px; }
.manifest-text { font-size: 1.15rem; line-height: 1.8; color: white; font-weight: 300; margin-bottom: 40px; }

.offers-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; text-align: left; margin: 40px 0; padding: 30px 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.offer-item { font-family: 'Cinzel'; font-size: 0.8rem; color: var(--text-gray); display: flex; align-items: center; gap: 10px; }
.offer-item span { color: var(--gold); }

.routes-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 60px 0; }
.route-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); padding: 30px 20px; text-align: left; transition: 0.4s; height: 100%; display: flex; flex-direction: column; }
.route-card:hover { border-color: var(--gold); background: rgba(212,175,55,0.05); transform: translateY(-5px); }
.route-card h2 { font-family: 'Cinzel Decorative'; font-size: 1.2rem; margin: 10px 0; color: white; }
.route-card p { font-size: 0.8rem; line-height: 1.5; color: var(--text-gray); flex-grow: 1; }

.route-btn { display: block; padding: 12px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-family: 'Cinzel'; font-size: 0.75rem; text-align: center; margin-top: 20px; transition: 0.3s; letter-spacing: 1px; text-transform: uppercase; }
.route-btn:hover { background: var(--gold); color: black; }

.recommendations { margin-top: 100px; padding-top: 60px; border-top: 1px solid var(--border); position: relative; }
.section-tag { font-family: 'Cinzel'; color: var(--gold); letter-spacing: 5px; font-size: 0.8rem; display: block; margin-bottom: 5px; }
.section-subtitle { font-family: 'Cinzel'; font-size: 1.5rem; color: white; margin-bottom: 40px; display: block; opacity: 0.9; }

.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }

.rec-card { background: var(--dark-card); border: 1px solid var(--border); position: relative; overflow: hidden; transition: 0.5s; cursor: pointer; }
.rec-card img { width: 100%; height: 350px; object-fit: cover; opacity: 0.7; transition: 0.8s; }

.month-badge {
    position: absolute; top: 15px; right: 15px; background: var(--gold); color: black;
    font-family: 'Cinzel'; font-weight: 900; font-size: 0.6rem; padding: 5px 10px; z-index: 10; letter-spacing: 1px;
}

.rec-card:hover img { opacity: 1; transform: scale(1.05); }
.rec-card:hover { border-color: var(--gold); box-shadow: 0 0 30px var(--gold-glow); }

.rec-info { padding: 20px; text-align: left; background: linear-gradient(to top, #02040a, transparent); }
.rec-info h3 { font-family: 'Cinzel Decorative'; font-size: 1rem; margin: 0; color: var(--gold); }
.rec-info p { font-size: 0.75rem; color: var(--text-gray); margin: 8px 0 15px; line-height: 1.4; }

.price-text { font-family: 'Cinzel'; color: white; font-weight: 700; font-size: 0.9rem; }

footer { text-align: center; padding: 80px 20px; color: rgba(255,255,255,0.2); font-family: 'Cinzel'; font-size: 0.8rem; border-top: 1px solid rgba(212, 175, 55, 0.05); }

@media (max-width: 900px) { .routes-container { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
    nav { display: none; }
    .hamburger { display: flex; }
}

/* 3D Button Effects */
button, .btn, input[type="submit"], input[type="button"] {
    background: linear-gradient(145deg, var(--gold), #b8942f);
    border: none;
    color: black;
    padding: 12px 24px;
    font-family: 'Cinzel';
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

button:active, .btn:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Form styles */
input, textarea, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 12px;
    font-family: 'Plus Jakarta Sans';
    font-size: 0.9rem;
    transition: 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Carti page specific styles */
:root {
    --poesia-violet: #a78bfa;
    --junior-blue: #38bdf8;
    --emerald: #10b981;
}

.fantasy-hero { text-align: center; padding: 60px 20px; }
.fantasy-hero h1 { font-family: 'Cinzel Decorative'; font-size: clamp(2.5rem, 8vw, 3.5rem); margin: 0; text-shadow: 0 0 30px var(--gold-glow); }

/* BUTOANE FILTRARE */
.main-nav-buttons { display: flex; justify-content: center; gap: 15px; margin: 40px 0; flex-wrap: wrap; }
.ethereal-btn {
    background: transparent; border: 1px solid rgba(212, 175, 55, 0.2);
    color: white; padding: 15px 30px; font-family: 'Cinzel';
    cursor: pointer; transition: 0.5s; font-size: 0.8rem; letter-spacing: 2px;
}
.ethereal-btn.active { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 20px var(--gold-glow); background: rgba(212, 175, 55, 0.05); }

/* GRIDURI */
.magic-grid { display: none; max-width: 1200px; margin: 0 auto; padding: 0 40px 100px; animation: openScroll 0.5s ease; }
.magic-grid.active { display: block; }

.section-divider {
    grid-column: 1 / -1; font-family: 'Cinzel'; color: var(--gold);
    text-align: left; margin: 50px 0 25px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); font-size: 1.2rem;
    letter-spacing: 2px; text-transform: uppercase;
}

.items-wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

.genre-item {
    text-decoration: none; color: white; padding: 20px; text-align: center;
    border: 1px solid rgba(255,255,255,0.05); background: rgba(255,255,255,0.01);
    transition: 0.4s; display: flex; flex-direction: column; align-items: center; border-radius: 2px;
}
.genre-item:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(212,175,55,0.03); }

.book-cover {
    width: 150px; height: 200px; margin-bottom: 15px; overflow: hidden; border-radius: 4px;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-info h4 { font-family: 'Cinzel Decorative'; font-size: 1.1rem; margin: 0 0 5px 0; color: var(--gold); }
.author { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin: 0 0 10px 0; }

.tag-theme { font-size: 0.65rem; font-family: 'Cinzel'; margin: 5px 0; letter-spacing: 1px; font-weight: bold; text-transform: uppercase; }
.tag-ebook { color: var(--emerald); }
.tag-fizic { color: var(--gold); opacity: 0.8; }
.tag-poezie { color: var(--poesia-violet); }
.tag-junior { color: var(--junior-blue); }

.price { font-weight: 800; margin-top: 10px; font-size: 1.1rem; }
.free { color: var(--emerald); }

/* Search and Filters */
.search-filters { margin-bottom: 30px; }
.search-box { display: flex; max-width: 500px; margin: 0 auto 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.2); border-radius: 4px; padding: 5px; }
.search-box input { flex: 1; border: none; background: transparent; color: white; padding: 10px; outline: none; }
.search-box button { background: var(--gold); color: black; border: none; padding: 10px 20px; cursor: pointer; font-family: 'Cinzel'; font-weight: bold; }

.filter-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-tag { padding: 8px 16px; border: 1px solid rgba(212,175,55,0.3); color: rgba(255,255,255,0.7); cursor: pointer; border-radius: 20px; font-size: 0.8rem; transition: 0.3s; }
.filter-tag.active, .filter-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.1); }

@keyframes openScroll { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), var(--midnight));
    padding-top: 80px;
}

#hero-home h1 { font-family: 'Cinzel', serif; font-size: 2.5rem; letter-spacing: 3px; }

/* DESPRE NOI */
.section-about { padding: 80px 10%; text-align: center; }
.container-small { max-width: 800px; margin: auto; }
.intro-text { font-size: 1.2rem; line-height: 1.8; margin-bottom: 40px; }

.oferim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.oferim-item { background: var(--card-bg); padding: 15px; border-radius: 5px; border: 1px solid rgba(197, 160, 89, 0.1); font-size: 0.9rem; }

.gold-call { color: var(--gold); font-family: 'Cinzel', serif; display: block; margin-top: 20px; font-size: 1.2rem; }

/* RAFTUL DE MOSTRE (3D EFFECT) */
.shelf { padding: 60px 5%; max-width: 1200px; margin: auto; }
.shelf-title { font-family: 'Cinzel', serif; color: var(--gold); text-align: center; margin-bottom: 10px; }
.shelf-subtitle { text-align: center; color: #888; margin-bottom: 40px; }

.book-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }

.book-card-3d { perspective: 1000px; text-align: center; }
.cover img { width: 100%; border-radius: 3px; box-shadow: 8px 8px 15px rgba(0,0,0,0.5); transition: 0.6s; }

.book-card-3d:hover .cover img {
    transform: rotateY(-25deg) rotateX(5deg) scale(1.05);
    box-shadow: 20px 20px 30px rgba(0,0,0,0.7);
}

.info h4 { margin: 15px 0 5px; font-family: 'Cinzel', serif; color: var(--gold); }
.info p { font-size: 0.8rem; color: #888; }

/* SECȚIUNI GOALE (Target-ul din meniu) */
.full-section { height: 100vh; padding: 100px 10%; background: #0c0f16; border-top: 1px solid var(--gold); }


