body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #e0e0e0;
    background-color: #121212;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(100, 43, 115, 0.1) 0%, rgba(4, 0, 4, 0.1) 90%),
      radial-gradient(circle at 90% 80%, rgba(120, 43, 200, 0.1) 0%, rgba(4, 0, 4, 0.1) 90%);
    background-attachment: fixed;
    animation: backgroundPulse 15s ease infinite alternate;
  }
  
  @keyframes backgroundPulse {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 100% 100%;
    }
  }
  
  h2, h3 {
    color: #bb86fc;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  h2 {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    animation: glow 2s ease-in-out infinite alternate, textShadowPulse 5s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(187, 134, 252, 0.3), 
                 0 0 10px rgba(187, 134, 252, 0.2), 
                 0 0 15px rgba(187, 134, 252, 0.1);
    font-size: 2.2rem;
  }
  
  @keyframes glow {
    from {
      text-shadow: 0 0 5px rgba(187, 134, 252, 0.3), 
                   0 0 10px rgba(187, 134, 252, 0.2), 
                   0 0 15px rgba(187, 134, 252, 0.1);
    }
    to {
      text-shadow: 0 0 10px rgba(187, 134, 252, 0.5), 
                   0 0 20px rgba(187, 134, 252, 0.3), 
                   0 0 30px rgba(187, 134, 252, 0.2);
    }
  }
  
  @keyframes textShadowPulse {
    0%, 100% {
      text-shadow: 0 0 10px rgba(187, 134, 252, 0.5);
    }
    50% {
      text-shadow: 0 0 20px rgba(187, 134, 252, 0.8), 0 0 30px rgba(187, 134, 252, 0.4);
    }
  }
  
  .container {
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), 
                0 0 30px rgba(187, 134, 252, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(187, 134, 252, 0.1);
  }
  
  .input-group {
    margin-bottom: 20px;
  }
  
  .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #bb86fc;
    text-shadow: 0 0 5px rgba(187, 134, 252, 0.2);
    letter-spacing: 0.5px;
  }
  
  #emojiInput {
    padding: 10px;
    font-size: 1.5rem;
    width: 100%;
    border: 1px solid #333;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #2d2d2d;
    color: #ffffff;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }
  
  #emojiInput:focus {
    border-color: #bb86fc;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 0 8px rgba(187, 134, 252, 0.4);
    outline: none;
  }
  
  .preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .preset-btn {
    padding: 8px 15px;
    background-color: #333333;
    color: #e0e0e0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
  
  .preset-btn:hover {
    background-color: #bb86fc;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  
  .result-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  
  #result {
    font-size: 4rem;
    margin-bottom: 15px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d2d2d;
    background-image: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
  }
  
  #result::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    animation: resultGlow 5s ease-in-out infinite;
    pointer-events: none;
  }
  
  @keyframes resultGlow {
    0%, 100% {
      opacity: 0;
      transform: scale(0.8);
    }
    50% {
      opacity: 0.5;
      transform: scale(1);
    }
  }
  
  #copyBtn {
    padding: 10px 20px;
    background-color: #03dac6;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
  }
  
  #copyBtn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  #copyBtn:hover {
    background-color: #00b5a7;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }
  
  #copyBtn:hover::after {
    opacity: 1;
  }
  
  #copySuccess {
    margin-top: 10px;
    color: #03dac6;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(3, 218, 198, 0.3);
  }
  
  #allCombinations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
  }
  
  .combination-item {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    background-color: #2d2d2d;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: all 0.2s;
  }
  
  .combination-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    background-color: #3d3d3d;
  }
  
  .credits {
    text-align: center;
    margin-top: 20px;
    padding: 15px 10px;
    font-size: 1rem;
    color: #bb86fc;
    border-top: 1px solid rgba(187, 134, 252, 0.3);
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(50,50,50,0.1) 50%, rgba(30,30,30,0) 100%);
  }
  
  .credits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(187, 134, 252, 0.1) 0%, rgba(187, 134, 252, 0) 70%);
    animation: creditsPulse 4s ease-in-out infinite;
  }
  
  .credits::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #bb86fc, transparent);
    animation: shine 3s infinite;
  }
  
  @keyframes creditsPulse {
    0%, 100% {
      opacity: 0.2;
      transform: scale(0.8);
    }
    50% {
      opacity: 0.5;
      transform: scale(1.2);
    }
  }
  
  @keyframes shine {
    0% {
      left: -100%;
    }
    50% {
      left: 100%;
    }
    100% {
      left: 100%;
    }
  }
  
  .credits span {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(187, 134, 252, 0.5);
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .credits span:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .credits span:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  .credits span:nth-child(4) {
    animation-delay: 0.6s;
  }
  
  .credits span:nth-child(5) {
    animation-delay: 0.8s;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  
  @media (max-width: 600px) {
    body {
      padding: 10px;
    }
    
    h2 {
      font-size: 1.8rem;
    }
    
    .container {
      padding: 15px;
    }
    
    .preset-buttons {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    
    #result {
      font-size: 2.5rem;
      min-height: 80px;
      padding: 10px;
    }
    
    #allCombinations {
      grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .combination-item {
      padding: 8px;
      font-size: 1.5rem !important;
    }
    
    #emojiInput {
      font-size: 1.2rem;
    }
    
    #copyBtn {
      width: 100%;
      margin-top: 5px;
    }
  }
  
  @media (max-width: 400px) {
    .preset-buttons {
      grid-template-columns: 1fr;
    }
    
    #result {
      font-size: 2rem;
    }
    
    #allCombinations {
      grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .combination-item {
      font-size: 1.2rem !important;
    }
  }