:root {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --bg-header: #000000;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #d4af37;
    --accent-hover: #f1c40f;
    --border-color: #333;
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Layout Grid (New) */
.page-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: flex-start; /* Prevent stretching */
}

.sidebar {
    flex: 0 0 250px;
    min-width: 250px;
}

.main-content {
    flex: 1;
    min-width: 0; /* Crucial for Grid inside Flex */
    width: 100%; /* Ensure full width on mobile */
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid #222;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.user-menu {
    display: flex;
    gap: 15px;
}

.btn-nav-fav {
    color: #e74c3c;
    font-weight: bold;
    font-size: 13px;
    padding: 8px 20px;
    border: 1px solid #e74c3c;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-nav-fav:hover {
    background-color: #e74c3c;
    color: #fff;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
}

.btn-nav-add {
    background: linear-gradient(45deg, var(--accent), #f1c40f);
    color: #000;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.btn-nav-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #ffe066, #ffcc00);
}

.link-gold {
    color: var(--accent) !important;
    font-weight: bold;
    border-bottom: 1px solid transparent;
}
.link-gold:hover {
    border-bottom-color: var(--accent);
}

nav ul { display: flex; flex-wrap: wrap; gap: 10px; }
nav ul li a {
    color: var(--text-muted);
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}
nav ul li a:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Section Titles */
.section-title {
    color: var(--accent);
    padding: 10px 0;
    margin: 40px 0 30px 0;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    letter-spacing: 1px;
}

/* Gallery & Cards */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #2a2a2a;
    position: relative;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: #444;
}

.profile-card a { display: block; height: 100%; display: flex; flex-direction: column; }

.profile-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.profile-card:hover img { transform: scale(1.05); }

.profile-info {
    padding: 20px;
    text-align: center;
    background: linear-gradient(to top, var(--bg-card) 0%, rgba(30, 30, 30, 0.95) 100%);
    position: relative;
    z-index: 2;
    flex-grow: 1; 
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.profile-meta { font-size: 14px; color: var(--text-muted); }

.vip-card {
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.pinned {
    border: 1px solid #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
}

.vip-badge {
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    color: #000;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Heart Button */
.btn-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    z-index: 10;
    transition: transform 0.2s;
    line-height: 1;
}
.btn-heart:hover { transform: scale(1.2); background: rgba(0,0,0,0.7); }

/* Inputs & Forms */
.article-box {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    border: 1px solid #2a2a2a;
}
input[type="text"], input[type="number"], textarea, select, input[type="password"] {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: white;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
label { color: var(--text-muted); display: block; margin-bottom: 5px; font-size: 14px; }

/* Profile Detail */
.profile-detail-container {
    background: rgba(25, 25, 25, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
@media (min-width: 992px) {
    .profile-detail-container {
        flex-direction: row;
        align-items: stretch;
    }
}
.profile-detail-image {
    flex: 0 0 450px;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}
.profile-detail-image img { 
    width: 100%; 
    height: 600px;
    object-fit: cover; 
    display: block;
}
.profile-vip-overlay {
    position: absolute;
    top: 20px; left: 20px;
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: #000;
    padding: 6px 18px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    z-index: 10;
}
.profile-detail-info { 
    flex: 1; 
    padding: 50px; 
    display: flex; 
    flex-direction: column; 
    background: linear-gradient(to right bottom, transparent, rgba(212, 175, 55, 0.03));
}
.profile-detail-header { 
    margin-bottom: 30px; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    padding-bottom: 25px; 
}
.profile-detail-name { 
    font-size: 48px; 
    color: #fff; 
    margin: 0; 
    font-weight: 800;
    line-height: 1.1;
}
.profile-location { 
    color: var(--accent); 
    font-size: 20px; 
    margin-top: 10px; 
    font-weight: 500;
}
.profile-stats-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-bottom: 40px; 
}
.stat-box { 
    background: rgba(255,255,255,0.03); 
    padding: 20px; 
    border-radius: 15px; 
    text-align: center; 
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}
.stat-box:hover {
    background: rgba(255,255,255,0.06);
}
.stat-label { 
    display: block; 
    font-size: 11px; 
    color: #777; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.stat-value { 
    display: block; 
    font-size: 22px; 
    font-weight: 700; 
    color: #fff; 
}
.profile-actions { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
    margin-bottom: 30px; 
}
.btn-action { 
    padding: 18px; 
    text-align: center; 
    border-radius: 12px; 
    font-weight: 800; 
    text-transform: uppercase; 
    cursor: pointer; 
    border: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-phone { 
    background: linear-gradient(45deg, #d4af37, #f1c40f); 
    color: #000; 
    grid-column: span 2;
    font-size: 18px;
}
.btn-action:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.profile-desc-box { 
    background: rgba(255,255,255,0.02); 
    padding: 30px; 
    border-radius: 15px; 
    color: #bbb; 
    line-height: 1.8; 
    border: 1px solid rgba(255,255,255,0.03);
    font-size: 16px;
}
.profile-desc-box h3 {
    margin-top: 0;
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}
.back-link { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; } 
.back-link:hover { color: var(--accent); }

/* Pagination */
.pagination { display: flex; justify-content: center; margin-top: 50px; margin-bottom: 60px; gap: 10px; }
.page-link { display: inline-block; padding: 10px 16px; background-color: var(--bg-card); border: 1px solid #333; color: var(--text-main); text-decoration: none; border-radius: 4px; font-weight: bold; }
.page-link:hover { background-color: #333; border-color: var(--accent); color: var(--accent); }
.page-link.active { background-color: var(--accent); border-color: var(--accent); color: #000; cursor: default; }

/* Footer */
.site-footer { background-color: #000; border-top: 1px solid #222; padding: 40px 0; margin-top: auto; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-logo { font-size: 20px; margin-bottom: 5px; text-shadow: none; }
.footer-brand .copyright { color: #555; margin: 0; }
.footer-nav { display: flex; gap: 25px; }
.footer-nav a { color: #888; } .footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background-color: #1a1a1a; color: var(--accent); border-radius: 50%; font-weight: bold; font-size: 12px; border: 1px solid #333; transition: all 0.3s; }
.footer-social a:hover { background-color: var(--accent); color: #000; transform: translateY(-3px); }

@media (max-width: 768px) { 
    .top-bar { flex-direction: column; align-items: flex-start; gap: 20px; } 
    .profile-detail-container { flex-direction: column; } 
    .footer-inner { flex-direction: column; text-align: center; } 
    .footer-nav { flex-direction: column; gap: 10px; } 
    .page-layout { flex-direction: column; }
    .sidebar { width: 100%; flex: auto; }
}