/* ── LOGIN SYSTEM ── */
/* ── LOGIN SYSTEM ── */
  .auth-btn {
    background: linear-gradient(135deg, #7B5FFF, #5a3fcf);
    color: #fff;
    border: none;
    padding: 6px 13px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Barlow', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .auth-btn:hover { background: linear-gradient(135deg, #9a7fff, #7B5FFF); transform: translateY(-1px); }

  .user-info {
    display: none;
    align-items: center;
    gap: 14px;
  }
  .coin-display {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(240,200,50,0.1);
    border: 1px solid rgba(240,200,50,0.25);
    padding: 5px 10px;
    border-radius: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #f0cc50;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .coin-display .coin-icon { font-size: 13px; }
  .username-display {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    white-space: nowrap;
  }
  .logout-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.4);
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .logout-btn:hover { border-color: rgba(255,100,100,0.5); color: rgba(255,100,100,0.8); }

  

/* ── MODAL ── */
/* ── MODAL ── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }
  .modal-overlay.show { display: flex; }
  .modal-box {
    background: none;
    border: 1px solid rgba(123,95,255,0.3);
    border-radius: 14px;
    padding: 0;
    width: 100%;
    max-width: 780px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 60px rgba(123,95,255,0.15);
    animation: modalIn 0.35s cubic-bezier(0.22,1,0.36,1);
    display: flex;
    overflow: hidden;
    min-height: 520px;
  }
  .modal-art {
    width: 48%;
    flex-shrink: 0;
    background-image: url('../img/modal-bg.jpg');
    background-size: cover;
    background-position: center top;
    position: relative;
  }
  .modal-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(10,8,28,0.95) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
  }
  .modal-art-label {
    position: absolute;
    bottom: 24px;
    left: 20px;
    z-index: 2;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  }
  .modal-art-title {
    position: absolute;
    bottom: 44px;
    left: 20px;
    z-index: 2;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
    line-height: 1.1;
  }
  .modal-form-side {
    flex: 1;
    background: linear-gradient(135deg, #0f0d2a 0%, #0a0818 100%);
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  @keyframes modalIn { from { opacity:0; transform:scale(0.92) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
  .modal-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none; border: none;
    color: rgba(255,255,255,0.35);
    font-size: 20px; cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
  }
  .modal-close:hover { color: #fff; }
  .modal-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
  }
  .modal-subtitle {
    font-size: 13px;
    color: rgba(200,200,230,0.5);
    margin-bottom: 28px;
  }
  .modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(123,95,255,0.2);
  }
  .modal-tab {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
  }
  .modal-tab.active { color: #7B5FFF; border-bottom-color: #7B5FFF; }
  .modal-form { display: none; }
  .modal-form.active { display: block; }
  .modal-field {
    margin-bottom: 16px;
  }
  .modal-field label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(200,200,230,0.5);
    margin-bottom: 6px;
    font-family: 'Barlow', sans-serif;
  }
  .modal-field input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(123,95,255,0.25);
    border-radius: 6px;
    padding: 11px 14px;
    color: #fff;
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }
  .modal-field input:focus { border-color: #7B5FFF; background: rgba(123,95,255,0.08); }
  .modal-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #7B5FFF, #5a3fcf);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
  }
  .modal-submit:hover { background: linear-gradient(135deg, #9a7fff, #7B5FFF); transform: translateY(-1px); }
  .modal-msg {
    text-align: center;
    font-size: 13px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 4px;
    display: none;
  }
  .modal-msg.error { display:block; color: #ff6060; background: rgba(255,60,60,0.1); border: 1px solid rgba(255,60,60,0.2); }
  .modal-msg.success { display:block; color: #60ff90; background: rgba(60,255,100,0.1); border: 1px solid rgba(60,255,100,0.2); }
  .modal-msg.info { display:block; color: #60b0ff; background: rgba(60,120,255,0.1); border: 1px solid rgba(60,120,255,0.2); }

/* ── PASSWORT VERGESSEN ── */
  .forgot-password-link {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 8px;
  }
  .forgot-password-link a {
    color: rgba(123,95,255,0.7);
    font-size: 12px;
    font-family: 'Barlow', sans-serif;
    text-decoration: none;
    transition: color 0.2s;
  }
  .forgot-password-link a:hover {
    color: #9a7fff;
    text-decoration: underline;
  }
  .forgot-info {
    font-size: 13px;
    color: rgba(200,200,230,0.6);
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: 'Barlow', sans-serif;
  }
  .forgot-back-link {
    text-align: center;
    margin-top: 16px;
  }
  .forgot-back-link a {
    color: rgba(123,95,255,0.6);
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    text-decoration: none;
    transition: color 0.2s;
  }
  .forgot-back-link a:hover {
    color: #9a7fff;
  }

  

/* ── COIN NOTIFICATION ── */
/* ── COIN NOTIFICATION ── */
  .coin-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1a1545, #0d0b1e);
    border: 1px solid rgba(240,200,50,0.4);
    border-radius: 10px;
    padding: 14px 22px;
    color: #f0cc50;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 9998;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
  }
  .coin-toast.show { transform: translateY(0); opacity: 1; }
