/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #000;
}

/* Container Utama */
.landing-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #000000 100%);
    position: relative;
    overflow: hidden;
}

/* Background Pattern Elegan */
.landing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: subtleShift 20s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Container */
.image-container {
    margin-bottom: 3rem;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.main-image {
    width: 100%;
    max-width: 540px;
    height: auto;
    max-height: 960px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    transition: all 0.5s ease;
}

.main-image:hover {
    transform: scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.9),
        0 0 120px rgba(255, 215, 0, 0.3),
        inset 0 0 30px rgba(255, 215, 0, 0.15);
}

/* Button Container */
.button-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideInUp 1.5s ease-out 0.5s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base Button Styles */
.btn {
    position: relative;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
    min-width: 150px;
    text-decoration: none;
}

.btn a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
}

/* Tombol Registrasi - Merah Elegan */
.btn-register {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 50%, #DC143C 100%);
    color: #fff;
    box-shadow: 
        0 10px 30px rgba(220, 20, 60, 0.4),
        0 0 20px rgba(220, 20, 60, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-register .btn-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(220, 20, 60, 0.6),
        0 0 30px rgba(220, 20, 60, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-register:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-register:active {
    transform: translateY(-1px) scale(1.02);
}

/* Tombol Login - Emas Elegan */
.btn-login {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    color: #000;
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.btn-login .btn-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-login:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-login:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        padding: 1.5rem;
    }
    
    .main-image {
        max-width: 80vw;
        max-height: 80vh;
        border-radius: 18px;
    }
    
    .button-container {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 350px;
    }
    
    .btn {
        width: 100%;
        padding: 1.1rem 2.5rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    .image-container {
        margin-bottom: 1.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .main-image {
        width: auto;
        height: 65vh;
        max-width: 90vw;
        max-height: 65vh;
        border-radius: 15px;
        object-fit: cover;
    }
    
    .button-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0.5rem;
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 1rem;
    }
    
    .image-container {
        margin-bottom: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .main-image {
        width: auto;
        height: 60vh;
        max-width: 95vw;
        max-height: 60vh;
        border-radius: 12px;
        object-fit: cover;
    }
    
    .button-container {
        gap: 0.8rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 250px;
        margin-top: 0.5rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: 130px;
        min-height: 48px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 320px) {
    .hero-section {
        padding: 0.3rem;
        justify-content: flex-start;
        padding-top: 0.5rem;
    }
    
    .image-container {
        margin-bottom: 0.8rem;
    }
    
    .main-image {
        height: 55vh;
        max-width: 98vw;
        max-height: 55vh;
        border-radius: 10px;
    }
    
    .button-container {
        gap: 0.6rem;
        max-width: 220px;
        margin-top: 0.3rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-height: 45px;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-out 2s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
