/* Koji Beats Theme Overrides: red + black */
:root {
  --koji-red: #e50914;
  --koji-dark: #0b0b0b;
  --koji-black: #000000;
  --koji-gray: #c7c7c7;
}

/* Navbar font now uses Space Grotesk from Google Fonts */

/* Apply Gotham to navbar and footer nav */
.header-area .oneMusic-main-menu .classy-navbar .classynav ul li a,
.footer-nav ul li a { font-family: 'Space Grotesk', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 600; letter-spacing: .4px; text-transform: none !important; }

/* Base theme */
body { background: var(--koji-dark); color: #eaeaea; }
a { color: var(--koji-red); }
a:hover { color: #ff4350; }
html { scroll-behavior: smooth; }

/* VANTA HALO wrapper + noise overlay (fica atrás de tudo) */
/* Vanta dentro do triângulo */
#vanta-bg { position: fixed; inset: 0; z-index: -5; pointer-events: none; }
#vanta-noise { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -4; pointer-events: none; opacity: .13; mix-blend-mode: screen; }

/* Header */
.header-area { background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.classy-navbar .nav-brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--koji-red); max-height: 55px; width: auto; }
.footer-area .col-12.col-md-6 > a img { max-height: 34px; width: auto; }
.header-area .oneMusic-main-menu .classy-navbar .classynav ul li a:hover,
.header-area .oneMusic-main-menu .classy-navbar .classynav ul li a:focus { color: var(--koji-red) !important; }

/* Buttons */
.oneMusic-btn { background-color: var(--koji-red); color: #fff; border-color: var(--koji-red); }
.oneMusic-btn:hover, .oneMusic-btn:focus { background-color: var(--koji-black); color: #fff; border-color: var(--koji-black); }
.oneMusic-btn.btn-2 { background-color: transparent; color: var(--koji-red); border: 2px solid var(--koji-red); box-shadow: 0 0 12px rgba(229, 9, 20, .45); }
.oneMusic-btn.btn-2:hover, .oneMusic-btn.btn-2:focus { background-color: var(--koji-red); color: #fff; }

/* Hero video + glitch */
.single-hero-slide { position: relative; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(120%) brightness(55%); }
.hero-video-wrap::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 30%, rgba(229,9,20,.25), transparent 50%), radial-gradient(ellipse at 70% 70%, rgba(229,9,20,.25), transparent 50%), rgba(229,9,20,.05); mix-blend-mode: screen; }

/* Drake-like hero effect */
.hero-drake { min-height: 92vh; position: relative; }
.drake-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.drake-bg .drake-video { width: 100%; height: 100%; object-fit: cover; filter: saturate(110%) contrast(110%) brightness(60%); }
.chromatic { display: none; }

/* Color blob that follows the mouse */
#color-blob { 
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60vmax; height: 60vmax; 
  pointer-events: none; z-index: 1; opacity: .9;
  filter: blur(60px) saturate(180%) hue-rotate(0deg);
  mix-blend-mode: screen;
  background:
    radial-gradient(35% 35% at 30% 30%, rgba(255,0,72,.85), rgba(255,0,72,0) 70%),
    radial-gradient(35% 35% at 70% 40%, rgba(0,225,255,.85), rgba(0,225,255,0) 70%),
    radial-gradient(35% 35% at 40% 75%, rgba(255,229,59,.85), rgba(255,229,59,0) 70%),
    radial-gradient(35% 35% at 70% 70%, rgba(122,0,255,.85), rgba(122,0,255,0) 70%);
  transition: transform .12s ease-out;
  animation: blobHue 22s linear infinite;
}
@keyframes blobHue { to { filter: blur(60px) saturate(180%) hue-rotate(360deg); } }
.drake-foreground { position: relative; z-index: 3; text-align: center; }
.drake-foreground .mask-triangle { width: 58vmin; max-width: 560px; margin: 0 auto 20px; clip-path: polygon(50% 0, 0 100%, 100% 100%); overflow: hidden; box-shadow: 0 25px 120px rgba(229,9,20,.35); }
.drake-foreground .mask-triangle img { width: 100%; height: auto; display: block; filter: grayscale(100%) contrast(120%); }
.drake-foreground .title { font-size: clamp(32px, 6vw, 82px); letter-spacing: 12px; color: #fff; font-weight: 900; }
.drake-foreground .subtitle { color: #dcdcdc; letter-spacing: 3px; text-transform: uppercase; }

.hero-slides-content { position: relative; z-index: 2; }
.glitch { position: relative; display: inline-block; font-weight: 900; letter-spacing: 6px; text-shadow: 0 0 12px rgba(255,255,255,.1); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; opacity: .7; }
.glitch::before { color: #00f; transform: translateX(1px); animation: glitch 2.2s infinite linear alternate-reverse; }
.glitch::after { color: var(--koji-red); transform: translateX(-1px); animation: glitch 2.8s infinite linear alternate-reverse; }
@keyframes glitch { 0% { clip-path: inset(0 0 85% 0); } 20% { clip-path: inset(10% 0 60% 0); } 40% { clip-path: inset(40% 0 20% 0); } 60% { clip-path: inset(20% 0 40% 0); } 80% { clip-path: inset(60% 0 10% 0); } 100% { clip-path: inset(85% 0 0 0); } }

/* Hero Aurora (colorful animated orbs behind the triangle) */
.hero-aurora { position: absolute; inset: -10% -15%; z-index: 0; filter: blur(40px) saturate(180%); mix-blend-mode: screen; pointer-events: none; }
.hero-aurora .o1, .hero-aurora .o2, .hero-aurora .o3 { position: absolute; width: 60vmin; height: 60vmin; border-radius: 50%; opacity: .35; }
.hero-aurora .o1 { background: radial-gradient(circle at 30% 30%, #ff0048, transparent 60%); left: 5%; top: 10%; animation: orbA 16s linear infinite; }
.hero-aurora .o2 { background: radial-gradient(circle at 70% 40%, #00e1ff, transparent 60%); right: 0; top: 30%; animation: orbB 20s linear infinite reverse; }
.hero-aurora .o3 { background: radial-gradient(circle at 40% 70%, #ffe53b, transparent 60%); left: 20%; bottom: 5%; animation: orbC 22s linear infinite; }
@keyframes orbA { 0% { transform: translate(0,0) scale(1);} 50%{ transform: translate(6%, -3%) scale(1.1);} 100%{ transform: translate(0,0) scale(1);} }
@keyframes orbB { 0% { transform: translate(0,0) scale(1);} 50%{ transform: translate(-8%, 4%) scale(1.15);} 100%{ transform: translate(0,0) scale(1);} }
@keyframes orbC { 0% { transform: translate(0,0) scale(1);} 50%{ transform: translate(4%, 6%) scale(1.12);} 100%{ transform: translate(0,0) scale(1);} }

/* Subtle diagonal stripes and vignette overlays for depth */
.hero-stripes { position: absolute; inset: -20% -20%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(30deg, rgba(229,9,20,.06) 0 12px, rgba(0,0,0,0) 12px 36px);
  animation: stripesShift 30s linear infinite; }
@keyframes stripesShift { to { transform: translateX(-120px); } }
.hero-vignette { position: absolute; inset: -5%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 70%, rgba(0,0,0,0) 0 40%, rgba(0,0,0,.6) 85%),
              radial-gradient(ellipse at 20% 10%, rgba(229,9,20,.08), rgba(229,9,20,0) 55%); }

/* Typing/reveal animation for hero title */
.hero-typing { display: inline-block; overflow: hidden; }
.hero-typing .char { display: inline-block; transform: translateY(100%); opacity: 0; animation: typeUp .6s ease forwards; }
.hero-typing .char:nth-child(odd) { animation-duration: .7s; }
@keyframes typeUp { to { transform: none; opacity: 1; } }

/* Hero mini visualizer (wave) */
.hero-wave { position: relative; width: min(680px, 70vw); height: 20px; margin: 8px auto 0; display: flex; align-items: flex-end; justify-content: center; gap: 6px; pointer-events: none; z-index: 2; }
.hero-wave .bar { width: 6px; height: 10px; border-radius: 2px; background: var(--koji-red); opacity: .85; transform-origin: bottom center; transform: scaleY(.25); transition: transform .08s linear; }

/* Removed embers: replaced by stripes + vignette for performance */

/* Price bubbles and accents */
.single-album-area .album-thumb .album-price p { background-color: var(--koji-red) !important; color: #fff; }

/* Beat Store block */
#beat-store { position: relative; z-index: 1; background: #0e0e0e; border: 1px solid #141414; box-shadow: 0 10px 45px rgba(0,0,0,.6); }
#beat-store .store-embed { width: 100%; height: 420px; border: none; background: #111; }
#beat-store .mini-player { display: flex; align-items: center; gap: 15px; padding: 15px; background: #111; border-top: 1px solid #1c1c1c; }
#beat-store .mini-player .track { flex: 1; color: #ddd; }

/* Centered iframe embeds */
.embed-player { display: block; margin: 0 auto; border: 0; }

/* Buy-now grid visível (seções de músicas/discografia) */
#discografia.oneMusic-buy-now-area.bg-gray,
#musicas.oneMusic-buy-now-area.bg-gray { display: block !important; background: #0e0e0e; box-shadow: 0 10px 45px rgba(0,0,0,.6);}

/* Top 3 */
.top-beats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.top-beat-card { position: relative; overflow: hidden; background: #050505; border: 1px solid #1a1a1a; }
.top-beat-card img { width: 100%; height: 220px; object-fit: cover; filter: grayscale(100%); transition: .3s ease; }
.top-beat-card .info { padding: 15px; display: flex; justify-content: space-between; align-items: center; color: #eee; }
.top-beat-card .hover-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(229,9,20,.08); opacity: 0; transition: .25s; }
.top-beat-card:hover img { filter: grayscale(0) contrast(110%); transform: scale(1.03); }
.top-beat-card:hover .hover-overlay { opacity: 1; box-shadow: inset 0 0 0 2px var(--koji-red); }

/* Discografia grid */
#discografia { background: #0a0a0a; }
.discografia-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.disc-card { position: relative; overflow: hidden; border: 1px solid #171717; background: #080808; }
.disc-card img { width: 100%; height: 160px; object-fit: cover; filter: grayscale(100%) brightness(.8); transition: .25s; }
.disc-card .overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(229,9,20,.05); opacity: 0; transition: .25s; }
.disc-card .play-btn { background: rgba(229,9,20,.9); color: #fff; padding: 8px 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.disc-card:hover img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
.disc-card:hover .overlay { opacity: 1; box-shadow: inset 0 0 0 2px var(--koji-red), 0 0 25px rgba(229,9,20,.45); }

/* Visualizer */
#visualizer { position: fixed; left: 0; right: 0; bottom: 10px; height: 36px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; pointer-events: none; z-index: 1200; }
#visualizer .bar { width: 6px; height: 8px; background: var(--koji-red); opacity: .8; transform-origin: bottom center; transform: scaleY(.2); transition: transform .08s linear; }

/* Contact background image zoom: show more of the image on desktop */
#contact { background-size: contain !important; background-position: center center; background-repeat: no-repeat; }
@media (max-width: 991px) { #contact { background-size: cover !important; } }
/* Contact section tweaks */
#contact .contact-card { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); padding: 24px; border-radius: 6px; margin-top: 10px; }
#contact .contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Featured artist section: use the same background treatment */
.featured-artist-area.bg-img { background-size: contain !important; background-position: center center; background-repeat: no-repeat; }
@media (max-width: 991px) { .featured-artist-area.bg-img { background-size: cover !important; } }

/* Track progress for music cards */
.single-album-area .track-progress { display:none; height:4px; background: rgba(255,255,255,.12); margin-top:8px; border-radius: 2px; overflow:hidden; }
.single-album-area.playing .track-progress { display:block; }
.single-album-area .track-progress .bar { height:100%; width:0; background: var(--koji-red); transition: width .1s linear; }

/* Modern play button style for music cards */
.play-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.6px solid var(--koji-red);
  color: #fff;
  background: rgba(0,0,0,.25);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 1;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.play-btn-modern::after { content: '▶'; font-size: 12px; opacity: .9; }
.play-btn-modern:hover { background: var(--koji-red); box-shadow: 0 0 18px rgba(229,9,20,.35); transform: translateY(-1px); }
.single-album-area.playing .play-btn-modern { background: var(--koji-red); box-shadow: 0 0 18px rgba(229,9,20,.55); }
.single-album-area.playing .play-btn-modern::after { content: '❚❚'; letter-spacing: -1px; }

/* Place the play button on top of the cover image */
.single-album-area .album-thumb { position: relative; }
.single-album-area .album-thumb .cover-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s ease; }
.single-album-area:hover .album-thumb .cover-play, .single-album-area.playing .album-thumb .cover-play { opacity: 1; }

/* Reveal on scroll utilities */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; will-change: transform, opacity; }
.is-visible { opacity: 1 !important; transform: none !important; filter: none !important; }
[data-animate="right"] { transform: translateX(24px); }
[data-animate="left"] { transform: translateX(-24px); }
[data-animate="zoom"] { transform: scale(.92); }
[data-animate="blur"] { filter: blur(10px); }

/* Tilt effect base */
.tilt-card { transition: transform .15s ease, box-shadow .2s ease; }
.tilt-card:hover { box-shadow: 0 18px 60px rgba(0,0,0,.28); }

/* Button ripple */
.oneMusic-btn, .play-btn-modern { position: relative; overflow: hidden; }
.btn-ripple { position: absolute; width: 16px; height: 16px; border-radius: 999px; background: rgba(229,9,20,.35); transform: translate(-50%, -50%) scale(0); animation: ripple .6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(6); opacity: 0; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate], .tilt-card, .btn-ripple, #color-blob { transition: none !important; animation: none !important; }
}

/* Dark Room */
.darkroom-btn { position: fixed; right: 15px; bottom: 60px; z-index: 1300; background: #111; color: #fff; border: 2px solid var(--koji-red); padding: 10px 14px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
body.dark-room::before { content: ""; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(2px); }
body.dark-room .focus-player { position: relative; z-index: 2001 !important; box-shadow: 0 0 0 4px rgba(229,9,20,.65), 0 35px 120px rgba(0,0,0,.8); }

/* Custom cursor */
.cursor-dot { position: fixed; z-index: 1400; width: 12px; height: 12px; margin-top: -6px; margin-left: -6px; border-radius: 50%; background: var(--koji-red); pointer-events: none; mix-blend-mode: screen; box-shadow: 0 0 18px rgba(229,9,20,.6); transform: translate(-100px, -100px); transition: transform .02s linear, width .15s ease, height .15s ease; }
.cursor-dot.hover { width: 24px; height: 24px; margin-top: -12px; margin-left: -12px; box-shadow: 0 0 28px rgba(229,9,20,.75); }

/* Section headings */
.section-heading h2 { color: #fff; letter-spacing: 8px; }
.section-heading p { color: var(--koji-gray); }
