@keyframes slotSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-100% + 100px)); }
}

.slot-machine {
    height: 100px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 0, 0, 0.1); /* Neon red background */
    border: 2px solid rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8); /* Neon red glow */
}

.slot-items {
    position: absolute;
    width: 100%;
    animation: slotSpin 3s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
    background: rgba(255, 0, 0, 0.1); /* Neon red background for items */
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 1); /* Neon red */
    box-shadow: 0 0 10px 5px rgba(255, 0, 0, 0.8); /* Neon red glow */
    animation: firework 1s ease-out;
    opacity: 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.logo-container img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(128, 0, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 50;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.menu-toggle:hover {
    background: rgba(120, 0, 255, 0.5);
    transform: scale(1.1);
}

/* Menu Container */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: rgba(20, 0, 50, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 20px rgba(100, 0, 200, 0.6);
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 60px 25px;
    z-index: 100;
    animation: slideIn 0.3s ease forwards;
}

.nav-menu a {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-menu a:hover {
    color: #a855f7;
    transform: translateX(4px);
}

/* Close Button */
.menu-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.menu-btn:hover {
    transform: rotate(90deg);
}

/* 🌟 Main Wrapper */
.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40px 0;
    position: relative;
}

/* 🌟 Panel tengah */
.center-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

/* 🌟 Running Text (diposisikan di bawah logo, tidak tertutup) */
.marquee-container {
    background-color: #000;
    color: #00f7ff;
    font-weight: bold;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    border-bottom: 2px solid #00f7ff;
    text-align: center;
    z-index: 20;
    font-size: 14px;
    line-height: 1.5em;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 55s linear infinite;
    vertical-align: middle;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


.logo-container img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(128, 0, 255, 0.9);
}

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

@keyframes firework {
    0% { 
        transform: translate(0, 0);
        opacity: 1;
    }
    
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


    100% { 
        transform: translate(var(--x), var(--y));
        opacity: 0;
        width: 2px;
        height: 2px;
    }
}

.glow-text {
    color: #00f; /* Blue text */
    text-shadow: 0 0 10px rgba(0, 0, 255, 0.8); /* Neon blue glow */
}

.pulse {
    animation: pulse 2s infinite;
}

.body {
  font-style: italic;
  font-weight: bold;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}