/* CSS Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    max-width: 100vw; /* Prevents horizontal overflow globally */
}

html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    overflow-x: hidden; /* Global horizontal scroll prevention */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Calibri, Candara, Segoe, sans-serif;
    background-color: #1a0500; /* Dragon Empire BG */
    color: #fff0e0; /* Dragon Empire Text */
    line-height: 1.6;
    font-size: 16px; /* Base font size */
}

main {
    flex: 1;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; /* Ensure main content doesn't cause overflow */
}

.ckichn-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Global Image & Media Styling */
img, canvas, iframe, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures media covers its container without distortion */
    box-sizing: border-box;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); color: #ffd700; } /* Dragon Empire Sec */
h2 { font-size: clamp(1.8rem, 4vw, 3rem); color: #ff8c00; } /* Dragon Empire Acc */
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); color: #ff4500; } /* Dragon Empire Pri */
h4 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: #fff0e0; }
h5 { font-size: clamp(1rem, 2vw, 1.4rem); color: #fff0e0; }
h6 { font-size: 1rem; color: #fff0e0; }

a {
    color: #4fc3f7; /* Bright blue for links */
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Header & Navigation */
.ckichn-header {
    padding: 20px 0;
    background: rgba(0,0,0,0.5); /* Slightly transparent dark background */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    transition: background 0.3s ease;
}

.ckichn-header .ckichn-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ckichn-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.ckichn-logo span {
    background: linear-gradient(45deg, #ff4500, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ckichn-desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.ckichn-desktop-nav a {
    color: #fff0e0;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
}

.ckichn-desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff4500; /* Dragon Empire Pri */
    transition: width 0.3s ease;
}

.ckichn-desktop-nav a:hover::after {
    width: 100%;
}

.ckichn-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ckichn-age-flag {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff0e0;
}

.ckichn-hamburger {
    display: none; /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #ff4500; /* Dragon Empire Pri */
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 1.4rem;
    color: #ff4500;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.ckichn-hamburger:hover {
    background: #ff4500;
    color: #fff;
}

/* Mobile Menu Overlay */
.ckichn-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-y: auto;
}

.ckichn-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ckichn-mobile-menu li {
    margin-bottom: 25px;
}

.ckichn-mobile-menu a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff0e0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ckichn-mobile-menu a:hover {
    color: #ff4500; /* Dragon Empire Pri */
    text-shadow: 0 2px 15px rgba(255,69,0,0.5);
}

.ckichn-close-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.ckichn-close-menu:hover {
    color: #ff4500; /* Dragon Empire Pri */
    transform: scale(1.1);
}

/* Disclosure Bar */
#ckichn-disclosure-bar {
    background: #040d1f;
    color: #4fc3f7;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1565c0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#ckichn-disclosure-bar span {
    white-space: nowrap;
}

/* Footer */
.ckichn-footer {
    padding: 50px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto; /* Pushes footer to the bottom */
}

.ckichn-footer h3 {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 2rem;
    color: #ffd700; /* Dragon Empire Sec */
}

.ckichn-footer ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid rgba(150, 150, 150, 0.2);
    padding-bottom: 20px;
    width: 100%;
}

.ckichn-footer li {
    margin-bottom: 10px; /* For mobile when stacked */
}

.ckichn-footer a {
    color: #fff0e0;
    font-size: 1.05rem;
    opacity: 0.9;
    text-decoration: none;
}

.ckichn-footer a:hover {
    color: #ff4500; /* Dragon Empire Pri */
    text-decoration: underline;
}

.ckichn-footer-contact {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.9;
    text-align: left;
    width: 100%;
}

.ckichn-footer-contact p {
    margin: 5px 0;
}

.ckichn-footer-contact strong {
    color: #ff8c00; /* Dragon Empire Acc */
}

.ckichn-footer > div > div:nth-of-type(2) { /* Styling for the main compliance block */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
    width: 100%;
}

.ckichn-footer div[style*="background: rgba(255, 255, 255, 0.05)"] { /* Specific style for the warning box */
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ckichn-footer h4 {
    margin: 0 0 5px 0;
    color: #ffeb3b;
    font-size: 1.1em;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff4500, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ckichn-footer p[style*="margin: 0; font-weight: bold; font-size: 1.2em;"] {
    margin: 0;
    font-weight: bold;
    font-size: 1.2em;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.ckichn-footer p[style*="margin-bottom: 10px; font-size: 0.9em; text-align: justify;"] {
    margin-bottom: 10px;
    font-size: 0.9em;
    text-align: justify;
    opacity: 0.85;
}

.ckichn-footer p[style*="font-size: 0.85em; opacity: 0.8; text-align: justify;"] {
    font-size: 0.85em;
    opacity: 0.8;
    text-align: justify;
}

.ckichn-footer p[style*="margin-bottom: 10px; font-size: 0.9em; text-align: left;"] {
    margin-bottom: 10px;
    font-size: 0.9em;
    text-align: left;
}

.ckichn-footer p[style*="font-size: 0.85em; opacity: 0.8; text-align: left;"] {
    font-size: 0.85em;
    opacity: 0.8;
    text-align: left;
}

.ckichn-footer p[style*="font-size: 0.78em; opacity: 0.75; line-height: 1.55; text-align: left;"] {
    font-size: 0.78em;
    opacity: 0.75;
    line-height: 1.55;
    text-align: left;
}

.ckichn-footer strong {
    color: #fff0e0;
    opacity: 0.95;
}

.ckichn-copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 0.85em;
    opacity: 0.7;
}

.ckichn-copyright a {
    color: inherit; /* Inherit from parent opacity */
    text-decoration: underline;
}

/* Content Section Styling */
.ckichn-content-section {
    padding: 80px 20px;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.ckichn-content-section h2, .ckichn-content-section h3 {
    text-align: center;
    margin-bottom: 40px;
}

/* Buttons */
.ckichn-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: linear-gradient(45deg, #ff4500, #ff8c00); /* Dragon Empire Pri -> Acc */
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.4);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ckichn-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 69, 0, 0.6);
    color: #fff;
    text-decoration: none;
}

/* Trust Badges / Chips */
.ckichn-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff0e0;
    margin: 5px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.ckichn-trust-badge i {
    font-size: 1.1rem;
    color: #ffd700; /* Dragon Empire Sec */
}

/* === LAYOUT ARCHITECTURE === */

/* HERO LAYOUT: FULL-BLEED-OVERLAY */
.ckichn-hero {
    position: relative;
    min-height: 85vh;
    padding: 160px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background-image: url('dfjk32kjsdkjsjk98.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden; /* Crucial for pseudo-element overlay */
}

.ckichn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.ckichn-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #fff;
}

.ckichn-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.ckichn-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.ckichn-hero-cta-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* GAMES GRID LAYOUT: NEO-BRUTALIST ARCHITECTURE */
.ckichn-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ckichn-game-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: #0a0200; /* Darker shade for card */
    border: 6px solid #000; /* Neo-brutalist thick border */
    box-shadow: 12px 12px 0px #000; /* Neo-brutalist hard shadow */
}

.ckichn-game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 6px solid #000; /* Align with card border */
    filter: grayscale(20%) contrast(120%); /* Slightly stylized image */
}

.ckichn-game-card-info {
    padding: 20px;
    text-align: center;
}

.ckichn-game-card-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffd700; /* Dragon Empire Sec */
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ckichn-game-card-info p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.ckichn-game-card:hover {
    transform: translateY(-8px) scale(1.02); /* Slight lift */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); /* Larger, softer shadow on hover */
    border-color: #ff4500; /* Dragon Empire Pri border */
}

/* === CONTENT SECTION STYLES FOR BRUTALIST-STRIPES === */
/* The alternating backgrounds will be applied in HTML section by section,
   but here we define the base styles for sections */
.ckichn-section {
    padding: 80px 20px;
    box-sizing: border-box;
}

.ckichn-section-dark { /* Primary BG */
    background-color: #1a0500;
    color: #fff0e0;
}

.ckichn-section-accent { /* Accent BG */
    background-color: #2a0b00; /* Slightly lighter/different dark shade for contrast */
    color: #fff0e0;
}

.ckichn-section-primary { /* Primary BG, used for hero */
    background-color: #1a0500;
    color: #fff0e0;
}

.ckichn-section-secondary { /* Secondary BG, for contrast sections */
    background-color: #3d140a; /* Another darker shade */
    color: #fff0e0;
}

/* Add more specific section styling if needed */

/* === MOBILE BREAKPOINTS === */

/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
    .ckichn-header .ckichn-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ckichn-logo {
        margin-bottom: 10px;
    }
    .ckichn-desktop-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .ckichn-hero {
        padding: 100px 5% 60px !important;
        text-align: center !important;
        background-attachment: scroll !important; /* Disable parallax on smaller screens for performance */
    }
    .ckichn-hero-content {
        max-width: 100%;
    }
    .ckichn-hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem) !important;
    }
    .ckichn-hero-content p {
        font-size: 1.1rem !important;
    }
    .ckichn-hero-cta-container {
        justify-content: center;
    }
    .ckichn-game-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 30px;
    }
    .ckichn-game-card img {
        height: 180px;
    }
    .ckichn-content-section {
        padding: 60px 20px !important;
        font-size: 1rem !important;
    }
    .ckichn-footer {
        padding: 40px 20px !important;
    }
}

/* === MOBILE (≤768px) === */
@media (max-width: 768px) {
    html, body {
        font-size: 15px;
        overflow-x: hidden;
    }
    .ckichn-header {
        padding: 12px 16px !important;
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(0,0,0,0.85); /* Slightly more opaque on mobile */
    }
    .ckichn-header .ckichn-container {
        flex-direction: column;
        align-items: center;
    }
    .ckichn-logo {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    .ckichn-desktop-nav {
        display: none !important;
    }
    .ckichn-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 2px solid #ff4500;
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 1.4rem;
        color: #ff4500;
        cursor: pointer;
        line-height: 1;
        transition: all 0.3s ease;
    }
    .ckichn-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .ckichn-hero {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        padding: 60px 16px 40px !important;
        text-align: center !important;
        gap: 24px !important;
        min-height: unset !important;
        background-attachment: scroll !important;
    }
    .ckichn-hero h1, .ckichn-hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    .ckichn-hero-content p, .ckichn-hero-content p {
        font-size: 1rem !important;
        margin-bottom: 24px !important;
    }
    .ckichn-hero-cta-container {
        justify-content: center;
    }

    .ckichn-game-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
        margin-top: 40px;
    }
    .ckichn-game-card {
        border-radius: 12px !important;
        border-width: 4px !important;
        box-shadow: 6px 6px 0px #000 !important;
    }
    .ckichn-game-card img {
        height: 140px !important;
        border-bottom-width: 4px !important;
    }
    .ckichn-game-card-info {
        padding: 15px;
    }
    .ckichn-game-card-info h4 {
        font-size: 1.1rem;
    }

    .ckichn-btn {
        padding: 12px 24px !important;
        font-size: 0.85rem !important;
    }

    .ckichn-content-section {
        padding: 40px 16px !important;
        font-size: 1rem !important;
    }
    .ckichn-content-section h2, .ckichn-content-section h3 {
        margin-bottom: 25px;
    }

    .ckichn-footer {
        padding: 30px 16px !important;
        font-size: 0.85rem !important;
    }
    .ckichn-footer ul {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .ckichn-footer a {
        font-size: 1rem;
    }
    .ckichn-footer h3 {
        font-size: 1.6rem;
    }
    .ckichn-footer div[style*="background: rgba(255, 255, 255, 0.05)"] {
        padding: 10px;
    }
    .ckichn-footer h4 {
        font-size: 1em;
    }
    .ckichn-footer p[style*="margin: 0; font-weight: bold; font-size: 1.2em;"] {
        font-size: 1.1em;
    }
    .ckichn-footer p[style*="margin-bottom: 10px; font-size: 0.9em; text-align: justify;"] {
        font-size: 0.85em;
    }
    .ckichn-footer p[style*="font-size: 0.85em; opacity: 0.8; text-align: justify;"] {
        font-size: 0.8em;
    }
    .ckichn-footer p[style*="font-size: 0.78em; opacity: 0.75; line-height: 1.55; text-align: left;"] {
        font-size: 0.7em;
    }
    .ckichn-copyright {
        font-size: 0.75em;
    }
}

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
    .ckichn-hero h1, .ckichn-hero-content h1 {
        font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
    }
    .ckichn-hero-content p {
        font-size: 0.95rem !important;
    }
    .ckichn-btn {
        width: 100%; /* Full width buttons on very small screens */
        text-align: center;
        padding: 12px;
    }
    .ckichn-game-grid {
        grid-template-columns: 1fr !important; /* Single column on very small screens */
    }
    .ckichn-game-card img {
        height: 180px !important;
    }
    .ckichn-trust-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    .ckichn-header {
        padding: 10px 12px !important;
    }
    .ckichn-logo {
        font-size: 1.3rem;
    }
    .ckichn-hamburger {
        font-size: 1.3rem;
        padding: 5px 8px;
    }
    .ckichn-mobile-menu a {
        font-size: 1.5rem;
    }
    .ckichn-close-menu {
        font-size: 2rem;
        top: 15px;
        right: 15px;
    }
}

/* === DESKTOP ONLY: Hide hamburger === */
@media (min-width: 769px) {
    .ckichn-hamburger {
        display: none !important;
    }
    .ckichn-desktop-nav {
        display: flex !important;
    }
    .ckichn-header .ckichn-container {
        justify-content: space-between;
    }
}