/* Minecraft-inspired Custom Styles */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

/* Minecraft-style buttons - Voxel/Blocky 3D */
.minecraft-btn {
    position: relative;
    background: #5a5a5a;
    border: none;
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease;
    text-shadow: 2px 2px 0 #000;
    box-shadow:
        inset -4px -4px 0px 0px #3d3d3d,
        inset 4px 4px 0px 0px #8b8b8b,
        0px 4px 0px 0px #2a2a2a;
    image-rendering: pixelated;
}

.minecraft-btn:hover {
    background: #6a6a6a;
    transform: translateY(-2px);
    box-shadow:
        inset -4px -4px 0px 0px #4d4d4d,
        inset 4px 4px 0px 0px #9b9b9b,
        0px 6px 0px 0px #2a2a2a;
}

.minecraft-btn:active {
    transform: translateY(2px);
    box-shadow:
        inset -4px -4px 0px 0px #3d3d3d,
        inset 4px 4px 0px 0px #8b8b8b,
        0px 2px 0px 0px #2a2a2a;
}

.minecraft-btn.primary {
    background: #4CAF50;
    box-shadow:
        inset -4px -4px 0px 0px #3a9f40,
        inset 4px 4px 0px 0px #6CBF60,
        0px 4px 0px 0px #2a8f30;
}

.minecraft-btn.primary:hover {
    background: #5CBF50;
    box-shadow:
        inset -4px -4px 0px 0px #4aaf40,
        inset 4px 4px 0px 0px #7CCF60,
        0px 6px 0px 0px #2a8f30;
}

.minecraft-btn.secondary {
    background: #8B4513;
    box-shadow:
        inset -4px -4px 0px 0px #6B3513,
        inset 4px 4px 0px 0px #AB5523,
        0px 4px 0px 0px #5B2513;
}

.minecraft-btn.secondary:hover {
    background: #9B5523;
    box-shadow:
        inset -4px -4px 0px 0px #7B4513,
        inset 4px 4px 0px 0px #BB6533,
        0px 6px 0px 0px #5B2513;
}

/* Minecraft-style cards */
.minecraft-card {
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
    border: 4px solid;
    border-color: #5a5a5a #3d3d3d #3d3d3d #5a5a5a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Minecraft-style input */
.minecraft-input {
    background: #1a1a1a;
    border: 3px solid;
    border-color: #5a5a5a #3d3d3d #3d3d3d #5a5a5a;
    color: white;
    font-family: 'Open Sans', sans-serif;
    padding: 10px 15px;
    font-size: 1rem;
}

.minecraft-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

/* Pixel art decorations */
.pixel-border {
    border: 4px solid #4CAF50;
    box-shadow:
        0 0 0 2px #1a1a1a,
        0 0 0 4px #4CAF50;
}

/* Minecraft-style section headers */
.section-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4CAF50, #8B4513, #FFD700);
}

/* Copy button animation */
.copy-btn {
    transition: all 0.2s ease;
}

.copy-btn.copied {
    background: #4CAF50 !important;
    color: white !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Minecraft-style list items */
.minecraft-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.minecraft-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 1.2em;
}

/* News card hover effect */
.news-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Server status indicator */
.status-online {
    background: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
}

.status-offline {
    background: #f44336;
    box-shadow: 0 0 10px #f44336;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .minecraft-btn {
        font-size: 0.6rem;
        padding: 10px 16px;
    }
}

/* Loading animation */
@keyframes pixelPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pixelPulse 1s ease-in-out infinite;
}
