/* Homepage Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 204, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(0, 204, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 120px 120px;
    animation: float 20s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--neon-blue);
    border-radius: 20px;
    padding: var(--spacing-sm) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--light-blue);
    margin-bottom: var(--spacing-xxl);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: var(--shadow-glow);
    line-height: 1;
    min-height: 3rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
}

.stat-updated {
    display: block;
    font-size: 0.7rem;
    color: rgba(161, 161, 161, 0.7);
    margin-top: 2px;
    font-style: italic;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    z-index: -1;
}

.minecraft-logo {
    width: 200px;
    height: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.logo-block {
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-block:nth-child(2) {
    animation-delay: 0.2s;
}

.logo-block:nth-child(3) {
    animation-delay: 0.4s;
}

.logo-block:nth-child(4) {
    animation-delay: 0.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: float 2s ease-in-out infinite;
    z-index: 10;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neon-blue);
    border-bottom: 2px solid var(--neon-blue);
    transform: rotate(45deg);
    margin: 0 auto var(--spacing-sm);
    animation: bounce 1s infinite;
    flex-shrink: 0;
}

.scroll-text {
    font-size: 0.8rem;
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* Features Section */
.features-section {
    background: rgba(0, 17, 51, 0.3);
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
    text-align: center;
}

.feature-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--neon-blue);
}

.feature-description {
    text-align: center;
    opacity: 0.9;
    line-height: 1.7;
}

/* Server Info Section */
.server-info-section {
    background: rgba(0, 10, 26, 0.8);
}

.server-details .section-title {
    color: var(--neon-blue);
    text-align: left;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 6px;
    transition: var(--transition-fast);
}

.info-item:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary-blue);
}

.info-label {
    font-weight: 600;
    color: var(--light-blue);
}

.info-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--white);
}

.server-ip {
    color: var(--neon-blue);
    cursor: pointer;
    transition: var(--transition-fast);
}

.server-ip:hover {
    color: var(--white);
    text-shadow: var(--shadow-glow);
}

.server-status {
    background: var(--card);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: var(--spacing-xl);
}

.status-title {
    color: var(--neon-blue);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--electric-blue);
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.status-dot.offline {
    background: #ff0000;
    animation: none;
}

.server-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    vertical-align: middle;
}

.server-status-indicator .status-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.status-text {
    font-weight: 600;
    color: var(--white);
}

.status-details {
    display: grid;
    gap: var(--spacing-sm);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--light-blue);
}

.detail-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--neon-blue);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-secondary);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--light-blue);
    margin-bottom: var(--spacing-xxl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.support-note {
    opacity: 0.8;
}

.support-link {
    color: var(--neon-blue);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.support-link:hover {
    color: var(--white);
    text-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
    background: var(--darker-blue);
    border-top: 2px solid var(--primary-blue);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.footer-title {
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-subtitle {
    color: var(--light-blue);
    font-style: italic;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-blue);
    transition: var(--transition-fast);
    text-decoration: none;
    padding: var(--spacing-sm);
}

.footer-link:hover {
    color: var(--neon-blue);
}

.footer-text {
    color: var(--light-blue);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

/* Button Icons */
.btn-icon {
    margin-right: var(--spacing-sm);
    font-size: 1.2em;
}

.btn-text {
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: var(--spacing-lg);
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}