:root {
    --primary: #6a4cff;
    --primary-light: #7d64ff;
    --primary-dark: #5a3ee6;
    --secondary: #ff6b6b;
    --secondary-light: #ff8e8e;
    --accent: #00d4ff;
    --dark: #1a1a2e;
    --darker: #0d0d1a;
    --darkest: #050510;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #9ca3af;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --purple-glow: rgba(106, 76, 255, 0.3);
    --red-glow: rgba(255, 107, 107, 0.3);
    --blue-glow: rgba(0, 212, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--darkest) 0%, var(--darker) 50%, var(--dark) 100%);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    font-feature-settings: 'kern', 'liga', 'clig', 'calt';
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.7;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: -3s; }
.particle:nth-child(3) { left: 50%; animation-delay: -6s; }
.particle:nth-child(4) { left: 70%; animation-delay: -9s; }
.particle:nth-child(5) { left: 90%; animation-delay: -12s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, -60px) scale(0.9); }
    75% { transform: translate(-40px, -30px) scale(1.05); }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(106, 76, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(13, 13, 26, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--light);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px var(--purple-glow);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 5px 15px var(--purple-glow); }
    50% { box-shadow: 0 5px 25px rgba(106, 76, 255, 0.5); }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 76, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(106, 76, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 5px 15px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 76, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-glow {
    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.5s ease;
}

.btn:hover .btn-glow {
    left: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(106, 76, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(106, 76, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
        -webkit-background-clip: text;
        background-clip: text;
    }
    50% { 
        background: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
        -webkit-background-clip: text;
        background-clip: text;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(106, 76, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.system-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(106, 76, 255, 0.1);
    backdrop-filter: blur(10px);
    width: fit-content;
}

.system-info i {
    color: var(--primary);
}

.system-indicator {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.minecraft-scene {
    position: relative;
    width: 400px;
    height: 400px;
}

.character-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: characterFloat 6s ease-in-out infinite;
}

.minecraft-character {
    position: relative;
    transform-style: preserve-3d;
}

.character-head {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #F4A460, #DEB887);
    border: 3px solid #8B4513;
    border-radius: 10px;
    position: relative;
    margin: 0 auto 10px;
    box-shadow: 0 0 20px rgba(244, 164, 96, 0.3);
}

.face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-image: 
        radial-gradient(circle at 30% 40%, #000 3px, transparent 3px),
        radial-gradient(circle at 70% 40%, #000 3px, transparent 3px),
        linear-gradient(transparent 55%, #8B4513 55%, #8B4513 65%, transparent 65%);
}

.character-body {
    width: 80px;
    height: 100px;
    background: linear-gradient(45deg, #4169E1, #6495ED);
    border: 3px solid #1E3A8A;
    border-radius: 8px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.3);
}

.character-arm {
    width: 30px;
    height: 80px;
    background: linear-gradient(45deg, #F4A460, #DEB887);
    border: 2px solid #8B4513;
    border-radius: 6px;
    position: absolute;
    top: 90px;
    box-shadow: 0 0 15px rgba(244, 164, 96, 0.3);
}

.character-arm.left {
    left: -35px;
    animation: armSwingLeft 2s ease-in-out infinite;
}

.character-arm.right {
    right: -35px;
    animation: armSwingRight 2s ease-in-out infinite;
}

.character-leg {
    width: 30px;
    height: 80px;
    background: linear-gradient(45deg, #4169E1, #6495ED);
    border: 2px solid #1E3A8A;
    border-radius: 6px;
    position: absolute;
    top: 190px;
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.3);
}

.character-leg.left {
    left: 10px;
    animation: legWalkLeft 1.5s ease-in-out infinite;
}

.character-leg.right {
    right: 10px;
    animation: legWalkRight 1.5s ease-in-out infinite;
}

.character-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    filter: blur(10px);
    animation: shadowPulse 6s ease-in-out infinite;
}

.floating-blocks {
    position: absolute;
    width: 100%;
    height: 100%;
}

.block {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    border: 2px solid #654321;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(139, 69, 19, 0.3);
}

.block-1 {
    top: 20%;
    left: 10%;
    animation: blockFloat1 8s ease-in-out infinite;
}

.block-2 {
    top: 30%;
    right: 15%;
    animation: blockFloat2 10s ease-in-out infinite;
}

.block-3 {
    bottom: 20%;
    left: 20%;
    animation: blockFloat3 12s ease-in-out infinite;
}

.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation: ringRotate 10s linear infinite;
}

.ring-2 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation: ringRotate 15s linear infinite reverse;
}

.ring-3 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation: ringRotate 20s linear infinite;
}

@keyframes characterFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) translateY(-20px) rotateY(10deg); }
}

@keyframes armSwingLeft {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-20deg); }
}

@keyframes armSwingRight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg); }
}

@keyframes legWalkLeft {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes legWalkRight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-15deg); }
}

@keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.2; }
}

@keyframes blockFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes blockFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-180deg); }
}

@keyframes blockFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-35px) rotate(180deg); }
}

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

/* Sections */
.features,
.author,
.cta {
    padding: 6rem 0;
    position: relative;
}

.features {
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(106, 76, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(106, 76, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 76, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 76, 255, 0.05), rgba(255, 107, 107, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(106, 76, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.primary-feature {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(106, 76, 255, 0.1), rgba(255, 107, 107, 0.05));
    border-color: rgba(106, 76, 255, 0.3);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 10px 25px var(--purple-glow);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    opacity: 0.5;
    filter: blur(20px);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.feature-description {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-stats {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    background: rgba(106, 76, 255, 0.1);
    border: 1px solid rgba(106, 76, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-unit {
    font-size: 0.8rem;
    color: var(--gray-light);
}

/* Author Section */
.author-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.author-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 76, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    position: relative;
    width: 120px;
    height: 120px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 130px;
    height: 130px;
    border: 3px solid var(--primary);
    border-radius: 25px;
    animation: ringRotate 10s linear infinite;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: var(--success);
    border: 3px solid var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-indicator.online {
    background: var(--success);
    animation: pulse 2s infinite;
}

.author-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.author-title {
    color: var(--gray-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link.github:hover { background: #333; }
.social-link.discord:hover { background: #7289da; }
.social-link.twitter:hover { background: #1da1f2; }

.author-bio {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author-stats {
    display: flex;
    gap: 2rem;
}

/* Community Panel */
.community-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 76, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    height: fit-content;
}

.panel-header {
    margin-bottom: 1.5rem;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.online-count {
    color: var(--success);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(106, 76, 255, 0.2);
    border-radius: 8px;
    color: var(--gray-light);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--dark);
    border-radius: 50%;
}

.status-dot.online {
    background: var(--success);
}

.status-dot.offline {
    background: var(--gray);
}

.user-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--gray-light);
}

.user-status i.online {
    color: var(--success);
}

.user-status i.offline {
    color: var(--gray);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(106, 76, 255, 0.1), rgba(255, 107, 107, 0.1));
    border-top: 1px solid rgba(106, 76, 255, 0.2);
    border-bottom: 1px solid rgba(106, 76, 255, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 30px var(--purple-glow);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
}

.cta-feature i {
    color: var(--success);
}

/* Footer */
.footer {
    background: var(--darkest);
    border-top: 1px solid rgba(106, 76, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--gray-light);
    margin-top: 1rem;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.social-grid .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(106, 76, 255, 0.1);
}

.footer-copyright {
    color: var(--gray-light);
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px var(--purple-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--purple-glow);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 26, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(106, 76, 255, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--light);
    font-size: 1.1rem;
}

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    max-width: 20rem;
}

.toast {
    background: var(--dark);
    border: 1px solid rgba(106, 76, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.3);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.3);
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast.success .toast-title {
    color: var(--success);
}

.toast.error .toast-title {
    color: var(--danger);
}

.toast-message {
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .author-content {
        grid-template-columns: 1fr;
    }
    
    .primary-feature {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .minecraft-scene {
        width: 300px;
        height: 300px;
    }
    
    .character-head {
        width: 60px;
        height: 60px;
    }
    
    .character-body {
        width: 60px;
        height: 80px;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .author-stats {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        left: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .author-card {
        padding: 1.5rem;
    }
    
    .minecraft-scene {
        width: 250px;
        height: 250px;
    }
}

/* Print Styles */
@media print {
    .header,
    .back-to-top,
    .loading-overlay,
    .toast-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .features,
    .author,
    .cta {
        page-break-inside: avoid;
    }
}