/* ===== SoonSoon Stories Unified Theme ===== */

/* Reset / Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body Background with Subtle Bokeh Glow ===== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  line-height: 1.6;

  /* Layered background */
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 200, 255, 0.2) 0, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255, 180, 220, 0.15) 0, transparent 50%),
    linear-gradient(
      135deg,
      #fdf2f8 0%,
      #fce7f3 30%,
      #ffd6e0 60%,
      #f3e5f5 100%
    );
  background-attachment: fixed;
  background-size: cover;
}

/* ===== Header with Video Banner ===== */
.site-header {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.site-header .header-video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.site-header .site-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  background: rgba(90, 42, 111, 0.5);
  padding: 10px 20px;
  border-radius: 12px;
}

/* ===== Navigation Bar ===== */
nav {
  background: linear-gradient(
    to top,
    #4a148c 0%,
    #7b1fa2 50%,
    #ba68c8 100%
  );
  border-bottom: 2px solid #3a0d6d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  position: relative;
}

nav a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transform: translateY(-2px);
}

/* Dropdown menus */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 8px 0;
  z-index: 9999;
}

nav ul li ul li {
  width: 100%;
}

nav ul li ul li a {
  padding: 10px 15px;
  color: #4a2a63;
  font-weight: normal;
}

nav ul li ul li a:hover {
  background: #fce7f3;
  color: #5a2a6f;
}

nav ul li:hover ul {
  display: block;
}

/* ===== Main Layout ===== */
.container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
  gap: 20px;
}

.content {
  flex: 3;
}

.sidebar {
  flex: 1;
  max-width: 300px;
}

/* Sections / articles */
.section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.section h2 {
  margin-bottom: 10px;
  color: #5a2a6f;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

/* ===== Sidebar Widgets (Dropdown Style) ===== */
.sidebar .widget {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(250, 240, 255, 0.9) 100%
  );
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar .widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.sidebar .widget h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #4a2a63;
  border-bottom: 2px solid rgba(160, 120, 200, 0.2);
  padding-bottom: 6px;
}

.sidebar .widget ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar .widget ul li {
  margin: 8px 0;
}

.sidebar .widget ul li a {
  color: #4a2a63;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar .widget ul li a:hover {
  color: #7b3c92;
  text-decoration: underline;
}

/* ===== News Article Styles ===== */
body.news-article .section {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

body.news-article .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

body.news-article h1 {
  font-size: 2rem;
  color: #5a2a6f;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

body.news-article h1::after {
  content: "";
  display: block;
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, #d4af37, #f7e27f);
  border-radius: 2px;
  margin-top: 6px;
}

body.news-article .meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
}

body.news-article .inline-image {
  float: left;
  width: 40%;
  margin: 10px 20px 10px 0;
  text-align: center;
}

body.news-article .inline-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body.news-article .inline-image figcaption {
  font-size: 0.8rem;
  color: #555;
  margin-top: 5px;
}

/* ===== News Listing ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.news-thumb {
  flex: 1;
  min-width: 40%;
  background-size: cover;
  background-position: center;
}

.news-body {
  flex: 2;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #4a2a63;
}

.news-body h3 a {
  text-decoration: none;
  color: inherit;
}

.news-body h3 a:hover {
  color: #d4af37; /* Golden hover accent */
}

.news-body p {
  flex: 1;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666;
}

.news-date {
  color: #d4af37;
  font-weight: bold;
}

.news-date::before {
  content: "📅";
  margin-right: 6px;
  color: #d4af37;
}

.read-more {
  text-decoration: none;
  color: #4a2a63;
  font-weight: bold;
}

.read-more:hover {
  color: #d4af37;
}

/* Canvas box styling */
.bobs-legacy .outline-box img {
  height: 537px;
  width: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Wheel wrapper */
.bobs-legacy .wheel-area {
  width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 18px 12px 24px;
  text-align: center;
}

/* Gradient button */
.bobs-legacy .spin-btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6ecb63, #4E863A);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;
}

.bobs-legacy .spin-btn:hover {
  background: linear-gradient(135deg, #7ee373, #5ca94a);
  transform: scale(1.05);
}

.wheel-roles .wheel-area {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 18px 12px 24px;
  text-align: center;
}

.wheel-roles .spin-btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a86bd8, #5a2a6f);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;
}

.wheel-roles .spin-btn:hover {
  background: linear-gradient(135deg, #c190e6, #7b3c92);
  transform: scale(1.05);
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(90deg, #d1d1d1, #e8e8e8, #f5f5f5);
  color: #4a2a63;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  border-top: 2px solid #aaa;
}

footer a {
  color: #4a2a63;
  text-decoration: none;
}
