* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
  }
  
  body {
    background: #000;
    color: white;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    scrollbar-width: none;
  }
  
  body::-webkit-scrollbar {
    display: none;
  }
  
  section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
  }
  
  /* Градиентные швы */
  section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-color), transparent);
    pointer-events: none;
    z-index: 10;
  }
  
  .hero { --bg-color: #000; background: #000; justify-content: space-between; padding: 40px 20px; }
  #casino-section { --bg-color: #0a001a; background: #0a001a; overflow: hidden; }
  #gallery-section { --bg-color: #080015; background: #080015; overflow: hidden; }
  #us-section { --bg-color: #100020; background: linear-gradient(135deg, #100020, #1a002a); }
  
  /* Hero */
  .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 12vw, 10rem);
    background: linear-gradient(90deg, #ff00e6, #8a00ff, #4a00e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(138, 0, 255, 0.8);
  }
  
  .scroll-hint {
    font-size: 2.5rem;
    color: #b000ff;
    animation: bounce 2s infinite;
    text-shadow: 0 0 20px rgba(176, 0, 255, 0.9);
  }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
  }
  
  /* Слот */
  .casino-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
  }
  
  .casino-item {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: rgba(216, 0, 255, 0.7);
    animation: float 20s infinite linear;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  
  @keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
  }
  
  .slot-machine-3d {
    position: relative;
    width: 92%;
    max-width: 900px;
    height: 440px;
    perspective: 1200px;
    z-index: 5;
  }
  
  .machine-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a002a, #0d0018);
    border-radius: 32px;
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.8),
      inset 0 0 30px rgba(0, 0, 0, 0.9),
      0 0 60px rgba(138, 0, 255, 0.3);
    transform-style: preserve-3d;
    overflow: hidden;
    border: 3px solid rgba(100, 0, 200, 0.5);
  }
  
  .top-panel, .bottom-panel {
    position: absolute;
    width: 100%;
    height: 60px;
    background: linear-gradient(to right, #222, #333, #222);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #ff00e6;
    text-shadow: 0 0 10px rgba(255, 0, 230, 0.8);
    z-index: 10;
  }
  
  .top-panel { top: 0; border-bottom: 2px solid rgba(138, 0, 255, 0.4); }
  .bottom-panel { bottom: 0; border-top: 2px solid rgba(138, 0, 255, 0.4); }
  
  .led-display {
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
    animation: ledBlink 2s infinite;
  }
  
  @keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }
  
  .glass-front {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 120px);
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    border-radius: 0 0 200px 200px;
    box-shadow: 
      inset 0 0 50px rgba(0,0,0,0.7),
      inset 0 0 100px rgba(138, 0, 255, 0.1);
    z-index: 2;
    pointer-events: none;
  }
  
  .reels-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    height: calc(100% - 120px);
    padding: 40px 20px;
    position: relative;
    z-index: 3;
  }
  
  .reel {
    width: 150px;
    height: 240px;
    background: linear-gradient(145deg, #080012, #10001f);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow:
      0 10px 30px rgba(0,0,0,0.9),
      inset 0 0 20px rgba(0,0,0,0.95),
      0 0 30px rgba(216, 0, 255, 0.2);
    border: 3px solid rgba(138, 0, 255, 0.6);
    transform: translateZ(20px);
  }
  
  .reel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  }
  
  .reel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
  }
  
  .symbol {
    font-family: 'Orbitron', sans-serif;
    font-size: 76px;
    font-weight: 900;
    color: #ff00e6;
    text-shadow:
      0 0 10px #ff00e6,
      0 0 20px #ff00e6,
      0 0 30px rgba(255, 0, 230, 0.9);
    transition: transform 0.03s;
  }
  
  .lever-assembly {
    cursor: pointer;
    position: absolute;
    right: 50px;
    bottom: 80px;
    z-index: 10;
  }
  
  .lever-base {
    width: 30px;
    height: 50px;
    background: linear-gradient(to right, #111, #333);
    border-radius: 6px 6px 3px 3px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
  }
  
  .lever-arm {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transform-origin: bottom center;
    width: 12px;
    height: 130px;
    background: linear-gradient(to right, #ccc, #fff, #ccc);
    border-radius: 6px;
    box-shadow: 
      0 0 15px rgba(0,0,0,0.6),
      5px 5px 10px rgba(0,0,0,0.4);
    transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }
  
  .spring {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 24px;
    background: repeating-linear-gradient(
      to bottom,
      #999,
      #999 2px,
      #666 2px,
      #666 4px
    );
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  }
  
  .grip-ball {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    background: radial-gradient(circle, #ff00e6, #b000ff, #6a00ff);
    border-radius: 50%;
    box-shadow:
      0 0 20px #ff00e6,
      inset 0 0 15px rgba(255,255,255,0.6),
      0 4px 10px rgba(0,0,0,0.5);
  }
  
  .lever-arm.pulled {
    transform: translateX(-50%) rotate(40deg);
  }
  
  .jackpot-text {
    margin-top: 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    color: #ff00e6;
    text-shadow: 0 0 25px rgba(255, 0, 230, 1);
    opacity: 0;
    transform: scale(0.6) rotate(-8deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    max-width: 800px;
    line-height: 1.3;
    letter-spacing: 2px;
  }
  
  .jackpot-text.show {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  
  /* Галерея */
  .glitter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(216, 0, 255, 0.07) 1px, transparent 2px),
      radial-gradient(circle at 80% 70%, rgba(138, 0, 255, 0.09) 1px, transparent 2px),
      radial-gradient(circle at 50% 50%, rgba(106, 0, 255, 0.06) 1px, transparent 2px);
    background-size: 80px 80px;
    animation: glitterMove 20s infinite linear;
    z-index: 0;
  }
  
  @keyframes glitterMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
  }
  
  .gallery-wall {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 60vh;
    overflow: hidden;
    z-index: 5;
  }
  
  .gallery-item {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: grab;
    z-index: 1;
  }
  
  .gallery-item:hover {
    box-shadow: 0 15px 40px rgba(216, 0, 255, 0.8);
    z-index: 10;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .gallery-item.dragging {
    cursor: grabbing;
    z-index: 20 !important;
  }
  
  /* Мы */
  .liquid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: 
      radial-gradient(circle at 30% 40%, rgba(138, 0, 255, 0.25), transparent 40%),
      radial-gradient(circle at 70% 60%, rgba(216, 0, 255, 0.3), transparent 50%);
    animation: liquidFlow 25s infinite alternate ease-in-out;
    z-index: 0;
  }
  
  @keyframes liquidFlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-25%, -25%) scale(1.1); }
  }
  
  .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 60px;
    background: linear-gradient(90deg, #ff00e6, #8a00ff, #4a00e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(138, 0, 255, 0.7);
    text-align: center;
    position: relative;
    z-index: 5;
  }
  
  .us-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    position: relative;
    z-index: 5;
  }
  
  .us-photo {
    width: 360px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(138, 0, 255, 0.4);
  }
  
  .us-text {
    text-align: center;
    max-width: 500px;
  }
  
  .us-text p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #e0b0ff;
  }
  
  .tiktok-button {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(45deg, #8a00ff, #4a00e0);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(138, 0, 255, 0.7);
    transition: all 0.3s ease;
    text-transform: uppercase;
  }
  
  .tiktok-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(216, 0, 255, 1);
    background: linear-gradient(45deg, #d800ff, #8a00ff);
  }
  
  /* Fullscreen */
  .fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
  }
  
  .fullscreen-modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(138, 0, 255, 0.7);
  }
  
  .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover {
    color: #ff00e6;
  }
  
  /* Адаптив */
  @media (max-width: 768px) {
    .reel { width: 120px; height: 200px; }
    .symbol { font-size: 60px; }
    .lever-assembly { right: 25px; bottom: 60px; }
    .us-content { flex-direction: column; }
    .us-photo { width: 90vw; height: auto; }
  }


/* === Слот: ярче, насыщеннее === */
.reel {
    border: 3px solid rgba(255, 0, 230, 0.8);
    box-shadow:
      0 0 40px rgba(216, 0, 255, 0.5),
      inset 0 0 25px rgba(0,0,0,0.95);
  }
  
  .symbol {
    font-size: 80px;
    text-shadow:
      0 0 15px #ff00e6,
      0 0 30px #ff00e6,
      0 0 45px rgba(255, 0, 230, 0.9);
    animation: symbolGlow 2s infinite alternate;
  }
  
  @keyframes symbolGlow {
    0% { text-shadow: 0 0 15px #ff00e6, 0 0 30px #ff00e6; }
    100% { text-shadow: 0 0 25px #ff00e6, 0 0 50px #ff00e6, 0 0 70px rgba(255, 0, 230, 1); }
  }
  
  /* Джекпот-баннер */
  .jackpot-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: #fff;
    background: linear-gradient(90deg, #ff00e6, #ffff00, #00ff00);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 3px;
  }
  
  .jackpot-banner.show {
    animation: jackpotPulse 1.2s forwards;
  }
  
  @keyframes jackpotPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    70% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  }
  
  /* Конфетти */
  #confettiContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
  }
  
  .confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff00e6;
    opacity: 0;
  }
  
  /* === Галерея: улучшенное перетаскивание === */
  .gallery-wall {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: visible; /* важно! */
  }
  
  .gallery-item {
    position: absolute;
    cursor: grab;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s;
    z-index: 10;
  }
  
  .gallery-item:hover {
    box-shadow: 0 15px 40px rgba(216, 0, 255, 0.8);
  }
  
  .gallery-item.dragging {
    cursor: grabbing;
    z-index: 1000 !important;
    box-shadow: 0 0 50px rgba(255, 0, 230, 0.9);
  }
  
  /* Остальной CSS — как в предыдущем ответе */