* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f1f4;
    color: #333;
    overflow-x: hidden;
}

/* ===== NAVIGASI ===== */
header {
    background: #e2231a;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    background: #00a2ff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 20px;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e2231a 0%, #ff6b35 50%, #00a2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(10px, 40px); }
}

.hero-content {
    color: white;
    z-index: 1;
    padding: 20px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    animation: slideUp 0.8s ease;
}

.hero p {
    font-size: 28px;
    margin: 15px 0;
    font-weight: 600;
    animation: slideUp 0.8s ease 0.2s both;
}

.hero .sub {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    animation: slideUp 0.8s ease 0.4s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-block;
    background: white;
    color: #e2231a;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top: 30px;
    transition: all 0.3s;
    animation: slideUp 0.8s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===== BAGIAN UMUM ===== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 40px;
    color: #e2231a;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-sub {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

/* ===== KARTU KARAKTER ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Avatar visual dengan CSS */
.avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 60%, #E0F0E0 100%);
    border: 4px solid #e2231a;
}

.face {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFDBAC;
    border-radius: 50%;
}

.eye {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    top: 20px;
}

.eye.left {
    left: 15px;
}

.eye.right {
    right: 15px;
}

.smile {
    position: absolute;
    width: 20px;
    height: 10px;
    border-bottom: 3px solid #333;
    border-radius: 0 0 20px 20px;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.body-shape {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.body-shape.boy {
    width: 90px;
    height: 50px;
    background: linear-gradient(180deg, #1E90FF, #4169E1);
    border-radius: 20px 20px 0 0;
}

.body-shape.girl {
    width: 90px;
    height: 50px;
    background: linear-gradient(180deg, #FF69B4, #FF1493);
    border-radius: 20px 20px 0 0;
}

.body-shape.kawai {
    width: 90px;
    height: 50px;
    background: linear-gradient(180deg, #FFB6C1, #FF69B4);
    border-radius: 25px 25px 0 0;
}

.body-shape.hero {
    width: 90px;
    height: 50px;
    background: linear-gradient(180deg, #FF4500, #DC143C);
    border-radius: 20px 20px 0 0;
}

/* Aksesori */
.avatar-1::after {
    content: '🎩';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
}

.avatar-2::after {
    content: '👓';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
}

.avatar-3::after {
    content: '🎀';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
}

.avatar-4::after {
    content: '🦸';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tags span {
    background: #f0f1f4;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #555;
}

/* ===== GALERI ===== */
.galeri {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    max-width: 100%;
    padding: 80px 20px;
}

.galeri .section h2 {
    color: #e2231a;
}

.galeri-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.galeri-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.galeri-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mini-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(180deg, #87CEEB, #B0E0E6);
}

.mini-face {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFDBAC;
    border-radius: 50%;
}

.mini-face::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 7px;
    border-bottom: 2px solid #333;
    border-radius: 0 0 10px 10px;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.mini-1 { background: linear-gradient(135deg, #FFB6C1, #87CEEB); }
.mini-2 { background: linear-gradient(135deg, #D8BFD8, #E6E6FA); }
.mini-3 { background: linear-gradient(135deg, #90EE90, #ADFF2F); }
.mini-4 { background: linear-gradient(135deg, #FFA500, #FF6347); }
.mini-5 { background: linear-gradient(135deg, #ADD8E6, #F0F8FF); }
.mini-6 { background: linear-gradient(135deg, #00CED1, #48D1CC); }

.galeri-item p {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

/* ===== TIPS ===== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
    border-top: 4px solid #e2231a;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #e2231a;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.tip-card h3 {
    margin-bottom: 10px;
    color: #e2231a;
    font-size: 18px;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== VIDEO ===== */
.video-container {
    background: linear-gradient(135deg, #e2231a, #ff6b35);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    margin-bottom: 30px;
}

.video-placeholder {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 60px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.video-placeholder:hover {
    background: rgba(0,0,0,0.4);
}

.play-btn {
    font-size: 60px;
    color: white;
    margin-bottom: 15px;
}

.video-placeholder p {
    color: white;
    font-size: 20px;
    font-weight: 500;
}

.video-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.video-link-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.video-link-card:hover {
    background: #e2231a;
    color: white;
    transform: translateY(-5px);
}

.note {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
}

.close:hover {
    color: #e2231a;
}

.big-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(180deg, #87CEEB, #B0E0E6);
    position: relative;
}

.big-avatar::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
}

.modal-body h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.modal-body p {
    color: #666;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin-bottom: 8px;
    font-size: 16px;
}

footer p:last-child {
    color: #999;
    font-size: 14px;
}

/* ===== RESPONSIF ===== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }
    
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .section h2 {
        font-size: 30px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-container {
        padding: 30px;
    }
    
    .video-placeholder {
        padding: 40px;
    }
    
    .video-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .galeri-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}
