/*
Theme Name: BigFunded Trade Theme
Theme URI: https://bigfunded.com/
Author: BigFunded
Author URI: https://bigfunded.com/
Description: Professional minimal trading theme focused on a full-width crypto chart homepage, fast performance, SEO-friendly structure, and AdSense-ready areas.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bigfunded-trade
*/

:root {
  --bf-bg: #020617;
  --bf-bg-soft: #020617;
  --bf-bg-elevated: #020617;
  --bf-border: #1e293b;
  --bf-accent: #38bdf8;
  --bf-accent-soft: rgba(56,189,248,0.12);
  --bf-text: #e5e7eb;
  --bf-text-soft: #9ca3af;
  --bf-danger: #ef4444;
  --bf-radius-lg: 18px;
  --bf-radius-md: 12px;
  --bf-radius-sm: 8px;
  --bf-shadow-soft: 0 20px 45px rgba(15,23,42,0.7);
  --bf-font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000 100%);
  color: var(--bf-text);
  font-family: var(--bf-font-main);
}

/* Layout wrapper */

.bf-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bf-main {
  flex: 1 0 auto;
}

.bf-footer {
  flex-shrink: 0;
}

/* Header */

.bf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.92), rgba(15,23,42,0.7), rgba(15,23,42,0));
  border-bottom: 1px solid rgba(148,163,184,0.15);
}

.bf-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo */

.bf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.bf-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #0ea5e9 40%, #0f172a 100%);
  border: 1px solid rgba(148,163,184,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 10px 30px rgba(15,23,42,0.9);
}

.bf-logo-mark span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e0f2fe;
}

.bf-logo-text {
  display: flex;
  flex-direction: column;
}

.bf-logo-line1 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bf-logo-line1 span {
  color: var(--bf-accent);
}

.bf-logo-line2 {
  font-size: 0.7rem;
  color: var(--bf-text-soft);
}

/* Nav */

.bf-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bf-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bf-nav-links a {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--bf-text-soft);
  padding: 4px 8px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.bf-nav-links a:hover,
.bf-nav-links a:focus {
  color: var(--bf-text);
  background: rgba(148,163,184,0.16);
}

/* CTA buttons */

.bf-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bf-cta-ghost {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: transparent;
  padding: 5px 12px;
  font-size: 0.8rem;
  color: var(--bf-text-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bf-cta-ghost span {
  font-size: 0.9rem;
}

.bf-cta-ghost:hover {
  border-color: var(--bf-accent);
  color: #e0f2fe;
}

.bf-cta-main {
  border-radius: 999px;
  border: 0;
  padding: 6px 16px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(34,197,94,0.35);
  cursor: pointer;
}

.bf-cta-main span {
  font-size: 1rem;
}

/* Responsive header */

.bf-header-menu-toggle {
  display: none;
  border: 1px solid rgba(148,163,184,0.5);
  background: transparent;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--bf-text-soft);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .bf-nav-links {
    display: none;
  }
  .bf-cta-group {
    display: none;
  }
  .bf-header-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

/* Main hero */

.bf-hero {
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 0 16px 24px;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.bf-hero-info {
  padding-right: 4px;
}

.bf-chip-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.5);
  background: rgba(15,23,42,0.9);
  padding: 3px 9px 3px 4px;
  font-size: 0.68rem;
  color: var(--bf-text-soft);
  margin-bottom: 10px;
}

.bf-chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #16a34a 50%, #14532d 100%);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}

.bf-chip-text strong {
  color: #e0f2fe;
}

.bf-hero-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}

.bf-hero-title span {
  color: var(--bf-accent);
}

.bf-hero-subtitle {
  font-size: 0.85rem;
  color: var(--bf-text-soft);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.bf-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.bf-metric-card {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.25);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), rgba(15,23,42,0.9));
}

.bf-metric-label {
  font-size: 0.68rem;
  color: var(--bf-text-soft);
}

.bf-metric-value {
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 600;
}

.bf-hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.bf-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bf-badge {
  font-size: 0.68rem;
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.26);
  color: var(--bf-text-soft);
}

.bf-badge strong {
  color: #e5e7eb;
}

/* Ad slot */

.bf-hero-ad {
  border-radius: 12px;
  border: 1px dashed rgba(148,163,184,0.5);
  padding: 10px;
  font-size: 0.7rem;
  color: var(--bf-text-soft);
  background: radial-gradient(circle at top, rgba(56,189,248,0.12), rgba(15,23,42,0.95));
  margin-top: 4px;
}

/* Right side: info card */

.bf-hero-side {
  border-radius: var(--bf-radius-lg);
  border: 1px solid var(--bf-border);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.12), rgba(15,23,42,0.98));
  box-shadow: var(--bf-shadow-soft);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bf-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bf-plan-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.bf-plan-label {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(34,197,94,0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34,197,94,0.5);
}

.bf-plan-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.8rem;
}

.bf-plan-line span:last-child {
  color: var(--bf-text-soft);
}

.bf-plan-progress {
  margin: 4px 0 2px;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #020617;
  overflow: hidden;
  position: relative;
}

.bf-plan-progress-inner {
  position: absolute;
  inset: 0;
  transform-origin: left;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  width: 28%;
}

.bf-plan-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--bf-text-soft);
}

/* Chart container */

.bf-chart-section {
  margin-top: 14px;
  border-radius: var(--bf-radius-lg);
  border: 1px solid var(--bf-border);
  background: rgba(15,23,42,0.98);
  box-shadow: var(--bf-shadow-soft);
  overflow: hidden;
}

/* Generic content */

.bf-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 30px;
}

.bf-section-inner {
  margin-top: 18px;
  border-radius: var(--bf-radius-lg);
  border: 1px solid var(--bf-border);
  background: rgba(15,23,42,0.95);
  padding: 12px 14px;
}

.bf-section-title {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.bf-section-text {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--bf-text-soft);
}

/* Footer */

.bf-footer {
  border-top: 1px solid rgba(148,163,184,0.18);
  background: radial-gradient(circle at bottom, #020617, #000 70%);
}

.bf-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  color: var(--bf-text-soft);
}

.bf-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bf-footer-links a {
  color: var(--bf-text-soft);
  text-decoration: none;
}

.bf-footer-links a:hover {
  color: var(--bf-accent);
}

/* Content styles */

.entry-content,
.page-content {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--bf-text);
}

.entry-content a,
.page-content a {
  color: var(--bf-accent);
}

/* Mobile adjustments */

@media (max-width: 960px) {
  .bf-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .bf-header-inner {
    padding-inline: 12px;
  }

  .bf-hero {
    padding-inline: 12px;
  }

  .bf-section {
    padding-inline: 12px;
  }

  .bf-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
