.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    
    width: 80px;
    height: 80px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-45%, -45%);
    
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1px); 
    -webkit-backdrop-filter: blur(1px);  /* Safari support */
    transition: transform 0.25s ease-out;
}
.custom-cursor.cursor-hover {
    transform: scale(0.5) translate(-90%, -90%);
    backdrop-filter: blur(0.05px); 
    -webkit-backdrop-filter: blur(0.05px);
}
body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #000;
    color: #eee;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}
body.hide-initial {
    opacity: 0;
}
body.fade-in-active { 
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 56.25vw;
    background: rgba(0, 0, 0, 0.2); /* lớp phủ mờ tối video */
    z-index: 2;
}

.game-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

.content-card 
{
    top:0;
    start:0;
    width: 100%; 
    height: 91vh;
    background-color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 2rem;
    box-sizing: border-box;
    scroll-snap-align: start;
}
.center-content-wrapper {
    padding:0;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.logo-image {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
    box-shadow: none !important;
    z-index: 1;
}

.button 
{
    margin-bottom: 1vh;
    padding: 14px 32px;
    font-size: 1.1rem;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 1px;
    color: white;
    text-decoration: none;
    transition: background-color 0.4s, color 0.s;
}

.button:hover {
    background-color: white;
    color: black;
}
.scrollCaretButton {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
}

.caret-wrapper {
    transition: transform 0.3s ease;
}

.scrollCaretButton:hover .caret-wrapper {
    transform: translateY(5px);
}


.scrollCaretButton .caret-icon {
    width: 30px;
    height: 30px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    margin-top: -4px; 
}

.scrollCaretButton.fade-out {
    opacity: 1;
    transform: translate(-50%, 20px);
    pointer-events: none;
    animation: pop-out 0.5s ease forwards;
}
@keyframes pop-out {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}
.scrollCaretButton.fade-in {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
    animation: pop-in 0.5s ease forwards;
}

/* Animation hiện lại */
@keyframes pop-in {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
.site-footer {
    background-color: #111;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 60px; /* limit size to make good layout */
}

.footer-socials a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: white;
}
.centered-text-container {
    max-width: 1225px;
    margin: 0 auto;
    padding: 100px 40px;
    text-align: justify;
    hyphens: auto; /*auto break line*/
    text-justify: inter-word; 
}

.centered-text-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #fff; 
    letter-spacing: 2px; 
}

.centered-text-container p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8; 
    color: #e0e0e0; 
}

.centered-text-container ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.centered-text-container ul li {
    font-size: 1em;
    margin-bottom: 10px;
    color: #ccc;
}

.centered-text-container ul li strong {
    color: #fff;
}