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

    html {
      overflow-x: hidden;
      overflow-y: auto;
      scroll-behavior: smooth;
    }

    html, body {
      width: 100%;
      min-height: 100vh;
      background-color: #000;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
    }

    body {
      /* Gradient fallback when images don't load */
      background: linear-gradient(135deg,
        #0a0a0a 0%,
        #1a1a1a 25%,
        #2a2a2a 50%,
        #1a1a1a 75%,
        #0a0a0a 100%
      );
      /* Image overlay - keeps image as primary when it loads */
      background-image:
        radial-gradient(circle at 25% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
        url('/static/Shinobi-domain-2-optimized.jpg?v=2');
      background-size: 100% 100%, 100% 100%, cover;
      background-position: center, center, 75% center;
      background-repeat: no-repeat, no-repeat, no-repeat;
      background-attachment: scroll;
      background-blend-mode: overlay, overlay, normal;
    }

    @supports (background-image: image-set(url('/static/shinobi-bg.webp') type('image/webp'))) {
      body {
        background-image:
          radial-gradient(circle at 25% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
          image-set(
            url('/static/shinobi-bg.webp?v=20260527') type('image/webp'),
            url('/static/Shinobi-domain-2-optimized.jpg?v=2') type('image/jpeg')
          );
      }
    }

    @media (max-width: 768px) {
      @supports (background-image: image-set(url('/static/shinobi-bg-mobile.webp') type('image/webp'))) {
        body {
          background-image:
            radial-gradient(circle at 25% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
            image-set(
              url('/static/shinobi-bg-mobile.webp?v=20260527') type('image/webp'),
              url('/static/Shinobi-domain-2-optimized.jpg?v=2') type('image/jpeg')
            );
        }
      }
    }

    /* Ninja Interface Overlays */
    .ninja-interface {
      position: relative;
      flex: 0 0 100vh;
      min-height: 100vh;
      overflow: visible;
      z-index: 100;
      pointer-events: none;
    }

    .ninja-interface > * {
      pointer-events: auto;
    }

    body.pricing-modal-open .ninja-interface {
      z-index: auto;
    }

    /* Header */
    .ninja-header {
      position: fixed;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      z-index: 101;
    }

    body.pricing-modal-open .ninja-header {
      z-index: 260;
    }

    .ninja-title {
      font-size: 3.5rem;
      font-weight: 700;
      font-family: 'Luminari', serif;
      background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 10px;
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    .ninja-logo {
      max-height: 280px;
      width: auto;
      margin-bottom: 5px;
      margin-top: -20px;
      filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
      transition: all 0.3s ease;
    }

    /* Add smooth transitions to logo with fluid scaling */
    .ninja-header img {
      transition: all 0.3s ease;
      /* Fluid scaling: 49px at 579px viewport to 96px at 2554px viewport */
      /* Using 2.38vw which gives us the right slope: (96-49)/(2554-579) ≈ 0.0238 = 2.38% */
      max-height: clamp(49px, calc(2.38vw + 35.22px), 96px) !important;
      min-height: 49px !important;
      height: auto;
    }

    .ninja-logo:hover {
      filter: drop-shadow(0 0 25px rgba(255, 107, 53, 0.5));
      transform: scale(1.05);
    }

    .ninja-subtitle {
      color: #cccccc;
      font-size: 1.2rem;
      opacity: 0.9;
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    }


    /* Domain Name Generator - Yellow Theme like TLD Discovery */
    .name-generator-box {
      position: fixed;
      top: 20px;
      right: 80px;
      width: 300px;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 215, 0, 0.4);
      border-radius: 8px;
      padding: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
      z-index: 102;
      text-align: center;
    }

    /* Hamburger Menu Box - Separate from Name Generator */
    .hamburger-box {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
      z-index: 12050 !important;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Hamburger Menu */
    .hamburger-menu {
      width: 38px;
      height: 38px;
      background: rgba(255, 107, 53, 0.1);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
      transition: all 0.3s ease;
    }

    .hamburger-menu:hover {
      background: rgba(255, 107, 53, 0.2);
      border-color: rgba(255, 107, 53, 0.6);
    }

    .hamburger-line {
      width: 22px;
      height: 3px;
      background: #FF6B35;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* Sidebar */
    .user-sidebar {
      position: fixed;
      top: 0;
      right: -350px;
      width: 350px;
      height: 100vh;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(20px);
      border-left: 2px solid rgba(255, 107, 53, 0.4);
      z-index: 1000;
      transition: right 0.3s ease;
      padding: 20px;
      overflow-y: auto;
    }

    .user-sidebar.active {
      right: 0;
    }

    .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    }

    .sidebar-title {
      color: #FF6B35;
      font-size: 1.2rem;
      font-weight: bold;
    }

    .close-sidebar {
      background: none;
      border: none;
      color: #FF6B35;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 5px;
      border-radius: 4px;
      transition: all 0.3s ease;
    }

    .close-sidebar:hover {
      background: rgba(255, 107, 53, 0.1);
    }

    .user-section {
      margin-bottom: 25px;
      padding: 15px;
      background: rgba(255, 107, 53, 0.05);
      border: 1px solid rgba(255, 107, 53, 0.2);
      border-radius: 8px;
    }

    .user-name {
      color: white;
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 15px;
      text-align: center;
    }

    .sidebar-button {
      width: 100%;
      padding: 12px 15px;
      margin-bottom: 10px;
      background: rgba(255, 107, 53, 0.1);
      border: 1px solid rgba(255, 107, 53, 0.3);
      border-radius: 8px;
      color: white;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .sidebar-button:hover {
      background: rgba(255, 107, 53, 0.2);
      border-color: rgba(255, 107, 53, 0.5);
      transform: translateX(5px);
    }

    .sidebar-button.logout {
      background: rgba(239, 68, 68, 0.1);
      border-color: rgba(239, 68, 68, 0.3);
      color: #fca5a5;
    }

    .sidebar-button.logout:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.5);
    }

    /* Sidebar overlay */
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .sidebar-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Sidebar Modal - Standard overlay but positioned to not cover sidebar */
    .sidebar-modal {
      display: none;
      position: fixed;
      z-index: 999; /* Lower z-index than sidebar (1000) */
      left: 0;
      top: 0;
      width: calc(100vw - 350px); /* Don't cover the 350px sidebar area */
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(5px);
    }

    .sidebar-modal.active {
      display: block;
    }

    .sidebar-modal.sidebar-modal-full-width {
      width: 100vw;
      z-index: 1001;
    }

    .sidebar-modal-content {
      background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
      padding: 0;
      border: 2px solid rgba(255, 107, 53, 0.5);
      border-radius: 0;
      width: 100%;
      height: 100%;
      overflow-y: auto;
      color: white;
      box-shadow: none;
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      flex-direction: column;
    }

    .web-hosting-modal-content {
      background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.58)),
        url('/static/ninja-web-hosting-2.png') center center / cover no-repeat;
    }

    .website-builder-modal-content {
      background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.58)),
        url('/static/ninja-web-building-2.png') center center / cover no-repeat;
    }

    .saved-domains-modal-content {
      background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.64)),
        url('/static/ninja-safe-1.png') center center / cover no-repeat;
    }

    .web-hosting-modal-content .sidebar-modal-header,
    .website-builder-modal-content .sidebar-modal-header,
    .saved-domains-modal-content .sidebar-modal-header {
      background: rgba(0, 0, 0, 0.72);
      border-bottom-color: rgba(255, 107, 53, 0.65);
      backdrop-filter: blur(6px);
    }

    .web-hosting-modal-content .sidebar-modal-title,
    .website-builder-modal-content .sidebar-modal-title,
    .saved-domains-modal-content .sidebar-modal-title {
      color: #FF6B35;
      font-weight: 900;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    }

    .web-hosting-modal-content .sidebar-button,
    .website-builder-modal-content .sidebar-button {
      background: rgba(0, 0, 0, 0.78) !important;
      border-color: rgba(255, 107, 53, 0.72) !important;
      color: #ffffff !important;
      font-weight: 800;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
    }

    .web-hosting-modal-content .sidebar-button:hover,
    .website-builder-modal-content .sidebar-button:hover {
      background: rgba(18, 8, 4, 0.92) !important;
      border-color: rgba(255, 107, 53, 0.95) !important;
    }

    .web-hosting-modal-content .website-tool-link-list,
    .website-builder-modal-content .website-tool-link-list {
      width: min(100%, 340px);
    }

    .sidebar-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 30px;
      border-bottom: 1px solid rgba(255, 107, 53, 0.3);
      background: rgba(255, 107, 53, 0.1);
      border-radius: 0;
      flex-shrink: 0;
    }

    .sidebar-modal-title {
      color: #FF6B35;
      font-size: 1.8rem;
      font-weight: bold;
      margin: 0;
      text-align: center;
      flex: 1;
    }

    .sidebar-modal-close {
      color: rgba(255, 255, 255, 0.7);
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      transition: color 0.3s ease;
      background: none;
      border: none;
      padding: 0;
      margin-left: 15px;
    }

    .sidebar-modal-close:hover {
      color: #FF6B35;
    }

    @media (min-width: 769px) {
      .sidebar-modal.sidebar-modal-full-width .sidebar-modal-close {
        margin-right: 70px;
      }
    }

    .ide-select-btn:hover {
      background: rgba(255, 255, 255, 0.1) !important;
      border-color: #8B5CF6 !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .copy-btn:hover {
      opacity: 0.9;
    }

    .sidebar-modal-body {
      padding: 30px;
      line-height: 1.6;
      overflow-y: auto;
      flex: 1;
    }

    .sidebar-modal-body h3 {
      color: #FF6B35;
      margin-bottom: 20px;
      font-size: 1.3rem;
      text-align: left;
    }

    .sidebar-modal-body h4 {
      color: #FF6B35;
      margin: 20px 0 10px 0;
      font-size: 1.1rem;
    }

    .sidebar-modal-body p {
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .sidebar-modal-body ul {
      margin-bottom: 15px;
      padding-left: 20px;
    }

    .sidebar-modal-body li {
      margin-bottom: 8px;
    }

    /* Mobile: Make modals full screen */
    @media (max-width: 768px) {
      .sidebar-modal {
        width: 100vw !important;
        left: 0 !important;
        z-index: 999; /* Below hamburger menu so menu is accessible */
      }

      .sidebar-modal-content {
        border-radius: 0;
        max-height: 100vh;
      }

      .sidebar-modal-header {
        padding: 15px 20px;
        flex-direction: row-reverse; /* Move X to left by reversing flex */
      }

      .sidebar-modal-title {
        font-size: 1.3rem;
      }

      .sidebar-modal-body {
        padding: 20px;
      }

      .sidebar-modal-close {
        margin-left: 0;
        margin-right: 15px;
      }

      /* Ensure hamburger menu stays above modals */
      .hamburger-box {
        z-index: 12050 !important;
      }
    }


    .generator-btn {
      width: 100%;
      padding: 8px 12px;
      font-size: 0.75rem;
      background: linear-gradient(45deg, #FFD700, #FFA500);
      border: none;
      border-radius: 6px;
      color: #1a1a1a;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
      margin-bottom: 8px;
    }

    .generator-btn:hover {
      background: linear-gradient(45deg, #FFA500, #FF8C00);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }

    .name-search-input {
      width: 100%;
      padding: 10px 12px;
      font-size: 0.95rem;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 215, 0, 0.3);
      border-radius: 8px;
      color: white;
      outline: none;
      margin-bottom: 15px;
      transition: all 0.3s ease;
    }

    .name-search-input:focus {
      border-color: rgba(255, 215, 0, 0.6);
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }

    .name-search-input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .name-results {
      max-height: 300px;
      overflow-y: auto;
      margin-top: 15px;
    }

    .name-result-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 10px;
      margin: 5px 0;
      background: rgba(255, 215, 0, 0.1);
      border: 1px solid rgba(255, 215, 0, 0.3);
      border-radius: 6px;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .name-result-item:hover {
      background: rgba(255, 215, 0, 0.2);
      border-color: rgba(255, 215, 0, 0.5);
      transform: translateX(5px);
    }

    .domain-name {
      color: white;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .domain-status {
      font-size: 0.8rem;
      padding: 2px 8px;
      border-radius: 4px;
      font-weight: bold;
    }

    .status-available {
      background: rgba(255, 215, 0, 0.3);
      color: #FFD700;
      border: 1px solid #FFD700;
    }

    .loading-spinner-small {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 215, 0, 0.3);
      border-radius: 50%;
      border-top-color: #FFD700;
      animation: spin 1s ease-in-out infinite;
    }

    /* Name Generator Description */
    .name-generator-box .description {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.65rem;
      line-height: 1.2;
      text-align: center;
    }

    /* Name Generator Dropdown Panel (yellow theme) */
    .name-generator-box .tld-dropdown {
      border-color: rgba(255, 215, 0, 0.4);
    }

    .name-generator-box .tld-search-input {
      border-color: rgba(255, 215, 0, 0.3);
    }

    .name-generator-box .tld-search-input:focus {
      border-color: rgba(255, 215, 0, 0.6);
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }

    .name-generator-box .tld-quick-btn {
      background: rgba(255, 215, 0, 0.1);
      border-color: rgba(255, 215, 0, 0.3);
    }

    .name-generator-box .tld-quick-btn:hover {
      background: rgba(255, 215, 0, 0.2);
      border-color: rgba(255, 215, 0, 0.5);
    }

    /* Name Style Buttons - Compact Version */
    .name-style-btn {
      padding: 6px 8px;
      font-size: 0.7rem;
      background: rgba(255, 215, 0, 0.1);
      border: 1px solid rgba(255, 215, 0, 0.3);
      border-radius: 4px;
      color: rgba(255, 255, 255, 0.7);
      cursor: pointer;
      transition: all 0.2s ease;
      font-weight: 500;
      line-height: 1.2;
    }

    .name-style-btn:hover {
      background: rgba(255, 215, 0, 0.2);
      border-color: rgba(255, 215, 0, 0.5);
      color: white;
      transform: translateY(-1px);
    }

    .name-style-btn.selected {
      background: rgba(255, 215, 0, 0.3);
      border-color: #FFD700;
      color: #FFD700;
      font-weight: bold;
    }

    .name-style-btn.selected:hover {
      background: rgba(255, 215, 0, 0.4);
    }

    .login-panel {
      display: flex;
      gap: 10px;
      align-items: center;
    }


    .login-button, .logout-button {
      padding: 8px 15px;
      font-size: 0.9rem;
      background: linear-gradient(45deg, #FF6B35, #F7931E);
      border: none;
      border-radius: 8px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
    }

    .login-button:hover, .logout-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }

    .logout-button {
      font-size: 0.8rem;
      padding: 6px 10px;
    }

    .bookmark-button {
      padding: 6px 10px;
      font-size: 0.8rem;
      background: linear-gradient(45deg, #22c55e, #16a34a);
      border: none;
      border-radius: 8px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      margin-right: 8px;
    }

    .bookmark-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    }

    .user-info {
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 10px;
      padding: 15px;
      color: white;
    }

    .user-details {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      font-weight: bold;
      border-bottom: 1px solid rgba(255, 107, 53, 0.3);
      padding-bottom: 10px;
      gap: 10px;
    }

    .user-details > span {
      flex: 1;
    }

    .pricing-info {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .price-display, .discount-display, .savings-display {
      display: flex;
      justify-content: space-between;
      font-size: 0.9rem;
    }

    .price-label, .discount-label, .savings-label {
      color: #cccccc;
    }

    .price-value {
      color: #FF6B35;
      font-weight: bold;
    }

    .discount-value {
      color: #22c55e;
      font-weight: bold;
    }

    .savings-value {
      color: #FFD700;
      font-weight: bold;
    }

    /* Premium TLD Discovery */
    .premium-discovery-button {
      padding: 12px 20px;
      font-size: 0.95rem;
      background: linear-gradient(45deg, #8B5CF6, #A855F7);
      border: none;
      border-radius: 10px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }

    .premium-discovery-button:hover {
      background: linear-gradient(45deg, #7C3AED, #8B5CF6);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    }

    .premium-discovery-button:active {
      transform: translateY(0px);
    }

    .quick-tld-btn {
      padding: 6px 12px;
      font-size: 0.8rem;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 107, 53, 0.3);
      border-radius: 6px;
      color: #cccccc;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .quick-tld-btn:hover {
      background: rgba(255, 107, 53, 0.2);
      border-color: #FF6B35;
      color: white;
    }

    /* TLD Input Focus Effects */
    #tldInput:focus {
      border-color: #FF6B35 !important;
      box-shadow: 0 0 15px rgba(255, 107, 53, 0.6) !important;
      background: rgba(255, 255, 255, 0.15) !important;
    }

    /* Premium TLD Discovery - Top Left Box */
    .premium-tld-box {
      position: fixed;
      top: 20px;
      left: 20px;
      width: 350px;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(139, 92, 246, 0.4);
      border-radius: 8px;
      padding: 12px;
      z-index: 102;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
      text-align: center;
    }

    .premium-tld-box .discovery-btn {
      width: 100%;
      padding: 8px 12px;
      font-size: 0.75rem;
      background: linear-gradient(45deg, #8B5CF6, #A855F7);
      border: none;
      border-radius: 6px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
      margin-bottom: 8px;
    }

    .premium-tld-box .discovery-btn:hover {
      background: linear-gradient(45deg, #7C3AED, #8B5CF6);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    }

    .premium-tld-box .description {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.65rem;
      line-height: 1.2;
    }

    /* === RESPONSIVE BREAKPOINTS === */

    /* Large screens: Hide TLD/Name boxes before they overlap the centered search. */
    @media (max-width: 1370px) {
      .premium-tld-box,
      .name-generator-box,
      .mcp-config-box,
      .website-builder-box,
      .website-hosting-box,
      .tld-dropdown,
      .name-dropdown,
      .website-tool-dropup {
        display: none !important;
      }

      /* Show tools section in sidebar */
      #sidebarToolsSection {
        display: block !important;
      }
    }

    /* Add smooth fluid scaling to site description like the logo */
    .site-description {
      transition: all 0.3s ease !important;
      /* Match the search panel width so the info card never crowds the side tools. */
      width: 90% !important;
      max-width: 600px !important;
      /* Fluid padding: 8px at 579px to 25px at 2554px - less padding for wider box */
      padding: clamp(8px, calc(0.86vw + 3.0px), 25px) !important;
      /* Sit beneath the fixed search panel instead of replacing it. */
      top: clamp(320px, calc(28vh + 145px), 430px) !important;
    }

    .site-description h2 {
      transition: all 0.3s ease !important;
      /* Fluid font size: 1.1rem at 579px to 1.3rem at 2554px */
      font-size: clamp(1.1rem, calc(0.01vw + 1.04rem), 1.3rem) !important;
    }

    .site-description p {
      transition: all 0.3s ease !important;
      /* Fluid font size: 0.85rem at 579px to 0.95rem at 2554px */
      font-size: clamp(0.85rem, calc(0.005vw + 0.82rem), 0.95rem) !important;
    }

    .homepage-helper-copy a {
      color: #FFD700;
      font-weight: 700;
      text-decoration: none;
    }

    .homepage-helper-copy a:hover,
    .homepage-helper-copy a:focus {
      color: #FF6B35;
      text-decoration: underline;
    }

    /* Mobile: Keep subtitle visible and remove borders */
    @media (max-width: 768px) {
      /* Remove any borders */
      .ninja-header,
      .ninja-header img {
        border: none !important;
        border-bottom: none !important;
      }

      /* Narrow logo by 20% to prevent clash with hamburger menu */
      .ninja-header img {
        width: 80% !important;
        max-width: 80% !important;
      }

      /* Ensure subtitle stays visible */
      .ninja-subtitle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #cccccc !important;
        font-size: 1rem !important;
      }

      /* Stats section spacing on mobile */
      .site-description > div:nth-child(3) {
        gap: 15px !important;
        margin-bottom: 15px !important;
      }

      /* Keep the search box high enough on narrow screens without hitting the logo. */
      .search-container {
        top: clamp(210px, calc(28vh + 20px), 260px) !important;
      }

      .site-description {
        width: 95% !important;
        max-width: 500px !important;
        top: clamp(405px, calc(37vh + 165px), 485px) !important;
        max-height: calc(100vh - 405px);
        overflow-y: auto;
      }
    }


    /* Search Container */
    .search-container {
      position: fixed;
      top: calc(28% + 20px);
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 600px;
      z-index: 101;
    }

    .search-container.suggestions-active {
      z-index: 350;
    }

    body.results-active .site-description {
      display: none !important;
    }

    body.footer-in-view .site-description {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }

    .search-panel {
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
    }

    .search-input {
      width: 100%;
      padding: 15px 20px;
      font-size: 1.1rem;
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 107, 53, 0.5);
      border-radius: 10px;
      color: white;
      outline: none;
      transition: all 0.3s ease;
      margin-bottom: 20px;
    }

    .search-input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }

    .search-input:focus {
      border-color: #FF6B35;
      box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
      background: rgba(255, 255, 255, 0.15);
    }

    .main-search-suggestions {
      position: fixed;
      top: 0;
      left: 0;
      right: auto;
      display: none;
      overflow: hidden;
      background: rgba(5, 5, 5, 0.96);
      border: 1px solid rgba(255, 107, 53, 0.45);
      border-radius: 10px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
      z-index: 10000;
    }

    .main-search-suggestions.active {
      display: block;
    }

    .main-search-suggestion-item,
    .main-search-suggestion-loading {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 14px;
      color: white;
      background: transparent;
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font: inherit;
      text-align: left;
    }

    .main-search-suggestion-item {
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease;
    }

    .main-search-suggestion-item:hover {
      background: rgba(255, 107, 53, 0.16);
    }

    .main-search-suggestion-item:last-child,
    .main-search-suggestion-loading:last-child {
      border-bottom: 0;
    }

    .main-search-suggestion-name {
      overflow: hidden;
      font-weight: 700;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-search-suggestion-status {
      flex-shrink: 0;
      color: #22c55e;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .main-search-suggestion-loading {
      color: rgba(255, 255, 255, 0.72);
      font-size: 0.9rem;
    }


    .search-options {
      display: flex;
      justify-content: space-around;
      gap: 15px;
      flex-wrap: wrap;
    }

    .option-label {
      display: flex;
      align-items: center;
      color: #cccccc;
      font-size: 0.9rem;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .option-label:hover {
      color: #FF6B35;
    }

    .option-checkbox {
      margin-right: 8px;
      transform: scale(1.2);
      accent-color: #FF6B35;
    }

    .stealth-option-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .stealth-help-trigger {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1px solid rgba(34, 197, 94, 0.55);
      background: rgba(34, 197, 94, 0.12);
      color: #86efac;
      cursor: help;
      font-size: 0.72rem;
      font-weight: bold;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    .stealth-tooltip {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      width: min(320px, 86vw);
      background: rgba(0, 0, 0, 0.94);
      border: 1px solid rgba(34, 197, 94, 0.45);
      border-radius: 8px;
      color: rgba(255, 255, 255, 0.86);
      font-size: 0.78rem;
      line-height: 1.45;
      padding: 10px 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
      opacity: 0;
      pointer-events: none;
      transform: translateY(-4px);
      transition: opacity 0.18s ease, transform 0.18s ease;
      z-index: 1200;
    }

    .stealth-option-wrapper:hover .stealth-tooltip,
    .stealth-option-wrapper:focus-within .stealth-tooltip {
      opacity: 1;
      transform: translateY(0);
    }

    .search-option-controls {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    .currency-selector {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .currency-selector select {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 107, 53, 0.5);
      border-radius: 5px;
      color: white;
      padding: 5px 8px;
      font-size: 0.8rem;
      cursor: pointer;
      outline: none;
    }

    .currency-selector select option {
      background: #333;
      color: white;
    }

    /* Loading State */
    .loading-container {
      position: fixed;
      top: calc(42% + 20px);
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 600px;
      z-index: 101;
      display: none;
    }

    .loading-panel {
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 15px;
      padding: 30px;
      text-align: center;
      color: white;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
    }

    .loading-spinner {
      width: 40px;
      height: 40px;
      border: 4px solid rgba(255, 107, 53, 0.3);
      border-top: 4px solid #FF6B35;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 15px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Results Container */
    .results-container {
      position: fixed;
      top: calc(42% + 20px);
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 600px;
      z-index: 101;
      display: none;
    }

    .results-panel {
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 15px;
      padding: 25px;
      height: 100%;
      overflow-y: auto;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
      display: flex;
      flex-direction: column;
    }

    .results-title {
      color: #FF6B35;
      font-size: 1.5rem;
      font-weight: bold;
      text-align: center;
      margin-bottom: 20px;
      text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
      position: relative;
    }

    .scan-results-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin: -8px 0 14px;
      padding: 8px 10px;
      border: 1px solid rgba(255, 107, 53, 0.18);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.28);
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.78rem;
    }

    .scan-results-filter {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin: 0;
      cursor: pointer;
      white-space: nowrap;
    }

    .scan-results-filter input {
      width: 13px;
      height: 13px;
      margin: 0;
      accent-color: #FF6B35;
      cursor: pointer;
    }

    .scan-results-count {
      color: rgba(255, 255, 255, 0.5);
      text-align: right;
    }

    .scan-results-pagination {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin: 6px 0 14px;
    }

    .scan-results-page-btn {
      min-width: 30px;
      height: 30px;
      padding: 0 9px;
      border: 1px solid rgba(255, 107, 53, 0.35);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255, 255, 255, 0.78);
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .scan-results-page-btn:hover,
    .scan-results-page-btn.active {
      background: linear-gradient(45deg, #FF6B35, #F7931E);
      border-color: rgba(255, 215, 0, 0.55);
      color: white;
      box-shadow: 0 0 14px rgba(255, 107, 53, 0.3);
    }

    .scan-results-empty {
      text-align: center;
      padding: 18px;
      margin-bottom: 14px;
      border: 1px solid rgba(255, 107, 53, 0.18);
      border-radius: 10px;
      color: rgba(255, 255, 255, 0.68);
      background: rgba(255, 255, 255, 0.04);
    }

    /* Close button for results panel */
    .results-close-button {
      position: absolute;
      top: -5px;
      right: 0;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 50%;
      width: 30px;
      height: 30px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      font-weight: bold;
      transition: all 0.3s ease;
      z-index: 105;
      background: linear-gradient(45deg, #FF6B35, #F7931E, #FFD700);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    }

    .results-close-button:hover {
      transform: scale(1.1);
      text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
      border-color: #FFD700;
    }

    .domain-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 107, 53, 0.3);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 15px;
      transition: all 0.3s ease;
    }

    .domain-card:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 107, 53, 0.6);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .domain-name {
      font-size: 1.3rem;
      font-weight: bold;
      color: white;
      margin-bottom: 10px;
    }

    .domain-status {
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: bold;
      display: inline-block;
      margin-bottom: 15px;
    }

    .status-available {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
      border: 1px solid #22c55e;
    }

    .status-taken {
      background: rgba(239, 68, 68, 0.2);
      color: #ef4444;
      border: 1px solid #ef4444;
    }

    .domain-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .action-button {
      padding: 10px 16px;
      border: none;
      border-radius: 8px;
      font-size: 0.9rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      text-align: center;
      flex: 1;
      min-width: 120px;
    }

    .btn-primary {
      background: linear-gradient(45deg, #22c55e, #16a34a);
      color: white;
      box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
    }

    .btn-secondary {
      background: rgba(107, 114, 128, 0.6);
      color: white;
      border: 1px solid rgba(107, 114, 128, 0.8);
    }

    .btn-secondary:hover {
      background: rgba(107, 114, 128, 0.8);
      transform: translateY(-2px);
    }

    /* Status Counter */
    .status-counter {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 107, 53, 0.4);
      border-radius: 25px;
      padding: 10px 20px;
      color: #FF6B35;
      font-weight: bold;
      z-index: 101;
      display: none;
    }

    /* Pricing Modal - No background overlay so ads remain visible */
    .pricing-modal {
      position: fixed;
      inset: 0;
      background: none; /* Remove dark overlay */
      z-index: 200;
      display: flex;
      align-items: flex-start; /* Align to top instead of center */
      justify-content: center;
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      pointer-events: none; /* Allow clicks through to ads */
      overflow: hidden;
    }

    .pricing-modal.modal-show {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    #pricingModal.modal-show::before {
      content: "";
      position: fixed;
      top: 10px;
      left: 50%;
      width: min(454px, 70vw);
      height: clamp(49px, calc(2.38vw + 35.22px), 96px);
      transform: translateX(-50%);
      background: url('/static/shinobi-logo-text.png?v=4') center / contain no-repeat;
      filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
      pointer-events: none;
      z-index: 3;
    }

    .pricing-modal-video-layer {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
      background: transparent;
    }

    .pricing-modal.links-video-mode .pricing-modal-video-layer,
    .pricing-modal.pricing-video-mode .pricing-modal-video-layer {
      opacity: 1;
    }

    .pricing-modal-video-layer video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .pricing-modal.links-video-mode .pricing-links-background-video,
    .pricing-modal.pricing-video-mode .pricing-prices-background-video {
      opacity: 1;
    }

    .pricing-modal-video-overlay {
      position: absolute;
      inset: 0;
      display: none;
      background: none;
    }

    .modal-content {
      background: rgba(20, 20, 20, 0.98); /* Slightly more opaque */
      border: 2px solid rgba(255, 107, 53, 0.6); /* More visible border */
      border-radius: 15px;
      padding: 30px;
      width: 90%; /* Match results-container width exactly */
      max-width: 600px; /* Match results-container max-width exactly */
      max-height: calc(100vh - 140px); /* Extend vertically but leave 140px for footer/margins */
      margin-top: 100px; /* Push down from Shinobi Domain title */
      margin-bottom: 100px; /* Ensure space above footer */
      overflow-y: auto;
      color: white;
      transform: scale(0.9) translateX(-50%); /* Match results-container centering */
      transition: transform 0.3s ease;
      pointer-events: auto; /* Enable clicks on modal content */
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8); /* Add shadow for better visibility */
      position: absolute;
      left: 50%; /* Center positioning like results-container */
      z-index: 1;
    }

    .pricing-modal.modal-show .modal-content {
      transform: scale(1) translateX(-50%);
    }

    .pricing-modal.links-video-mode .modal-content,
    .pricing-modal.pricing-video-mode .modal-content {
      background: rgba(10, 10, 10, 0.52);
      backdrop-filter: blur(10px);
      border-color: rgba(255, 107, 53, 0.6);
      box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
      border-bottom: 1px solid rgba(255, 107, 53, 0.3);
      padding-bottom: 15px;
    }

    .modal-title {
      font-size: 1.8rem;
      font-weight: bold;
      color: #FF6B35;
    }

    h1.modal-title {
      margin: 1em 0;
    }

    .modal-close {
      background: none;
      border: none;
      color: #cccccc;
      font-size: 2rem;
      cursor: pointer;
      padding: 0;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-close:hover {
      color: #FF6B35;
    }


    /* TABLET AND MOBILE VERSION: 1024px and below */
    @media (max-width: 1024px) {
      /* Hide desktop sidebar boxes on tablet/mobile */
      .premium-tld-box,
      .name-generator-box,
      .website-builder-box,
      .website-hosting-box,
      .mcp-config-box {
        display: none !important;
      }

      /* Show tools section in sidebar on tablet/mobile */
      #sidebarToolsSection {
        display: block !important;
      }

      /* TLD and AI generator modals - positioned and styled like current desktop version */
      .tld-modal-content,
      .name-generator-modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(15px);
        border-radius: 12px;
        padding: 20px 12px;
        width: 90%;
        max-width: 350px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1001;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        display: none;
      }

      .tld-modal-content.active,
      .name-generator-modal-content.active {
        display: flex;
        flex-direction: column;
      }

      .tld-modal-overlay,
      .name-generator-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
      }

      .tld-modal-overlay.active,
      .name-generator-modal-overlay.active {
        display: block;
      }

      /* Premium TLD Modal on tablet/mobile */
      #premiumTLDModal {
        display: none !important;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      #premiumTLDModal[style*="display: flex"] {
        opacity: 1 !important;
      }
    }

    /* MOBILE VERSION: Complete redesign for 768px and below */
    @media (max-width: 768px) {

      /* Hide top-right TLD and name generator boxes on mobile */
      .premium-tld-box {
        display: none !important;
      }

      .name-generator-box {
        display: none !important;
      }

      /* Show tools section in sidebar on mobile */
      #sidebarToolsSection {
        display: block !important;
      }

      /* Viewport size box - top left */
      #viewport-size {
        position: fixed;
        top: 20px;
        left: 20px;
        background: rgba(255, 107, 53, 0.9);
        color: white;
        padding: 10px 15px;
        border-radius: 6px;
        font-size: 0.8rem;
        z-index: 9999;
        font-weight: bold;
        font-family: monospace;
        box-shadow: 0 2px 10px rgba(255, 107, 53, 0.5);
        pointer-events: none;
      }


      /* Hide all desktop sidebar elements on mobile */
      .premium-tld-box,
      .website-builder-box,
      .website-hosting-box,
      .website-tool-dropup {
        display: none !important;
      }

      .premium-tld-box,
      .name-generator-box,
      .mcp-config-box {
        display: none !important;
      }

      /* Show hamburger menu on mobile - position to right of title */
      .hamburger-box {
        display: flex !important;
        position: fixed;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        z-index: 12050 !important;
      }

      .hamburger-menu {
        width: 38px;
        height: 38px;
        background: rgba(255, 107, 53, 0.1);
        border: 1px solid rgba(255, 107, 53, 0.4);
        border-radius: 6px;
      }


      /* Search card: keep desktop position, just adjust width */
      .search-container {
        width: 95% !important;
        max-width: 500px !important;
      }

      .search-panel {
        width: 100% !important;
        border-radius: 0;
        padding: 16px 12px;
        border: none;
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
      }

      .search-input {
        font-size: 16px !important;
        padding: 12px 14px !important;
        height: 46px;
        border-radius: 8px;
        margin-bottom: 12px;
      }

      .search-options {
        flex-direction: row;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
      }

      .option-label {
        font-size: 0.75rem;
        padding: 5px 8px;
        background: transparent;
        border: 1px solid rgba(255, 107, 53, 0.3);
        border-radius: 6px;
      }

      .option-label input {
        transform: scale(0.9);
      }

      /* Loading container */
      .loading-container {
        width: 95% !important;
        max-width: 500px !important;
      }

      /* Results: stacked cards */
      .results-container {
        width: 95% !important;
        max-width: 500px !important;
      }

      .results-panel {
        height: auto !important;
        border-radius: 0;
        padding: 16px 12px;
        border: none;
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
      }

      .results-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
      }

      .scan-results-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        font-size: 0.75rem;
      }

      .scan-results-count {
        text-align: left;
      }

      .domain-card {
        padding: 14px;
        margin-bottom: 10px;
        border-radius: 10px;
      }

      .domain-actions {
        flex-direction: column;
        gap: 6px;
      }

      .action-button {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 0.9rem;
      }

      /* Hide ads */
      [class*="ad-"] {
        display: none !important;
      }

      /* Modal adjustments */
      .pricing-modal .modal-content {
        width: 96% !important;
        border-radius: 12px;
        padding: 16px;
      }
    }

    /* Product Promo Slot Containers */
    .ad-container {
      position: fixed;
      display: none; /* Completely hidden when empty */
      border-radius: 8px;
      padding: 10px;
      z-index: 95;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    /* Force-hide any ad containers that are not marked as loaded */
    .ad-container:not(.ad-loaded),
    .ad-search-results:not(.ad-loaded) {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
    }

    /* Only show styling when ad is loaded */
    .ad-container.ad-loaded {
      display: flex; /* Show when loaded */
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 107, 53, 0.2);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }

    .ad-container.ad-loaded:hover {
      border-color: rgba(255, 107, 53, 0.4);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    }

    /* TLD Discovery Ads - Left Side (3 ads stacked) */
    .ad-tld-left-1 {
      top: 120px;
      left: 20px;
      width: 320px;
      height: 250px;
    }

    .ad-tld-left-2 {
      top: 390px;
      left: 20px;
      width: 320px;
      height: 250px;
    }

    .ad-tld-left-3 {
      top: 660px;
      left: 20px;
      width: 320px;
      height: 250px;
    }

    /* Name Generator Ads - Right Side (3 ads stacked) */
    .ad-name-right-1 {
      top: 120px;
      right: 20px;
      width: 320px;
      height: 250px;
    }

    .ad-name-right-2 {
      top: 390px;
      right: 20px;
      width: 320px;
      height: 250px;
    }

    .ad-name-right-3 {
      top: 660px;
      right: 20px;
      width: 320px;
      height: 250px;
    }

    /* Search Results Ad - Center */
    .ad-search-results {
      position: relative;
      width: 100%;
      max-width: 728px;
      height: 90px;
      margin: 15px auto;
      border-radius: 8px;
      padding: 10px;
      display: none; /* Hidden by default */
      align-items: center;
      justify-content: center;
    }

    /* Only show styling when ad is loaded */
    .ad-search-results.ad-loaded {
      display: flex; /* Show when loaded */
      background: rgba(0, 0, 0, 0.9);
      border: 1px solid rgba(255, 107, 53, 0.3);
    }

    /* Search Results Sidebar Ads - Left Side (3 ads) */
    .ad-results-left-1 {
      position: fixed;
      top: 120px;
      left: 20px;
      width: 300px;
      height: 250px;
      z-index: 90;
    }

    .ad-results-left-2 {
      position: fixed;
      top: 390px;
      left: 20px;
      width: 300px;
      height: 250px;
      z-index: 90;
    }

    .ad-results-left-3 {
      position: fixed;
      top: 660px;
      left: 20px;
      width: 300px;
      height: 250px;
      z-index: 90;
    }

    /* Search Results Sidebar Ads - Right Side (3 ads) */
    .ad-results-right-1 {
      position: fixed;
      top: 120px;
      right: 20px;
      width: 300px;
      height: 250px;
      z-index: 90;
    }

    .ad-results-right-2 {
      position: fixed;
      top: 390px;
      right: 20px;
      width: 300px;
      height: 250px;
      z-index: 90;
    }

    .ad-results-right-3 {
      position: fixed;
      top: 660px;
      right: 20px;
      width: 300px;
      height: 250px;
      z-index: 90;
    }

    /* Ad placeholder styling */
    .ad-placeholder {
      color: rgba(255, 255, 255, 0.4);
      font-size: 0.8rem;
      text-align: center;
      width: 100%;
      height: 100%;
      display: none; /* Hide placeholders by default */
      align-items: center;
      justify-content: center;
      border: 1px dashed rgba(255, 255, 255, 0.2);
      border-radius: 4px;
    }

    /* Only show placeholders when container explicitly loaded */
    .ad-loaded .ad-placeholder {
      display: flex;
    }

    /* Hide sidebar ads on mobile for better UX, keep center ads */
    @media (max-width: 768px) {
      .ad-tld-left-1, .ad-tld-left-2, .ad-tld-left-3,
      .ad-name-right-1, .ad-name-right-2, .ad-name-right-3,
      .ad-results-left-1, .ad-results-left-2, .ad-results-left-3,
      .ad-results-right-1, .ad-results-right-2, .ad-results-right-3 {
        display: none;
      }

      .ad-search-results {
        height: 60px;
        margin: 10px auto;
        max-width: 320px; /* Mobile banner size */
      }
    }

    /* Tablet view - show fewer ads */
    @media (min-width: 769px) and (max-width: 1200px) {
      .ad-tld-left-3, .ad-name-right-3,
      .ad-results-left-3, .ad-results-right-3 {
        display: none; /* Hide bottom ads on smaller screens */
      }
    }

    /* Pricing Section Styles */
    .pricing-section {
      margin: 25px 0;
      padding: 20px 0;
      border-top: 1px solid rgba(255, 107, 53, 0.2);
    }

    .pricing-header {
      text-align: center;
      margin-bottom: 20px;
    }

    .pricing-header h3 {
      color: #FF6B35;
      font-size: 1.2rem;
      margin-bottom: 8px;
    }

    .pricing-header p {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.85rem;
    }

    .pricing-plans {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .pricing-plan {
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 15px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-align: center;
    }

    .pricing-plan:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .free-plan {
      border-color: rgba(34, 197, 94, 0.3);
    }

    .free-plan:hover {
      border-color: #22c55e;
      background: rgba(34, 197, 94, 0.1);
    }

    .pro-plan {
      border-color: rgba(255, 215, 0, 0.3);
    }

    .pro-plan:hover {
      border-color: #FFD700;
      background: rgba(255, 215, 0, 0.1);
    }

    .premium-plan {
      border-color: rgba(139, 92, 246, 0.3);
      position: relative;
    }

    .premium-plan:hover {
      border-color: #8B5CF6;
      background: rgba(139, 92, 246, 0.1);
    }

    .plan-icon {
      font-size: 1.8rem;
      margin-bottom: 8px;
    }

    .plan-name {
      font-weight: bold;
      font-size: 1.1rem;
      color: white;
      margin-bottom: 5px;
    }

    .plan-price {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 8px;
    }

    .plan-status {
      font-size: 0.8rem;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: bold;
    }

    .current-plan {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
    }

    .free-plan .plan-status:not(.current-plan) {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
    }

    .pro-plan .plan-status {
      background: rgba(255, 215, 0, 0.2);
      color: #FFD700;
    }

    .premium-plan .plan-status {
      background: rgba(139, 92, 246, 0.2);
      color: #8B5CF6;
    }

    /* Pricing Modal Styles */
    .pricing-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(15px);
      z-index: 10004;
      animation: fadeIn 0.3s ease-out;
    }

    .pricing-modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
      border: 2px solid rgba(255, 107, 53, 0.6);
      border-radius: 20px;
      width: 90%;
      max-width: 500px;
      max-height: 90vh;
      overflow-y: auto;
      animation: slideUp 0.4s ease-out;
    }

    .pricing-modal-content.premium {
      border-color: rgba(139, 92, 246, 0.6);
    }

    .pricing-modal-header {
      text-align: center;
      padding: 30px 30px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
    }

    .plan-icon-large {
      font-size: 4rem;
      margin-bottom: 15px;
    }

    .pricing-modal-header h2 {
      color: #FF6B35;
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .premium .pricing-modal-header h2 {
      color: #8B5CF6;
    }

    .plan-price-large {
      font-size: 1.8rem;
      font-weight: bold;
      color: #FFD700;
    }

    .pricing-modal-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      font-size: 1.5rem;
      transition: color 0.3s ease;
    }

    .pricing-modal-close:hover {
      color: #FF6B35;
    }

    .pricing-modal-body {
      padding: 30px;
    }

    .features-section h3 {
      color: #FF6B35;
      font-size: 1.3rem;
      margin-bottom: 20px;
    }

    .premium .features-section h3 {
      color: #8B5CF6;
    }

    .feature-list {
      margin-bottom: 25px;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }

    .feature-icon {
      flex-shrink: 0;
      font-size: 1.2rem;
    }

    .feature-text {
      flex: 1;
      font-size: 0.95rem;
    }

    .feature-item.available .feature-text {
      color: white;
    }

    .feature-item.limited .feature-text {
      color: rgba(255, 193, 7, 0.9);
    }

    .feature-item.unavailable .feature-text {
      color: rgba(255, 255, 255, 0.5);
      text-decoration: line-through;
    }

    .feature-item.coming-soon .feature-text {
      color: rgba(139, 92, 246, 0.9);
    }

    .value-prop {
      margin: 20px 0;
    }

    .savings-highlight {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 15px;
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.3);
      border-radius: 10px;
      color: #22c55e;
      font-weight: bold;
    }

    .coming-soon-info {
      text-align: center;
      margin: 20px 0;
    }

    .beta-badge {
      display: inline-block;
      background: rgba(139, 92, 246, 0.2);
      color: #8B5CF6;
      padding: 8px 16px;
      border-radius: 20px;
      font-weight: bold;
      font-size: 0.9rem;
      margin-bottom: 15px;
    }

    .coming-soon-info p {
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.6;
    }

    .plan-action {
      text-align: center;
      margin-top: 25px;
    }

    .upgrade-btn {
      width: 100%;
      padding: 15px 20px;
      background: linear-gradient(45deg, #FFD700, #FFA500);
      color: #1a1a1a;
      border: none;
      border-radius: 10px;
      font-size: 1.1rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-bottom: 10px;
    }

    .upgrade-btn:hover {
      background: linear-gradient(45deg, #FFA500, #FF8C00);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }

    .upgrade-btn.primary {
      background: linear-gradient(45deg, #FF6B35, #F7931E);
      color: white;
    }

    .upgrade-btn.primary:hover {
      background: linear-gradient(45deg, #F7931E, #FF6B35);
      box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }

    .notify-btn {
      width: 100%;
      padding: 15px 20px;
      background: linear-gradient(45deg, #8B5CF6, #A855F7);
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 1.1rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-bottom: 10px;
    }

    .notify-btn:hover {
      background: linear-gradient(45deg, #7C3AED, #8B5CF6);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    }

    .money-back, .early-bird {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.6);
      margin: 0;
    }

    .plan-action p {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 15px;
    }

    /* Mobile responsiveness for pricing */
    @media (max-width: 480px) {
      .pricing-modal-content {
        width: 95%;
        margin: 20px;
      }

      .pricing-modal-header,
      .pricing-modal-body {
        padding: 20px;
      }

      .plan-icon-large {
        font-size: 3rem;
      }

      .pricing-modal-header h2 {
        font-size: 1.5rem;
      }

      .plan-price-large {
        font-size: 1.4rem;
      }
    }

    /* Spinning animation for loading states */
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 8px;
    }

    ::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.3);
      border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(255, 107, 53, 0.6);
      border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 107, 53, 0.8);
    }

    /* Premium TLD Dropdown Panel */
    .tld-dropdown {
      position: fixed;
      top: 72px;
      left: 20px;
      bottom: 120px;
      width: 350px;
      height: auto;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(139, 92, 246, 0.4);
      border-top: none;
      border-radius: 0 0 8px 8px;
      padding: 20px 12px;
      z-index: 300;
      display: none;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    }

    /* Name Generator Dropdown Panel (Right Side) */
    .name-dropdown {
      position: fixed;
      top: 72px;
      right: 80px;
      bottom: 120px;
      width: 300px;
      height: auto;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 215, 0, 0.4);
      border-top: none;
      border-radius: 0 0 8px 8px;
      padding: 20px 12px;
      z-index: 300;
      display: none;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    }

    .name-dropdown.show {
      display: flex;
      animation: slideDown 0.3s ease-out;
    }

    .tld-dropdown.show {
      display: flex;
      animation: slideDown 0.3s ease-out;
    }

    .website-tool-box {
      position: fixed;
      bottom: 20px;
      width: 300px;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(15px);
      border-radius: 8px;
      padding: 12px;
      z-index: 102;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
      text-align: center;
    }

    .website-builder-box {
      left: 20px;
      border: 1px solid rgba(34, 197, 94, 0.45);
    }

    .website-hosting-box {
      right: 80px;
      border: 1px solid rgba(56, 189, 248, 0.45);
    }

    .website-tool-btn {
      width: 100%;
      padding: 8px 12px;
      font-size: 0.75rem;
      border: none;
      border-radius: 6px;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      margin-bottom: 8px;
    }

    .website-builder-btn {
      background: linear-gradient(45deg, #16A34A, #22C55E);
      box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }

    .website-builder-btn:hover {
      background: linear-gradient(45deg, #15803D, #16A34A);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    }

    .website-hosting-btn {
      background: linear-gradient(45deg, #2563EB, #38BDF8);
      box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
    }

    .website-hosting-btn:hover {
      background: linear-gradient(45deg, #1D4ED8, #0EA5E9);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
    }

    .website-tool-box .description {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.65rem;
      line-height: 1.2;
    }

    .website-tool-dropup {
      position: fixed;
      bottom: 92px;
      width: 300px;
      height: auto;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(15px);
      border-radius: 8px 8px 0 0;
      padding: 12px;
      z-index: 300;
      display: none;
      flex-direction: column;
      gap: 10px;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
    }

    .website-builder-dropup {
      left: 20px;
      border: 1px solid rgba(34, 197, 94, 0.55);
      border-bottom: none;
    }

    .website-hosting-dropup {
      right: 80px;
      border: 1px solid rgba(56, 189, 248, 0.55);
      border-bottom: none;
    }

    .website-tool-dropup.show {
      display: flex;
      animation: slideUp 0.3s ease-out;
    }

    .website-tool-affiliate-link {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 11px 12px;
      background: rgba(0, 0, 0, 0.78);
      border: 1px solid rgba(255, 107, 53, 0.55);
      border-radius: 8px;
      color: #ffffff;
      font-size: 0.9rem;
      font-weight: 800;
      text-decoration: none;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
      transition: all 0.25s ease;
    }

    .website-tool-affiliate-link:hover {
      background: rgba(18, 8, 4, 0.92);
      border-color: rgba(255, 107, 53, 0.95);
      transform: translateY(-1px);
    }

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

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .tld-dropdown-header {
      text-align: center;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(139, 92, 246, 0.3);
      padding-bottom: 15px;
    }

    .tld-dropdown-title {
      color: #8B5CF6;
      font-size: 1.3rem;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .tld-dropdown-subtitle {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
    }

    h1.tld-dropdown-subtitle {
      margin: 0;
      font-weight: normal;
      line-height: inherit;
    }

    .tld-search-input {
      width: 100%;
      padding: 12px 15px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(139, 92, 246, 0.4);
      border-radius: 8px;
      color: white;
      font-size: 1rem;
      margin-bottom: 15px;
      outline: none;
      transition: all 0.3s ease;
    }

    .tld-search-input:focus {
      border-color: #8B5CF6;
      box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }

    .tld-quick-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-bottom: 20px;
    }

    .tld-quick-btn {
      background: rgba(139, 92, 246, 0.2);
      border: 1px solid rgba(139, 92, 246, 0.4);
      color: white;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.85rem;
      transition: all 0.3s ease;
    }

    .tld-quick-btn:hover {
      background: rgba(139, 92, 246, 0.4);
      border-color: #8B5CF6;
      transform: translateY(-1px);
    }

    .tld-results {
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    .tld-result-item {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(139, 92, 246, 0.2);
      border-radius: 6px;
      padding: 6px 8px;
      margin-bottom: 4px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: center;
      min-width: 0;
      width: 100%;
      box-sizing: border-box;
      text-align: center;
      min-height: 32px;
    }

    .tld-result-item:hover {
      background: rgba(139, 92, 246, 0.1);
      border-color: rgba(139, 92, 246, 0.5);
      transform: translateX(5px);
    }

    .tld-domain-name {
      color: white;
      font-weight: bold;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
      margin-right: 10px;
    }

    .tld-status {
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 0.8rem;
      font-weight: bold;
    }

    .tld-available {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
      border: 1px solid #22c55e;
    }

    .tld-taken {
      background: rgba(239, 68, 68, 0.2);
      color: #ef4444;
      border: 1px solid #ef4444;
    }

    .tld-results-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3px;
      max-width: 100%;
    }

    .alphabet-btn {
      background: rgba(139, 92, 246, 0.1);
      border: 1px solid rgba(139, 92, 246, 0.3);
      color: white;
      padding: 4px 8px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.8rem;
      font-weight: bold;
      transition: all 0.3s ease;
      min-width: 24px;
    }

    .alphabet-btn:hover {
      background: rgba(139, 92, 246, 0.3);
      border-color: #8B5CF6;
      transform: translateY(-1px);
    }

    .alphabet-btn.active {
      background: linear-gradient(45deg, #8B5CF6, #A855F7);
      border-color: #8B5CF6;
      box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    }

    /* Footer */
    .page-footer {
      background: #000;
      color: #666;
      text-align: center;
      padding: 40px 20px;
      margin-top: 50px;
      border-top: 1px solid #333;
      font-size: 0.9rem;
      line-height: 1.6;
      position: relative;
      z-index: 1;
      /* Optimize scrolling performance */
      transform: translateZ(0);
      will-change: transform;
    }

    /* When results are shown, add space above footer */
    .results-active .page-footer {
      margin-top: 500px;
    }

    .footer-content {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
    }

    .footer-logo {
      position: absolute;
      left: -240px;
      bottom: -20px;
      width: 120px;
      height: auto;
      opacity: 0.6;
      transition: all 0.3s ease;
    }

    .footer-logo:hover {
      opacity: 0.9;
      transform: scale(1.05);
    }

    .footer-links {
      margin-bottom: 20px;
    }

    .footer-links a {
      color: #FF6B35;
      text-decoration: none;
      margin: 0 15px;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #F7931E;
    }

    .footer-copyright {
      color: #444;
      font-size: 0.8rem;
      margin-top: 20px;
    }

    /* Full-Page Footer Modals */
    .footer-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-y: auto;
    }

    .footer-modal-content {
      background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(255,107,53,0.1));
      border: 2px solid rgba(255, 107, 53, 0.4);
      border-radius: 15px;
      padding: 40px;
      max-width: 800px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      color: white;
      position: relative;
      box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    }

    .footer-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      border-bottom: 1px solid rgba(255, 107, 53, 0.3);
      padding-bottom: 15px;
    }

    .footer-modal-title {
      color: #FF6B35;
      font-size: 2rem;
      font-weight: bold;
      margin: 0;
    }

    .footer-modal-close {
      background: rgba(255, 107, 53, 0.2);
      border: 1px solid #FF6B35;
      color: #FF6B35;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 1.5rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-modal-close:hover {
      background: rgba(255, 107, 53, 0.4);
      transform: scale(1.1);
    }

    .footer-modal-body {
      line-height: 1.6;
      font-size: 1rem;
    }

    .footer-modal-body h3 {
      color: #FFD700;
      margin: 25px 0 15px 0;
      font-size: 1.3rem;
    }

    .footer-modal-body p {
      margin-bottom: 15px;
      color: rgba(255, 255, 255, 0.9);
    }

    .footer-modal-body ul {
      margin: 15px 0;
      padding-left: 25px;
    }

    .footer-modal-body li {
      margin-bottom: 8px;
      color: rgba(255, 255, 255, 0.8);
    }

    /* Landing Video Overlay */
    .landing-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 13000;
      /* Gradient fallback when video doesn't load */
      background: linear-gradient(45deg,
        #000000 0%,
        #1a0a0a 25%,
        #2a1a1a 50%,
        #1a0a0a 75%,
        #000000 100%
      );
      /* Add subtle animated gradient overlay */
      background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
      background-size: 100% 100%, 100% 100%, 100% 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: opacity 1s ease-out;
    }

    .landing-overlay.fade-out {
      opacity: 0;
      pointer-events: none;
    }

    .landing-overlay.force-hide {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
      z-index: -9999 !important;
    }

    .landing-video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center top;
      background: #000;
    }

    /* Skip button for landing video */
    .skip-intro-button {
      position: absolute;
      top: 30px;
      right: 30px;
      background: rgba(0, 0, 0, 0.7);
      color: rgba(255, 255, 255, 0.8);
      border: 2px solid rgba(255, 107, 53, 0.6);
      border-radius: 25px;
      padding: 10px 20px;
      font-size: 0.9rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      z-index: 13001;
    }

    .skip-intro-button:hover {
      background: rgba(255, 107, 53, 0.8);
      color: white;
      border-color: #FF6B35;
      transform: translateY(-2px);
    }

    @media (max-width: 768px) {
      .skip-intro-button {
        top: 20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 0.8rem;
      }
    }

    /* Play Intro Button - In Footer */
    .play-intro-button {
      background: transparent;
      color: rgba(255, 107, 53, 0.8);
      border: 2px solid rgba(255, 107, 53, 0.6);
      border-radius: 20px;
      padding: 8px 16px;
      font-size: 0.8rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .play-intro-button:hover {
      background: rgba(255, 107, 53, 0.1);
      color: #FF6B35;
      border-color: #FF6B35;
      transform: translateY(-2px);
      box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }

    .play-intro-button .play-icon {
      font-size: 0.9rem;
    }

    /* Footer with Play Intro Button */
    .page-footer .footer-content {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .footer-intro-button {
      position: relative;
      top: 0;
      right: 0;
      margin-bottom: 15px;
      text-align: center;
    }

    /* Pricing Hover Tooltip */
    .pricing-tooltip {
      position: absolute;
      background: rgba(0, 0, 0, 0.95);
      border: 1px solid rgba(255, 107, 53, 0.6);
      border-radius: 8px;
      padding: 12px;
      color: white;
      font-size: 0.85rem;
      z-index: 1000;
      min-width: 200px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      display: none;
      pointer-events: none;
    }

    .tooltip-registrar {
      color: #FF6B35;
      font-weight: bold;
      font-size: 0.9rem;
      margin-bottom: 8px;
    }

    .tooltip-price {
      color: #22c55e;
      font-weight: bold;
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .tooltip-details {
      color: #cccccc;
      font-size: 0.75rem;
      line-height: 1.3;
    }

    /* Smooth fade-in animation class */
    .fade-in-smooth {
      transition: opacity 0.6s ease-out !important;
    }

/* CSP-safe iframe mode replacement for the old document.write style. */
.shinobi-iframe-mode #landingOverlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Route-state tool dropdown visibility without runtime style injection. */
@media (min-width: 1371px) {
  html.shinobi-route-tool-open .tld-dropdown.show,
  html.shinobi-route-tool-open .name-dropdown.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
