/*
Theme Name: Takroc Music Theme
Theme URI: https://takroc.com
Author: Takroc Music
Author URI: https://www.youtube.com/@Takroc_Music
Description: Custom single-page theme for the Takroc Music YouTube channel – covers, originals, and Logic Pro workflows.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: takroc-music
*/

/* ---------- GLOBAL / RESET ---------- */

:root {
  --bg: #050510;
  --bg-alt: #0b0b1a;
  --card: #131329;
  --accent: #ff3366;
  --accent-soft: rgba(255, 51, 102, 0.14);
  --text-main: #f7f7ff;
  --text-muted: #a5a5d8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-fast: 180ms ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #2a245a 0, #050510 40%, #02020a 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- LAYOUT ---------- */

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(5,5,16,0.96), rgba(5,5,16,0.88) 70%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ff88aa, #321047);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border: 2px solid rgba(255,255,255,0.5);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.brand-text-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.13em;
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

nav.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.1rem;
}

nav.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3366, #ff8a00);
  transition: width var(--transition-fast);
}

nav.nav-links a:hover {
  color: var(--text-main);
}

nav.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff3366, #ff8a00);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-cta span.play-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.4rem;
}

@media (max-width: 720px) {
  nav.nav-links {
    display: none;
    position: absolute;
    top: 58px;
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    padding: 0.85rem 1rem 1rem;
    border-radius: 16px;
    background: #050510;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-soft);
  }
  nav.nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- HERO ---------- */

main {
  margin-top: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 3rem 0 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

.hero h1 span.gradient {
  background: linear-gradient(120deg, #ff8a00, #ff3366, #a856ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-sub strong {
  color: #fff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.badge {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.25);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.btn-primary {
  background: linear-gradient(130deg, #ff3366, #ff8a00);
  color: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.85);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.55);
}

.btn-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.hero-meta span {
  color: #fff;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  padding: 1.3rem;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(255, 51, 102, 0.29), transparent 60%),
              radial-gradient(circle at bottom right, rgba(82, 107, 255, 0.38), transparent 55%),
              #050510;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-video {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  background: #000;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.9rem;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.hero-video-title {
  font-weight: 600;
}

.hero-now-playing {
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: #ffb7c9;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-floating-card {
  position: absolute;
  right: 12px;
  top: -18px;
  padding: 0.6rem 0.9rem;
  border-radius: 18px;
  background: rgba(7,7,23,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  font-size: 0.72rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.8);
  max-width: 210px;
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.hero-floating-card small {
  color: var(--text-muted);
  display: block;
}

.hero-floating-card .dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 12px rgba(255,51,102,0.95);
  margin-right: 0.3rem;
  display: inline-block;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.3rem;
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 1.5rem;
  }
}

/* ---------- SECTIONS ---------- */

section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

section:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-header h2 {
  font-size: 1.3rem;
}

.section-header p {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 420px;
}

.pill-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* ---------- ABOUT ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-text p strong {
  color: #fff;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.about-list li::before {
  content: "▹";
  color: var(--accent);
  margin-right: 0.35rem;
}

.about-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(3,3,18,0.88);
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
}

.about-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.tag {
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

/* ---------- VIDEOS / PLAYLISTS ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border-subtle);
  padding: 0.95rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.card-eyebrow {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.card-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
}

.card-footer {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.card-cta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffb4ca;
}

.card-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

.thumb {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.thumb::after {
  content: "Watch playlist on YouTube";
  position: absolute;
  bottom: 6px;
  left: 8px;
  right: 8px;
  font-size: 0.7rem;
  opacity: 0.85;
  background: linear-gradient(120deg, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
}

.thumb-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffb7c9;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- SERVICES ---------- */

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.service-item {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 0.9rem 1rem;
  background: rgba(8,8,24,0.9);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-item h3 {
  font-size: 0.98rem;
}

.service-item ul {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.2rem;
}

.service-item ul li::before {
  content: "• ";
  color: var(--accent);
}

.service-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .service-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .service-list {
    grid-template-columns: minmax(0,1fr);
  }
}

/* ---------- CONTACT ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 1.8rem;
}

.contact-social {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-social-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
}

.contact-social-list a {
  color: var(--text-main);
}

.contact-social-list small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

form.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem;
  background: rgba(3,3,18,0.96);
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

input, textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5,5,20,0.9);
  color: var(--text-main);
  font: inherit;
  resize: vertical;
  min-height: 42px;
}

input::placeholder, textarea::placeholder {
  color: rgba(165,165,216,0.7);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255,51,102,0.4);
}

.contact-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

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

/* ---------- FOOTER ---------- */

footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.3rem 0 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--text-muted);
}

.footer-small-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ---------- MISC ---------- */

html {
  scroll-behavior: smooth;
}
