/* ============================================
   Hero Section Styles
   Akasa Virtual - Centered Layout
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--spacing-lg) var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 99, 0, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 50% 60%, rgba(92, 15, 217, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Remove any old grid/flex row behavior */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 99, 0, 0.1);
    border: 1px solid rgba(255, 99, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-align: center;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 99, 0, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}


/* ============================================
   Statistics Section
   ============================================ */

.stats-section {
    padding: 5rem var(--spacing-lg);
    background: linear-gradient(180deg, transparent, rgba(255, 99, 0, 0.02), transparent);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 99, 0, 0.3));
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(145deg, rgba(26, 26, 31, 0.8), rgba(20, 20, 25, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 99, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 99, 0, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: rgba(255, 99, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.stat-card .number {
    font-family: var(--font-mono);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.stat-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}


/* ============================================
   Extended Statistics Grid
   ============================================ */

.extended-stats-section {
    padding: 3rem var(--spacing-lg) 5rem;
}

.extended-stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.extended-stats-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.extended-stats-header p {
    color: var(--text-muted);
}

.extended-stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.extended-stat-card {
    background: linear-gradient(145deg, rgba(26, 26, 31, 0.6), rgba(20, 20, 25, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.extended-stat-card:hover {
    border-color: rgba(255, 99, 0, 0.2);
    transform: translateY(-2px);
}

.extended-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 99, 0, 0.15), rgba(92, 15, 217, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.extended-stat-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.extended-stat-info {
    flex: 1;
    min-width: 0;
}

.extended-stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.extended-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2px;
}


/* ============================================
   Ranks Section
   ============================================ */

.ranks-section {
    padding: 5rem var(--spacing-lg);
}

.ranks-header {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.ranks-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ranks-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.ranks-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.rank-card {
    background: linear-gradient(145deg, rgba(26, 26, 31, 0.6), rgba(20, 20, 25, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.rank-card:hover {
    border-color: rgba(255, 99, 0, 0.2);
    transform: translateX(4px);
}

.rank-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 99, 0, 0.1), rgba(92, 15, 217, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.rank-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

/* Custom rank images */
.rank-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.rank-requirements {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ============================================
   Footer Additions
   ============================================ */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-description {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-brand .footer-social {
    margin-top: 1.5rem;
}

.vamsys-link {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.vamsys-link:hover {
    color: var(--color-primary-hover);
}


/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        max-width: 600px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .extended-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .extended-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .extended-stats-header h3 {
        font-size: 1.75rem;
    }
    
    .ranks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}