/* Preloader with consistent design system */
.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #18181b;
    /* zinc-900 */
}

.preloader-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.preloader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

/* Logo Animation */
.preloader-logo {
    animation: logo-entrance 1.5s ease-out;
}

/* Logo blocks with refined styling */
.minecraft-blocks-logo {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    animation: blocks-entrance 1.2s ease-out 0.3s both;
}

.logo-block {
    width: 56px;
    height: 56px;
    position: relative;
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.25),
        inset -4px -4px 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 rgba(255, 255, 255, 0.2);
    animation: block-build 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.block-c {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    animation-delay: 0.2s;
}

.block-o {
    background: linear-gradient(145deg, #10b981, #059669);
    animation-delay: 0.4s;
}

.block-c2 {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    animation-delay: 0.6s;
}

.block-o2 {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    animation-delay: 0.8s;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes blocks-entrance {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes block-build {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotateX(90deg) scale(0.5);
    }

    50% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1.15);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

/* Title with enhanced animations */
.preloader-title {
    font-family: 'Minecraft', monospace;
    font-size: 4rem;
    margin: 0 0 20px 0;
    line-height: 1;
    animation: title-entrance 1s ease-out 0.8s both;
}

.title-part {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
    animation: title-glow 2s ease-in-out infinite alternate;
}

.title-part-1 {
    animation-delay: 0s;
}

.title-part-2 {
    animation-delay: 0.2s;
}

@keyframes title-entrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes title-glow {
    0% {
        text-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
        transform: scale(1);
    }

    100% {
        text-shadow: 0 4px 20px rgba(245, 158, 11, 0.6), 0 0 30px rgba(245, 158, 11, 0.4);
        transform: scale(1.02);
    }
}

/* Subtitle with lines */
.preloader-subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: subtitle-entrance 1s ease-out 1.2s both;
}

.subtitle-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    animation: line-expand 1.5s ease-out 1.5s both;
}

.subtitle-line-left {
    background: linear-gradient(90deg, transparent, #f59e0b);
}

.subtitle-line-right {
    background: linear-gradient(90deg, #f59e0b, transparent);
}

.preloader-subtitle {
    font-family: 'Minecraft', monospace;
    font-size: 1.125rem;
    color: #d1d5db;
    font-weight: 300;
    letter-spacing: 0.05em;
}

@keyframes subtitle-entrance {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-expand {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 60px;
        opacity: 1;
    }
}

/* Skip Button with hero button styling */
.skip-preloader-refined {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    background: rgba(24, 24, 27, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(63, 63, 70, 0.4);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    font-size: 0.9rem;
    cursor: pointer;
    animation: skip-button-entrance 1s ease-out 2s both;
}

.skip-preloader-refined:hover {
    background: rgba(24, 24, 27, 0.9);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.skip-preloader-refined .hero-button-content-refined {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.skip-preloader-refined .hero-button-glow-refined {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skip-preloader-refined:hover .hero-button-glow-refined {
    transform: translateX(100%);
}

@keyframes skip-button-entrance {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .minecraft-blocks-logo {
        gap: 8px;
        margin-bottom: 24px;
    }

    .logo-block {
        width: 44px;
        height: 44px;
    }

    .preloader-title {
        font-size: 2.5rem;
    }

    .subtitle-line {
        width: 40px;
    }

    .preloader-subtitle {
        font-size: 1rem;
    }

    .skip-preloader-refined {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .preloader-title {
        font-size: 5rem;
    }

    .logo-block {
        width: 64px;
        height: 64px;
    }

    .minecraft-blocks-logo {
        gap: 16px;
        margin-bottom: 40px;
    }
}

/* Preloader Exit Animation */
.preloader-exit {
    animation: preloader-fade-out 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloader-fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
        visibility: hidden;
    }
}

/* Hover effects for logo blocks */
.logo-block:hover {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-block::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.logo-block:hover::after {
    transform: translateX(100%);
}

/* Animated Particles */
.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #f59e0b, #eab308);
    border-radius: 50%;
    animation: float-particles 6s infinite linear;
}

.particle-1 {
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    left: 20%;
    animation-delay: 1s;
}

.particle-3 {
    left: 30%;
    animation-delay: 2s;
}

.particle-4 {
    left: 60%;
    animation-delay: 3s;
}

.particle-5 {
    left: 80%;
    animation-delay: 4s;
}

.particle-6 {
    left: 90%;
    animation-delay: 5s;
}

@keyframes float-particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Glow Animation */
@keyframes pulse-glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
    }

    50% {
        text-shadow: 0 0 30px rgba(245, 158, 11, 0.8), 0 0 40px rgba(245, 158, 11, 0.6);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradient-x {

    0%,
    100% {
        background-size: 200% 200%;
        background-position: left center;
    }

    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

.animate-gradient-x {
    animation: gradient-x 3s ease infinite;
}

/* Stats Cards */
.stat-card-refined {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(63, 63, 70, 0.3);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-refined:hover {
    background: rgba(24, 24, 27, 0.8);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon-refined {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.stat-card-refined:hover .stat-icon-refined {
    transform: scale(1.1) rotate(5deg);
}

/* Hero Buttons */
.hero-button-refined {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 180px;
    font-size: 0.95rem;
}

.hero-button-content-refined {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.hero-button-primary {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    color: white;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.hero-button-secondary {
    background: rgba(24, 24, 27, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(63, 63, 70, 0.4);
}

.hero-button-secondary:hover {
    background: rgba(24, 24, 27, 0.9);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-button-glow-refined {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-button-primary:hover .hero-button-glow-refined {
    transform: translateX(100%);
}

/* Server IP */
.server-ip-refined {
    position: relative;
    padding: 16px 20px 12px;
    background: rgba(24, 24, 27, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(63, 63, 70, 0.3);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 350px;
    margin: 0 auto;
}

.server-ip-refined:hover {
    background: rgba(24, 24, 27, 0.6);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Step Cards */
.step-card {
    position: relative;
    background: rgba(24, 24, 27, 0.8);
    border: 1px solid rgba(63, 63, 70, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f59e0b, #eab308);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-family: 'Minecraft', monospace;
}

.step-icon {
    margin: 20px 0;
}

/* Feature Cards */
.feature-card {
    background: rgba(24, 24, 27, 0.8);
    border: 1px solid rgba(63, 63, 70, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f59e0b, #eab308, #f59e0b, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    margin-top: 1rem;
}

/* Mini Feature Cards */
.mini-feature-card {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(63, 63, 70, 0.3);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.mini-feature-card:hover {
    background: rgba(24, 24, 27, 0.8);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid #f59e0b;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-bottom: 8px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .hero-button-refined {
        min-width: 160px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .stat-card-refined {
        padding: 10px 12px;
    }

    .stat-icon-refined {
        width: 32px;
        height: 32px;
    }

    .step-card,
    .feature-card {
        padding: 24px 16px;
    }
}

@media (min-width: 1024px) {
    .server-ip-refined {
        margin: 0;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card-refined:nth-child(1) {
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.stat-card-refined:nth-child(2) {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.stat-card-refined:nth-child(3) {
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.hero-button-refined:nth-child(1) {
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.hero-button-refined:nth-child(2) {
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.server-ip-refined {
    animation: slideInUp 0.6s ease-out 0.6s both;
}

/* Minecraft Particles Background */
.minecraft-particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.minecraft-particles-bg::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f59e0b;
    box-shadow:
        200px 300px #f59e0b, 400px 100px #eab308, 600px 400px #f59e0b,
        800px 200px #eab308, 300px 500px #f59e0b, 700px 350px #eab308,
        100px 450px #f59e0b, 900px 150px #eab308, 500px 250px #f59e0b;
    animation: minecraft-sparkle 4s infinite linear;
}

@keyframes minecraft-sparkle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ...existing code... */

/* Minecraft Interface - Exact Recreation */
.minecraft-interface-container {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 40px auto 0;
    position: relative;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    font-family: 'Minecraft', monospace;
}

.minecraft-main-menu {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Dirt Pattern Background */
.minecraft-dirt-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #846456;
    background-image:
        radial-gradient(circle at 25% 25%, #9b7463 0%, #9b7463 25%, transparent 25%),
        radial-gradient(circle at 75% 25%, #6b4b3a 0%, #6b4b3a 25%, transparent 25%),
        radial-gradient(circle at 25% 75%, #a67c6a 0%, #a67c6a 25%, transparent 25%),
        radial-gradient(circle at 75% 75%, #7a553f 0%, #7a553f 25%, transparent 25%),
        linear-gradient(45deg, #846456 0%, #9b7463 50%, #846456 100%);
    background-size: 32px 32px, 32px 32px, 32px 32px, 32px 32px, 16px 16px;
    background-position: 0 0, 16px 0, 0 16px, 16px 16px, 0 0;
    z-index: 1;
}

/* Panoramic Background */
.minecraft-panorama {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    z-index: 2;
}

.panorama-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform-style: preserve-3d;
    animation: rotatePanorama 120s infinite linear;
    transform-origin: center center;
}

.panorama-face {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
}

.panorama-face.front {
    transform: translateZ(100px);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InNreSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM4N0NFRkEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MzlBRjciLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNza3kpIi8+PC9zdmc+');
}

.panorama-face.back {
    transform: rotateY(180deg) translateZ(100px);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1zbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InNreTIiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNjM5QUY3Ii8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjODdDRUZBIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9InVybCgjc2t5MikiLz48L3N2Zz4=');
}

.panorama-face.right {
    transform: rotateY(90deg) translateZ(100px);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1zbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InNreTMiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM4N0NFRkEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MzlBRjciLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNza3kzKSIvPjwvc3ZnPg==');
}

.panorama-face.left {
    transform: rotateY(-90deg) translateZ(100px);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1zbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InNreTQiIHgxPSIxMDAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM2MzlBRjciLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4N0NFRkEiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNza3k0KSIvPjwvc3ZnPg==');
}

.panorama-face.top {
    transform: rotateX(90deg) translateZ(100px);
    background: #87CEFA;
}

.panorama-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
    background: #639AF7;
}

@keyframes rotatePanorama {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg) rotateX(10deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(360deg) rotateX(10deg);
    }
}

/* Dark Overlay */
.minecraft-main-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
}

/* Minecraft Logo */
.minecraft-logo {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.logo-minecraft {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow:
        4px 4px 0px #000000,
        0 0 8px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'Minecraft', monospace;
}

.logo-edition {
    font-size: 16px;
    color: #FFFF55;
    text-shadow: 2px 2px 0px #000000;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo-version {
    color: #FFFF55;
    font-size: 14px;
    text-shadow: 2px 2px 0px #000000;
    margin-top: 5px;
    font-style: italic;
    opacity: 0.9;
}

/* Yellow Splash Text */
.minecraft-splash {
    position: absolute;
    top: 120px;
    right: 80px;
    z-index: 15;
    transform-origin: bottom left;
    animation: splashRotate 4s ease-in-out infinite;
}

.minecraft-splash span {
    display: block;
    font-size: 20px;
    color: #FFFF55;
    text-shadow: 2px 2px 0px #000000;
    font-weight: bold;
    transform: rotate(-20deg);
    white-space: nowrap;
}

@keyframes splashRotate {

    0%,
    100% {
        transform: rotate(-20deg) scale(1);
    }

    25% {
        transform: rotate(-18deg) scale(1.05);
    }

    50% {
        transform: rotate(-22deg) scale(1.1);
    }

    75% {
        transform: rotate(-18deg) scale(1.05);
    }
}

/* Menu Center Container */
.minecraft-menu-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.menu-button-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 400px;
}

/* Enhanced Minecraft Buttons */
.minecraft-button {
    background: linear-gradient(180deg, #C6C6C6 0%, #8B8B8B 100%);
    border: none;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #555555;
    border-bottom: 2px solid #555555;
    color: #383838;
    font-family: 'Minecraft', monospace;
    font-size: 20px;
    font-weight: normal;
    padding: 0;
    height: 40px;
    cursor: pointer;
    transition: all 0.1s ease;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 0 #555555;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minecraft-button.primary {
    background: linear-gradient(180deg, #7FFF7F 0%, #32CD32 100%);
    border-top-color: #9FFF9F;
    border-left-color: #9FFF9F;
    border-right-color: #228B22;
    border-bottom-color: #228B22;
    box-shadow: 0 6px 0 #228B22;
}

.minecraft-button.small {
    width: auto;
    min-width: 80px;
    height: 32px;
    font-size: 16px;
    padding: 0 12px;
}

.minecraft-button:hover {
    background: linear-gradient(180deg, #D6D6D6 0%, #9B9B9B 100%);
    transform: translateY(2px);
    box-shadow: 0 4px 0 #555555;
}

.minecraft-button.primary:hover {
    background: linear-gradient(180deg, #8FFF8F 0%, #42DD42 100%);
    box-shadow: 0 4px 0 #228B22;
}

.minecraft-button:active {
    transform: translateY(6px);
    box-shadow: none;
}

.button-icon {
    font-size: 18px;
    filter: grayscale(100%) brightness(0.3);
}

/* Bottom Menu */
.minecraft-bottom-menu {
    position: absolute;
    bottom: 60px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
}

.bottom-left {
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

.bottom-right {
    display: flex;
    gap: 4px;
}

/* Copyright */
.minecraft-copyright {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-family: 'Minecraft', monospace;
    z-index: 10;
    opacity: 0.9;
}

/* Server Connection Interface */
.minecraft-server-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Minecraft', monospace;
}

.server-interface-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.server-interface-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80%;
    max-height: 600px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border: 3px solid #4a5568;
    border-radius: 0;
    box-shadow:
        0 0 0 2px #718096,
        inset 0 0 0 2px #a0aec0,
        0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.server-interface-content.small {
    max-width: 500px;
    height: auto;
    max-height: 400px;
}

.server-interface-header {
    background: linear-gradient(145deg, #4a5568, #2d3748);
    border-bottom: 2px solid #718096;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-interface-title {
    color: #e2e8f0;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.server-interface-close {
    background: none;
    border: none;
    color: #cbd5e0;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.server-interface-close:hover {
    color: #f56565;
}

/* Server List */
.server-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.server-list-header {
    background: linear-gradient(145deg, #374151, #1f2937);
    border-bottom: 1px solid #4b5563;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-list-title {
    color: #d1d5db;
    font-size: 14px;
    font-weight: bold;
}

.server-list-actions {
    display: flex;
    gap: 8px;
}

.server-entries {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    background: linear-gradient(145deg, #1a202c, #2d3748);
}

/* Server Entry */
.server-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: linear-gradient(145deg, #2d3748, #4a5568);
    border: 2px solid #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.server-entry:hover {
    background: linear-gradient(145deg, #374151, #4b5563);
    border-color: #6b7280;
    transform: translateY(-2px);
}

.server-entry.featured {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px #f59e0b, 0 0 20px rgba(245, 158, 11, 0.3);
}

.server-entry.featured::before {
    content: '⭐';
    position: absolute;
    top: -8px;
    left: -8px;
    background: #f59e0b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.server-entry.offline {
    opacity: 0.6;
    cursor: not-allowed;
}

.server-entry.offline:hover {
    transform: none;
    background: linear-gradient(145deg, #2d3748, #4a5568);
    border-color: #4a5568;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #4a5568;
    overflow: hidden;
    background: #1a202c;
    image-rendering: pixelated;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.server-name {
    color: #e2e8f0;
    font-size: 16px;
    font-weight: bold;
}

.server-description {
    color: #9ca3af;
    font-size: 14px;
}

.server-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.server-ping {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ping-bars {
    display: flex;
    gap: 1px;
    align-items: flex-end;
}

.ping-bar {
    width: 3px;
    background: #4b5563;
    border-radius: 1px;
}

.ping-bar:nth-child(1) {
    height: 6px;
}

.ping-bar:nth-child(2) {
    height: 8px;
}

.ping-bar:nth-child(3) {
    height: 10px;
}

.ping-bar:nth-child(4) {
    height: 12px;
}

.ping-bar:nth-child(5) {
    height: 14px;
}

.ping-bar.active {
    background: #10b981;
}

.ping-ms {
    color: #9ca3af;
    font-size: 12px;
}

.server-players {
    color: #d1d5db;
    font-size: 14px;
}

.server-offline {
    color: #ef4444;
    font-size: 14px;
}

/* Connection Panel */
.connection-panel {
    background: linear-gradient(145deg, #374151, #1f2937);
    border-top: 2px solid #4b5563;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6b7280;
}

.status-dot.connected {
    background: #10b981;
    animation: status-pulse 2s ease-in-out infinite;
}

.status-dot.connecting {
    background: #f59e0b;
    animation: status-pulse 1s ease-in-out infinite;
}

.status-dot.disconnected {
    background: #ef4444;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.connection-actions {
    display: flex;
    gap: 12px;
}

/* Add Server Form */
.add-server-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: bold;
}

.minecraft-input {
    background: linear-gradient(145deg, #1a202c, #2d3748);
    border: 2px solid #4a5568;
    color: #e2e8f0;
    padding: 12px 16px;
    font-family: 'Minecraft', monospace;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.minecraft-input:focus {
    outline: none;
    border-color: #f59e0b;
}

.minecraft-input::placeholder {
    color: #6b7280;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .server-interface-content {
        width: 95%;
        height: 85%;
    }

    .server-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .server-status {
        align-items: flex-start;
    }

    .connection-panel {
        flex-direction: column;
        gap: 16px;
    }

    .connection-actions {
        width: 100%;
        justify-content: stretch;
    }

    .connection-actions .minecraft-button {
        flex: 1;
    }
}

/* Animation for interface opening */
@keyframes interfaceSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.minecraft-server-interface {
    animation: interfaceSlideIn 0.3s ease-out;
}