/* -----------------------------------
   Pornhub Theme Custom Properties
----------------------------------- */
:root {
  --ph-bg: #0f0f0f;
  --ph-card-bg: #1f1f1f;
  --ph-header-bg: #000000;
  --ph-orange: #ff9900;
  --ph-orange-hover: #e68a00;
  --ph-text-white: #ffffff;
  --ph-text-gray: #a6a6a6;
  --ph-border: #2a2a2a;
  --ph-radius: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: var(--ph-bg);
  color: var(--ph-text-white);
  line-height: 1.5;
}

/* -----------------------------------
   Top Bar
----------------------------------- */
.top-bar {
  background: var(--ph-orange);
  color: #000;
  text-align: center;
  padding: 8px 15px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.timer-badge {
  background: #000;
  color: var(--ph-orange);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
  font-family: monospace;
}

/* -----------------------------------
   Header
----------------------------------- */
header {
  background: var(--ph-header-bg);
  border-bottom: 1px solid var(--ph-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Iconic Logo Style */
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ph-text-white);
  text-decoration: none;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}

.logo-badge {
  background: var(--ph-orange);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 2px;
}

/* Header Search Bar */
.search-bar {
  display: flex;
  flex: 1;
  max-width: 500px;
}

.search-bar input {
  width: 100%;
  background: #1b1b1b;
  border: 1px solid var(--ph-border);
  border-right: none;
  padding: 8px 12px;
  color: #fff;
  border-radius: 3px 0 0 3px;
  outline: none;
}

.search-bar button {
  background: var(--ph-orange);
  border: none;
  color: #000;
  font-weight: bold;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
}

.search-bar button:hover {
  background: var(--ph-orange-hover);
}

.btn-cta {
  background: var(--ph-orange);
  color: #000;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  background: var(--ph-orange-hover);
}

.btn-large {
  font-size: 1.1rem;
  padding: 14px 32px;
}

/* -----------------------------------
   Hero Section
----------------------------------- */
.hero {
  padding: 60px 20px;
  background: radial-gradient(circle at center, #252525 0%, var(--ph-bg) 80%);
  text-align: center;
  border-bottom: 1px solid var(--ph-border);
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: rgba(255, 153, 0, 0.15);
  color: var(--ph-orange);
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  border: 1px solid var(--ph-orange);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
}

.hero-title span {
  color: var(--ph-orange);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--ph-text-gray);
  margin-bottom: 30px;
}

/* -----------------------------------
   Showcase / Grid Section
----------------------------------- */
.showcase, .menu-section, .reviews {
  padding: 50px 20px;
  border-bottom: 1px solid var(--ph-border);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border-left: 4px solid var(--ph-orange);
  padding-left: 10px;
  margin-bottom: 5px;
}

.section-subtitle {
  color: var(--ph-text-gray);
  font-size: 0.9rem;
  margin-bottom: 30px;
  padding-left: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--ph-card-bg);
  border-radius: var(--ph-radius);
  overflow: hidden;
  border: 1px solid var(--ph-border);
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--ph-orange);
}

.card-media {
  height: 160px;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.duration-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: bold;
}

.hd-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ph-orange);
  color: #000;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 2px;
}

.card-body {
  padding: 15px;
}

.card-body h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.85rem;
  color: var(--ph-text-gray);
  margin-bottom: 12px;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--ph-text-gray);
  border-top: 1px solid #2a2a2a;
  padding-top: 8px;
}

/* -----------------------------------
   Menu Selector
----------------------------------- */
.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 3px;
  border: 1px solid var(--ph-border);
  background: var(--ph-card-bg);
  color: var(--ph-text-gray);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--ph-orange);
  color: #000;
  border-color: var(--ph-orange);
}

.menu-display {
  background: var(--ph-card-bg);
  border-radius: var(--ph-radius);
  padding: 25px;
  border: 1px solid var(--ph-border);
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu-img {
  width: 140px;
  height: 140px;
  background: #111;
  border-radius: var(--ph-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  flex-shrink: 0;
  border: 1px solid var(--ph-border);
}

.menu-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-verified {
  background: #00b0ff;
  color: #000;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 2px;
}

.tag-hd {
  background: #333;
  color: var(--ph-orange);
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--ph-orange);
}

.menu-info h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}

.menu-info p {
  color: var(--ph-text-gray);
  font-size: 0.9rem;
}

/* -----------------------------------
   Reviews
----------------------------------- */
.review-card {
  background: var(--ph-card-bg);
  padding: 20px;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-border);
}

.review-stars {
  color: var(--ph-orange);
  margin-bottom: 10px;
}

.review-card p {
  font-size: 0.9rem;
  color: #ddd;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ph-orange);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.verified-icon {
  color: #00b0ff;
  font-size: 0.8rem;
}

/* -----------------------------------
   CTA Section
----------------------------------- */
.cta-section {
  background: #141414;
  text-align: center;
  padding: 60px 20px;
  border-bottom: 1px solid var(--ph-border);
}

.cta-section h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.cta-section p {
  color: var(--ph-text-gray);
  margin-bottom: 25px;
}

/* -----------------------------------
   Modal
----------------------------------- */
.quiz-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.quiz-box {
  background: var(--ph-card-bg);
  border: 1px solid var(--ph-orange);
  padding: 30px;
  border-radius: var(--ph-radius);
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  color: #fff;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ph-text-gray);
}

.close-btn:hover {
  color: #fff;
}

.option-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--ph-border);
  background: #111;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.option-btn:hover {
  background: var(--ph-orange);
  color: #000;
  border-color: var(--ph-orange);
}

/* -----------------------------------
   Footer
----------------------------------- */
footer {
  background: var(--ph-header-bg);
  color: var(--ph-text-gray);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  .search-bar {
    order: 3;
    max-width: 100%;
    margin-top: 10px;
  }
  .hero-title { font-size: 1.8rem; }
  .menu-display { flex-direction: column; text-align: center; }
}