/* Inherits body styles from style1.css */

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
    margin: 0;
    padding: 20px;
    overflow-y: scroll !important; /* FIX SCROLL BAR */
}
/* PAGE CONTENT WRAPPER */
.page-content {
    padding: 120px 20px 60px; /* Top padding for fixed nav */
}

/* PAGE TITLE */
.title {
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* FILTERS SECTION */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.top-cat, #searchInput {
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    outline: none;
    background: rgba(28, 22, 66, 0.8);
    color: var(--text-medium);
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: all 0.3s;
    font-family: var(--font-main);
}

.top-cat:hover, #searchInput:hover {
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
}

#searchInput {
    width: 250px;
}

/* CARDS CONTAINER */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}

/* CARD */
.card {
    background: rgba(28, 22, 66, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 20px;
    width: 280px;
    text-align: center;
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.25);
}

.card h3 {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.card p {
    font-size: 15px;
    color: var(--text-medium);
    margin: 5px 0 20px;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-card {
    padding: 12px;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.btn-card.free {
    background-color: var(--accent);
}

.btn-card.premium {
    background-color: var(--secondary);
}

.btn-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media screen and (max-width: 480px) {
    .page-content {
        padding-top: 100px;
    }
    .title { font-size: 36px; }
    .filters { flex-direction: column; gap: 15px; }
    #searchInput { width: 100%; }
    .card { width: 90%; }
}
