* {
    box-sizing: border-box;
    font-family: 'Arial Black', Impact, sans-serif;
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    
    /* Fallback gradient if image doesn't load */
    background-color: #3b1261;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
  }
  
  .machine {
    width: 95%;
    max-width: 420px;
    background: linear-gradient(#2b0033, #000);
    border: 3px solid gold;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 0 40px gold;
  }
  
  .marquee {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
  }

  .trump-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    flex-shrink: 1;
    border-radius: 20px;
  }

  .marquee-text {
    text-align: left;
    font-size: 1.4rem;
  }
  
  .neon {
    color: #ff2fd4;
    text-shadow:
      0 0 2px #ff2fd4,
      0 0 20px #ff2fd4,
      0 0 50px #ff2fd4;
  }

  .orange {
    color: orange;
    text-shadow: 0 0 2px orange, 0 0 55px orange, 0 0 20px orange;
    font-size: 1.8rem;
  }
  
  .slots {
    display: flex;
    flex-direction: column; /* Empilha os slots verticalmente */
    gap: 12px; /* Mais espaço entre os slots */
    margin-bottom: 16px;
  }
  
  .slot {
    /* Remove: flex: 1; e width: 0; */
    background: #fff;
    border: 4px solid gold;
    border-radius: 12px;
    padding: 8px;
    color: #000;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3),
                0 0 10px gold;
    overflow: hidden;
  }
  
  .label {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;
    color: #b00000;
  }
  
  .reel {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem; /* Fonte maior */
    font-weight: bold;
    transition: transform 0.3s, filter 0.2s;
    white-space: normal; /* Permite quebra de linha */
    word-wrap: break-word; /* Quebra palavras longas se necessário */
    line-height: 1.2; /* Espaçamento entre linhas */
    overflow: hidden;
    padding: 4px; /* Um pouco de padding interno */
  }

  .reel.spinning {
    filter: blur(2px);
    opacity: 0.8;
    letter-spacing: -2px;
  }

  .slot.fact-glow {
    animation: yellowBlink 2s ease-in-out;
  }

  @keyframes yellowBlink {
    0%, 100% {
      background: #fff;
      box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 0 10px gold;
      border-color: gold;
    }
    10%, 30%, 50%, 70% {
      background: #FFFF99;
      box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.5),
                  0 0 40px #FFD700,
                  0 0 80px #FFD700,
                  0 0 120px #FFD700;
      border-color: #FFD700;
      transform: scale(1.05);
    }
    20%, 40%, 60%, 80% {
      background: #fff;
      box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 0 10px gold;
      border-color: gold;
      transform: scale(1);
    }
  }

  .slot.jackpot-glow {
    animation: jackpotBlink 4s ease-in-out;
  }

  @keyframes jackpotBlink {
    0%, 100% {
      background: #fff;
      box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 0 10px gold;
      border-color: gold;
      transform: scale(1);
    }
    5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85% {
      background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
      box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.8),
                  0 0 60px #FFD700,
                  0 0 100px #FFD700,
                  0 0 150px #FFA500,
                  0 0 200px #FFD700;
      border-color: #FFA500;
      transform: scale(1.1) rotate(2deg);
    }
    10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% {
      background: #fff;
      box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 0 20px gold;
      border-color: gold;
      transform: scale(1) rotate(-2deg);
    }
  }

  .score-container {
    position: relative;
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #FFD700;
    font-weight: bold;
  }

  .score-label {
    margin-right: 8px;
  }

  .score-value {
    color: #FFF;
    text-shadow: 0 0 10px #FFD700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }

  .score-value.score-increase {
    animation: scorePopup 0.6s ease-out;
  }

  @keyframes scorePopup {
    0% {
      transform: scale(1);
      color: #FFF;
    }
    50% {
      transform: scale(1.5);
      color: #FFD700;
      text-shadow: 0 0 20px #FFD700, 0 0 40px #FFD700;
    }
    100% {
      transform: scale(1);
      color: #FFF;
      text-shadow: 0 0 10px #FFD700;
    }
  }

  .points-bonus {
    position: absolute;
    left: 85%;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    animation: bonusBlink ease-in-out;
    animation-fill-mode: forwards;
    pointer-events: none;
  }

  @keyframes bonusBlink {
    0% {
      opacity: 0;
      transform: translate(0, -50%) scale(0.5);
    }
    5% {
      opacity: 1;
      transform: translate(0, calc(-50% - 5px)) scale(1.3);
    }
    10%, 30%, 50%, 70% {
      color: #FFD700;
      text-shadow: 0 0 20px #FFD700, 0 0 40px #FFD700, 0 0 60px #FFA500;
      transform: translate(0, calc(-50% - 5px)) scale(1.2);
      opacity: 1;
    }
    20%, 40%, 60%, 80% {
      color: #FFA500;
      text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
      transform: translate(0, -50%) scale(1);
      opacity: 1;
    }
    90% {
      opacity: 1;
      transform: translate(0, calc(-50% - 10px)) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(0, calc(-50% - 20px)) scale(0.5);
    }
  }

  .jackpot-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 3rem;
    font-weight: bold;
    padding: 30px 50px;
    border-radius: 20px;
    border: 5px solid #FF6347;
    box-shadow: 0 0 50px #FFD700,
                0 0 100px #FFA500,
                inset 0 0 30px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    text-align: center;
    animation: jackpotPopup 3s ease-in-out;
    pointer-events: none;
  }

  .jackpot-bonus {
    display: block;
    font-size: 1.5rem;
    color: #FF6347;
    text-shadow: 0 0 10px #FF0000;
    margin-top: 10px;
  }

  @keyframes jackpotPopup {
    0% {
      transform: translate(-50%, -50%) scale(0) rotate(-180deg);
      opacity: 0;
    }
    10% {
      transform: translate(-50%, -50%) scale(1.3) rotate(10deg);
      opacity: 1;
    }
    20% {
      transform: translate(-50%, -50%) scale(1) rotate(-5deg);
    }
    30% {
      transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    }
    40% {
      transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    80% {
      transform: translate(-50%, -50%) scale(1) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(0.5) rotate(180deg);
      opacity: 0;
    }
  }
  
  .spin {
    width: 100%;
    padding: 14px;
    font-size: 1.5rem;
    background: linear-gradient(#ff0000, #900000);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 20px red;
    margin-bottom: 12px;
  }
  
  .spin:active {
    transform: scale(0.95);
  }
  
  .actions {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  
  .actions button {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }
  
  footer {
    margin-top: 12px;
    font-size: 0.65rem;
    text-align: center;
    color: #aaa;
    line-height: 1.8;
  }

  footer .about-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 5px;
    transition: all 0.3s ease;
  }

  footer .about-link:hover {
    color: #FFF;
    text-shadow: 0 0 5px #FFD700;
  }

  /* Share Modal Styles */
  .share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .share-modal-content {
    background: linear-gradient(#2b0033, #000);
    border: 3px solid gold;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 40px gold;
    animation: slideUp 0.3s ease-out;
  }

  @keyframes slideUp {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .share-modal-content h3 {
    color: #ff2fd4;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff2fd4;
  }

  .share-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .share-option {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .share-option.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
  }

  .share-option.whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #25D366;
  }

  .share-option.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: white;
  }

  .share-option.twitter:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #1DA1F2;
  }

  .share-option.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
    color: white;
  }

  .share-option.instagram:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #833AB4;
  }

  .share-option.tiktok {
    background: linear-gradient(135deg, #000000, #00F2EA);
    color: white;
  }

  .share-option.tiktok:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00F2EA;
  }

  .share-option.copy {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
  }

  .share-option.copy:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #FFD700;
  }

  .share-close {
    padding: 12px 30px;
    font-size: 1rem;
    background: #666;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .share-close:hover {
    background: #888;
  }

  /* About Page Styles */
  .about-page {
    max-width: 700px;
  }

  .about-header {
    text-align: center;
    margin-bottom: 30px;
  }

  .about-header h1 {
    color: #FFD700;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }

  .about-content {
    color: #fff;
    line-height: 1.8;
    font-family: Arial, sans-serif;
  }

  .about-content p {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .about-content .intro {
    font-size: 1.1rem;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
    margin-bottom: 25px;
  }

  .disclaimer-box {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
  }

  .disclaimer-box h3 {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
  }

  .disclaimer-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }

  .disclaimer-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    list-style-type: none;
  }

  .disclaimer-box li::marker {
    display: none;
  }

  .disclaimer-box li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
  }

  .about-content .footnote {
    font-style: italic;
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 30px;
  }

  .back-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
  }

  .back-link a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #FFD700;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
  }

  .back-link a:hover {
    background: #FFD700;
    color: #000;
    transform: scale(1.05);
  }