/*
Theme Name: Hollywood Elite
Theme URI: https://hollywoodelite.com
Author: Grok AI
Author URI: https://x.ai
Description: Fully professional dark luxury WordPress theme for Hollywood celebrities, entertainment news, red carpet coverage, movie databases and awards. Premium black + gold design with custom post types.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hollywood-elite
Tags: entertainment, celebrity, magazine, news, dark-mode, custom-menu, featured-images, threaded-comments, translation-ready, custom-logo, blog, portfolio
*/

:root {
  --bg-body: #0a0a0a;
  --bg-dark: #111111;
  --bg-card: #171717;
  --bg-elevated: #1f1f1f;
  --gold: #d4af37;
  --gold-hover: #e8c547;
  --gold-muted: #a88b2d;
  --text-primary: #ffffff;
  --text-secondary: #d1d1d1;
  --text-muted: #8a8a8a;
  --border: #2a2a2a;
  --radius-sm: 6px;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1280px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 700; line-height: 1.25; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: var(--transition); border: none; text-decoration: none; letter-spacing: 0.3px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-muted) 100%);
  color: #0a0a0a; box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
  color: #0a0a0a; transform: translateY(-2px); box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #0a0a0a; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.site-header {
  background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo {
  display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800;
  color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase;
}
.site-logo .logo-text { color: var(--text-primary); }
.main-nav ul { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: var(--text-secondary); font-weight: 500; font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.8px; padding: 8px 14px; border-radius: var(--radius-sm);
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold); background: rgba(212, 175, 55, 0.08); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: var(--bg-dark); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 45%, rgba(10,10,10,0.3) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 580px; padding: 60px 0; }
.hero-badge {
  display: inline-block; background: rgba(212, 175, 55, 0.15); color: var(--gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 20px; border: 1px solid rgba(212, 175, 55, 0.3);
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -1.5px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero-bg { position: absolute; top: 0; right: 0; width: 60%; height: 100%; background-size: cover; background-position: center top; z-index: 0; }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-dark); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.section-title { font-size: 1.75rem; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.section-title .icon { color: var(--gold); }
.section-link { font-size: 0.9rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 6px; }

.celebs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.celeb-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.celeb-card:hover {
  transform: translateY(-8px); border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow), var(--shadow-gold);
}
.celeb-card .card-image { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.celeb-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.celeb-card:hover img { transform: scale(1.05); }
.celeb-info { padding: 18px 16px 20px; }
.celeb-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.celeb-info h3 a { color: var(--text-primary); }
.celeb-info h3 a:hover { color: var(--gold); }
.celeb-info .role { font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; font-weight: 500; }
.celeb-info .rating { color: var(--gold); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 1px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column;
}
.news-card:hover { border-color: rgba(212, 175, 55, 0.35); box-shadow: var(--shadow); }
.news-card .card-image { aspect-ratio: 16/10; overflow: hidden; }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover img { transform: scale(1.04); }
.news-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-content .category { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 10px; }
.news-content h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.4; }
.news-content h3 a { color: var(--text-primary); }
.news-content h3 a:hover { color: var(--gold); }
.news-content .meta { margin-top: auto; font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 12px; }

.single-hero { padding: 80px 0 60px; background: var(--bg-dark); border-bottom: 1px solid var(--border); }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.entry-content { font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); }
.entry-content p { margin-bottom: 1.4em; }
.stats-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: sticky; top: 100px;
}
.stats-card h3 { color: var(--gold); font-size: 1rem; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.stat-item { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.stat-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }

.page-header { padding: 50px 0 30px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.page-header h1 { font-size: 2.4rem; display: flex; align-items: center; gap: 12px; }
.page-header h1 .icon { color: var(--gold); }

.site-footer { background: #080808; border-top: 1px solid var(--border); padding: 70px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: var(--text-primary); font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted);
}
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--text-muted); }
.social-links a:hover { color: var(--gold); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-weight: 500; transition: var(--transition);
}
.pagination .page-numbers:hover, .pagination .page-numbers.current {
  background: var(--gold); border-color: var(--gold); color: #0a0a0a;
}

.error-404 { text-align: center; padding: 120px 20px; }
.error-404 h1 { font-size: 6rem; color: var(--gold); margin-bottom: 10px; }
.error-404 p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }

@media (max-width: 1100px) { .celebs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .celebs-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .stats-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-bg { width: 100%; opacity: 0.3; }
}
@media (max-width: 600px) {
  .celebs-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .section { padding: 50px 0; }
}
