:root {
    --bg-dark: #072C24;
    --text-gold: #E3CB9A;
    --accent-blue: #78DBFF;
    --footer-text: #93B8B1;
}

.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-gold);
}

.navbar-brand {
    font-family: 'Lobster', cursive;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-container a {
    color: var(--accent-blue) !important;
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
}

footer {
    background-color: #09342b;
    padding: 2rem 0;
    margin-top: 4rem;
    font-family: 'Inter', sans-serif;
    color: var(--footer-text);
}

.card {
    background: linear-gradient(145deg, #08352c 0%, #062a23 100%);
    border: 1px solid #1c4d42;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gothic {
    background-color: #1c4d42;
    color: var(--text-gold);
    border: 1px solid #2a6b5e;
}

.btn-gothic:hover {
    background-color: #2a6b5e;
    color: #fff;
}

.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #2a6b5e;
    border-radius: 8px;
}

.auth-container h2 {
    font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#books-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem 2%;
}

.book-card {
    aspect-ratio: 5/8;
    position: relative;
    transition: transform 0.3s;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.book-cover {
    height: 100%;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}

.book-card:hover {
    transform: scale(1.05);
    z-index: 1;
}

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(0deg, rgba(7,44,36,0.9) 0%, rgba(0,0,0,0) 100%);
}

.book-title {
    font-size: 1rem;
    margin: 0;
    color: #E3CB9A;
}

.book-cover:hover .book-overlay {
    opacity: 1;
}

.book-info {
    color: var(--text-gold);
    text-align: center;
    padding: 1rem;
}

/* Dodaj do istniejących styli */
.lobster-font {
    font-family: 'Lobster', cursive;
}

.inter-font {
    font-family: 'Inter', sans-serif;
}

footer a {
    color: var(--accent-blue) !important;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.text-accent {
    color: var(--accent-blue) !important;
}

.dark-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
}

.dark-card:hover {
    transform: translateY(-5px);
}

.text-accent {
    color: #78DBFF;
}

#book-description {
    line-height: 1.8;
    font-size: 1.1rem;
}

#searchInput {
    height: 50px;
    font-size: 1.2rem;
}

/* W pliku styles.css */
.navbar-nav {
    gap: 1.5rem !important; /* Odstępy między linkami */
}

footer a {
    padding: 0.5rem 1rem; /* Większy obszar klikalny */
    display: inline-block; /* Lepsze wyrównanie */
}

.card-img-top {
    height: 350px;
    object-fit: cover;
    object-position: center top;
}

.bg-dark {
    background-color: #072C24 !important;
}

.text-gold {
    color: #E3CB9A;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.text-gold:hover {
    color: #E3CB9A;
    opacity: 0.8;
}

#searchInput {
    min-width: 300px;
    background-color: #1a322d;
    color: #E3CB9A;
    border: 1px solid #3d5a53;
}

#searchInput::placeholder {
    color: #93B8B1;
    opacity: 0.7;
}

.user-links, .anonymous-links {
    gap: 1rem;
    align-items: center;
}

/* Responsywność */
@media (max-width: 768px) {
    #books-container {
        grid-template-columns: 1fr;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem !important;
    }
}

.btn-outline-gothic {
    border: 2px solid #0ff;
    color: #0ff;
    transition: all 0.3s ease;
}

.btn-outline-gothic:hover {
    background-color: #0ff;
    color: #000;
    box-shadow: 0 0 15px #0ff;
}

.neon-title {
    color: #0ff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
