:root {
    --bg-color: #0a0d10;
    --text-color: #fff4e6; /* warm white */
    --primary-color: #06d6a0; /* neon green */
    --secondary-color: #ff9800; /* warm orange */
    --warning: #ffcc00;
    --card-bg: rgba(18, 22, 27, 0.75);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    --accent-color: #ffb84d; /* golden highlight */
    --border-strong: rgba(255, 184, 77, 0.35);
}

body {
    background: radial-gradient(1200px 600px at 10% 10%, #121417 0%, #0a0d10 60%) no-repeat,
                repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 6px);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1, h2, label {
    color: var(--text-color);
    text-shadow: 0 2px 18px rgba(255, 152, 0, 0.22), 0 0 2px rgba(6, 214, 160, 0.45);
}

.form-container {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    width: 92%;
    max-width: 1100px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 200, 150, 0.10);
}

input, select, textarea, button {
    background-color: rgba(22, 27, 34, 0.85);
    color: var(--text-color);
    border: 1px solid rgba(255, 168, 76, 0.25);
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 12px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.25);
    border-color: var(--secondary-color);
}

button.modern-button {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #1a1005;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
    width: auto;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.25);
}

button.modern-button:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.05);
}

.prefix-preview {
    font-family: 'Press Start 2P', monospace;
    padding: 10px;
    border-radius: 12px;
    background-color: rgba(18,22,27,.5);
    border: 1px solid rgba(255,184,77,.25);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.color-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.input-container input[type="color"] {
    width: 40px;
    padding: 0;
}

.trash-icon {
    background: transparent;
    border: none;
    color: #ff5555;
    font-size: 16px;
    cursor: pointer;
    padding: 0 8px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Minecraft Tooltip Style */
.tooltip-container {
    display: flex;
    align-items: flex-start;
    background: rgba(18, 22, 27, 0.95);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 8px;
    margin-top: 20px;
    max-width: 300px;
    box-shadow: 0 0 10px #000;
}

.tooltip-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    image-rendering: pixelated;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
}

.tooltip-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.2em;
    white-space: pre-wrap;
}

.tooltip-lore {
    font-size: 11px;
    color: var(--accent-color);
    line-height: 1;
	font-size: 12px;
    font-family: 'Press Start 2P', monospace;
    white-space: pre-wrap;
}
