/* HOME HERO VIEW: 3D VINYL HUB */

.home-hero-view,

#home-view {

  flex: 1;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  position: relative;

  overflow: hidden;

  z-index: 10;

  padding: 20px;

  border: 0 !important;

  border-bottom: 0 !important;

  border-top: 0 !important;

  outline: none !important;

  box-shadow: none !important;

}



.home-hero-view::before,

.home-hero-view::after,

#home-view::before,

#home-view::after {

  display: none !important;

  content: none !important;

  border: none !important;

}



.home-hero-header {

  text-align: center;

  margin-bottom: 20px;

  z-index: 20;

}



.hero-title {

  font-size: 1.8rem;

  font-weight: 300;

  letter-spacing: 0.06em;

  color: var(--text-main);

  text-transform: uppercase;

}



.hero-tagline {

  display: none !important;

}



/* 3D VINYL STAGE & GESTURE CONTAINER */

.vinyl-stage-wrapper {

  width: 600px;

  height: 500px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  perspective: 1000px;

  cursor: grab;

  user-select: none;

  touch-action: none;

}



.vinyl-stage-wrapper.grabbing {

  cursor: grabbing;

}



.vinyl-stage {

  position: relative;

  width: 440px;

  height: 440px;

  display: flex;

  align-items: center;

  justify-content: center;

  transform-style: preserve-3d;

}



/* Subtle Floor Ambient Glow (Removed Drop Shadow) */

.vinyl-floor-shadow {

  display: none !important;

}



/* 3D Lockstep Platter */

.vinyl-orbit-platter {

  position: absolute;

  width: 400px;

  height: 400px;

  border-radius: 50%;

  transform-style: preserve-3d;

  transform: rotateX(62deg);

  display: flex;

  align-items: center;

  justify-content: center;

  transition: transform 0.05s linear;

}



/* Tilted 3D Vinyl Disc with Visible Grooves & Sheen Texture */

.vinyl-disc {

  position: absolute;

  width: 380px;

  height: 380px;

  border-radius: 50%;

  background: 

    conic-gradient(

      from 45deg,

      rgba(255, 255, 255, 0.16) 0deg,

      transparent 60deg,

      rgba(255, 255, 255, 0.14) 180deg,

      transparent 240deg,

      rgba(255, 255, 255, 0.16) 360deg

    ),

    repeating-radial-gradient(

      circle at center,

      #292522 0px,

      #1c1917 2px,

      #0d0c0a 4px,

      #221e1b 6px

    );

  box-shadow: 

    inset 0 0 30px rgba(0, 0, 0, 0.85),

    0 10px 30px rgba(0, 0, 0, 0.5),

    0 0 0 3px rgba(255, 255, 255, 0.12),

    0 0 25px rgba(167, 43, 32, 0.35);

  display: flex;

  align-items: center;

  justify-content: center;

  pointer-events: auto;

}



.vinyl-center-label {

  width: 120px;

  height: 120px;

  border-radius: 50%;

  background: radial-gradient(circle at center, #a72b20 0%, #8c2219 70%, #5e1610 100%);

  border: 4px solid #141210;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 15px rgba(167, 43, 32, 0.4);

  position: relative;

}



.label-note {

  font-size: 1.8rem;

  color: rgba(255, 255, 255, 0.9);

}



.center-spindle {

  position: absolute;

  width: 14px;

  height: 14px;

  border-radius: 50%;

  background: #000;

  border: 2px solid #555;

  box-shadow: inset 0 0 4px #000;

}



/* FLOATING MINIMALIST BASIC SHAPE ICONS (Lockstep Orbit, NO Border Box) */

.floating-icons-container {

  position: absolute;

  width: 100%;

  height: 100%;

  border-radius: 50%;

  /* Removed pointer-events: none; because it breaks hit testing in Safari/Chrome when combined with preserve-3d */

  transform-style: preserve-3d;

}



.floating-feature-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease;
  z-index: 100;
  transform: translate(-50%, -50%);
}



.floating-feature-icon * {

  pointer-events: none;

}



/* Mathematically True 7-Icon Circular Orbit: R = 190px (Step = 360/7 = 51.43 deg) */
.icon-pos-1 { left: 50%; top: calc(50% - 190px); }                                 /* 0.0 deg: Notes & Collab */
.icon-pos-2 { left: calc(50% + 149px); top: calc(50% - 118px); }                   /* 51.4 deg: Score Library */
.icon-pos-3 { left: calc(50% + 185px); top: calc(50% + 42px); }                    /* 102.9 deg: Tuner */
.icon-pos-4 { left: calc(50% + 82px); top: calc(50% + 171px); }                    /* 154.3 deg: Metronome */
.icon-pos-5 { left: calc(50% - 82px); top: calc(50% + 171px); }                    /* 205.7 deg: Calendar */
.icon-pos-6 { left: calc(50% - 185px); top: calc(50% + 42px); }                    /* 257.1 deg: Ensemble Chat */
.icon-pos-7 { left: calc(50% - 149px); top: calc(50% - 118px); }                   /* 308.6 deg: Settings */

.icon-graphic {

  font-size: 2.2rem;

  color: #ffffff;

  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(167, 43, 32, 0.5));

  transition: transform 0.15s ease, color 0.2s ease;

}



.icon-label {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fafafa;
  white-space: nowrap;
  background: rgba(18, 15, 13, 0.85);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}



/* Text labels reveal when user swipes/drags or hovers over icon */

.vinyl-stage.interacting .icon-label,

.floating-feature-icon:hover .icon-label {

  opacity: 1;

  visibility: visible;

  border-color: var(--accent-primary);

  color: #ffffff;

}



/* Orgon-inspired Haptic Tremor Vibration on Hover (Replaces rotate with high-frequency micro-jitter) */
@keyframes buttonHapticTremor {
  0%   { transform: translate(-50%, -50%) translate(0px, 0px); }
  20%  { transform: translate(-50%, -50%) translate(-1.2px, 0.9px); }
  40%  { transform: translate(-50%, -50%) translate(1.3px, -0.7px); }
  60%  { transform: translate(-50%, -50%) translate(-0.8px, -1.2px); }
  80%  { transform: translate(-50%, -50%) translate(1.1px, 0.8px); }
  100% { transform: translate(-50%, -50%) translate(0px, 0px); }
}

.floating-feature-icon:hover {
  animation: buttonHapticTremor 0.1s linear infinite;
}

.floating-feature-icon:hover .icon-graphic {
  color: var(--accent-primary) !important;
  filter: drop-shadow(0 0 18px var(--accent-glow)) !important;
}



/* HEADER HOME & SETTINGS BUTTONS */

.btn-home-icon {

  width: 40px;

  height: 40px;

  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

  border-radius: var(--radius-md);

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #fff;

  font-size: 1.2rem;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: 0 0 16px var(--accent-glow);

  transition: transform 0.2s ease;

}

.btn-home-icon:hover { transform: scale(1.08); }



.btn-toggle-icon {

  width: 36px;

  height: 36px;

  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  color: var(--text-main);

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 0.9rem;

  transition: all 0.2s ease;

}

.btn-toggle-icon:hover {

  background: rgba(255, 255, 255, 0.15);

  color: #fff;

}

.btn-toggle-icon.danger:hover {

  background: rgba(230, 57, 70, 0.2);

  color: var(--accent-danger);

}



/* SETTINGS DRAWER & PRESETS */

.settings-section {

  display: flex;

  flex-direction: column;

  gap: 16px;

}

.settings-desc {

  font-size: 0.82rem;

  color: var(--text-muted);

}

.btn-primary-outline {

  display: inline-block;

  width: 100%;

  padding: 10px;

  text-align: center;

  border: 1px dashed var(--accent-primary);

  color: var(--accent-primary);

  border-radius: var(--radius-md);

  cursor: pointer;

  font-size: 0.85rem;

  font-weight: 500;

  transition: all 0.2s;

}

.btn-primary-outline:hover {

  background: rgba(167, 43, 32, 0.15);

}

.bg-presets-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 8px;

}

.bg-preset-btn {

  background: var(--bg-card);

  border: 1px solid var(--border-color);

  color: var(--text-main);

  padding: 8px 4px;

  border-radius: var(--radius-sm);

  font-size: 0.72rem;

  cursor: pointer;

  transition: background 0.2s;

}

.bg-preset-btn:hover { background: rgba(255, 255, 255, 0.15); }

.settings-slider-group {

  display: flex;

  flex-direction: column;

  gap: 6px;

  font-size: 0.82rem;

}

.settings-slider-group label {

  display: flex;

  justify-content: space-between;

  color: var(--text-muted);

}

.full-width { width: 100%; }





/* VINYL INNER PICTURE & BRAND LOGO */
.vinyl-logo-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  pointer-events: none;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
}





