.header {
    background: url("../images/header/minecraft.png") no-repeat center center;
}
		
/* Instant Scrolling */
html {
    scroll-behavior: auto;
}

/* Ensure instant scrolling to features */
html {
    scroll-behavior: auto !important;
}

/* RAM Slider Visibility */
.ram-range {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.ram-markers {
    opacity: 1 !important;
    visibility: visible !important;
}

.marker {
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
}

/* Dynamic Updates Animation */
.summary-card {
    transition: all 0.3s ease;
}

.feature-item {
    transition: all 0.2s ease;
}

.feature-item.updating {
    opacity: 0.7;
    transform: scale(0.98);
}

.price-amount {
    transition: all 0.3s ease;
}

.price-amount.updating {
    transform: scale(1.1);
    color: #a855f7;
}

/* RAM Slider Enhanced Styling */
.ram-range {
    transition: all 0.2s ease;
}

.ram-range:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.3);
}

.marker {
    cursor: pointer;
}

.marker.active {
    color: #a855f7;
    font-weight: 600;
}

/* RAM Info Styling */
.ram-info {
    background: rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.ram-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ram-stat {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #e2e8f0;
}

.ram-stat i {
    color: #a855f7;
    margin-right: 8px;
}

.ram-stat .player-capacity,
.ram-stat .mod-support {
    font-weight: 600;
    color: #a855f7;
}

/* FAQ Animations */
.faq-accordion .collapse {
    transition: all 0.3s ease-in-out;
}



.faq-accordion .faq-question {
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-accordion .faq-question:hover {
    transform: translateX(5px);
}

.faq-accordion .faq-arrow {
    transition: transform 0.3s ease;
}

.faq-accordion .faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

.faq-accordion .faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.15);
}

.faq-accordion .faq-answer {
    animation: slideDown 0.3s ease-out;
}

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

/* Navbar Active State Styling */
.navbar-nav .nav-link.active {
    color: #a855f7 !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #8b5cf6);
    border-radius: 1px;
    animation: activeIndicator 0.3s ease-out;
}

@keyframes activeIndicator {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 20px;
        opacity: 1;
    }
}

.navbar-nav .nav-link:hover {
    color: #a855f7 !important;
    transition: color 0.3s ease;
}

/* Custom Alert Popup Styles */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
}

.custom-alert-popup {
    background: linear-gradient(145deg, #0f0f23 0%, #1a1a2e 100%);
    border: 1px solid #2d2d5a;
    border-radius: 24px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.custom-alert-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #8b5cf6, #a855f7);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

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

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-alert-content {
    padding: 40px;
}

.custom-alert-icon-section {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.custom-alert-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4);
    animation: iconPulse 3s ease-in-out infinite;
    position: relative;
}

.custom-alert-icon svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

.custom-alert-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

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

.custom-alert-text-section {
    text-align: center;
    margin-bottom: 35px;
}

.custom-alert-title {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-alert-main-text {
    color: #d1d5db;
    font-size: 18px;
    margin: 0 0 12px 0;
    line-height: 1.6;
    font-weight: 500;
}

.custom-alert-funny-text {
    color: #a855f7;
    font-size: 16px;
    margin: 0;
    font-style: italic;
    opacity: 0.9;
    font-weight: 500;
}

.custom-alert-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Alert Video Styling */
.custom-alert-video-section {
    margin: 25px 0;
    text-align: center;
    background: rgba(168, 85, 247, 0.1);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.custom-alert-video {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: block !important;
    margin: 0 auto;
    visibility: visible !important;
    opacity: 1 !important;
    background: #000;
}

.custom-alert-video:hover {
    transform: scale(1.05);
}

/* Ensure video is visible */
.custom-alert-video::-webkit-media-controls {
    display: none !important;
}

.custom-alert-video::-webkit-media-controls-panel {
    display: none !important;
}

.custom-alert-btn, .custom-alert-trap-btn {
    padding: 18px 32px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.custom-alert-btn {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.custom-alert-trap-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.custom-alert-btn::before, .custom-alert-trap-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.custom-alert-btn:hover::before, .custom-alert-trap-btn:hover::before {
    left: 100%;
}

.custom-alert-btn:hover, .custom-alert-trap-btn:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-alert-btn:hover {
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

.custom-alert-trap-btn:hover {
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
}

.custom-alert-btn:active, .custom-alert-trap-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Make the footer look better with two buttons */
.custom-alert-footer {
    padding: 0 30px 30px 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Enhanced Mobile Responsive Design for Minecraft Pages */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Container improvements */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Minecraft alert mobile */
    .custom-alert-popup {
        width: 95%;
        max-width: 350px;
        margin: 1rem;
    }
    
    .custom-alert-content {
        padding: 1.5rem;
    }
    
    .custom-alert-title {
        font-size: 1.5rem;
    }
    
    .custom-alert-text {
        font-size: 0.9rem;
    }
    
    .custom-alert-footer {
        padding: 0 20px 20px 20px;
        gap: 10px;
    }
    
    .custom-alert-btn,
    .custom-alert-trap-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .custom-alert-popup {
        width: 98%;
        margin: 0.5rem;
    }
    
    .custom-alert-content {
        padding: 1rem;
    }
    
    .custom-alert-title {
        font-size: 1.25rem;
    }
    
    .custom-alert-footer {
        padding: 0 15px 15px 15px;
    }
}