/* ========================================
   GLOBAL MODERN ENHANCEMENTS
   Applied to all pages
   ======================================== */

/* Custom cursor - blue circle */
:root {
    --cursor-x: 0px;
    --cursor-y: 0px;
    --cursor-scale: 1;
}

* {
    cursor: none !important;
}

/* Create custom cursor element */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(46,134,222,0.6);
    border: 2px solid rgba(46,134,222,0.8);
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%) scale(var(--cursor-scale));
    box-shadow: 0 0 15px rgba(46,134,222,0.5);
    left: var(--cursor-x);
    top: var(--cursor-y);
}

body.cursor-click .custom-cursor {
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(46,134,222,0.8);
}

a, button, input, select, textarea {
    cursor: none !important;
}

/* Hide scrollbars but keep functionality */
body {
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

/* Animated gradient backgrounds with variance - no repeating patterns */
#Features,
#Games,
section.py-5 {
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

/* Different gradient animation for Features section */
#Features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(46,134,222,0.04) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(46,134,222,0.02) 0%, transparent 70%);
    animation: rotateGradient1 25s linear infinite;
    pointer-events: none;
}

/* Different gradient animation for Games section */
#Games::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 40%, rgba(46,134,222,0.03) 0%, transparent 65%),
                radial-gradient(circle at 20% 80%, rgba(46,134,222,0.02) 0%, transparent 55%);
    animation: rotateGradient2 30s linear infinite reverse;
    pointer-events: none;
}

/* Generic section gradient */
section.py-5::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(46,134,222,0.025) 0%, transparent 68%);
    animation: rotateGradient3 35s ease-in-out infinite;
    pointer-events: none;
}

/* Prevent double gradients */
#Features.py-5::before,
#Games.py-5::before {
    display: none;
}

@keyframes rotateGradient1 {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes rotateGradient2 {
    0% { transform: rotate(0deg) translateX(0); }
    33% { transform: rotate(120deg) translateX(10px); }
    66% { transform: rotate(240deg) translateX(-10px); }
    100% { transform: rotate(360deg) translateX(0); }
}

@keyframes rotateGradient3 {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    25% { transform: rotate(90deg) scale(1.05); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.5; }
    75% { transform: rotate(270deg) scale(1.05); opacity: 0.7; }
}

/* Floating particles background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(46,134,222,0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Enhanced card hover effects - no tilt */
#Games .product-card,
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: flat !important;
}

#Games .product-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46,134,222,0.1) 0%, rgba(46,134,222,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
    pointer-events: none;
}

#Games .product-card:hover::before,
.product-card:hover::before {
    opacity: 1;
}

#Games .product-card:hover,
.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(46,134,222,0.2);
}

/* Feature cards - will appear on scroll */
.features-media {
    opacity: 1;
    transform: translateY(0);
}

/* Icon enlarge on hover */
.features-media span[class*="flaticon"],
span[class*="flaticon"] {
    display: inline-block;
    transition: transform 0.3s ease;
}

.features-media:hover span[class*="flaticon"] {
    transform: scale(1.15);
}

/* Highlight effect on section titles */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: rgba(46,134,222,0.15);
    z-index: -1;
    transition: all 0.3s ease;
}

.section-title:hover h2::before {
    height: 50%;
    background: rgba(46,134,222,0.25);
}

/* Parallax effect on scroll */
#Carousel {
    position: relative;
    margin-bottom: 60px;
}

.carousel-content {
    animation: fadeInLeft 0.8s ease;
}

.carousel-image {
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46,134,222,0.4);
}

/* Map section with unique wave animation */
#Map {
    position: relative;
}

#Map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(46,134,222,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(46,134,222,0.04) 0%, transparent 65%);
    animation: waveMotion 6s ease-in-out infinite;
    pointer-events: none;
}

#Map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(46,134,222,0.03) 0%, transparent 75%);
    animation: breathe 8s ease-in-out infinite;
    animation-delay: 1s;
    pointer-events: none;
}

@keyframes waveMotion {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0) scale(1);
    }
    33% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.02);
    }
    66% {
        opacity: 0.5;
        transform: translateY(5px) scale(0.98);
    }
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.08);
    }
}

/* Carousel dots with glow effect */
.radeSlider-indicators .card {
    transition: all 0.3s ease;
    position: relative;
}

.radeSlider-indicators .card.active {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(46,134,222,0.4);
}

.radeSlider-indicators .card.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(46,134,222,0.3), rgba(46,134,222,0));
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Text gradient effect on hover */
.section-title h2 span.blue {
    background: linear-gradient(135deg, #2e86de 0%, #54a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.section-title:hover h2 span.blue {
    background: linear-gradient(135deg, #54a0ff 0%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth page load fade in */
body {
    animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Card grid animation for products */
#Games .item,
.owl-carousel .item {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

#Games .item:nth-child(1) { animation-delay: 0.1s; }
#Games .item:nth-child(2) { animation-delay: 0.2s; }
#Games .item:nth-child(3) { animation-delay: 0.3s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Subtle shimmer effect on carousel backgrounds */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shimmer 8s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* ========================================
   NAVBAR FIXES
   ======================================== */

/* Fixed navbar height and logo sizing */
.navbar-rade {
    min-height: 70px !important;
    padding: 15px 0 !important;
}

/* Logo fixed to left */
.navbar-rade .navbar-brand {
    display: flex !important;
    align-items: center !important;
    margin-right: 20px !important;
    flex-shrink: 0 !important;
    min-width: 120px !important;
}

.navbar-rade .navbar-brand .logo-img {
    max-height: 50px !important;
    width: auto !important;
    display: block !important;
}

/* Ensure navbar stays same size when scrolling */
.navbar-rade,
.navbar-rade.scrolled {
    min-height: 70px !important;
    padding: 15px 0 !important;
    transition: none !important;
}

/* Center navigation items between logo and buttons */
.navbar-rade .navbar-collapse {
    flex-grow: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.navbar-rade .navbar-nav.mr-auto {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-wrap: nowrap !important;
}

/* Cart and Account fixed to right */
.navbar-rade .navbar-nav.ml-auto {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Proper spacing for nav items - adjusted for 4 items */
.navbar-rade .navbar-nav.mr-auto .nav-item {
    margin: 0 10px !important;
}

/* Mobile responsive - stack properly when collapsed */
@media (max-width: 1199px) {
    .navbar-rade .navbar-nav.mr-auto {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        margin-top: 15px !important;
    }
    
    .navbar-rade .navbar-nav.ml-auto {
        margin-top: 15px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .navbar-rade .navbar-nav.mr-auto .nav-item {
        margin: 5px 0 !important;
        width: 100% !important;
    }
    
    .navbar-rade .navbar-brand {
        margin-bottom: 0 !important;
    }
}

/* Fix nav link display */
.navbar-rade .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 8px 10px !important;
    font-size: 0.95rem !important;
}

/* Badge styling */
.navbar-rade .badge {
    margin-left: 5px !important;
}

/* Dropdown positioning and visibility */
.navbar-rade .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    display: none !important;
    margin-top: 0 !important;
    background: #212535 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
    z-index: 1000 !important;
    min-width: 280px !important; /* Wider for badges */
}

/* Show dropdown on hover AND click */
.navbar-rade .dropdown:hover .dropdown-menu,
.navbar-rade .dropdown.show .dropdown-menu {
    display: block !important;
}

/* Dropdown items */
.navbar-rade .dropdown-item {
    color: #d0d6df !important;
    padding: 10px 20px !important;
    transition: all 0.2s ease !important;
}

.navbar-rade .dropdown-item:hover {
    background-color: rgba(46,134,222,0.15) !important;
    color: #ffffff !important;
}

/* Account dropdown - align to right */
.navbar-rade .dropdown-menu-right {
    left: auto !important;
    right: 0 !important;
}

/* Dropdown item badges/tags */
.navbar-rade .dropdown-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    white-space: nowrap !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.navbar-rade .dropdown-item .badge {
    margin-left: 30px !important;
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
    flex-shrink: 0 !important;
}

.navbar-rade .dropdown-item .badge-featured {
    background: linear-gradient(135deg, #f9db90, #f0c45a) !important;
    color: #1b1200 !important;
    font-weight: 700 !important;
    animation: badgePulse 2s infinite !important;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(249,219,144,0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(249,219,144,0.8);
    }
}

/* Logo glow/pulse effect */
.navbar-rade .navbar-brand .logo-img {
    animation: logoGlow 3s ease-in-out infinite !important;
    filter: drop-shadow(0 0 8px rgba(46,134,222,0.3)) !important;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(46,134,222,0.3));
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(46,134,222,0.6));
    }
}

/* ========================================
   FEATURED SECTION - NUCLEAR WASTELAND
   ======================================== */

#FeaturedBanner {
    position: relative;
    background: linear-gradient(135deg, #1a1d2b 0%, #0f1117 100%);
    border-top: 3px solid #f9db90;
    border-bottom: 3px solid #f9db90;
    padding: 50px 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 60px;
}

#FeaturedBanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(249,219,144,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.featured-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-left {
    flex: 1;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f9db90, #f0c45a);
    color: #1b1200;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    animation: badgePulse 2s infinite;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f9db90;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(249,219,144,0.5);
}

.featured-description {
    font-size: 1.1rem;
    color: #d0d6df;
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-right {
    flex: 0 0 auto;
    margin-left: 30px;
}

.featured-right .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f9db90, #f0c45a);
    border: none;
    color: #1b1200;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(249,219,144,0.4);
    transition: all 0.3s ease;
}

.featured-right .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249,219,144,0.6);
}

/* Fireworks effect */
.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: fireworkAnimation 3s ease-out infinite;
    pointer-events: none;
}

@keyframes fireworkAnimation {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) scale(0);
    }
}

/* Responsive featured section */
@media (max-width: 992px) {
    .featured-content {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-right {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .featured-title {
        font-size: 2rem;
    }
}

/* Additional global enhancements for all pages */

/* Enhanced card styling for all cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(46,134,222,0.15);
}

/* Smooth transitions for all links */
a {
    transition: all 0.3s ease;
}

/* Enhanced input focus effects */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 0.2rem rgba(46,134,222,0.25);
    border-color: #2e86de;
}

/* Loading spinner enhancement */
.spinner-border {
    animation: spin 0.75s linear infinite;
}

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

/* ========================================
   NETWORK STATUS FOOTER
   ======================================== */

.network-status-footer {
    padding: 20px 0;
}

.network-status-footer h5 {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 1.1rem;
}

.status-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: statusRipple 2s ease-out infinite;
}

.status-operational {
    background: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.status-operational::before {
    background: rgba(40, 167, 69, 0.4);
}

.status-degraded {
    background: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.status-degraded::before {
    background: rgba(255, 193, 7, 0.4);
}

.status-outage {
    background: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.status-outage::before {
    background: rgba(220, 53, 69, 0.4);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes statusRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.status-label {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .network-status-footer .status-item {
        font-size: 0.85rem;
        margin: 5px 8px !important;
    }
    
    .network-status-footer h5 {
        font-size: 1rem;
    }
}

/* ========================================
   GAME PAGE HEADER STANDARDIZATION
   ======================================== */

/* Ensure all game headers have consistent styling */
.products-header {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1a1d2b 0%, #0f1117 100%);
    overflow: hidden;
}

.products-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(46,134,222,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Consistent header styling for all game types */
.minecraft-h,
.rust-h,
.ark-h,
.csgo-h,
.garrys-mod-h,
.valheim-h,
.enshrouded-h,
.unturned-h,
.terraria-h,
.arma-h,
.fivem-h,
.satisfactory-h,
div[class*="-days-to-die-h"],
div[class*="left-4-dead"] {
    border-bottom: 3px solid rgba(46,134,222,0.3);
}

/* Badge styling consistency */
.badge-warning {
    background: linear-gradient(135deg, #ffc107, #ff9800) !important;
    color: #1b1200 !important;
    font-weight: 700 !important;
}

.badge-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Express interest form styling */
.express-interest-form .form-control:focus {
    border-color: #2e86de;
    box-shadow: 0 0 0 0.2rem rgba(46,134,222,0.25);
}

.express-interest-form .btn-primary {
    background: linear-gradient(135deg, #2e86de, #54a0ff);
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.express-interest-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46,134,222,0.4);
}

/* ========================================
   PARTNERS PAGE STYLING
   ======================================== */

.partner-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #9146FF;
}

.partner-avatar {
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-avatar {
    transform: scale(1.1) rotate(5deg);
}

.badge-purple {
    background-color: #9146FF;
    color: white;
}

.btn-outline-purple {
    color: #9146FF;
    border-color: #9146FF;
}

.btn-outline-purple:hover {
    background-color: #9146FF;
    color: white;
    border-color: #9146FF;
}

.text-purple {
    color: #9146FF !important;
}

/* Partner application form styling */
.partner-application-form .form-control {
    background-color: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.3);
    color: #333;
}

.partner-application-form .form-control:focus {
    background-color: white;
    border-color: white;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.partner-application-form .form-label {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Featured modpack card animation */
.border-warning {
    animation: glow-border 2s ease-in-out infinite alternate;
}

@keyframes glow-border {
    from {
        box-shadow: 0 0 10px rgba(255,193,7,0.3);
    }
    to {
        box-shadow: 0 0 25px rgba(255,193,7,0.6);
    }
}

/* ========================================
   MINECRAFT PACKAGE WIZARD
   ======================================== */

.minecraft-wizard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none !important;
}

.minecraft-wizard .card-body {
    position: relative;
    z-index: 1;
}

.minecraft-wizard h2, .minecraft-wizard h4, .minecraft-wizard p {
    color: white;
}

.minecraft-wizard .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

.wizard-option {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.wizard-option:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.wizard-option.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
    transform: scale(1.05);
}

.wizard-option i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.wizard-option:hover i,
.wizard-option.active i {
    transform: scale(1.2) rotate(5deg);
}

.wizard-option h5 {
    color: #333;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}

.wizard-navigation {
    position: relative;
}

.wizard-step {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.recommended-plan {
    animation: pulse 1s ease;
}

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

/* ========================================
   MINECRAFT PLANS STYLING
   ======================================== */

.plan-card {
    transition: all 0.4s ease;
}

.plan-card .card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.plan-card .card:hover {
    border-color: #667eea;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.3);
}

.plan-card.recommended-highlight .card {
    border-color: #28a745;
    box-shadow: 0 0 30px rgba(40,167,69,0.4);
    animation: highlightPulse 2s ease infinite;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(40,167,69,0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(40,167,69,0.6);
    }
}

.plan-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.plan-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-ram-badge .badge-lg {
    font-size: 1.1rem;
    padding: 8px 20px;
}

.custom-range {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 10px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(102,126,234,0.5);
}

.custom-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.custom-range::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(102,126,234,0.5);
}

.fade-in {
    animation: fadeInUp 0.5s ease;
}

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

/* Comparison table styling */
.minecraft-comparison-table {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.minecraft-comparison-table thead th {
    font-weight: 600;
    padding: 15px 10px;
    font-size: 0.95rem;
}

.minecraft-comparison-table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
}

.minecraft-comparison-table tbody tr:hover {
    background-color: rgba(102,126,234,0.05);
}

.minecraft-comparison-table .bg-primary {
    background-color: #667eea !important;
}

/* ========================================
   MINECRAFT HORIZONTAL SCROLLING PLANS
   ======================================== */

.minecraft-plans-scroll {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    max-width: 1500px;
    margin: 0 auto;
    gap: 40px;
}

.plans-container {
    display: flex;
    gap: 25px;
    overflow: hidden;
    padding: 20px;
    scroll-behavior: smooth;
    flex: 1;
    justify-content: center;
    min-width: 1200px;
}

.plan-nav-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    flex-shrink: 0;
}

.plan-nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.plan-nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.plan-nav-button:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

.plans-container:active {
    cursor: grabbing;
}

.plans-container::-webkit-scrollbar {
    height: 8px;
}

.plans-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.plans-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.plans-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.plan-box {
    min-width: 240px;
    max-width: 240px;
    background: #2c3e50;
    border: 2px solid #3498db;
    border-radius: 20px;
    padding: 25px 18px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    flex-shrink: 0;
    color: white;
}

.plan-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(52,152,219,0.4);
    border-color: #3498db;
}

.plan-box.available {
    border-color: #3498db;
    background: #2c3e50;
}

.plan-box.available:hover {
    border-color: #3498db;
    box-shadow: 0 15px 35px rgba(52,152,219,0.4);
}

.plan-box.most-popular {
    border-color: #3498db;
    transform: scale(1.05);
    background: #2c3e50;
    box-shadow: 0 10px 25px rgba(52,152,219,0.3);
    border-width: 3px;
}

.plan-box.most-popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(52,152,219,0.4);
}

.plan-box.coming-soon {
    opacity: 0.7;
    position: relative;
}

.plan-box.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44,62,80,0.8);
    border-radius: 18px;
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.coming-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

.plan-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.plan-icon img {
    max-width: 60px;
    max-height: 60px;
}

.plan-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ecf0f1;
    margin-bottom: 10px;
}

.plan-ram {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 0.9rem;
    color: #bdc3c7;
    font-weight: 400;
}

.plan-features {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ecf0f1;
}

.feature i {
    color: #3498db;
    margin-right: 10px;
    width: 16px;
}

.btn-order {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wizard-option {
        padding: 20px 10px;
        margin-bottom: 15px;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .minecraft-comparison-table {
        font-size: 0.85rem;
    }
    
    .minecraft-comparison-table thead th,
    .minecraft-comparison-table tbody td {
        padding: 8px 5px;
    }
    
    .minecraft-plans-scroll {
        max-width: 100%;
        padding: 10px 0;
    }
    
    .plans-container {
        min-width: 100%;
        gap: 15px;
        padding: 15px;
    }
    
    .plan-box {
        min-width: 200px;
        max-width: 200px;
        padding: 20px 12px;
    }
    
    .plan-box h3 {
        font-size: 1.3rem;
    }
    
    .plan-nav-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .plan-price {
        font-size: 1.7rem;
    }
}
