/* style.css */

/* ========== RESET & FONT ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #0b0b15, #1a0033, #002a4e);
    background-size: 200% 200%;
    animation: bgShift 12s ease-in-out infinite;
    color: #fff;
    overflow-x: hidden;
}

/* Animasi gradasi latar */
@keyframes bgShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ========== HEADER ========== */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(150, 60, 255, 0.3);
}

.logo {
    font-weight: 600;
    font-size: 1.3rem;
    background: linear-gradient(90deg, #8e2de2, #4a00e0, #00c3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #ddd;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s;
}

nav a:hover {
    color: #9b5eff;
    transform: translateY(-2px);
}

/* Tombol Login & Register */
.btn-login,
.btn-register {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    border: 1px solid #8e2de2;
    color: #8e2de2;
}

.btn-login:hover {
    background: #8e2de2;
    color: #fff;
    box-shadow: 0 0 10px #8e2de2;
}

.btn-register {
    background: linear-gradient(90deg, #8e2de2, #4a00e0, #00c3ff);
    color: #fff;
    border: none;
    background-size: 200%;
}

.btn-register:hover {
    background-position: 100% 0;
    box-shadow: 0 0 15px #7a34ff;
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(
            circle at 30% 30%,
            rgba(160, 50, 255, 0.25),
            transparent 70%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(0, 150, 255, 0.25),
            transparent 70%
        );
    padding: 0 2rem;
}

.hero-content {
    max-width: 700px;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    background: linear-gradient(90deg, #b26bff, #4a00e0, #00c3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #cfcfff;
    margin: 1rem 0 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(90deg, #5e17eb, #8a34ff, #00c3ff);
    background-size: 200%;
    color: #fff;
    transition: background-position 0.4s ease, transform 0.2s;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(122, 52, 255, 0.4);
}

/* ===== KONER SECTION (REVISI) ===== */
.concert-section {
    padding: 6rem 3rem;
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(100, 50, 255, 0.3);
    margin-top: -4rem;
}

.concert-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    background: linear-gradient(90deg, #8e2de2, #00c3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.concert-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* selalu 3 kolom di layar besar */
    gap: 1.8rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

/* Card Konser */
.concert-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(120, 60, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 340px; /* batasi lebar tiap kartu */
    margin: 0 auto;
}

.concert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(122, 52, 255, 0.35);
}

.concert-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(120, 60, 255, 0.2);
}

.concert-card h3 {
    margin: 1rem 0 0.4rem;
    font-size: 1.1rem;
    color: #fff;
}

.concert-card p {
    font-size: 0.9rem;
    color: #ccc;
    padding: 0 1rem;
    min-height: 55px;
}

.concert-card small {
    display: block;
    margin: 1rem 0 1.3rem;
    font-size: 0.85rem;
    color: #9f9fff;
}

/* Responsif */
@media (max-width: 992px) {
    .concert-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .concert-container {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 20, 0.9);
    border-top: 1px solid rgba(120, 60, 255, 0.2);
    color: #aaa;
    font-size: 0.9rem;
}

/* ========== ANIMASI MASUK ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .concert-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .concert-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 90vh;
        padding: 0 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .btn-primary {
        padding: 0.8rem 1.4rem;
    }
    .concert-card img {
        height: 180px;
    }
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #ffbf7e; /* Warna utama sesuai tema */
    text-decoration: none;
}

/* Jika logo berupa gambar */
.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(
        0 0 4px rgba(255, 191, 126, 0.3)
    ); /* Glow halus warna tema */
}

/* Hover efek elegan */
.logo:hover {
    opacity: 0.85;
    transition: 0.2s ease;
}

/* ===== LOGO BULAT ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: #ffbf7e; /* warna tema */
    text-decoration: none;
}

/* Gambar logo bulat */
.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%; /* jadi lingkaran */
    object-fit: cover;
    border: 2px solid #ffbf7e; /* garis tema */
    padding: 2px;
    background-color: #1a1a1a; /* biar kontras dengan border */
    box-shadow: 0 0 8px rgba(255, 191, 126, 0.4); /* glow lembut */
}

/* Hover efek */
.logo:hover {
    opacity: 0.85;
    transition: 0.2s;
}
