/* Reset and base styles */
@import url('https://fonts.googleapis.com/css?family=Outfit');

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

body {
    font-family: Outfit;
    background-color: #111;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Profile section */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;

    overflow: hidden;
    margin-bottom: 15px;
}

.profile-image img {
    width: 100%;
    height: 100%;
}

.profile-info h1 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.profile-info p {
    font-size: 16px;
    opacity: 0.8;
}

/* Section headings */
h3 {
    margin-top: 20px;
    margin-bottom: 12px;
    color: #ddd;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
}

h3:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Buttons */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 70px; /* Diubah dari 40px untuk memberi ruang di bawah */
}

.action-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button i {
    position: absolute;
    left: 24px; /* Jarak ikon dari tepi kiri tombol */
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px; /* Menyamakan ukuran ikon */
}

.action-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

.action-button:hover {
    background-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.action-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Different colors for different sections (4 Grup) */
/* Grup 1: Dokumen Penting (2 tombol) */
.buttons h3:nth-of-type(1) + .action-button,
.buttons h3:nth-of-type(1) + .action-button + .action-button {
    border-left-color: #182e3c; /* Dark Blue */
}

/* Different colors for different sections (4 Grup) */
/* Grup 1: Dokumen Penting (2 tombol) */
.buttons h3:nth-of-type(2) + .action-button,
.buttons h3:nth-of-type(2) + .action-button + .action-button {
    border-left-color: #00bbfa;
}

/* Grup 2: Join Us (2 tombol) */
.buttons h3:nth-of-type(3) + .action-button,
.buttons h3:nth-of-type(3) + .action-button + .action-button,
.buttons h3:nth-of-type(3) + .action-button + .action-button + .action-button {
    border-left-color: #05d7e5; /* Cyan */
}


/* Add a subtle icon to button */
.action-button:after {
    content: "→";
    position: absolute;
    right: 15px;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s ease;
}

.action-button:hover:after {
    opacity: 1;
    right: 10px;
}

/* --- Bagian .social-links dan .social-icon telah dihapus --- */

/* Background image */
.background-image {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(15%)
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Media queries for larger screens */
@media (min-width: 480px) {
    .container {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 480px;
    }
    
    .profile-image {
        width: 140px;
        height: 140px;
    }
    
    .profile-info h1 {
        font-size: 26px;
    }
}