/* WePlay Gaming Design System - Pure CSS Version */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.6;
    color: hsl(0, 0%, 9%);
    background: linear-gradient(135deg, hsl(0, 0%, 98%), hsl(0, 0%, 94%));
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    background: hsl(0, 0%, 100%);
}

/* Typography */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid hsl(0, 0%, 90%);
    background: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-title {
    font-size: 24px;
    font-weight: 900;
    color: hsl(0, 0%, 9%);
    font-family: 'Space Grotesk', sans-serif;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: hsla(0, 0%, 9%, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: hsl(0, 0%, 9%);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: hsl(0, 0%, 9%);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid hsl(0, 0%, 90%);
}

.mobile-nav-link {
    color: hsla(0, 0%, 9%, 0.7);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 128px;
}

.hero-content {
    max-width: 1152px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    font-size: 14px;
    color: hsl(0, 0%, 45%);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-divider {
    width: 1px;
    height: 16px;
    background: hsl(0, 0%, 90%);
}

.hero-text {
    text-align: center;
    margin-bottom: 64px;
}

.hero-title {
    font-size: 96px;
    color: hsl(0, 0%, 9%);
    margin-bottom: 32px;
}

.hero-subtitle {
    font-size: 24px;
    color: hsla(0, 0%, 9%, 0.8);
    margin-bottom: 48px;
    font-weight: 500;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.progress-card {
    max-width: 384px;
    margin: 0 auto;
}

/* Card Component */
.card {
    background: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 90%);
    border-radius: 12px;
    box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.08);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.12);
    transform: translateY(-2px);
}

/* Progress Elements */
.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.level-indicator {
    background: hsl(0, 0%, 9%);
    color: hsl(0, 0%, 98%);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.level-title {
    font-weight: 600;
    color: hsl(0, 0%, 9%);
}

.level-subtitle {
    font-size: 14px;
    color: hsl(0, 0%, 45%);
}

.progress-bar {
    background: hsl(0, 0%, 96%);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(35, 100%, 45%));
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Achievement Badge */
.achievement-badge {
    background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(35, 100%, 45%));
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: hsl(0, 0%, 9%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Buttons */
.black-button {
    background: hsl(0, 0%, 9%);
    color: hsl(0, 0%, 98%);
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.black-button:hover {
    background: hsla(0, 0%, 9%, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.12);
}

.yellow-button {
    background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(35, 100%, 45%));
    color: hsl(0, 0%, 9%);
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.yellow-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.12);
}

.outline-button {
    background: transparent;
    color: hsl(0, 0%, 9%);
    border: 2px solid hsl(0, 0%, 9%);
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.outline-button:hover {
    background: hsl(0, 0%, 9%);
    color: hsl(0, 0%, 100%);
}

/* Registration Section */
.registration-section {
    background: hsla(0, 0%, 96%, 0.3);
    padding: 64px 0;
}

.registration-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px; /* untuk responsive spacing */
}

.registration-content {
    max-width: 512px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 48px;
    color: hsl(0, 0%, 9%);
    margin: 16px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    line-height: 0.9;
}

.section-subtitle {
    font-size: 18px;
    color: hsl(0, 0%, 45%);
}

.form-card {
    padding: 32px;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Tambah jarak antar elemen */
    overflow: visible;
}

.form-card input,
.form-card select,
.form-card button {
    width: 100%;
    box-sizing: border-box;
}


.registration-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: hsl(0, 0%, 9%);
    margin-bottom: 8px;
}

.form-input {
    background: hsl(0, 0%, 100%);
    border: 2px solid hsl(0, 0%, 90%);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: hsl(45, 100%, 50%);
    box-shadow: 0 0 0 3px hsla(45, 100%, 50%, 0.1);
}

.submit-button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

.form-submit {
    padding-top: 16px;
}

.xp-notification {
    margin-top: 16px;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-content {
    max-width: 1152px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: hsla(45, 100%, 50%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: hsl(0, 0%, 9%);
}

.feature-description {
    color: hsl(0, 0%, 45%);
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: hsl(45, 100%, 50%);
    color: hsl(0, 0%, 9%);
}

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

.support-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
}

.support-title {
    font-size: 48px;
    margin-bottom: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    line-height: 0.9;
}

.support-highlight {
    font-weight: 900;
}

.support-description {
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.gaming-stat {
    text-align: center;
    padding: 16px;
}

.gaming-stat-number {
    font-size: 24px;
    font-weight: 800;
    color: hsl(0, 0%, 9%);
    font-family: 'Space Grotesk', sans-serif;
}

.gaming-stat-label {
    font-size: 12px;
    color: hsl(0, 0%, 45%);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background: hsl(0, 0%, 9%);
    color: hsl(0, 0%, 100%);
    padding: 48px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 24px;
    font-weight: 900;
    color: hsl(45, 100%, 50%);
    font-family: 'Space Grotesk', sans-serif;
}

.footer-description {
    color: hsla(0, 0%, 100%, 0.7);
    max-width: 384px;
    line-height: 1.6;
}

.footer-link-title {
    font-weight: 600;
    margin-bottom: 16px;
    color: hsl(0, 0%, 100%);
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: hsla(0, 0%, 100%, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: hsl(45, 100%, 50%);
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 32px;
    text-align: center;
}

.footer-copyright {
    color: hsla(0, 0%, 100%, 0.6);
}

.footer-highlight {
    color: hsl(45, 100%, 50%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 40px 0 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .black-button,
    .yellow-button,
    .outline-button {
        width: 100%;
        text-align: center;
    }
    
    /* Form */
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .registration-section {
        padding: 40px 0;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    /* Features */
    .features-section {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Stats */
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    /* Support */
    .support-section {
        padding: 40px 0;
    }
    
    .support-title {
        font-size: 32px;
    }
    
    .support-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    /* Footer */
    .footer {
        padding: 32px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .support-title {
        font-size: 28px;
    }
    
    .gaming-stat-number {
        font-size: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}