
    :root {
      --primary-color: #1a1a1a;
      --accent-color: #ff4d4d;
      --text-light: #ffffff;
      --spacing-unit: 2rem;
      --heart-color: #ff1744;
      --like-color: #4caf50;
      --dislike-color: #f44336;
      --shop-color: #8b5cf6;
      --music-color: #9333ea;
    }

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

    /* Force landscape orientation on mobile */
    @media screen and (max-width: 1024px) {
      @media (orientation: portrait) {
        body::before {
          content: "🔄 Please rotate your device to landscape for the best experience";
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background: var(--primary-color);
          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          font-size: 1.2rem;
          z-index: 10000;
          padding: 2rem;
        }
      }
    }

    body {
      background-image: url('https://meltedcrayons.tv/meltedcrayons_a_simple_repeating_pattern_white_leathertiles.png');
      background-size: cover;
      background-color: var(--primary-color);
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      line-height: 1.6;
      height: 100vh;
      overflow: hidden;
      margin: 0;
    }
    
    @keyframes pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(0.4);
  }
  50% { 
    opacity: 1;
    transform: scaleY(1); 
  }
}
      
      img {
    opacity: 0.5;
    }

      img:hover {
    opacity: 1.0;
    }
      

    .app-container {
      height: 100vh;
      width: 100%;
      position: relative;
    }

    .navbar {
      background-color: rgba(255, 255, 255, 0.95);
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      transform: translateY(-100%);
      backdrop-filter: blur(10px);
    }

    .navbar.visible {
      transform: translateY(0);
    }

    .navbar-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 2rem;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--primary-color);
      text-decoration: none;
      font-weight: 500;
    }

    .nav-logo {
      height: 32px;
      width: auto;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .shop-link {
      background: linear-gradient(135deg, var(--shop-color), #a855f7);
      color: white !important;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .shop-link:hover {
      transform: translateY(-2px);
    }

    .social-icons {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-left: 1rem;
      padding-left: 1rem;
      border-left: 1px solid rgba(26, 26, 26, 0.2);
    }

    .social-icon {
      color: var(--primary-color);
      font-size: 1.1rem;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      color: var(--accent-color);
      transform: scale(1.1);
    }

    .feed-container {
      height: 100vh;
      overflow-y: scroll;
      scroll-snap-type: y mandatory;
      scroll-behavior: smooth;
    }

    .module-card {
      height: 100vh;
      width: 100%;
      position: relative;
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.05);
      border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .module-card.split-mode {
      flex-direction: row;
    }

    .module-card.shop-module {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 50%, rgba(217, 70, 239, 0.1) 100%);
      border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    }

    .module-card.music-module {
      background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(79, 70, 229, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
      border-bottom: 2px solid rgba(147, 51, 234, 0.3);
    }

    .split-container {
      display: flex;
      height: 100%;
      width: 100%;
      gap: 1rem;
    }

    .split-panel {
      flex: 1;
      position: relative;
      display: flex;
      flex-direction: column;
      border-radius: 10px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.02);
    }

    .split-panel.primary {
      border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .split-panel.secondary {
      border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .split-toggle {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 15;
      background: rgba(0, 0, 0, 0.7);
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .split-toggle:hover {
      background: rgba(0, 0, 0, 0.9);
      transform: scale(1.1);
    }

    .split-toggle.active {
      background: var(--shop-color);
    }

    .module-header {
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      z-index: 10;
      background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
      padding: 1rem;
      text-align: center;
    }

    .module-header.shop {
      background: linear-gradient(180deg, rgba(139, 92, 246, 0.8) 0%, rgba(168, 85, 247, 0.6) 50%, transparent 100%);
    }

    .module-header.music {
      background: linear-gradient(180deg, rgba(147, 51, 234, 0.8) 0%, rgba(79, 70, 229, 0.6) 50%, transparent 100%);
    }

    .module-title {
      color: var(--text-light);
      font-size: 1.8rem;
      font-weight: bold;
      margin: 0;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }

    .module-subtitle {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.9rem;
      margin-top: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      justify-content: center;
    }

    .module-content {
      flex: 1;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .module-content.split-content {
      padding: 1rem;
    }

    .reactions-panel {
      position: absolute;
      right: 20px;
      bottom: 120px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      z-index: 10;
    }

    .reactions-panel.split-mode {
      right: 10px;
      bottom: 60px;
      gap: 15px;
    }

    .reaction-btn {
      background: rgba(0, 0, 0, 0.6);
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      color: white;
    }

    .reaction-btn:hover {
      transform: scale(1.1);
      background: rgba(0, 0, 0, 0.8);
    }

    .reaction-btn.active {
      transform: scale(1.2);
    }

    .reaction-btn.like.active {
      background: var(--like-color);
      box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    }

    .reaction-btn.love.active {
      background: var(--heart-color);
      box-shadow: 0 0 20px rgba(255, 23, 68, 0.5);
    }

    .reaction-btn.dislike.active {
      background: var(--dislike-color);
      box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
    }

    .reaction-icon {
      font-size: 1.5rem;
      margin-bottom: 2px;
    }

    .reaction-count {
      font-size: 0.7rem;
      font-weight: bold;
    }

    .module-info {
      position: absolute;
      bottom: 20px;
      left: 20px;
      right: 120px;
      color: var(--text-light);
      z-index: 10;
    }

    .module-description {
      font-size: 0.9rem;
      opacity: 0.9;
      line-height: 1.4;
    }

    .progress-indicator {
      position: fixed;
      top: 50%;
      left: 20px;
      transform: translateY(-50%);
      z-index: 1001;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: bold;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: opacity 0.3s ease;
    }

    .progress-indicator.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .keyboard-hint {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1001;
      background: rgba(0, 0, 0, 0.7);
      color: rgba(255, 255, 255, 0.8);
      padding: 0.5rem 1rem;
      border-radius: 15px;
      font-size: 0.8rem;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .keyboard-hint.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .welcome-screen {
      background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d2d 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      color: white;
    }

    .welcome-logo {
      font-size: 3rem;
      font-weight: bold;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .welcome-subtitle {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      opacity: 0.8;
    }

    .scroll-indicator {
      color: rgba(255, 255, 255, 0.6);
      font-size: 2rem;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
      }
      40% {
        transform: translateY(-10px);
      }
      60% {
        transform: translateY(-5px);
      }
    }

    /* Module placeholder styles */
    .module-placeholder {
      text-align: center;
      color: rgba(255, 255, 255, 0.8);
    }

    .module-placeholder h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .module-placeholder p {
      opacity: 0.7;
    }

    /* Desktop responsive styles */
    @media (min-width: 1024px) {
      .navbar-content {
        padding: 0.5rem 3rem;
      }
      
      .module-content {
        padding: 3rem;
      }
      
      .module-content.split-content {
        padding: 2rem;
      }
      
      .split-container {
        gap: 2rem;
      }
      
      .reactions-panel {
        right: 30px;
        bottom: 150px;
      }
      
      .split-toggle {
        width: 60px;
        height: 60px;
        top: 30px;
        right: 30px;
      }
    }

    /* Tablet landscape and small desktop */
    @media (min-width: 768px) and (max-width: 1023px) {
      .module-content.split-content {
        padding: 1.5rem;
      }
      
      .split-container {
        gap: 1.5rem;
      }
    }

    /* Mobile landscape (our primary mobile target) */
    @media (max-width: 767px) and (orientation: landscape) {
      .navbar-content {
        padding: 0.4rem 1rem;
      }
      
      .reactions-panel {
        right: 10px;
        bottom: 80px;
        gap: 15px;
      }

      .reaction-btn {
        width: 50px;
        height: 50px;
      }

      .reaction-icon { 
        font-size: 1.2rem; 
      }
      
      .reaction-count { 
        font-size: 0.6rem; 
      }
      
      .module-title { 
        font-size: 1.5rem; 
      }
      
      .module-header { 
        top: 60px; 
        padding: 0.5rem; 
      }
      
      .module-info { 
        bottom: 15px; 
        left: 15px; 
        right: 80px; 
      }
      
      .progress-indicator { 
        left: 10px; 
        font-size: 0.8rem; 
        padding: 0.4rem 0.8rem; 
      }
      
      .split-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
      }
      
      .module-content.split-content {
        padding: 0.75rem;
      }
      
      .split-container {
        gap: 0.75rem;
      }
      
      .welcome-logo { 
        font-size: 2.5rem; 
      }
      
      .welcome-subtitle { 
        font-size: 1rem; 
      }
    }

    /* Hide keyboard hint on mobile, show on desktop */
    @media (max-width: 1023px) {
      .keyboard-hint { 
        display: none; 
      }
    }