/* =====================================================
   NONAKRIS HOMEPAGE
===================================================== */

.nonakris-homepage {
    background: #fff;
    color: #222;
    overflow-x: hidden;
}

.home .nonakris-homepage {
    width: 100%;
    flex: 0 0 100%;
}

.nonakris-home-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
	box-sizing: border-box;
}

/* Hero */

.nonakris-home-hero {
    width: 100%;
    min-height: 268px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)),
        url("https://nonakris.com/wp-content/uploads/2026/06/impossible-surreal-realm-flowing-forms.webp") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nonakris-home-hero-overlay {
    width: 100%;
    padding: 66px 20px;
    text-align: center;
}

.nonakris-home-hero h1 {
    color: #fff;
    font-family: "Marcellus", serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.nonakris-home-hero p {
    color: #fff;
    font-family: "Marcellus", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
}

/* Stats */

.nonakris-home-stats {
    margin: 34px 0 58px;
}

.nonakris-stats-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
}

.nonakris-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.nonakris-stat-artifact {
    width: 128px;
    height: 128px;
    object-fit: contain;
    display: block;
}

.nonakris-stat-text {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.nonakris-stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #222;
}

.nonakris-stat-label {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #555;
}
@media (max-width: 768px) {
    .nonakris-stats-grid {
        max-width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .nonakris-stat-artifact {
        width: 88px;
        height: 88px;
    }

    .nonakris-stat-number {
        font-size: 22px;
    }

    .nonakris-stat-label {
        font-size: 15px;
    }

    .nonakris-stat-text {
        gap: 5px;
    }
    
}

/* World Rows */

.nonakris-worlds-section {
    padding: 10px 0 70px;
    background: #fff;
}

.nonakris-world-row {
    margin-bottom: 54px;
}

.nonakris-world-title {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 18px;
    padding-left: 9px;
    color: #222;
}

.nonakris-world-title a {
    font-size: 18px;
    font-weight: 600;
    color: #A77B36;
    text-decoration: none;
    margin-left: 0;
}

.nonakris-world-title a:hover {
    color: #D4B36A;
}

/* Carousel */

.nonakris-carousel {
    position: relative;
    background: transparent;
}

.nonakris-carousel-viewport {
    overflow: hidden;
    background: transparent;
}

.nonakris-carousel-track {
    display: flex;
    background: transparent;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nonakris-home-card {
    flex: 0 0 calc(100% / 3);
    padding: 0 9px 22px;
    box-sizing: border-box;
}

.nonakris-home-card a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 11px;
    background: #ddd;
    aspect-ratio: 16 / 9;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 20px -18px rgba(0, 0, 0, 0.55);
}

.nonakris-home-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nonakris-home-card:hover img {
    transform: scale(1.05);
}

.nonakris-home-card-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 16px 14px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

/* Enter World Card */

.nonakris-enter-world-card img {
    filter: brightness(1.2) saturate(0.55) contrast(0.78);
}

.nonakris-enter-world-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.58);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #222;
}

.nonakris-enter-world-overlay span {
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.nonakris-enter-world-overlay strong {
    font-size: 36px;
    line-height: 1.1;
    color: #111;
}

/* Arrows */

.nonakris-carousel-arrow {
    appearance: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(35, 31, 28, 0.82);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 4px;
}

.nonakris-carousel-arrow:hover {
    background: linear-gradient(
        to bottom,
        #E0BF77 0%,
        #D4B36A 55%,
        #C49A4E 100%
    );
    color: #fff;
}

.nonakris-carousel-prev {
    left: -12px;
}

.nonakris-carousel-next {
    right: -12px;
}

.nonakris-carousel-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

/* Responsive */

@media (max-width: 900px) {
    .nonakris-home-header-inner {
        flex-wrap: wrap;
    }

    .nonakris-home-search {
        width: 100%;
        margin-left: 0;
    }

    .nonakris-home-search form,
    .nonakris-home-search .search-form {
        width: 100% !important;
        max-width: 100% !important;
    }

    .nonakris-home-card {
        flex-basis: 50%;
    }
}

@media (max-width: 600px) {
    .nonakris-home-container,
    .nonakris-home-header-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nonakris-home-nav {
        display: none;
    }

    .nonakris-home-hero {
        min-height: 220px;
    }

    .nonakris-home-hero h1 {
        font-size: 36px;
    }

    .nonakris-home-hero p {
        font-size: 17px;
    }

    .nonakris-home-card {
        flex-basis: 100%;
    }

    .nonakris-world-title {
        font-size: 24px;
    }

    .nonakris-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }
}