*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
}

html {
    height: 100%;
}
body {
	/* Cursor styles */
	--cursor-stroke: #EFEFEF;
	--cursor-fill: #111111;
	--cursor-stroke-width: 10px;
    --paddingH: 36px;
    --paddingV: 36px;
    --accent: #E63946;
    transition: background-color 0.6s ease, color 0.6s ease;
    overflow-x: hidden !important;
    overflow: hidden;
    background-color: #111111;
    color: #EFEFEF;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cursor {
	display: none;
    position: relative;
    mix-blend-mode: difference;
}
.cursorTxt {
    display: none;
    color: white;
    mix-blend-mode: difference;
    z-index: 0;
}
.cursorTxt.remove {
    display: none !important;
}
.cursorTxt .txtEl {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
    animation: rotateAnim 10s infinite linear;
}

@keyframes rotateAnim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.char1 { transform: rotate(20deg);}
.char2 { transform: rotate(40deg); }
.char3 { transform: rotate(60deg); }
.char4 { transform: rotate(80deg); }
.char5 { transform: rotate(100deg); }
.char6 { transform: rotate(120deg); }
.char7 { transform: rotate(140deg); }
.char8 { transform: rotate(160deg); }
.char9 { transform: rotate(180deg); }
.char10 { transform: rotate(200deg); }
.char11 { transform: rotate(220deg); }
.char12 { transform: rotate(240deg); }
.char13 { transform: rotate(260deg); }
.char14 { transform: rotate(280deg); }
.char15 { transform: rotate(300deg); }
.char16 { transform: rotate(320deg); }
.char17 { transform: rotate(340deg); }
.char18 { transform: rotate(360deg); }

ul{
    list-style: none;
}

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

.container{
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    transition: 0.5s;
    overflow: hidden;
}
.dark-mode {
    background-color: #F2EDE9;
    color: #111111;
}
.dark-mode .container {
    color: #111111;
}

/****************************************************** 
HEADER 
******************************************************/

header{
    display: flex;
    justify-content: space-between;
    opacity: 0.01;
    z-index: 20;
    transform: translateY(10px);
    animation: mainApparition 1s forwards 1.25s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    padding: var(--paddingV) var(--paddingH);
}

.logo-okey{
    margin-top: -5px;
    margin-left: -8px;
    width: 93px;
    height: 91px;
    background-size: contain;
    background-position: top center;
    transition: 0.2s;
}

.monogram {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #EFEFEF;
    text-transform: uppercase;
}
.dark-mode .monogram {
    color: #111111;
}

.toggle-mode {
    transition: 0.5s;
}

.dark-mode .logo-okey, .dark-mode .toggle-mode {
    filter: invert(0);
}

.toggle-cap-container {
    width: 35px;
    height: 16px;
    background-color: #EFEFEF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0px 4px;
    /*cursor: pointer;*/
}

.toogle-btn {
    width: 10px;
    height: 10px;
    background-color: #111111;
    border-radius: 8px;
    transition: 0.5s;
}

.dark-mode .toogle-btn {
    transform: translateX(17px);
}

.header-center{
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    height: max-content;
    position: relative;
    text-transform: uppercase;
    /*cursor: default;*/
}

/* Hello hover reveal (CSS sibling selector) */
.hello-gif {
    position: fixed;
    left: calc(50% - 210px);
    top: calc(50vh - 135px);
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
    transition: all 0.3s, visibility 0s 0.3s;
}

/* Easter egg tooltips on tagline words */
.main-sentence .easter-word {
    display: inline;
    position: relative;
    cursor: default;
}
.main-sentence .easter-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    text-transform: none;
    white-space: nowrap;
    color: #E63946;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    padding-bottom: 4px;
}
.main-sentence .easter-word:hover .easter-tooltip {
    opacity: 1;
}



/****************************************************** 
MAIN 
******************************************************/

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    min-width: max-content;
    text-shadow: 3px 3px 0px #E63946, 6px 6px 0px rgba(230,57,70,0.2);
    text-transform: uppercase;
}

h1 .char {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 210px;
    line-height: 168px;
    opacity: 0.01;
    transform: translateY(50%);
    animation: mainApparition 0.75s forwards cubic-bezier(0.250, 0.460, 0.450, 0.940);
    animation-delay: calc(var(--animation-order) * 45ms);
    transition: font-size 0.5s;
}

.main-sentence{
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 12px;
    text-transform: uppercase;
    opacity: 0.01;
    transform: translateY(33px);
    animation: mainApparition 0.75s forwards 0.55s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    letter-spacing: 0.08em;
}

.description-okey{
    width: 440px;
    font-size: 13px;
    line-height: 19px;
    font-weight: 500;
    color: #EFEFEF;
    opacity: 0.01;
    transform: translateY(33px);
    animation: mainApparition 0.75s forwards 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    letter-spacing: 0.02em;
}

.inline-link {
    color: #E63946;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}
.inline-link:hover {
    opacity: 0.7;
}

.stickerCtn {
    position: absolute;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}

.sticker-emoji {
    position: absolute;
    font-size: 64px;
    transform: translate(-50%, -50%) scale(0.4) rotate(var(--rot, 0deg));
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.320, 1.275), opacity 0.2s ease;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.5));
}

.sticker-emoji.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg));
}

.sticker-emoji.fading {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7) rotate(var(--rot, 0deg));
    transition: transform 0.4s ease, opacity 0.4s ease;
}

























/****************************************************** 
FOOTER 
******************************************************/

footer{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    position: relative;
    padding: var(--paddingV) var(--paddingH);
    z-index: 20;
}

.capsule-left, .capsule-right{
    background-color: #E63946;
    color: #EFEFEF;
    border: solid 1px #E63946;
    border-radius: 100px;
    padding: 5px 16px;
    text-transform: uppercase;
    /*cursor: pointer;*/
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
    opacity: 0.01;
    transform: translateY(10px);
    font-size: 14px;
    letter-spacing: 0.04em;
}
.capsule-left:hover, .capsule-right:hover {
    transform: translateY(-1px);
}

.capsule-left {
    animation: mainApparition 0.8s forwards 1.4s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
.capsule-left + .emoji-hover, .capsule-right + .emoji-hover {
    animation: hideApparition 2.6s;
}
@keyframes hideApparition {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.capsule-right {
    animation: mainApparition 0.8s forwards 1.65s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

.dark-mode .capsule-left, .dark-mode .capsule-right {
    background-color: #111111;
    border: solid 1px #111111;
    color: #EFEFEF;
}
.capsule-left a, .capsule-right a{
    color: #EFEFEF;
    transition: 0.5s;
}
.dark-mode .capsule-left a, .dark-mode .capsule-right a {
    color: #EFEFEF;
}

.emoji-hover {
    visibility: hidden;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
    z-index: 1;
}
.Cla-hover{
    width: 13%;
    left: 5.5%;
}
.Ad-hover{
    width: 14.6%;
    right: 4%;
}

.social-media{
    text-transform: uppercase;
    min-width: 250px;
    width: 16.6666667%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 14px;
    text-align: center;
    opacity: 0.01;
    transform: translateY(10px);
    animation: mainApparition 1s forwards 1.25s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

.social-media a{
    display: inline-block;
    position: relative;
    transition: opacity 0.2s ease;
}
.social-media a:hover {
    opacity: 0.7;
}

.social-media a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: -2px;
    content: "";
    display: block;
    height: 1px;
    left: 0%;
    position: absolute;
    background: #E63946;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}
.dark-mode .social-media a:after {   
    background: #111111;
}

@keyframes mainApparition {
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes opacityApparition {
    to {
        opacity: 1;
    }
}

@media (any-pointer: fine) {
/*    body {
        cursor: none;
    }
    a {
       cursor: none !important;
    }
*/
	.cursor {
		position: fixed;
		top: 0;
		left: 0;
		display: block;
		pointer-events: none;
		opacity: 0;
        z-index: 20;
	}
	.cursor__inner {
		fill: var(--cursor-fill);
		stroke: var(--cursor-stroke);
		stroke-width: var(--cursor-stroke-width);
	}

    .cursorTxt.in {
        opacity: 1;
    }
    .cursorTxt.active {
		display: block;
    }
    
    .cursorTxt {
        position: fixed;
        top: 0px;
        left: 0px;
        opacity: 0;
        transition: opacity 0.7s;
    }
    .cursorTxt span {
        font-size: 10px;
        height: 45px;
        position: absolute;
        width: 10px;
        transform-origin: bottom center;
    }
    .header-center:hover + .hello-gif {
        opacity: 1;
        transform: scale(1);
        visibility: initial;
        transition: opacity 0.3s, transform 0.3s;
    }
    .social-media a:hover:after {
        width: 100%;
        left: 0;
    }
}

@media (any-pointer: fine) and (min-width: 768px) {


    .capsule-left:hover{
        background-color: transparent;
        color: #EFEFEF;
    }
    .dark-mode .capsule-left:hover{
        background-color: #00000000;
        color: #EDE8E4;
    }
    
    .capsule-left:hover a{
        color: #EFEFEF;
    }
    
    .dark-mode .capsule-left:hover a{
        color: #EDE8E4;
    }
    
    .capsule-right:hover{
        background-color: transparent;
        color: #EFEFEF;
    }
    
    .dark-mode .capsule-right:hover{
        background-color: #00000000;
        color: #EDE8E4;
    }
    
    .capsule-right:hover a{
        color: #EFEFEF;
    }
    
    .dark-mode .capsule-right:hover a{
        color: #EDE8E4;
    }

    .capsule-left:hover + .Cla-hover, .capsule-right:hover + .Ad-hover{
        visibility: inherit;
        opacity: 1;
        transition: opacity 1s;
    }  
}

@media (max-height: 810px) {
    body {
        --paddingH: 25px;
        --paddingV: 25px;
    }
    .logo-okey {
        height: 85px;
    }
    main {
        margin-bottom: 25px;
    }
    h1 .char {
        font-size: 155px;
        line-height: 124px;
    }
    .main-sentence {
        margin-top: 25px;
    }
}

@media (max-width: 1200px) and (min-height: 810px) {
    h1 .char {
        font-size: 174px;
        line-height: 139px;
    }

}
@media (max-width: 991px) {
    h1 .char {
        font-size: 130px;
        line-height: 104px;
    }
    
    .description-okey {
        width: 80%;
    font-size: 17px;
    line-height: 23px;
    }
    .main-sentence {
        font-size: 20px;
    } 
    

}

@media (max-height: 650px) {
    h1 .char {
        font-size: 102px;
        line-height: 82px;
    }
}

@media (max-width: 768px) {
    h1 .char {
        font-size: 102px;
        line-height: 82px;
    }
    header {
        padding-top: var(--paddingV);
        padding-left: var(--paddingH);
        padding-right: var(--paddingH);
    }
    .description-okey {
        width: 70%;
        font-size: 13px;
        line-height: 18px;
    }
    .main-sentence {
        font-size: 16px;
    }
    

    footer {
        flex-wrap: wrap;
        padding: 0 var(--paddingH) 20px;
        gap: 12px;
        justify-content: center;
    }
    .social-media {
        order: 1;
        width: 100%;
        padding-bottom: 15px;
        justify-content: center;
        gap: 24px;
    }

    .capsule-left, .capsule-right {
        order: 2;
        border-radius: 100px;
        padding: 10px 20px;
        font-size: 13px;
        border: solid 1px #E63946;
    }
    .capsule-left {
        order: 2;
    }
    .capsule-left::after {
        display: none;
    }
    .capsule-right {
        order: 3;
    }
    .dark-mode .capsule-left, .dark-mode .capsule-right {
        border: solid 1px #111111;
    }
    .emoji-hover {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 .char {
        font-size: 72px;
        line-height: 58px;
    }
    .description-okey {
        width: 90%;
    }

    .header-center {
        display: none;
    }
    .desk-logo {
        display: none;
    }
    .mobile-logo {
        display: block;
    }
    .cursorTxt {
        display: none !important;
    }
}

/******************************************************
CHAT OVERLAY
******************************************************/

.chat-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-overlay.open {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(24px);
}

.chat-chrome {
    width: min(420px, 92vw);
    height: 80vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    background: #111111;
    border: 1px solid rgba(239, 239, 239, 0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
}
.chat-overlay.open .chat-chrome {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chat-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 22px;
    color: rgba(239, 239, 239, 0.3);
    transition: color 0.2s ease;
    line-height: 1;
    padding: 4px 8px;
    z-index: 5;
}
.chat-close:hover {
    color: #EFEFEF;
}

/* SPLASH SCREEN — big bold intro */
.chat-splash {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-splash.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    inset: 0;
}
.chat-splash-title {
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #EFEFEF;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 2px 2px 0px #E63946;
}
.chat-splash-sub {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(239, 239, 239, 0.4);
    max-width: 260px;
    margin-bottom: 32px;
}
.chat-splash-cta {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E63946;
    cursor: pointer;
    transition: opacity 0.2s;
    animation: ctaPulse 2s infinite ease-in-out;
}
.chat-splash-cta:hover {
    opacity: 0.7;
}
@keyframes ctaPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* CHAT BODY — hidden until first message */
.chat-body {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.chat-body.active {
    display: flex;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(239, 239, 239, 0.06) transparent;
}
.chat-messages::-webkit-scrollbar {
    width: 3px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(239, 239, 239, 0.06);
    border-radius: 2px;
}

.chat-msg {
    max-width: 82%;
    opacity: 0;
    transform: translateY(8px);
    animation: chatMsgIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.chat-msg-user {
    align-self: flex-end;
}
.chat-msg-ai {
    align-self: flex-start;
}

.chat-msg-text {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}
.chat-msg-user .chat-msg-text {
    color: #EFEFEF;
    padding: 10px 16px;
    background: #E63946;
    border-radius: 16px 16px 4px 16px;
}
.chat-msg-ai .chat-msg-text {
    color: #EFEFEF;
    padding: 10px 16px;
    background: rgba(239, 239, 239, 0.08);
    border-radius: 16px 16px 16px 4px;
}

.chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: rgba(239, 239, 239, 0.08);
    border-radius: 16px 16px 16px 4px;
}
.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(239, 239, 239, 0.3);
    animation: typingDot 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
    0%, 70%, 100% { opacity: 0.25; transform: translateY(0); }
    35% { opacity: 0.8; transform: translateY(-3px); }
}

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

.chat-input-area {
    display: flex;
    align-items: center;
    padding: 14px 20px 18px;
    border-top: 1px solid rgba(239, 239, 239, 0.08);
    gap: 12px;
}
.chat-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #EFEFEF;
    caret-color: #E63946;
    letter-spacing: 0.01em;
    padding: 8px 0;
}
.chat-input::placeholder {
    color: rgba(239, 239, 239, 0.25);
}
.chat-send {
    background: #E63946;
    border: none;
    color: #EFEFEF;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    font-family: 'Inter', sans-serif;
}
.chat-send:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* Mobile chat */
@media (max-width: 768px) {
    .chat-overlay {
        padding: 0;
    }
    .chat-overlay.open {
        align-items: flex-end;
    }
    .chat-chrome {
        width: 100%;
        max-width: 100%;
        height: 95dvh;
        max-height: none;
        border-radius: 20px 20px 0 0;
        border: none;
    }
    .chat-splash-title {
        font-size: 56px;
    }
    .chat-messages {
        padding: 20px 18px;
    }
    .chat-msg-text {
        font-size: 15px;
    }
    .chat-input-area {
        padding: 12px 18px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .chat-input {
        font-size: 16px;
    }
    .chat-send {
        width: 40px;
        height: 40px;
    }
    .chat-close {
        top: 18px;
        right: 20px;
        font-size: 26px;
    }
}

@media (max-height: 576px) {
    html {
        height: unset;
        min-height: 100vh;
    }
    body {
        overflow: initial;
        height: unset;
        min-height: 100vh;
    }
    .container{
        height: unset;
        min-height: 100vh;
    }
}