/*
(｡♥‿♥｡) Konnichiwa! Welcome to the styles for $RHEI Protocol! 
(ﾉ◕ヮ◕)ﾉ*:･ﾟ✧ I made everything super kawaii with CSS magic!
*/

/* (◕‿◕✿) Our magical color palette desu! */
:root {
    --primary-color: #0066FF;    /* Blue like a clear summer sky! */
    --secondary-color: #00D1FF;  /* Sparkly like ocean waves! */
    --background-color: #000000; /* Dark like a moonless night~ */
    --text-color: #FFFFFF;       /* Bright like stars! */
    --text-secondary: #A0AEC0;   /* Soft like cherry blossoms! */
    --accent-color: #1A365D;     /* Deep like the ocean! */
    --border-color: #2D3748;     /* Subtle like shadows! */
}

/* (づ｡◕‿‿◕｡)づ Basic styles to make everything kawaii! */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* (ﾉ´ヮ`)ﾉ*: ･ﾟ Body-chan's base styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    width: 100%;
    min-width: 100vw;
    overflow-x: hidden;
}

/* (◕ᴗ◕✿) Header-chan floating at the top! So elegant! */
.nav_2_wrap.is-desktop {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10000;
    padding: 0;
}

.nav_2_contain.is-desktop {
    max-width: 1400px;
    width: 95%;
    margin: 1rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav_2_logo_wrap {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #000000;
    gap: 0.5rem;
}

.nav_2_logo_wrap img {
    height: 22px;
    width: auto;
    filter: brightness(0);
}

.nav_2_desktop_layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav_2_links_component.is-desktop {
    display: flex;
}

.nav_2_links_wrap.is-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav_2_links_item {
    position: relative;
}

.nav_2_links_link.is-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav_2_links_link.is-desktop:hover {
    color: #0066FF;
}

.nav_2_links_link.is-desktop.w--current {
    color: #0066FF;
}

.nav_2_links_text {
    font-size: 0.9rem;
}

.nav_2_links_svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.nav_2_dropdown_component:hover .nav_2_links_svg {
    transform: rotate(180deg);
}

.nav_2_dropdown_main_wrap.is-desktop {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.nav_2_dropdown_component:hover .nav_2_dropdown_main_wrap.is-desktop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav_2_dropdown_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav_2_dropdown_item {
    margin: 0;
}

.nav_2_dropdown_link.is-desktop {
    display: block;
    color: #000000;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
}

.nav_2_dropdown_link.is-desktop:hover {
    background-color: #f3f4f6;
    color: #0066FF;
}

.nav_2_dropdown_text {
    font-size: 0.9rem;
}

.nav_2_actions_wrap.is-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav_2_buttons_item.is-main.is-desktop {
    margin: 0;
}

.btn_main_wrap {
    display: inline-block;
    background: #0066FF;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn_main_wrap:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn_main_text {
    font-size: 0.9rem;
}

/* Ensure main spans full width */
main {
    padding-top: 0px;
    width: 100%;
    min-width: 100vw;
}

/* Ensure all sections span full width */
section {
    width: 100%;
    min-width: 100vw;
}

/* ٩(◕‿◕｡)۶ Hero section with magical animations! */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: -120px;
    padding-top: 120px;
}

/* (◕‿◕✿) Magical spline animation background! */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spline-animation {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)),
                radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    background-blend-mode: overlay;
    z-index: 2;
}

/* (◕‿◕✿) Video background for token-info section! */
.token-info-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.token-info-background .background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.token-info-background .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)),
                radial-gradient(circle at center, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    background-blend-mode: overlay;
}

.hero-content-wrapper {
    display: flex;
    gap: 3rem;
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    z-index: 3;
    position: relative;
    align-items: stretch;
}

.carousel-container {
    flex: 2;
    position: relative;
    padding: 2rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.367);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3), 
                0 10px 20px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* (◠‿◠✿) Carousel-chan's pretty transitions! */
.carousel {
    position: relative;
    height: 200px;
}

.carousel-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 2rem;
}

.carousel-item.active {
    opacity: 1;
}

/* (ノ◕ヮ◕)ノ*:･ﾟ✧ Making text gradient sparkle like magic! */
.carousel-item h2 {
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    line-height: 1.15;
}

.carousel-item p {
    color: var(--accent-color);
    font-weight: 500;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.carousel-nav button.active {
    opacity: 1;
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* (◕‿◕✿) Hero side panel with matching styling! */
.hero-side-panel {
    flex: 1;
    padding: 2rem;
    background: rgba(83, 93, 200, 0.367);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3), 
                0 10px 20px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 3;
    position: relative;
}

.hero-side-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-align: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--accent-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.hero-bottom {
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid white;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
    position: relative;
}

.hero-bottom h2 {
    margin-bottom: 1rem;
    color: white;
}

.hero-bottom p {
    color: white;
}

/* (｡♥‿♥｡) Rheightpaper section looking so sophisticated! */
.rheightpaper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.rheightpaper h2 {
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
}

.token-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 3;
}

.info-item p {
    position: relative;
    z-index: 3;
    color: #333333;
}

.section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.subsection {
    margin-bottom: 2rem;
}

.subsection h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.section ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.section li {
    margin-bottom: 0.5rem;
    position: relative;
    color: #333333;
}

.section li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

.tokenomics-table {
    width: 100%;
    margin-top: 2rem;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: #333333;
}

.table-row.header {
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

/* (◕‿◕✿) Footer-chan keeping everything tidy at the bottom! */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section a {
    color: #666666;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #666666;
}

/* (づ｡◕‿‿◕｡)づ Making everything responsive like a shape-shifting magical girl! */
@media (max-width: 950px) {
    .hero-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .carousel-container {
        flex: none;
    }

    .hero-side-panel {
        flex: none;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        max-width: 100%;
    }

    .carousel-item h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .carousel-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .carousel-container {
        flex: none;
    }

    .hero-side-panel {
        flex: none;
    }

    .carousel-item h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .carousel-item p {
        font-size: 1rem;
    }

    .rheightpaper h2 {
        font-size: 2rem;
    }

    .token-info {
        grid-template-columns: 1fr;
    }

    .info-item.full-width {
        grid-column: 1;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .table-row.header {
        display: none;
    }

    .background-video {
        object-position: center center;
    }
}

/* (ﾉ◕ヮ◕)ﾉ*:･ﾟ✧ Extra kawaii styles for tiny screens! */
@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .carousel-item h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
} 