
:root{
    --red-color : #930912;
    --btn-hover-bg: rgba(255, 0, 0, 0.5);

}

body {
    color: white;
    align-items: center;
    font-family: 'Candy', sans-serif;
    margin: 0;
    background-color: rgb(0, 0, 0);
}
.button-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.button-fill {
    position: absolute;
    width: 70px; 
    height: 70px;
    border-radius: 50%;
    background-color: var(--btn-color);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-in-out;
    z-index: -1;
    pointer-events: none;
}


.button-container:hover .button-fill {
    width: 200%;
    height: 200%;
}

:root {
    --btn-color: rgba(147, 9, 18, 1) /* Opacity 30% */; /* Default warna merah */
    --btn-hover-bg: rgba(147, 9, 18, 0.3) /* Opacity 30% */
}



.button {
    padding: 12px 24px;
    border: 2px solid var(--btn-color);
    color: white;
    background-color: rgba(147, 9, 18, 0.3); /* Opacity 30% */
    font-family: "Candy";
    font-size: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-block; /* Supaya bisa menggunakan padding seperti button */
    text-align: center;
    text-decoration: none; /* Hilangkan underline pada link */
}

.button:hover {
    color: white;
    background-color: var(--btn-hover-bg);
}

/* ===== MODIFIER CLASS ===== */
.btn-primary {
    --btn-color: #007bff;
    --btn-hover-bg: rgba(0, 123, 255, 0.5);
}

.btn-secondary {
    --btn-color: #6c757d;
    --btn-hover-bg: rgba(108, 117, 125, 0.5);
}

.btn-danger {
    --btn-color: #dc3545;
    --btn-hover-bg: rgba(147, 9, 18, 1) /* Opacity 30% */
}






/* HERO SECTION */


.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero video {
      filter: brightness(0.4);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
    position: absolute;
    top: 0;
    left: 0;
}
/* Overlay untuk logo dan tombol */
.overlay {
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column; /* Elemen ditumpuk ke bawah */
    align-items: center;
    gap: 20px;
}

/* Logo di tengah */
.logo {
    max-width: 70%;
    height: auto;
}

.intro-image {
    max-width: 70%;
    height: auto;
}


/* Container tombol */
.button-container {
    position: relative;
    display: inline-block;
}
/* UNDER HERO */

.under-hero{
    background-color: #930912;
    width: auto;
    height: 130px;
    align-items: center;
    justify-items: center;
}
.under-hero h1 {
    padding-top: 20px;
    font-weight: bold;
    
}


/* INTRO  */


.intro-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Menjadikan gambar sebagai background */
}

.intro-content {
    position: absolute;
    left: 10%; 
    top: 50%;
    transform: translateY(-50%); 
    color: white;
    max-width: 50%;
}

.intro-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro-container p {
    font-size: 1.2rem;
    line-height: 1.6;
}

#introduction .button.btn-danger {
    width: 130px;
}


/*Screenshot */

#screenshot-game {

    margin-bottom: 100px;
}

.sc-title {
    font-size: 2rem;
    text-align: center;
}
.simple-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--red-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



/* NEWS */

#news-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

.news-title h1{

    font-size: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 5vh;
}

.news-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-detail {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.news-meta {
    margin-top: auto;
    color: #666;
}

.date {
    color: #ff0000;
    font-size: 0.9rem;
}


#news-section .button.btn-danger {
    width: 130px;
}











/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 80vh;
        background: #11101d;
        flex-direction: column;
        align-items: start;
        padding-top: 100px;
        gap: 30px;
        transition: all 0.4s ease;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .news-image {
        height: 200px;
    }

    
}




/* Merchandise Section - Red/Black/Grey Theme */
#merchandise-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #000000;
}

.merchandise-title h1 {
    font-size: 2.5rem;
    color: white;
    text-align: left;
    margin-bottom: 2rem;
}

.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5vh;
}

.merchandise-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.merchandise-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.merchandise-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 17px;
}

.merchandise-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #cc0000;
}

.merchandise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.merchandise-card:hover .merchandise-image img {
    transform: scale(1.1);
}

.merchandise-content {
    padding: 1.5rem;
    position: relative;
    background: #1a1a1a;
}

.merchandise-content h2 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.merchandise-content p {
    color: #cccccc;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
}

.merchandise-content p::before {
    content: 'Price';
    display: block;
    font-size: 0.8rem;
    color: #cc0000;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.button-container {
    text-align: center;
}

.button.btn-danger {
    width: 130px;
   
}



@media (max-width: 768px) {
    .merchandise-grid {
        grid-template-columns: 1fr;
    }
    
    .merchandise-title h1 {
        font-size: 2rem;
    }
}




        






















/* FOOTER  */


.footer {
    background-color: #1a1a1a;
    color: white;
    padding-top: 40px;
    padding-bottom: 20px;
    width: 100%;
    overflow-x: hidden;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
  }
  
  .footer-section {
    flex: 1 1 250px; /* ✅ Flex grow + shrink + basis */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-section.about {
    align-items: center;
  }
  
  .footer-logo {
    width: 100px;
    height: auto;
  }
  
  .footer-section h2 {
    color: #aa0f0f;
    font-size: 18px;
    font-weight: bold;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-section ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .socials {
    display: flex;
    gap: 10px;
  }
  
  .contact-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #aa0f0f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    width: fit-content;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 14px;
    background-color: #111;
    padding: 15px 20px;
    margin-top: 30px;
  }
  

.socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.socials a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

.socials img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.socials img:hover {
    transform: scale(1.2);
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

    
  .footer-section {
    align-items: center;
  }
  .contact-container {
    align-items: center;
  }

    .footer-section.about {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-section.contact {
        align-items: flex-start;
    }

    .contact-btn {
        margin-top: 15px;
    }

    .socials {
        justify-content: flex-start;
    }
}
