.tool-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border: 4px solid #4a4a4a;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.finder-interface {
    background: rgba(30, 30, 30, 0.9);
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #5c5c5c;
    margin-bottom: 30px;
}

.finder-interface h2 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 2px 2px #000;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #ddd;
    margin-bottom: 8px;
    font-weight: bold;
}

.minecraft-input, .minecraft-select {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 2px solid #666;
    color: #fff;
    font-family: 'Minecraft', sans-serif;
    font-size: 16px;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.minecraft-input:focus, .minecraft-select:focus {
    border-color: #ffd700;
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}

.minecraft-btn {
    width: 100%;
    padding: 15px;
    background: #4caf50;
    border: none;
    border-bottom: 4px solid #2e7d32;
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.minecraft-btn:active {
    transform: translateY(4px);
    border-bottom: none;
    margin-bottom: 4px;
}

.minecraft-btn:hover {
    background: #5cb860;
}

.results-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #444;
}

.results-container h3 {
    color: #55ff55;
    margin-bottom: 15px;
    border-bottom: 2px solid #555;
    padding-bottom: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.result-card {
    background: #333;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #555;
    text-align: center;
}

.coord-display {
    font-size: 18px;
    color: #ffd700;
    font-family: monospace;
    margin: 10px 0;
}

.copy-cmd-btn {
    background: #555;
    border: 1px solid #777;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}

.copy-cmd-btn:hover {
    background: #666;
}

.guide-section {
    margin-top: 40px;
}

.guide-card {
    background: rgba(40, 40, 40, 0.8);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #ffd700;
}

.guide-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.guide-card code {
    display: block;
    background: #111;
    padding: 10px;
    border-radius: 4px;
    color: #55ff55;
    font-family: monospace;
    margin: 10px 0;
}

.guide-card ul {
    padding-left: 20px;
    color: #ccc;
}

.guide-card li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Feature Grid Styles */
.features-section {
    margin-bottom: 30px;
}

.features-section h2 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(40, 40, 40, 0.8);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #555;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-color: #ffd700;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.feature-card h3 {
    color: #55ff55;
    margin-bottom: 10px;
}

.feature-card p {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Micro-interactions for Result Cards */
.result-card {
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    background: #444;
    transform: scale(1.02);
    border-color: #ffd700;
}

.copy-cmd-btn {
    transition: background 0.2s;
}

.copy-cmd-btn.copied {
    background: #4caf50;
    border-color: #4caf50;
}

/* Loading Animation Section */
.scanning-panel {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #444;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.scanning-panel.active {
    display: flex;
}

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

.radar-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(85, 255, 85, 0.1);
    border-top: 3px solid #55ff55;
    border-radius: 50%;
    animation: radar-spin 1s linear infinite;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(85, 255, 85, 0.2);
    position: relative;
}

.radar-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: rgba(85, 255, 85, 0.2);
    border-radius: 50%;
    animation: radar-pulse 1.5s ease-in-out infinite;
}

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

@keyframes radar-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

.loading-text {
    color: #55ff55;
    font-family: 'Minecraft', monospace;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(85, 255, 85, 0.6);
    animation: text-pulse 1.5s ease-in-out infinite;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

@keyframes text-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loading-progress {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #444;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    animation: progress-fill 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

@keyframes progress-fill {
    0% { width: 0%; transform: translateX(-100%); }
    50% { width: 70%; }
    100% { width: 100%; transform: translateX(100%); }
}
