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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative; 
    overflow-x: hidden;
    background: url('Gemini.png') no-repeat center center fixed;
    background-size: cover;
}

.scroll-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto; 
    padding: 30px 20px;
    background: #f9f6f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card {
    background: transparent;
    border-radius: 12px;
    border: 1px solid rgba(98, 51, 33, 0.15);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
    
    color: #623321 !important; 
}

.card:hover {
    transform: translateY(-5px);
    border-color: #623321;
}

.genre-tag, 
.card h3, 
.card p, 
.card span, 
.card div, 
.card .author, 
.card .summary, 
.vote-container {
    color: #623321 !important;
}

.genre-tag {
    background: rgba(98, 51, 33, 0.1);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    align-self: flex-start;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
}

.card .author {
    font-style: italic;
    font-size: 13px;
    margin-bottom: 15px;
}

.card .summary {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-btn {
    background: #623321;
    color: white !important;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.read-btn:hover {
    background: #4a2c20;
}

.vote-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vote-btn {
    background: transparent;
    border: 1px solid #623321;
    color: #623321 !important;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.vote-btn:hover {
    background: #623321;
    color: white !important;
}
