:root {
    --primary: #e91e63;
    --primary-hover: #c2185b;
    --secondary: #9c27b0;
    --bg-dark: #0f0f12;
    --bg-card: #1a1a20;
    --text-light: #f5f5f5;
    --text-muted: #b0b0b0;
    --success: #4caf50;
    --danger: #f44336;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* NEW HEADER CSS */
header.site-header {
    background-color: rgba(26, 26, 32, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2a2a35;
    padding: 0;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.search-container {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-form {
    display: flex;
    background: var(--bg-dark);
    border-radius: 50px;
    border: 1px solid #2a2a35;
    overflow: hidden;
    transition: 0.3s;
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.15);
}

.search-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-form button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.search-form button:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.nav-menu > li > a:hover {
    color: var(--primary);
}

.icon-small {
    width: 16px;
    height: 16px;
}

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    min-width: 450px;
    border: 1px solid #2a2a35;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 100;
    padding: 25px;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mega-grid a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.mega-grid a:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
}

@media (max-width: 992px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 15px 0;
    }
    .logo {
        font-size: 1.3rem;
    }
    .search-container {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin: 15px 0 0 0;
    }
    .mobile-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid #2a2a35;
        padding: 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        width: 100%;
    }
    .main-nav.active {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    .has-dropdown {
        border-bottom: 1px solid #2a2a35;
    }
    .has-dropdown:last-child {
        border-bottom: none;
    }
    .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 15px 0;
        background: transparent;
    }
    .mega-menu.active {
        display: block;
    }
    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26,26,32,0.9), rgba(15,15,18,0.95)), url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
}

.hero-text {
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-text strong {
    color: var(--primary);
    font-weight: 600;
}

.hero-country-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-country-link:hover,
.hero-country-link:focus-visible {
    color: #ff81af;
}

.hero-country-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.country-hero {
    border: 1px solid #38303c;
    border-bottom: 2px solid var(--primary);
    border-radius: 12px;
    margin: 24px 0 32px;
    padding: 48px 24px;
}

.seo-section {
    margin: 12px 0 64px;
}

.seo-section.container {
    margin: 12px auto 64px;
}

/* La Revista uses the same site header, footer and hero. */
.revista-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 28px;
}

.revista-categories a {
    background: var(--bg-card);
    border: 1px solid #38303c;
    border-radius: 999px;
    color: var(--text-light);
    font-size: .9rem;
    padding: 9px 16px;
}

.revista-categories a:hover,
.revista-categories a:focus-visible,
.revista-categories a[aria-current="page"] {
    border-color: var(--primary);
    color: #ff81af;
}

.revista-main {
    margin-bottom: 72px;
    min-height: 250px;
}

.revista-main .breadcrumb {
    margin-bottom: 24px;
}

.revista-main .breadcrumb a,
.revista-article-back a,
.revista-article-content a,
.revista-empty a {
    color: #ff81af;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.revista-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.home-revista {
    margin: 16px 0 56px;
}

.home-revista-heading {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.home-revista-eyebrow {
    color: #ff81af;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.home-revista h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: 0;
}

.home-revista-all {
    color: #ff81af;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-revista-all:hover,
.home-revista-all:focus-visible {
    color: #fff;
}

.revista-card,
.revista-article,
.revista-empty {
    background: var(--bg-card);
    border: 1px solid #38303c;
    border-radius: 12px;
    overflow: hidden;
}

.revista-card-body {
    padding: 24px;
}

.revista-thumbnail img,
.revista-featured {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.revista-thumbnail img {
    aspect-ratio: 1280 / 853;
    object-fit: cover;
}

.revista-date {
    color: var(--text-muted);
    font-size: .85rem;
    margin-bottom: 12px;
}

.revista-card h2,
.revista-card h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.revista-card h2 a:hover,
.revista-card h2 a:focus-visible,
.revista-card h3 a:hover,
.revista-card h3 a:focus-visible {
    color: #ff81af;
}

.revista-excerpt,
.revista-article-content {
    color: var(--text-muted);
    line-height: 1.8;
}

.revista-excerpt p,
.revista-article-content p {
    margin-bottom: 1.2em;
}

.revista-article,
.revista-empty {
    margin: 0 auto;
    max-width: 850px;
    padding: 30px;
}

.revista-article-content h2,
.revista-article-content h3 {
    color: var(--text-light);
    line-height: 1.3;
    margin: 1.5em 0 .6em;
}

.revista-article-content ul,
.revista-article-content ol {
    margin: 0 0 1.2em 1.5em;
}

.revista-table-wrap {
    overflow-x: auto;
    margin: 0 0 1.5em;
}

.revista-article-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.revista-article-content caption {
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 700;
    text-align: left;
}

.revista-article-content th,
.revista-article-content td {
    padding: 10px 12px;
    border: 1px solid #38303c;
    text-align: left;
    vertical-align: top;
}

.revista-article-content thead {
    background: rgba(233, 30, 99, .12);
    color: var(--text-light);
}

.revista-featured {
    border-radius: 8px;
    margin-bottom: 24px;
}

.revista-article-back {
    border-top: 1px solid #38303c;
    margin-top: 30px;
    padding-top: 20px;
}

.revista-followup {
    margin: 56px 0 0;
}

.revista-followup h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 8px;
}

.revista-followup-intro {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.revista-followup .model-grid {
    margin-bottom: 0;
}

.revista-pagination {
    margin-top: 32px;
    text-align: center;
}

.revista-pagination a,
.revista-pagination span {
    margin: 0 5px;
}

.seo-accordion {
    background: var(--bg-card);
    border: 1px solid #38303c;
    border-radius: 12px;
    overflow: hidden;
}

.seo-accordion summary {
    align-items: center;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    font-size: 1.1rem;
    font-weight: 700;
    justify-content: space-between;
    list-style: none;
    padding: 20px 24px;
}

.seo-accordion summary::-webkit-details-marker {
    display: none;
}

.seo-accordion summary::after {
    color: var(--primary);
    content: '+';
    font-size: 1.6rem;
    line-height: 1;
    margin-left: 16px;
}

.seo-accordion[open] summary::after {
    content: '−';
}

.seo-accordion summary:hover,
.seo-accordion summary:focus-visible {
    background: #25242c;
}

.seo-accordion summary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.seo-content {
    border-top: 1px solid #38303c;
    color: var(--text-muted);
    max-width: 100%;
    padding: 24px;
}

.seo-content h2,
.seo-content h3 {
    color: var(--text-light);
    line-height: 1.3;
    margin: 28px 0 12px;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h2 {
    font-size: 1.45rem;
}

.seo-content h3 {
    font-size: 1.15rem;
}

.seo-content p {
    margin-bottom: 16px;
    max-width: 90ch;
}

.seo-content a {
    color: #ff81af;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-content a:hover,
.seo-content a:focus-visible {
    color: #ffc1d8;
}

.seo-country-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

@media (max-width: 768px) {
    .country-hero {
        padding: 36px 20px;
    }

    .seo-accordion summary,
    .seo-content {
        padding: 18px;
    }
}

/* Live Count */
.live-count {
    background: var(--bg-card);
    border: 1px solid #2a2a35;
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.live-count strong {
    color: var(--primary);
    font-size: 1.3rem;
}

/* Model Grid */
.profile-page {
    padding-bottom: 72px;
}

.profile-breadcrumb {
    margin: 28px 0;
    color: var(--text-muted);
}

.profile-breadcrumb a,
.profile-facts a,
.profile-more a {
    color: var(--primary);
}

.profile-hero {
    margin-bottom: 32px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    gap: 28px;
    align-items: start;
}

.profile-preview {
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #211824;
    border: 1px solid #38303c;
    border-radius: 12px;
    color: #fff;
}

.profile-preview-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) brightness(.55);
    transform: scale(1.08);
}

.profile-preview-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-align: center;
}

.profile-play-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    padding-left: 5px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
    font-size: 26px;
}

.profile-preview:hover .profile-play-icon {
    background: var(--primary-hover);
}

.profile-details {
    padding: 24px;
    border: 1px solid #38303c;
    border-radius: 12px;
    background: var(--bg-card);
}

.profile-details h2,
.profile-similar h2 {
    margin-bottom: 20px;
}

.profile-details h3 {
    margin: 22px 0 10px;
}

.profile-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #38303c;
}

.profile-facts dt {
    color: var(--text-muted);
}

.profile-facts dd {
    text-align: right;
    font-weight: 600;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tags a {
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(233, 30, 99, .14);
    color: var(--primary);
}

.profile-cta {
    display: inline-block;
    margin-top: 24px;
    text-align: center;
}

.profile-similar {
    margin-top: 56px;
}

.profile-more {
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 800px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

@media (min-width: 1024px) {
    .model-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.model-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #2a2a35;
    position: relative;
    display: block;
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.image-container {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
}

.image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

.image-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 11;
}

.badge-site {
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: capitalize;
}

.badge-online { background-color: var(--success); top: 12px; right: 12px; }

.image-overlay-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 11;
}

.country-pill {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
}

.country-pill img {
    border-radius: 2px;
}

.model-info {
    padding: 15px;
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.model-header h3 {
    margin: 0;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.model-age {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: bold;
    background: rgba(233, 30, 99, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.tags {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tags a {
    color: var(--text-muted);
    transition: 0.2s;
    margin-right: 5px;
    display: inline-block;
}

.tags a:hover {
    color: var(--primary);
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Legal pages styling */
.legal-page {
    padding: 60px 20px;
    min-height: 60vh;
}

.legal-content {
    background: var(--bg-card);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #2a2a35;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.legal-content h1 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2.2rem;
    text-align: center;
}

.legal-content h2 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #fff;
}

.form-group input, .form-group textarea {
    background: var(--bg-dark);
    border: 1px solid #2a2a35;
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.2);
}


/* Footer Styling */
.site-footer {
    background-color: var(--bg-card);
    padding: 60px 0 20px;
    border-top: 1px solid #2a2a35;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
    font-size: 1.8rem;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 400px;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: 10px;
}

.badge-18, .badge-rta {
    border: 1px solid var(--text-muted);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-block;
    transition: 0.3s ease;
}

.footer-nav ul a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #2a2a35;
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero {
        padding: 40px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .legal-content {
        padding: 25px;
    }
}
