.pg-app-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem;
    perspective: 1000px;
  }

  .pg-card {
    position: relative;
    border-radius: 2rem;
    padding: 2px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05)
    );
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }

  .theme-dark .pg-card {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.2)
    );
  }

  .pg-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    opacity: 0.1;
    filter: blur(20px);
    z-index: -1;
  }

  .pg-card-content {
    background: #fff;
    border-radius: calc(2rem - 2px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
  }

  .theme-dark .pg-card-content {
    background: #0f172a;
  }

  .pg-divider {
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(0, 0, 0, 0.05),
      transparent
    );
    margin: 1.5rem 0;
  }

  .theme-dark .pg-divider {
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent
    );
  }

  @keyframes pulse-success {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }

  .pg-copied-anim {
    animation: pulse-success 0.3s ease-out;
  }
/* Config.astro */
.pg-config-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .theme-dark .pg-config-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .pg-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .pg-config-label {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
  }

  .theme-dark .pg-config-label {
    color: #94a3b8;
  }

  .pg-config-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b82f6;
  }

  .pg-range-input {
    width: 100%;
    margin-bottom: 0.5rem;
    cursor: pointer;
    accent-color: #3b82f6;
  }

  .pg-range-markers {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
  }

  .pg-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  @media (max-width: 480px) {
    .pg-options-grid {
      grid-template-columns: 1fr;
    }
  }

  .pg-option-item {
    cursor: pointer;
    position: relative;
  }

  .pg-option-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .pg-option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    transition: all 0.2s ease;
  }

  .theme-dark .pg-option-content {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .pg-option-item:hover .pg-option-content {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .theme-dark .pg-option-item:hover .pg-option-content {
    background: rgba(30, 41, 59, 0.6);
  }

  .pg-option-checkbox:checked + .pg-option-content {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
  }

  .theme-dark .pg-option-checkbox:checked + .pg-option-content {
    background: rgba(16, 185, 129, 0.1);
  }

  .pg-option-indicator {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white;
  }

  .theme-dark .pg-option-indicator {
    border-color: #475569;
  }

  .pg-option-checkbox:checked + .pg-option-content .pg-option-indicator {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
  }

  .pg-option-indicator svg {
    width: 0.875rem;
    height: 0.875rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .pg-option-checkbox:checked + .pg-option-content .pg-option-indicator svg {
    opacity: 1;
    transform: scale(1);
  }

  .pg-option-info {
    display: flex;
    flex-direction: column;
  }

  .pg-option-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
  }

  .theme-dark .pg-option-label {
    color: #e2e8f0;
  }

  .pg-option-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
  }

/* Display.astro */
.pg-display {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .pg-display-glass {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    border-radius: 1.25rem;
    opacity: 0.15;
    filter: blur(8px);
    transition: opacity 0.3s ease;
  }

  .pg-display:hover .pg-display-glass {
    opacity: 0.25;
  }

  .pg-display-content {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    padding: 0.75rem;
    min-height: 5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  }

  .theme-dark .pg-display-content {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  }

  .pg-output-text {
    flex: 1;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    color: #1e293b;
    word-break: break-all;
    padding: 0.5rem 1rem;
    transition: transform 0.2s ease;
  }

  .theme-dark .pg-output-text {
    color: #f8fafc;
  }

  .pg-display-divider {
    width: 1px;
    height: 3rem;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 0.5rem;
  }

  .theme-dark .pg-display-divider {
    background: rgba(255, 255, 255, 0.1);
  }

  .pg-display-controls {
    display: flex;
    gap: 0.5rem;
    padding-right: 0.25rem;
  }

  .pg-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .pg-control-btn svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .pg-control-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #10b981;
    transform: translateY(-2px);
  }

  .theme-dark .pg-control-btn:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .pg-control-btn-accent:hover {
    color: #3b82f6;
  }

  .pg-control-btn:active {
    transform: translateY(0);
  }

  @media (max-width: 480px) {
    .pg-output-text {
      font-size: 1.25rem;
    }
  }

/* Strength.astro */
.pg-strength-container {
    width: 100%;
    margin-bottom: 2rem;
  }

  .pg-strength-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.75rem;
  }

  .pg-strength-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
  }

  .pg-strength-status {
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
  }

  .pg-strength-track {
    position: relative;
    height: 0.5rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    overflow: hidden;
  }

  .theme-dark .pg-strength-track {
    background: rgba(255, 255, 255, 0.05);
  }

  .pg-strength-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: 1rem;
    background: #ef4444;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
