@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: "TT Travels";
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url("/public/fonts/TT\ Travels\ Next\ Trial\ SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "TT Travels";
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url("/public/fonts/TT\ Travels\ Next\ Trial\ Bold.woff2") format("woff2");
}

:root {
    --fomo-green: #98FF29;
    --fomo-green-dark: #80FF00;
    --fomo-black: #191918;
    --fomo-charcoal: #2D2D2D;
    --fomo-focus: #FEE401;
}

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

*:focus-visible {
    outline: none;
}

body {
    position: relative;
    font-family: "TT Travels", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--fomo-black);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100vh;
}

header {
    background-color: var(--fomo-green);
}

.header {
    padding: 24px 16px;
}

.description {
    padding: 0 16px 24px 16px;
}

h1 {
    font-family: "TT Travels";
    font-weight: 600;
}

.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    outline: none;
    border: 2px solid transparent;
    box-sizing: content-box;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.5);
}

.social-icon:active {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--fomo-focus);
}

.fomo-gradient {
    background: linear-gradient(
        to bottom,
        var(--fomo-green) 0%,
        #97FD29 7%,
        #93F728 13%,
        #8EEC28 20%,
        #85DD26 27%,
        #7BCA25 33%,
        #6EB323 40%,
        #609921 47%,
        #517F20 53%,
        #43651E 60%,
        #364E1C 67%,
        #2C3B1B 73%,
        #232C19 80%,
        #1E2119 87%,
        #1A1B18 93%,
        #191918 100%
    );
}

.burger-menu-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--fomo-black);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--fomo-black);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

.close-menu-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--fomo-black);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    height: 100dvh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
}

.modal-title {
    font-family: "TT Travels";
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: white;
    margin: 0;
    padding: 0;
}

.modal-close-btn {
    background: transparent;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.modal-close-btn:active {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--fomo-focus);
}

.modal-section {
    margin-bottom: 1rem;
}

.modal-subsection {
    margin-top: 0.5rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-family: "TT Travels";
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    padding-bottom: 8px;
    color: white;
}

.section-subtitle {
    font-family: "TT Travels";
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    padding-bottom: 8px;
    color: white;
}

.section-text {
    color: #d1d5db;
    line-height: 1.7;
}

.contact-email {
    color: var(--fomo-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--fomo-green-dark);
    text-decoration: underline;
}

.launchBtn {
    background: var(--fomo-black);
    border: 2px solid transparent;
}

.launchBtn:hover {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.25) 100%), #191917;
}

.launchBtn:active {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.25) 100%), #191917;
    border: 2px solid var(--fomo-focus);
}

html {
    scroll-behavior: smooth;
}

footer button {
    border: 2px solid transparent;
}

footer button:hover {
    background: rgba(255, 255, 255, 0.25);
}

footer button:active {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--fomo-focus);
}

.scroll-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

@supports (scrollbar-color: auto) {
    .custom-scrollbar {
        scrollbar-color: #3F3F46 transparent;;
    }
}

@supports selector(::-webkit-scrollbar) {
    .custom-scrollbar {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .custom-scrollbar::-webkit-scrollbar {
        background: transparent;
        width: 8px;

    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: #3F3F46;
        border-radius: 5px;
        border: 4px solid #3F3F46;
        background-clip: content-box;
    }
}

@media screen and (min-width: 1024px) {
    .modal-content {
        max-height: 640px;
        padding: 24px;
    }
    .header {
        padding: 32px 16px;
    }
    .description {
        padding: 0 16px 32px 16px;
    }
}

@media screen and (min-width: 1280px) {
    .header {
        padding: 32px 100px;
    }
    .description {
        padding: 0 100px 32px 100px;
    }
}
