/*
Theme Name: RateMyCakes Premium
Theme URI: https://ratemycakes.com
Author: RateMyCakes Dev Team
Author URI: https://ratemycakes.com
Description: A dark-gold premium theme for RateMyCakes with built-in ad regions and high-end profile feed styling.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ratemycakes
Tags: dark, custom-menu, featured-images, responsive-layout, high-end
*/

:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --panel: rgba(12, 12, 12, 0.94);
  --panel-soft: rgba(255,255,255,0.04);
  --gold: #c5a059;
  --gold-alt: #d5b868;
  --text: #f3f1ec;
  --muted: #9a958c;
  --border: rgba(197, 160, 89, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(197, 160, 89, 0.08), transparent 18%),
              linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 15%, rgba(197, 160, 89, 0.08), transparent 16%),
              radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.05), transparent 12%);
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  padding: 32px 28px;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--gold);
}

.site-description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-container {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 28px;
}

.rmc-feed-panel,
.rmc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rmc-card,
.rmc-ad-unit,
.rmc-sidebar-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.rmc-card {
  overflow: hidden;
}

.rmc-cake-frame {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background: linear-gradient(180deg, rgba(197, 160, 89, 0.1), rgba(13, 13, 13, 0.96));
}

.rmc-cake-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rmc-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 10px;
}

.rmc-meta-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rmc-meta-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
}

.rmc-verified-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.14);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.rmc-score-pill {
  background: rgba(197, 160, 89, 0.16);
  color: var(--gold);
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  min-width: 78px;
  text-align: center;
}

.rmc-instruction {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.rmc-rating-bar {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.rmc-rating-button {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  padding: 18px 0;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rmc-rating-button:hover,
.rmc-rating-button:focus {
  background: rgba(197, 160, 89, 0.14);
  border-color: rgba(197, 160, 89, 0.32);
  transform: translateY(-1px);
}

.rmc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.rmc-next-button,
.rmc-cta-button {
  border: none;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.96), rgba(255, 255, 255, 0.14));
  color: #0d0d0d;
  border-radius: 22px;
  padding: 16px 32px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rmc-next-button:hover,
.rmc-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 55px rgba(197, 160, 89, 0.32);
}

.rmc-notice {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.rmc-sidebar-card h3,
.rmc-ad-unit h4,
.rmc-ad-unit h3,
.rmc-sidebar-card h4 {
  margin: 0 0 12px;
}

.rmc-sidebar-card p,
.rmc-ad-unit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.rmc-top_banner,
.rmc-transition_interstitial,
.rmc-sidebar_unit {
  border: 1px solid var(--gold);
  background: rgba(197, 160, 89, 0.08);
  padding: 18px 22px;
  border-radius: 24px;
  margin-bottom: 24px;
}

.rmc-top_banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rmc-sidebar_unit {
  display: block;
}

.rmc-transition_interstitial {
  display: none;
}

.rmc-payment-ledger,
.rmc-ghost-log {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.rmc-payment-ledger th,
.rmc-payment-ledger td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}

.rmc-payment-ledger th {
  text-align: left;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .main-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rmc-rating-bar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .site-header,
  .site-footer,
  .main-container,
  .rmc-card,
  .rmc-sidebar-card {
    padding: 20px;
  }
}
