/* Custom CSS untuk aplikasi Undian Gerak Jalan */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #e0f7fa; /* Warna latar belakang lebih cerah dan segar */
    color: #333;
    overflow-x: hidden; /* Mencegah scroll horizontal yang tidak diinginkan */
}

/* Navigasi */
.navbar {
    background: linear-gradient(to right, #007bff, #00c6ff); /* Gradien biru yang menarik */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    padding: 1rem 0; /* Padding lebih besar */
}
.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}
.navbar-brand:hover, .nav-link:hover {
    color: #e9ecef !important;
    text-shadow: 0 0 5px rgba(255,255,255,0.7);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, #00c6ff, #007bff); /* Gradien biru ke bawah */
    color: #fff;
    padding: 100px 0; /* Padding lebih besar untuk efek hero */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: moveLight 15s infinite linear;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: moveLight 20s infinite reverse linear;
}

@keyframes moveLight {
    0% { transform: translate(0, 0); }
    25% { transform: translate(50px, 50px); }
    50% { transform: translate(0, 100px); }
    75% { transform: translate(-50px, 50px); }
    100% { transform: translate(0, 0); }
}

.hero-section h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.hero-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Draw Section */
.draw-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f8ff; /* Latar belakang bagian pengundian */
}
.draw-card {
    background-color: #fff;
    border-radius: 20px; /* Radius lebih besar */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Bayangan lebih kuat */
    padding: 40px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.5s ease-out, box-shadow 0.3s ease;
}
.draw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.winner-display {
    font-size: 4em; /* Ukuran font lebih besar */
    font-weight: 800;
    color: #28a745; /* Warna sukses Bootstrap */
    margin-bottom: 30px;
    background-color: #e6ffe6; /* Latar belakang display pemenang */
    padding: 20px 0;
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0,123,255,0.2); /* Bayangan dalam */
    min-height: 120px; /* Tinggi minimum agar tidak terlalu kecil */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s forwards; /* Animasi fade in */
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.winner-label {
    font-size: 1.5em;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 30px;
    font-size: 1.2em;
    border-radius: 50px; /* Tombol kapsul */
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
    transform: translateY(-2px);
}

.text-sm {
    font-size: 0.9em;
}

/* Icon Styling */
.ri-lg { font-size: 1.3em; }
.ri-xl { font-size: 1.5em; }
.ri-2x { font-size: 2em; }
.ri-3x { font-size: 3em; }
.ri-4x { font-size: 4em; } /* Menambahkan ukuran icon */

/* Tambahan untuk responsif */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .winner-display {
        font-size: 2.5em;
        min-height: 90px;
    }
    .draw-card {
        padding: 25px;
    }
    .btn-primary {
        padding: 10px 25px;
        font-size: 1em;
    }
}