/* Main layout structure */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: rgba(15, 15, 20, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8050ff, #5e1d92);
    border-radius: 6px;
    border: 3px solid rgba(15, 15, 20, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #a090ff, #7050ff);
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, 15px) rotate(2deg); }
    50% { transform: translate(-15px, 25px) rotate(-2deg); }
    75% { transform: translate(15px, -20px) rotate(1deg); }
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(100, 80, 255, 0.6)); }
    50% { filter: drop-shadow(0 0 25px rgba(100, 80, 255, 0.9)); }
}

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

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

/* Enhanced Page Transitions */
.page {
    display: none;
    opacity: 0;
    position: relative;
    width: 100%;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateY(30px) scale(0.95);
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced Glassy Effect */
.glassy {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 15px rgba(100, 80, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glassy:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 80, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(135deg, #8050ff, #5e1d92);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(94, 29, 146, 0.4);
    border: none;
    z-index: 1;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(94, 29, 146, 0.6);
}

.btn-primary:hover:before {
    left: 100%;
    transition: all 0.6s ease;
}

/* Enhanced Navigation */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a090ff, #7090ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: white;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(160, 144, 255, 0.5);
}

.nav-link.active::after {
    width: 100%;
    height: 3px;
    box-shadow: 0 0 8px rgba(160, 144, 255, 0.8);
}

/* Particle Effects */
.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #a090ff, #7090ff);
    box-shadow: 0 0 15px #7070ff;
    animation: float 20s infinite ease-in-out;
    opacity: 0.2;
    z-index: -1;
}

/* Enhanced Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(100, 80, 255, 0.4);
    border-color: rgba(160, 144, 255, 0.3);
}

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

.feature-icon {
    transition: all 0.4s ease;
}

/* Join Page Specific Styles */
.step-card {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8050ff, #5e1d92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 15px rgba(94, 29, 146, 0.4);
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Minecraft-style text */
.minecraft-text {
    font-family: 'Minecraft', 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #000;
}

/* Floating elements */
.floating {
    animation: float 6s infinite ease-in-out;
}

/* Glowing elements */
.glowing {
    animation: glow 3s infinite ease-in-out;
}

/* Pulsing elements */
.pulsing {
    animation: pulse 2s infinite ease-in-out;
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* New styles for enhanced visual appeal */
body {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #8050ff;
    text-shadow: 2px 2px 0 #000;
}

a {
    color: #a090ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7050ff;
}

button, input[type="button"], input[type="submit"] {
    background: linear-gradient(135deg, #8050ff, #5e1d92);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background: linear-gradient(135deg, #a090ff, #7050ff);
}

input[type="text"], input[type="email"], input[type="password"] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #a090ff;
}

textarea {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #a090ff;
}

/* Styled copy button */
.copy-button {
    background: linear-gradient(135deg, #8050ff, #5e1d92);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-button:hover {
    background: linear-gradient(135deg, #a090ff, #7050ff);
/* New Animations */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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