/* Home Page Styles */

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Delay modifiers */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-600 {
    transition-delay: 600ms;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 2rem 4rem;
    position: relative;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 24px rgba(255, 140, 0, 0.35));
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
}

.hero-title-highlight {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .features-section {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--text-main) 8%, transparent);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-btn-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card.orange:hover {
    border-color: rgba(255, 140, 0, 0.3);
}

.feature-card.blue:hover {
    border-color: var(--mc-blue);
}

.feature-card.white:hover {
    border-color: color-mix(in srgb, var(--text-main) 30%, transparent);
}

.feature-card.green:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card.purple:hover {
    border-color: rgba(88, 101, 242, 0.3);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-wrapper.orange {
    background: rgba(255, 140, 0, 0.1);
    color: var(--mc-orange);
}

.feature-icon-wrapper.blue {
    background: rgba(0, 210, 255, 0.1);
    color: var(--mc-blue);
}

.feature-icon-wrapper.white {
    background: color-mix(in srgb, var(--text-main) 8%, transparent);
    color: var(--text-main);
}

.feature-icon-wrapper.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.feature-icon-wrapper.purple {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 0 2rem;
    height: 50px;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Info & News Section */
.info-news-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .info-news-section {
        grid-template-columns: 1fr;
    }
}

.server-info-card,
.news-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--text-main) 8%, transparent);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: var(--gradient-orange);
    border-radius: 3px;
}

.server-info-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* News List */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

@media (max-width: 505px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.news-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--mc-orange);
    letter-spacing: 1px;
}

.view-all-link:hover {
    color: var(--mc-orange-hover);
    text-decoration: underline;
}

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

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: color-mix(in srgb, var(--text-main) 3%, transparent);
    border: 1px solid color-mix(in srgb, var(--text-main) 6%, transparent);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
    gap: 1rem;
}

.news-item-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    flex: 1;
}

.news-item:hover {
    background: color-mix(in srgb, var(--text-main) 8%, transparent);
    transform: translateX(5px);
    border-color: rgba(255, 140, 0, 0.3);
}

.news-item svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    margin-left: auto;
    transition: color 0.3s ease;
}

.news-item:hover svg {
    color: var(--mc-orange);
}

.news-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
}

.news-tag.update {
    background: rgba(0, 210, 255, 0.15);
    color: var(--mc-blue);
}

.news-tag.event {
    background: rgba(255, 140, 0, 0.15);
    color: var(--mc-orange);
}

.news-tag.announcement {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.news-tag.alert {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.news-content {
    display: flex;
    flex-direction: column;
}

.news-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-main);
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Utility classes */
.btn-full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    box-sizing: border-box;
}

.btn-copy-ip {
    cursor: pointer;
}

.hero-ip-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.feature-discord-desc {
    margin-bottom: 0.5rem;
}

.discord-status {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    flex-shrink: 0;
}

.news-empty-state {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
    font-family: 'Inter', sans-serif;
}