    @import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");
*{
    font-family: "Titillium Web", sans-serif;
}
body{
    background-color: #1A1A2E;


    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    
    background-repeat: no-repeat;
}

.container {
    background-color: #1A1A2E;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 350px;
    color: #fff;
  }
.containerProject {
    background-color: transparent;

    border-radius: 8px;
    box-shadow: none;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 350px;
    color: #fff;
  }
.containerAnnounce {
    background-color: transparent;
    padding: 0.8rem;
    border-radius: 8px;
    border: 2px dashed #E94560;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 350px;
    color: #fff;
  }

.container h1 {
    margin-bottom: 20px;
}

h2{
  color: #fff;
}
::placeholder{
    color: #ccc;
}
.container input[type="text"]:focus{
    outline: 2px solid #E94560;
}
.container input[type="text"],
.container button {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.container input[type="text"] {
    border: 1px solid #1A1A2E;
    background-color: #1A1A2E;
    color: #fff;
    transition: all 0.3s;
}

.container button {
    background: linear-gradient(
                90deg,
                #0F3460,
                #E94560,
                #16213E,
                #E94560
            );
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    
}

.share-section {
    margin-top: 20px;
    text-align: center;
}

.share-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 400;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.share-button {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-button i {
    margin-right: 5px;
    font-size: 12px;
}

.whatsapp-share {
    background-color: #128C7E;
}

.whatsapp-share:hover {
    background-color: #128C7E;
}

.line-share {
    background-color: #00C300;
}

.line-share:hover {
    background-color: #009900;
}

.twitter-share {
    background-color: #000;
}

.twitter-share:hover {
    background-color: #1991DA;
}
.bluesky-share{
  background-color: #1185FE;
}
#result-section button{
    font-size: 14px;
    width: 100%;
}
button[onclick="kembali()"]{
  display: none;
  
}
button[onclick="kembali()"] i{
  vertical-align: middle;
  transform: translateX(-0.5rem);
}

.result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    
}
.titleResult span {
    color: #E94560;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.titleResult span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    border-radius: 3px;
    height: 2px;
    background: linear-gradient(to right, #E94560, #1A1A2E, #E94560);
    background-size: 200% 100%;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: underlineMove 2s linear infinite;
}

@keyframes underlineMove {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.titleResult span:hover {
    animation: colorPulse 2s infinite;
}

@keyframes colorPulse {
    0%, 100% {
        color: #E94560;
    }
    50% {
        color: #fff;
    }
}
.titleResult{
  
  font-weight: 400;
}
.titleResult span{
  color: #E94560;
  font-weight: 600;
  
}
.mainResult{
  font-size: 1.7rem;
}
.teksShare{
  font-size: 0.7rem;
  font-weight: 500;
}
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        .project-card {
            background-color: transparent;
            background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #1A1A2E 7px ), repeating-linear-gradient( #16213E, #E94560 );
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .project-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        .project-content {
            display: flex;
            flex-grow: 1;
        }
        .project-image {
            width: 100px;
            height: 100%;
            object-fit: cover;
        }
        .project-info {
            padding: 1rem;
            flex-grow: 1;
        }
        .project-title {
            font-size: 1rem;
            margin: 0 0 0.5rem 0;
            color: #fff;
        }
        .project-description {
            font-size: 0.8rem;
            margin-bottom: 0.8rem;
            color: #ddd;
        }
        .project-link {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background-color: #1A1A2E;
            color: #fff;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.8rem;
            transition: background-color 0.3s ease;
        }
        .project-link:hover {
            background-color: #007;
        }
        .countdown {
            background-color: #1A1A2E;
            padding: 0.5rem;
            text-align: center;
            font-size: 0.8rem;
            color: #fff;
            backdrop-filter: blur(4px);
        }
        .countdown-value {
            font-weight: bold;
            font-size: .8rem;
        }
        sup{
          font-size: 0.4rem;
        }
        
        .launching {
          font-style: italic;
        }
        .project-link i {
          vertical-align: middle;
          margin-left: 3px;
        }
  
.container footer img{
    width: 50px;
    height: 50px;
    filter: grayscale(100%) brightness(1000%); /* 0.5 buat lebih gelap, 1 buat original, >1 buat lebih terang */
}
p{
  line-height: 1.3;
  word-wrap: break-word;
}

        .loading-container {
            width: 350px;
            height: 30px;
            background-color: gray;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            display: none;
        }
        .loading-bar {
            width: 0%;
            height: 100%;
            background: linear-gradient(
                90deg,
                #0F3460,
                #E94560,
                #16213E,
                #E94560
            );
            background-size: 300% 100%;
            animation: gradient 2s ease infinite,
                       loading 3s ease-out infinite;
            border-radius: 5px;
            position: relative;
        }
        .loading-bar::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                90deg,
                transparent,
                #0F3460,
                transparent
            );
            animation: shine 3s ease-out infinite;
        }
        .loading-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #fff;
            font-weight: bold;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        #toastContainer {
    position: fixed;
    top: 20px;
    z-index: 1000;
}
        .toast {
    background: rgb(200, 0, 0);
    color: #fff;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    animation: shake 0.4s;
}

.toast.show {
    opacity: 1;
}

.toast-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.error {
  outline: 1px solid red;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.5);
  border-radius: 0px;
}
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        @keyframes loading {
            0% { width: 0%; }
            100% { width: 100%; }
        }
        @keyframes shine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
                @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }
        .shake{
  animation: shake 0.5s;
  
}
span a{
  text-decoration: none;
  color: #E94560;
}
        #announcement-text {
            font-size: 0.8rem;
            color: #fff;
            height: 50px; /* Fixed height */
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .announcement-slide {
            position: absolute;
            width: 100%;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        .announcement-slide.active {
            opacity: 1;
            transform: translateY(0);
        }
        .announcement-slide.inactive {
            opacity: 0;
            transform: translateY(-50px);
        }
