/* ===== Footer ===== */
.app-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #555555;
}

.footer-year {
    color: #555555;
}

.footer-separator {
    color: #444444;
}

.footer-discord-link {
    display: flex;
    align-items: center;
    color: #5865F2;
    transition: color 0.25s, transform 0.25s;
    text-decoration: none;
    line-height: 1;
}

.footer-discord-link:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.discord-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

/* ===== Notification System ===== */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.notification {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 50px;
}

.notification.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    line-height: 1.4;
}

.notification-content strong {
    color: #dc2626;
}

.notification.success {
    border-color: #22c55e;
}

.notification.success .notification-icon {
    color: #22c55e;
}

.notification.error {
    border-color: #dc2626;
}

.notification.error .notification-icon {
    color: #dc2626;
}

.notification.warning {
    border-color: #f59e0b;
}

.notification.warning .notification-icon {
    color: #f59e0b;
}

.notification.info {
    border-color: #3b82f6;
}

.notification.info .notification-icon {
    color: #3b82f6;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .notification-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
        width: auto;
    }
    .notification {
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
    }
}

/* ===== Responsive footer ===== */
@media (max-width: 600px) {
    .app-footer {
        font-size: 0.75rem;
        gap: 0.4rem;
    }
    .discord-icon {
        width: 18px;
        height: 18px;
    }
}

/* ===== Resto de estilos (sin cambios, pero los incluyo para completar) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(ellipse at 50% 0%, #0d0d0d 0%, #050505 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
}

#app {
    max-width: 700px;
    width: 100%;
    position: relative;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

header h1 {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #ffffff 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(239, 68, 68, 0.25);
    position: relative;
    display: inline-block;
}

.header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

.sign-in-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 0.4rem 1.2rem;
    color: #aaaaaa;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Inter', sans-serif;
}

.sign-in-btn:hover {
    border-color: #dc2626;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
}

.sign-in-btn.logged-in {
    border-color: #22c55e;
    color: #22c55e;
}

.sign-in-btn.logged-in:hover {
    background: rgba(34, 197, 94, 0.1);
}

.input-section {
    margin-bottom: 1.8rem;
}

.input-section label,
.mode-label,
.target-section h2,
.short-loadstring-section h2,
.output-header h2,
.login-modal-header h2,
.confirm-modal-header h2 {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #777777;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.input-section input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.input-section input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.15), inset 0 2px 4px rgba(0,0,0,0.4);
}

.mode-section {
    margin-bottom: 1.8rem;
}

.mode-buttons {
    display: flex;
    gap: 0.8rem;
}

.mode-btn {
    flex: 1;
    padding: 0.8rem 0;
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    color: #888888;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Inter', sans-serif;
}

.mode-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.mode-btn:hover:not(.active) {
    border-color: #dc2626;
    color: #ffffff;
    transform: translateY(-1px);
}

#secondLoadstring {
    margin-bottom: 1.8rem;
    transition: all 0.3s ease;
}

#secondLoadstring.hidden {
    display: none;
}

#secondLoadstring label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #777777;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

#secondLoadstring textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    min-height: 100px;
}

#secondLoadstring textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.1);
}

.target-section {
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(31, 31, 31, 0.6);
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    margin-bottom: 1.8rem;
    transition: border-color 0.3s;
}

.target-section:hover {
    border-color: #2a2a2a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    margin-bottom: 0;
    font-size: 0.7rem;
    color: #888888;
    letter-spacing: 0.12em;
}

.counter {
    font-size: 0.7rem;
    font-weight: 600;
    color: #aaaaaa;
    background: rgba(26, 26, 26, 0.6);
    padding: 0.2rem 0.9rem;
    border-radius: 30px;
    border: 1px solid #1f1f1f;
    backdrop-filter: blur(2px);
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-bar input {
    flex: 1;
    min-width: 120px;
    padding: 0.6rem 1rem;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.search-bar input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.1);
}

.search-bar input::placeholder {
    color: #444;
}

.search-bar button {
    padding: 0.6rem 1.4rem;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    color: #888888;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Inter', sans-serif;
}

.search-bar button:hover:not(:disabled) {
    border-color: #dc2626;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
}

.search-bar button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.rarity-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.filter-btn {
    padding: 0.3rem 0.9rem;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid #1f1f1f;
    border-radius: 20px;
    color: #888888;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    border-color: #dc2626;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
}

.filter-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.2rem 0;
    max-height: 180px;
    overflow-y: auto;
    align-content: flex-start;
}

.items-container.scrollable {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}

.items-container::-webkit-scrollbar {
    width: 4px;
}

.items-container::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-radius: 4px;
}

.items-container::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.pill {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(2px);
    border: 1px solid #1f1f1f;
    border-radius: 40px;
    padding: 0.35rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #aaaaaa;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.pill:hover {
    border-color: #dc2626;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.pill.selected {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.pill.selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.short-loadstring-section {
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(31, 31, 31, 0.6);
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    margin-bottom: 1.8rem;
    transition: border-color 0.3s;
    position: relative;
}

.short-loadstring-section:hover {
    border-color: #2a2a2a;
}

.short-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.short-header h2 {
    font-size: 0.7rem;
    color: #888888;
    letter-spacing: 0.12em;
    margin-bottom: 0.1rem;
}

.subtitle {
    font-size: 0.65rem;
    color: #555555;
    letter-spacing: 0.06em;
    font-weight: 400;
}

.guest-lock {
    margin-top: 0.8rem;
    padding: 0.6rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.8rem;
    text-align: center;
}

.guest-lock.hidden {
    display: none;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    user-select: none;
}

.toggle-switch.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.toggle-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888888;
    transition: color 0.3s;
}

.toggle-track {
    width: 48px;
    height: 26px;
    background: #1a1a1a;
    border-radius: 40px;
    position: relative;
    transition: background 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
    border: 1px solid #1f1f1f;
}

.toggle-thumb {
    display: block;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.toggle-switch.on .toggle-track {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.4);
}

.toggle-switch.on .toggle-thumb {
    transform: translateX(22px);
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.5);
}

.toggle-switch.on .toggle-label {
    color: #dc2626;
}

#generateBtn {
    width: 100%;
    padding: 1.2rem 0;
    background: linear-gradient(145deg, #b91c1c, #dc2626);
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

#generateBtn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

#generateBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.5);
}

#generateBtn:hover::after {
    opacity: 1;
}

#generateBtn:active {
    transform: translateY(0px) scale(0.98);
}

#generateBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

#outputSection {
    margin-top: 2rem;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(6px);
    border: 1px solid #dc2626;
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.15);
    transition: all 0.3s;
}

#outputSection.hidden {
    display: none;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.output-header h2 {
    font-size: 0.7rem;
    color: #888888;
    letter-spacing: 0.12em;
    margin-bottom: 0;
}

#copyBtn {
    background: transparent;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 0.4rem 1.2rem;
    color: #aaaaaa;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Inter', sans-serif;
}

#copyBtn:hover {
    border-color: #dc2626;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
}

#copyBtn.copied {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.output-container {
    background: #050505;
    border-radius: 12px;
    padding: 1rem;
    max-height: 400px;
    overflow: auto;
    border: 1px solid #1f1f1f;
}

.output-container::-webkit-scrollbar {
    width: 4px;
}

.output-container::-webkit-scrollbar-track {
    background: #0d0d0d;
}

.output-container::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
}

#outputCode {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #e5e5e5;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    line-height: 1.6;
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.login-modal.hidden {
    display: none;
}

/* Confirm Modal */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    animation: fadeIn 0.3s ease;
}

.confirm-modal.hidden {
    display: none;
}

.confirm-modal-content {
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    animation: slideUp 0.4s ease;
}

.confirm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.confirm-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.confirm-message {
    color: #aaaaaa;
    font-size: 1rem;
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.5;
}

.confirm-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.confirm-btn {
    padding: 0.7rem 2rem;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cancel-btn {
    background: transparent;
    color: #888888;
}

.cancel-btn:hover {
    border-color: #dc2626;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
}

.ok-btn {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.ok-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.login-modal-content {
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    animation: slideUp 0.4s ease;
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.login-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: #888888;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal-btn:hover {
    color: #ffffff;
}

.login-modal-subtitle {
    color: #888888;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    text-align: center;
}

.login-btn {
    width: 100%;
    padding: 0.9rem 0;
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.discord-btn {
    background: #5865F2;
    color: #ffffff;
    border-color: #5865F2;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-icon {
    font-size: 1.2rem;
}

.guest-btn {
    background: rgba(5, 5, 5, 0.6);
    color: #aaaaaa;
    border-color: #1f1f1f;
}

.guest-btn:hover {
    border-color: #dc2626;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.login-divider {
    display: flex;
    align-items: center;
    color: #444444;
    font-size: 0.75rem;
    margin: 1.2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #1f1f1f;
}

.login-divider::before {
    margin-right: 0.8rem;
}

.login-divider::after {
    margin-left: 0.8rem;
}

.guest-hint {
    text-align: center;
    color: #555555;
    font-size: 0.75rem;
    margin-top: 0.8rem;
}

/* ===== Notification System ===== */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.notification {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 50px;
}

.notification.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    line-height: 1.4;
}

.notification-content strong {
    color: #dc2626;
}

.notification.success {
    border-color: #22c55e;
}

.notification.success .notification-icon {
    color: #22c55e;
}

.notification.error {
    border-color: #dc2626;
}

.notification.error .notification-icon {
    color: #dc2626;
}

.notification.warning {
    border-color: #f59e0b;
}

.notification.warning .notification-icon {
    color: #f59e0b;
}

.notification.info {
    border-color: #3b82f6;
}

.notification.info .notification-icon {
    color: #3b82f6;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .notification-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
        width: auto;
    }
    .notification {
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
    }
}

/* ===== Responsive footer ===== */
@media (max-width: 600px) {
    .app-footer {
        font-size: 0.75rem;
        gap: 0.4rem;
    }
    .discord-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2.8rem;
    }
    .mode-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .search-bar input {
        min-width: 100%;
    }
    .search-bar button {
        flex: 1;
        text-align: center;
    }
    .items-container {
        max-height: 140px;
    }
    .target-section,
    .short-loadstring-section,
    #outputSection {
        padding: 1rem;
    }
    .short-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .toggle-switch {
        justify-content: flex-end;
    }
    .rarity-filters {
        gap: 0.3rem;
    }
    .filter-btn {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
    }
    .output-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    #copyBtn {
        align-self: flex-end;
    }
    .login-modal-content {
        padding: 1.8rem 1.2rem;
        margin: 1rem;
    }
    .confirm-modal-content {
        padding: 1.5rem 1.2rem;
        margin: 1rem;
    }
}

@media (max-width: 400px) {
    header h1 {
        font-size: 2.2rem;
    }
    .pill {
        font-size: 0.7rem;
        padding: 0.25rem 0.9rem;
    }
    .sign-in-btn {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
    }
}
