/* 
  AV Actress Star - Common Design System
  Included on all pages to provide site-wide styles and layout utilities.
*/

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

:root {
    --bg-dark-50: #1a1a1a;
    --bg-dark-100: #151515;
    --bg-dark-200: #0f0f0f;
    --bg-dark-300: #2a2a2a;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --text-gray-200: #e5e7eb;
    --text-gray-300: #d1d5db;
    --text-gray-400: #9ca3af;
    --text-gray-500: #6b7280;
    --yellow-500: #eab308;
    --white: #ffffff;
    --black: #000000;
}

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

body {
    background-color: var(--bg-dark-100);
    color: var(--text-gray-200);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Container */
.max-w-7xl { 
    width: 100%;
    max-width: 80rem; 
    margin-left: auto; 
    margin-right: auto; 
}
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }

@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Visibility Utilities */
.hidden { display: none !important; }

@media (min-width: 640px) { /* sm */
    .sm\:flex { display: flex !important; }
    .sm\:inline { display: inline !important; }
    .sm\:hidden { display: none !important; }
}

@media (min-width: 768px) { /* md */
    .md\:block { display: block !important; }
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray-300);
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-link i {
    margin: 2px 6px;
}

.nav-link:hover {
    color: var(--white);
}

/* Search Box */
.search-container {
    display: none;
}
@media (min-width: 640px) {
    .search-container { display: flex; max-width: 20rem; }
}

.search-input {
    width: 12rem;
    background-color: var(--bg-dark-50);
    border: 1px solid #374151;
    border-right: none;
    border-radius: 0.25rem 0 0 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--white);
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-500);
    width: 16rem;
}

.search-button {
    background-color: var(--bg-dark-300);
    padding: 0.25rem 0.75rem;
    border-radius: 0 0.25rem 0.25rem 0;
    border: 1px solid #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background-color: #374151;
}

/* Hamburger */
.hamburger-btn {
    padding: 0.5rem;
    color: var(--text-gray-400);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 0.375rem;
}
.hamburger-btn:hover {
    color: var(--white);
    background-color: var(--bg-dark-300);
}

/* Base Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: var(--bg-dark-200);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 50;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-gray-300);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu {
    background-color: var(--bg-dark-200);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu-inner {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.mobile-search {
    margin-top: 1rem;
    padding: 0 0.75rem 0.5rem;
}
.mobile-search .search-input {
    width: 100%;
    border-radius: 0.25rem;
    border-right: 1px solid #374151;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark-200);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    padding: 2rem 0;
}
.footer-content {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray-500);
}
.footer-dmm-banner {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Common Components --- */
/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title-lg {
    font-size: 1.5rem;
}

.section-title-indicator {
    display: inline-block;
    width: 0.25rem;
    height: 1.25rem;
    border-radius: 9999px;
}

.section-title-indicator-lg {
    width: 0.375rem;
    height: 1.5rem;
}

.indicator-brand { background-color: var(--brand-500); }
.indicator-yellow { background-color: var(--yellow-500); }

.view-all-link {
    font-size: 0.75rem;
    color: var(--brand-500);
}
.view-all-link:hover {
    color: var(--brand-600);
}

/* Generic Utilities */
.text-center { text-align: center; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-40 { padding-top: 10rem; padding-bottom: 10rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.text-white { color: var(--white); }
.text-gray-400 { color: var(--text-gray-400); }
.mb-4 { margin-bottom: 1rem; }
.mb-10 { margin-bottom: 2.5rem; }
.max-w-lg { max-width: 32rem; margin-left: auto; margin-right: auto; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

@media (min-width: 768px) {
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

/* Base Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.25rem;
    padding: 0 2rem;
    background-color: var(--brand-600);
    color: var(--white);
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-primary:hover {
    background-color: var(--brand-500);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.flex-btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
@media (min-width: 640px) {
    .flex-btn-group {
        flex-direction: row;
    }
    .btn-primary {
        width: 400px;
    }
}
