/* ==========================================================
    GLOBAL DESIGN SYSTEM ARCHITECTURE SHEET (MIDNIGHT ROSE)
    ========================================================== */

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

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #0a0a0a;
    color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- UPPER NAVIGATION HEADER BAR STYLING --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121212;
    border-bottom: 1px solid #222;
    padding: 0 2rem;
    height: 60px;
    gap: 20px;
    flex-shrink: 0;
}

.logo-wrapper {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.search-wrapper {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    position: relative;
}

.nav-search {
    display: flex;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.nav-search input[type="text"] {
    width: 100%;
    padding: 8px 40px 8px 14px;
    font-size: 0.9rem;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
    border-radius: 20px 0 0 20px;
    outline: none;
    transition: border-color 0.2s;
}

.nav-search input[type="text"]:focus {
    border-color: #ff8fa3;
}

.nav-search button[type="submit"] {
    padding: 8px 18px;
    background-color: #ff8fa3;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-weight: bold;
    color: #0a0a0a;
    transition: opacity 0.2s;
}

.nav-search button[type="submit"]:hover {
    opacity: 0.85;
}

/* --- SUB NAVIGATION ROW LINKS --- */
.links-bar {
    background-color: #121212;
    border-top: 1px solid #222;
    border-bottom: 3px solid #222;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-links li {
    flex-grow: 1;
    text-align: center;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    padding: 12px 24px;
    border: 3px solid transparent;
    transition: color 0.2s;
}

.nav-links a:hover:not(.active) {
    color: #ff8fa3;
}

.nav-links a.active {
    color: #ff8fa3;
    font-weight: bold;
    background-color: #1a1a1a;
}

/* --- THIN UTILITY BASE FOOTERS --- */
.utility-footer {
    background-color: #090909;
    border-top: 1px solid #222;
    flex-shrink: 0;
}

/* --- MODERN PAGINATION STYLING --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    width: 100%;
}

.pagination-btn, .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    background: #141414;
    border: 1px solid #262626;
    border-radius: 19px;
    color: #f9f9f9;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.pagination-btn:hover:not(:disabled), .page-number:hover {
    background: #1f1f1f;
    border-color: #ff8fa3;
    color: #ff8fa3;
}

.pagination-btn:active:not(:disabled), .page-number:active {
    transform: scale(0.96);
}

.page-number.active {
    background: #ff8fa3;
    color: #0a0a0a;
    border-color: #ff8fa3;
    font-weight: bold;
}

.pagination-btn:disabled {
    background: #101010;
    color: #444;
    border-color: #1a1a1a;
    cursor: not-allowed;
    opacity: 0.5;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #070707;
    border-top: 1px solid #1a1a1a;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 18px;
}

.social-icons a {
    color: #888888;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: rgb(255, 143, 163) !important;
    transform: translateY(-2px);
}

.trademark-text {
    color: #777777;
    letter-spacing: 0.3px;
}

.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.age-modal-content h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: rgb(255, 143, 163);
}

.age-modal-content p {
    margin-bottom: 2rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.age-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.age-btn-yes {
    background-color: rgb(255, 143, 163);
    color: #0f0f0f;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.age-btn-yes:hover {
    opacity: 0.9;
}

.age-btn-no {
    background-color: transparent;
    color: #b0b0b0;
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.age-btn-no:hover {
    border-color: #777;
    color: #fff;
}

.underage-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f0f0f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 100000;
    padding: 2rem;
    font-size: 1.5rem;
}
