/* ==========================================================================
   Spooky & Beautiful Halloween Theme - sexyhalloweens.com
   ========================================================================== */

:root {
  --primary-color: #ff6600;      /* Neon Orange */
  --accent-color: #ff9933;       /* Bright Orange Accent */
  --secondary-color: #b39ddb;    /* Lavender/Light Violet */
  --bg-gradient: linear-gradient(135deg, #0a0710 0%, #160c25 50%, #200f35 100%);
  --sidebar-bg: rgba(28, 16, 48, 0.65);
  --panel-bg: rgba(18, 11, 32, 0.55);
  --panel-border: rgba(255, 102, 0, 0.18);
  --text-primary: #f5f5f5;
  --text-muted: #b0a8c0;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #0a0710;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#bg {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-gradient);
  background-attachment: fixed;
  padding: 0 14px 28px 14px;
}

#shadow {
  max-width: 1300px;
  margin: 0 auto;
  background: rgba(10, 6, 18, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-top: none;
  border-radius: 0 0 24px 24px;
  padding: 0 28px 28px 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
}

/* Global Navigation Menu */
#nav {
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#nav a:hover {
  color: var(--primary-color) !important;
}

/* Layout Containers */
#container {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

#left-col {
  flex: 3;
  min-width: 0; /* Prevents flex items from overflowing */
}

#sidebar {
  flex: 1;
  min-width: 280px;
}

/* Posts / Content Styling */
.post {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.entry_header h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 28px;
  line-height: 1.3;
}

.entry_header h2.home a {
  color: #ffffff;
}

.entry_header h2.home a:hover {
  color: var(--primary-color);
}

.entry_content {
  font-size: 16px;
  color: #e0dced;
}

.entry_content p {
  margin-top: 0;
  margin-bottom: 16px;
}

/* Formatted Images inside content */
.entry_content img,
.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 102, 0, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  display: block;
}

/* Buy Now Button Hover Effect */
.buy-now-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 102, 0, 0.6) !important;
  opacity: 0.95;
}

.buy-now-button:active {
  transform: translateY(0);
}

/* WordPress elements compatibility */
.aligncenter {
  display: block;
  margin: 0 auto 20px auto;
}

/* Sidebar Widgets */
#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget {
  background: var(--sidebar-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.widget h2 {
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 102, 0, 0.3);
  padding-bottom: 8px;
}

/* Captcha & General forms */
input, select, textarea {
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: 8px;
  background: rgba(10, 6, 18, 0.6);
  color: #ffffff;
  padding: 8px 12px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.25);
}

button, input[type="submit"] {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button:hover, input[type="submit"]:hover {
  background: var(--accent-color);
}

button:active, input[type="submit"]:active {
  transform: scale(0.98);
}

/* Responsiveness */
@media (max-width: 1024px) {
  #container {
    flex-direction: column;
    gap: 20px;
  }
  
  #sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  #shadow {
    padding: 0 14px 14px 14px;
    border-radius: 0 0 16px 16px;
  }
  
  .entry_header h2 {
    font-size: 24px;
  }
  
  .post {
    padding: 18px;
  }
}
