/* Custom Properties for easy branding */
:root {
      --primary: #FF0050; /* Viral Pink */
      --accent: #00F2EA;  /* TikTok Cyan */
      --bg-dark: #0B0B0B;
      --glass: rgba(255, 255, 255, 0.1);
      --text-main: #FFFFFF;
      --text-dim: #A0A0A0;
  }
  
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      -webkit-tap-highlight-color: transparent;
  }
  
  body {
      background-color: var(--bg-dark);
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      padding: 20px;
  }
  
  /* Animated Background */
  body::before {
      content: "";
      position: fixed;
      top: -50%; left: -50%; width: 200%; height: 200%;
      background: radial-gradient(circle at center, var(--primary) 0%, transparent 40%),
                  radial-gradient(circle at 80% 20%, var(--accent) 0%, transparent 30%);
      opacity: 0.15;
      z-index: -1;
      animation: rotate 20s linear infinite;
  }
  
  @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
  }
  
  .container {
      width: 100%;
      max-width: 420px;
      animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  @keyframes slideUp {
      from { transform: translateY(100px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
  }
  
  .glass-card {
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(25px) saturate(180%);
      -webkit-backdrop-filter: blur(25px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 40px;
      padding: 40px 24px;
      text-align: center;
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  }
  
  /* Profile Section */
  .avatar-wrapper {
      width: 88px;
      height: 88px;
      margin: 0 auto 16px;
      border-radius: 30px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      padding: 3px;
      transform: rotate(-3deg);
  }
  
  .avatar-wrapper img {
      width: 100%;
      height: 100%;
      border-radius: 27px;
      background: #1a1a1a;
      object-fit: cover;
  }
  
  h1 {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
  }
  
  p {
      font-size: 0.95rem;
      color: var(--text-dim);
      margin: 12px 0 32px;
      line-height: 1.5;
  }
  
  /* Input */
  .input-container {
      position: relative;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 24px;
      padding: 20px;
      border: 1.5px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
  }
  
  .input-container:focus-within {
      border-color: var(--primary);
      background: rgba(255, 255, 255, 0.08);
      transform: scale(1.02);
  }
  
  textarea {
      width: 100%;
      height: 140px;
      border: none;
      background: transparent;
      outline: none;
      font-size: 1.1rem;
      color: white;
      resize: none;
      caret-color: var(--primary);
  }
  
  textarea::placeholder {
      color: #555;
      font-weight: 500;
  }
  
  .char-count {
      position: absolute;
      bottom: 12px;
      right: 20px;
      font-size: 0.75rem;
      font-weight: 700;
      color: #444;
  }
  
  /* Button */
  button {
      margin-top: 24px;
      width: 100%;
      padding: 20px;
      border: none;
      border-radius: 24px;
      background: var(--text-main);
      color: #000;
      font-size: 1.1rem;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  button:active {
      transform: scale(0.92);
      background: var(--primary);
      color: #fff;
  }
  
  button:disabled {
      opacity: 0.5;
      filter: grayscale(1);
  }
  
  /* Toast Notifications */
  .toast {
      position: fixed;
      top: 40px;
      left: 50%;
      transform: translateX(-50%);
      background: #fff;
      color: #000;
      padding: 14px 28px;
      border-radius: 100px;
      font-weight: 700;
      font-size: 0.9rem;
      z-index: 100;
      box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  
  .hidden {
      display: none;
  }
  