/*
Theme Name: PornGid Pro
Description: Dark elite theme — graphite base with violet-blue and deep gold accents.
Author: PornGid
Version: 1.2
*/

/* === Root palette === */
:root {
  --bg-main: #0e101a;
  --bg-card: #131621;
  --bg-hover: #1a1e2c;
  --text-main: #e6ecf5;
  --text-muted: #9ba3b5;
  --accent: #6d3aff;
  --accent-2: #8b5cf6;
  --gold: #d4af37;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --font-main: 'Poppins', 'Inter', sans-serif;
  --font-title: 'Playfair Display', serif;
}

/* === Base === */
body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  font-size: 16px;
}

/* === Links & buttons === */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color .25s, opacity .25s;
}
a:hover { color: var(--accent-2); }

button,
input[type="submit"],
.wp-block-button__link {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.6em 1.3em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(109,58,255,.4);
  transition: all .25s ease;
}
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,.5);
}

/* === Header === */
header, .site-header {
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  padding: 18px 40px;
}
.site-title a {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
}
nav a {
  color: var(--text-muted);
  margin: 0 14px;
  font-weight: 500;
  transition: color .3s;
}
nav a:hover { color: var(--accent-2); }

/* === Layout === */
.container, .site-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* === Video cards === */
.video-card, article.video {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}

/* Hover glow effect */
.video-card::before, article.video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(141,93,246,0.35),
    rgba(0,0,0,0.8));
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  border-radius: var(--radius);
}

.video-card:hover::before,
article.video:hover::before {
  opacity: 1;
}

.video-card:hover, article.video:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px rgba(109,58,255,0.3);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: auto;
  transition: transform .45s ease, filter .45s ease;
}
.video-card:hover .video-thumb img,
article.video:hover .video-thumb img {
  transform: scale(1.06);
  filter: brightness(1.15) saturate(1.05);
}

.video-title {
  font-size: 1rem;
  color: var(--text-main);
  padding: 12px 14px 4px;
}
.video-meta {
  display: flex;
  justify-content: space-between;
  padding: 0 14px 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === Category & Tag labels === */
.category, .tag {
  display: inline-block;
  font-size: .8rem;
  padding: 3px 10px;
  margin: 3px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: all .25s ease;
}
.category:hover, .tag:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

/* === Pagination === */
.pagination a, .wp-pagenavi a, .wp-pagenavi span {
  color: var(--text-main);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: background .25s, color .25s;
}
.pagination a:hover, .wp-pagenavi a:hover {
  background: var(--accent-2);
}
.wp-pagenavi span.current {
  background: var(--gold);
  color: #000;
  font-weight: 600;
}

/* === Footer === */
footer {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0 30px;
  background: #0c0f19;
  border-top: 1px solid rgba(255,255,255,0.05);
}
footer a { color: var(--accent-2); }

/* === Forms === */
input, select, textarea {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--text-main);
  padding: 8px 12px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent-2);
  outline: none;
}

/* === Player block === */
.pg-player {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 5px;
}
::-webkit-scrollbar-track { background: #0a0c13; }

/* === Utility === */
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent-2); }
.bg-card { background: var(--bg-card); border-radius: var(--radius); }