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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #0d004f;
    line-height: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
}

.logo-icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    overflow: hidden;
}
.logo-icon img{
    width: 30px;
    height: 30px;
}

.logo-icon .li {
    position: absolute;
    display: block;
    max-width: none;
    width: 100%;
    height: 100%;
}

.li-g   { inset: 36.15% 19.87% 53.3%  19.86%; }
.li-v0  { inset: 40.43% 0%     7.48%  0%;     }
.li-v1  { inset: 52.32% 4.88%  18.88% 66.32%; }
.li-v2  { inset: 48.68% 40.66% 41.4%  40.65%; }
.li-v3  { inset: 58.79% 0%     7.47%  0%;     }
.li-v4  { inset: 73.49% 51.02% 20.03% 43.66%; }
.li-v5  { inset: 56.04% 54.4%  9.01%  7.94%;  }
.li-v6  { inset: 63.24% 54.4%  9.01%  15.15%; }
.li-v7  { inset: 40.43% 0%     7.48%  49.93%; }
.li-v8  { inset: 40.43% 0%     9.17%  38.33%; }
.li-v9  { inset: 45.49% 5.53%  8.07%  45.93%; }
.li-v10 { inset: 73.49% 15.45% 7.47%  61.18%; }
.li-g1  { inset: 71.45% 54.3%  14.63% 31.78%; }
.li-g2  { inset: 71.45% 31.77% 14.63% 54.3%;  }
.li-g3  { inset: 62.41% 23%    28.96% 68.37%; }
.li-g4  { inset: 62.41% 6.94%  28.96% 84.43%; }
.li-g5  { inset: 54.37% 14.97% 37%    76.4%;  }
.li-g6  { inset: 70.43% 14.97% 20.94% 76.4%;  }
.li-g7  { inset: 55.05% 69.71% 21.6%  6.95%;  }
.li-g8  { inset: 7.46%  21.92% 57.67% 21.91%; }
.li-g9  { inset: 43.82% 44.25% 44.68% 44.25%; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: normal;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #cd30fd;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    border-left: 1px solid #ffffff;
    padding: 24px 40px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    flex-shrink: 0;
    max-width: 145px;
}

.pill-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    line-height: normal;
    flex-shrink: 0;
    max-width: 180px;
}

.pill-light {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.pill-dark {
    background-color: rgba(155, 133, 255, 0.2);
    color: #9b85ff;
}

.site-header {
    background-color: #0d004f;
    height: 56px;
    overflow: hidden;
}

.header-inner {
    max-width: 1368px;
    margin: 0 auto;
    padding: 0 84px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    line-height: normal;
}

.hero-section {
    background: linear-gradient(to bottom, #0d004f, #4631b0);
    min-height: 844px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-inner {
    width: 1023px;
    max-width: 100%;
    padding: 30px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.hero-title {
    font-weight: 700;
    font-size: 60px;
    color: #ffffff;
    line-height: normal;
    text-align: center;

    color: #FFF;
text-align: center;
-webkit-text-stroke-width: 5px;
-webkit-text-stroke-color: #CD30FD;
font-family: Poppins;
font-size: 60px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.hero-desc {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    line-height: normal;
    text-align: center;
}

.hero-image {
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    position: relative;
}

.hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    max-width: none;
}

.gallery-section {
    padding: 60px 0;
}

.gallery-content {
    max-width: 1368px;
    margin: 0 auto;
    padding: 0 84px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.gallery-header {
    width: 895px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-header-top {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.gallery-title {
    font-weight: 700;
    font-size: 50px;
    color: #0d004f;
    line-height: normal;
}

.gallery-desc {
    font-weight: 400;
    font-size: 14px;
    color: #0d004f;
    line-height: normal;
}

.gallery-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.gallery-item {
    flex: 1;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    pointer-events: none;
    max-width: none;
}

.top-games-section {
    background: linear-gradient(to bottom, #0d004f, #4631b0);
    padding: 50px 0;
    overflow: hidden;
}

.top-games-inner {
    max-width: 1368px;
    margin: 0 auto;
    padding: 0 172px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.top-games-header {
    width: 752px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.top-games-header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.section-title-white {
    font-weight: 700;
    font-size: 50px;
    color: #ffffff;
    line-height: normal;
    text-align: center;
}

.section-desc-white {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    line-height: normal;
    text-align: center;
}

.games-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 910px;
    flex-shrink: 0;
}

.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

.game-card.large {
    width: 290px;
    height: 290px;
}

.game-card.small {
    width: 135px;
    height: 135px;
}

.game-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    max-width: none;
}

.game-card__hover {
    position: absolute;
    inset: 0;
    background-color: #cd30fd;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    line-height: 1.3;
}

.game-card:hover .game-card__hover {
    opacity: 1;
}

.games-small-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    width: 290px;
}

.games-small-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.features-section {
    padding: 50px 0;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.features-header {
    width: 752px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.features-header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.section-title-dark {
    font-weight: 700;
    font-size: 50px;
    color: #0d004f;
    line-height: normal;
    text-align: center;
}

.section-desc-dark {
    font-weight: 400;
    font-size: 14px;
    color: #0d004f;
    line-height: normal;
    text-align: center;
}

.features-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.feature-card {
    background-color: rgba(155, 133, 255, 0.15);
    border-radius: 26px;
    padding: 20px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.feature-icon img {
    position: absolute;
    height: 81.17%;
    left: 0;
    top: 9.81%;
    width: 100%;
    max-width: none;
}

.feature-title {
    font-weight: 700;
    font-size: 26px;
    color: #0d004f;
    line-height: normal;
    margin-bottom: 14px;
}

.feature-desc {
    font-weight: 400;
    font-size: 14px;
    color: #0d004f;
    line-height: normal;
}

.contact-section {
    background: linear-gradient(to bottom, #0d004f, #4631b0);
    padding: 50px 0;
    overflow: hidden;
}

.contact-wrapper {
    max-width: 1368px;
    margin: 0 auto;
    padding: 0 84px;
}

.contact-inner {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-text-col {
    width: 719px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-title {
    font-weight: 700;
    font-size: 50px;
    color: #ffffff;
    line-height: normal;
}

.contact-desc {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    line-height: normal;
}

.contact-info-list {
    display: block;
    flex-direction: column;
    gap: 15px;
    max-width: 530px;
}

.contact-info-item {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    font-weight: 700;
    font-size: 20px;
    color: #0d004f;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.contact-image-col {
    height: 458px;
    width: 461px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.contact-image-col img {
    position: absolute;
    height: 134.25%;
    left: -0.05%;
    top: -19.27%;
    width: 100.11%;
    max-width: none;
}

.site-footer {
    background-color: #0d004f;
    overflow: hidden;
}

.footer-inner {
    max-width: 1368px;
    margin: 0 auto;
    padding: 20px 84px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    line-height: normal;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    width: 40px;
    height: 40px;
    overflow: hidden;
    flex-shrink: 0;
}

.social-link img {
    width: 40px;
    height: 40px;
}

.copyright {
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: normal;
    width: 100%;
}

/* ===== Game Detail Pages ===== */

.game-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding-bottom: 60px;
}

.game-hero-section {
    background: linear-gradient(to bottom, #0d004f, #4631b0);
    padding: 50px 172px;
    overflow: hidden;
    width: 100%;
}

.game-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.game-hero-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.game-hero-title {
    font-weight: 700;
    font-size: 50px;
    color: #ffffff;
    line-height: normal;
    text-align: center;
    width: 100%;
}

.game-hero-desc {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    line-height: normal;
    text-align: center;
    width: 100%;
}

.game-thumbnail {
    width: 290px;
    height: 290px;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.game-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    max-width: none;
    pointer-events: none;
}

.game-about-section {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-shrink: 0;
}

.game-about-text {
    width: 682px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-about-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-about-title {
    font-weight: 700;
    font-size: 50px;
    color: #0d004f;
    line-height: normal;
}

.game-about-desc {
    font-weight: 400;
    font-size: 14px;
    color: #0d004f;
    line-height: normal;
}

.game-about-img {
    width: 488px;
    height: 620px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.game-about-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    max-width: none;
    pointer-events: none;
}

/* ===== Policy Pages ===== */
.policy-hero {
    background: linear-gradient(to bottom, #0d004f, #4631b0);
    padding: 50px 84px;
    width: 100%;
  
}

.policy-title {
    font-weight: 700;
    font-size: 50px;
    color: #ffffff;
    line-height: normal;
    max-width: 1198px;
    margin: 0 auto;
}

.policy-body {
    padding: 35px 84px 60px;
    width: 100%;
    max-width: 1368px;
    margin: 0 auto;
}

.policy-text {
    max-width: 1098px;
    font-size: 14px;
    font-weight: 400;
    color: #0d004f;
    line-height: normal;
}

.policy-text p {
    margin: 0;
}

/* ===== Animations & Hover Effects ===== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Hero image float */
.hero-image {
    animation: float 4s ease-in-out infinite;
}

/* Nav links underline */
.header-nav a {
    position: relative;
    transition: color 0.2s;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #cd30fd;
    transition: width 0.25s ease;
}
.header-nav a:hover::after { width: 100%; }

/* Logo hover */
.logo-link {
    transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.75; }

/* Primary button hover */
.btn-primary {
    transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
}
.btn-primary:active { transform: translateY(1px); }

/* Cookie notice buttons hover */
.cookie-notice__agree {
    transition: transform 0.2s ease, filter 0.2s ease;
}
.cookie-notice__agree:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
.cookie-notice__decline {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.cookie-notice__decline:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Gallery items hover */
.gallery-item {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(13, 0, 79, 0.18);
}

/* Game cards hover scale */
.game-card {
    transition: transform 0.25s ease;
}
.game-card:hover { transform: scale(1.05); }

/* Feature cards hover */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 36px rgba(13, 0, 79, 0.12);
    background-color: rgba(155, 133, 255, 0.25);
}

/* Contact info items */
.contact-info-item {
    transition: transform 0.2s ease;
}
.contact-info-item:hover { transform: translateX(6px); }

/* Social links */
.social-link {
    transition: transform 0.2s ease;
}
.social-link:hover { transform: scale(1.2); }

/* Footer nav underline */
.footer-nav a {
    position: relative;
    transition: color 0.2s;
}
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: width 0.25s ease;
}
.footer-nav a:hover::after { width: 100%; }

/* ===== Cookie Notice ===== */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 470px;
    max-width: calc(100vw - 30px);
    background-color: #0d004f;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-notice__img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.cookie-notice__title {
    font-weight: 700;
    font-size: 28px;
    color: #ffffff;
    line-height: normal;
}

.cookie-notice__text {
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
}

.cookie-notice__agree {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: #cd30fd;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}

.cookie-notice__decline {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}

@media (max-width: 768px) {
    .site-header {
        height: auto;
        min-height: 97px;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start ;
        justify-content: flex-start;
        gap: 20px;
        padding: 10px 15px;
        height: auto;
        max-width: 100%;
    }

    .header-nav {
        justify-content: left;
        width: 100%;
    }

    .hero-section {
        min-height: 927px;
    }

    .hero-inner {
        width: 330px;
        max-width: 100%;
        padding: 30px 0 0;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-image {
        width: 270px;
        height: 270px;
    }

    .gallery-section {
        padding: 30px 0;
    }

    .gallery-content {
        padding: 0 15px;
        max-width: 100%;
    }

    .gallery-header {
        width: 100%;
    }

    .gallery-title {
        font-size: 32px;
    }

    .gallery-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-item {
        width: 285px;
        flex: none;
        height: 400px;
    }

    .top-games-inner {
        padding: 0 15px;
        max-width: 100%;
    }

    .top-games-header {
        width: 100%;
    }

    .section-title-white {
        font-size: 32px;
    }

    .section-desc-white {
        width: 100%;
    }

    .games-grid {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .games-small-grid {
        width: 290px;
    }

    .features-inner {
        padding: 0 15px;
        max-width: 100%;
    }

    .features-header {
        width: 100%;
    }

    .section-title-dark {
        font-size: 32px;
    }

    .section-desc-dark {
        width: 100%;
    }

    .features-grid {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .feature-card {
        width: 330px;
        flex: none;
    }

    .contact-wrapper {
        padding: 0 15px;
        max-width: 100%;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-text-col {
        width: 100%;
    }

    .contact-info-item {
        white-space: normal;
        width: 330px;
    }

    .contact-image-col {
        width: 294px;
        height: 292px;
        align-self: center;
    }

    .footer-inner {
        padding: 20px 15px;
        max-width: 100%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        white-space: normal;
        text-align: center;
    }

    .game-hero-section {
        padding: 50px 15px;
    }

    .game-hero-title {
        font-size: 32px;
    }

    .game-about-section {
        flex-direction: column;
        align-items: flex-start;
        width: 330px;
        max-width: calc(100% - 30px);
    }

    .game-about-text {
        width: 100%;
    }

    .game-about-title {
        font-size: 32px;
    }

    .game-about-img {
        width: 305px;
        height: 388px;
        align-self: center;
    }

    .policy-hero {
        padding: 30px 15px;
    }

    .policy-title {
        font-size: 32px;
    }

    .policy-body {
        padding: 25px 15px 40px;
    }
}
