/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2c3e50, #1a1a1a);
    background-size: 200% 200%;
    animation: gradientBackground 10s ease infinite;
    z-index: -1;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Particle Animation */
.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    background-size: 20px 20px;
    animation: moveParticles 10s linear infinite;
}

@keyframes moveParticles {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-1000px) translateX(-1000px);
    }
}

/* Parallax Effect */
.parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dark-geometric.png');
    background-size: cover;
    z-index: -1;
    animation: parallaxScroll 20s linear infinite;
}

@keyframes parallaxScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Kontainer Kontak */
.contact-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 95%;
    height: 320px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 5%;
    clip-path: polygon(50% 0%,70% 15%,70% 2%,90% 2%,90% 30%,100% 40%,100% 100%,65% 100%,65% 65%,100% 65%,100% 100%,0% 100%,0% 40%);
}

/* Animasi Border Glow */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 255, 204, 0.5);
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.5), 0 0 40px rgba(0, 255, 204, 0.5);
    }
    50% {
        border-color: #ffffff;
        box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
    }
}

.contact-container::after {
    content: "";
    position: absolute;
    top: 5px; /* Pindahkan ke dalam batas clip-path */
    left: 80%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.3) 10%, transparent 50%);
    transform: translateX(-100%);
    animation: wifiWave 2s infinite ease-in-out;
}

/* Gaya ikon sinyal WiFi */
.wifi-signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    margin-left: 10px; /* Beri jarak dari teks */
}

/* Batang sinyal */
.wifi-signal .bar {
    width: 5px;
    background-color: rgba(0, 255, 204, 0.9);
    border-radius: 2px;
    animation: wifiWave 1.5s infinite ease-in-out;
}

/* Batang dengan tinggi berbeda */
.wifi-signal .bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.wifi-signal .bar:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.wifi-signal .bar:nth-child(3) { height: 20px; animation-delay: 0.4s; }
.wifi-signal .bar:nth-child(4) { height: 26px; animation-delay: 0.6s; }

/* Animasi Gelombang */
@keyframes wifiWave {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateX(-50%) scale(2);
        opacity: 0;
    }
}

/* Animasi Melayang */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

h1 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.8);
}

.contact-number {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    color: #00ffcc;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #00ffcc;
    border-radius: 50px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.contact-number i {
    margin-right: 10px;
}

.contact-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.contact-number:hover::before {
    left: 100%;
}

.contact-number:hover {
    background: rgba(0, 255, 204, 0.3);
    color: #fff;
    box-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc;
    transform: scale(1.1);
}

.contact-number:active {
    transform: scale(0.9);
}

/* Responsive Design */
@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    .contact-number {
        font-size: 16px;
        padding: 10px 22px;
    }
}