/* css/home.css - Halaman Utama MCGG */

.home-page {
    background: #0a0e1a;
}

/* Navbar */
.navbar {
    background: rgba(26, 31, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a3040;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #8e9cb5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffd700;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700;
}

.btn-primary {
    background: #ffd700;
    color: #1a1f2f !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glow-text {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #8e9cb5;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    display: block;
}

.stat-label {
    color: #8e9cb5;
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-glow {
    background: #ffd700;
    color: #1a1f2f;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.btn-outline {
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.gold-text {
    color: #ffd700;
}

/* Stats Section */
.stats-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.price-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.price-stat-card {
    background: #1a1f2f;
    border: 1px solid #2a3040;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.price-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-icon {
    font-size: 1.2rem;
}

.price-value {
    font-weight: bold;
}

.cost-1 .price-value { color: #ffffff; }
.cost-2 .price-value { color: #90EE90; }
.cost-3 .price-value { color: #6CB4EE; }
.cost-4 .price-value { color: #C77DFF; }
.cost-5 .price-value { color: #FFB347; }

.price-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price-bar {
    height: 8px;
    background: #2a3040;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.price-bar-fill {
    height: 100%;
    background: #ffd700;
    border-radius: 4px;
    transition: width 0.3s;
}

.price-percentage {
    color: #8e9cb5;
    font-size: 0.9rem;
}

/* Popular Heroes */
.heroes-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.popular-heroes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.popular-hero-card {
    background: #1a1f2f;
    border: 1px solid #2a3040;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.popular-hero-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.popular-hero-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid;
    flex-shrink: 0;
}

.popular-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-hero-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.popular-hero-price {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.popular-hero-synergies {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mini-synergy-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #ffd700;
}

.more-synergy {
    color: #8e9cb5;
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    background: #0f1322;
    padding: 4rem 2rem;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #1a1f2f;
    border: 1px solid #2a3040;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #8e9cb5;
    line-height: 1.6;
}

/* Recent Builds */
.builds-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.recent-builds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.build-card {
    background: #1a1f2f;
    border: 1px solid #2a3040;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.build-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.build-preview {
    padding: 1.5rem;
    background: #0f1322;
}

.mini-board {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    height: 60px;
}

.mini-hero {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid;
}

.mini-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-more {
    background: #2a3040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-weight: bold;
    font-size: 0.8rem;
}

.build-info {
    padding: 1.5rem;
}

.build-info h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.build-meta {
    display: flex;
    gap: 1rem;
    color: #8e9cb5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.build-meta i {
    margin-right: 0.3rem;
    color: #ffd700;
}

.btn-view {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-view:hover {
    text-shadow: 0 0 10px #ffd700;
}

.empty-builds {
    text-align: center;
    padding: 3rem;
    background: #1a1f2f;
    border: 1px solid #2a3040;
    border-radius: 15px;
}

.empty-builds a {
    color: #ffd700;
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1f2f 0%, #0f1322 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid #2a3040;
    border-bottom: 1px solid #2a3040;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #8e9cb5;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-cta {
    background: #ffd700;
    color: #1a1f2f;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
}

/* Footer */
.footer {
    background: #0f1322;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #8e9cb5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #8e9cb5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #8e9cb5;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: #ffd700;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2a3040;
    color: #4a5268;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .price-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .popular-heroes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .price-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popular-heroes-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-builds-grid {
        grid-template-columns: 1fr;
    }
}