/* SHEI Landing Page Styles - Playful Memecoin Theme */

/* CSS Custom Properties */
:root {
    --primary-color: #d5b05c;
    --transition: all 0.3s ease;
    --gap-width: -2px;
    --slide-width: 250px;
    --slide-height: 300px;
    --overlay-bg-color: rgba(0, 0, 0, 0.5);
    --overlay-text-color: #fff;
    --overlay-transition: opacity 0.3s ease;
    --scroll-duration: 20s;
    --total-width: calc(14 * (var(--slide-width) + var(--gap-width)));
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}



.loading-content {
    text-align: center;
    z-index: 99999;
    position: relative;
}

.loading-image {
    width: 200px;
    height: auto;
    max-width: 80vw;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-image-1 {
    animation: fadeInOut1 1s ease-in-out infinite;
}

.loading-image-2 {
    animation: fadeInOut2 1s ease-in-out infinite;
    opacity: 0;
}

@keyframes fadeInOut1 {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInOut2 {
    0%, 49% {
        opacity: 0;
    }
    50%, 100% {
        opacity: 1;
    }
}

/* Responsive adjustments for loading images */
@media (max-width: 768px) {
    .loading-image {
        width: 150px;
        max-width: 70vw;
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .loading-image {
        width: 120px;
        max-width: 60vw;
        max-height: 60vh;
    }
}

@media (max-width: 320px) {
    .loading-image {
        width: 100px;
        max-width: 50vw;
        max-height: 50vh;
    }
}














/* Using Google Fonts - Gochi Hand for playful handwritten look */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Gochi Hand', cursive;
    line-height: 1;
    font-size: 2rem;
    text-transform: lowercase;
    color: var(--text-dark);
    background: url('./plush/bg.svg') center/cover no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

/* Falling Leaves Effect */
.falling-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #d5b05c, #8b4513, #228b22, #ff6347);
    border-radius: 0 100% 0 100%;
    opacity: 0.7;
    animation: fall linear infinite;
}

.leaf:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, #d5b05c, #8b4513);
}

.leaf:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 2s;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, #228b22, #32cd32);
}

.leaf:nth-child(3) {
    left: 30%;
    animation-duration: 10s;
    animation-delay: 4s;
    width: 18px;
    height: 18px;
    background: linear-gradient(45deg, #ff6347, #ff4500);
}

.leaf:nth-child(4) {
    left: 40%;
    animation-duration: 14s;
    animation-delay: 1s;
    width: 22px;
    height: 22px;
    background: linear-gradient(45deg, #d5b05c, #daa520);
}

.leaf:nth-child(5) {
    left: 50%;
    animation-duration: 9s;
    animation-delay: 3s;
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #8b4513, #a0522d);
}

.leaf:nth-child(6) {
    left: 60%;
    animation-duration: 11s;
    animation-delay: 5s;
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #228b22, #006400);
}

.leaf:nth-child(7) {
    left: 70%;
    animation-duration: 13s;
    animation-delay: 2.5s;
    width: 19px;
    height: 19px;
    background: linear-gradient(45deg, #ff6347, #dc143c);
}

.leaf:nth-child(8) {
    left: 80%;
    animation-duration: 7s;
    animation-delay: 1.5s;
    width: 21px;
    height: 21px;
    background: linear-gradient(45deg, #d5b05c, #b8860b);
}

.leaf:nth-child(9) {
    left: 90%;
    animation-duration: 15s;
    animation-delay: 4.5s;
    width: 17px;
    height: 17px;
    background: linear-gradient(45deg, #8b4513, #654321);
}

.leaf:nth-child(10) {
    left: 15%;
    animation-duration: 16s;
    animation-delay: 6s;
    width: 23px;
    height: 23px;
    background: linear-gradient(45deg, #228b22, #2e8b57);
}

.leaf:nth-child(11) {
    left: 35%;
    animation-duration: 6s;
    animation-delay: 0.5s;
    width: 14px;
    height: 14px;
    background: linear-gradient(45deg, #ff6347, #ff7f50);
}

.leaf:nth-child(12) {
    left: 55%;
    animation-duration: 18s;
    animation-delay: 3.5s;
    width: 26px;
    height: 26px;
    background: linear-gradient(45deg, #d5b05c, #f4a460);
}

.leaf:nth-child(13) {
    left: 75%;
    animation-duration: 8.5s;
    animation-delay: 1.8s;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #8b4513, #8b7355);
}

.leaf:nth-child(14) {
    left: 85%;
    animation-duration: 12.5s;
    animation-delay: 5.2s;
    width: 18px;
    height: 18px;
    background: linear-gradient(45deg, #228b22, #3cb371);
}

.leaf:nth-child(15) {
    left: 25%;
    animation-duration: 9.5s;
    animation-delay: 2.8s;
    width: 22px;
    height: 22px;
    background: linear-gradient(45deg, #ff6347, #ffa500);
}

/* Additional leaf variations */
.leaf:nth-child(16) {
    left: 5%;
    animation-duration: 20s;
    animation-delay: 7s;
    width: 28px;
    height: 28px;
    background: linear-gradient(45deg, #d5b05c, #ffd700);
}

.leaf:nth-child(17) {
    left: 45%;
    animation-duration: 5s;
    animation-delay: 0.8s;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #ff6347, #ff1493);
}

.leaf:nth-child(18) {
    left: 65%;
    animation-duration: 17s;
    animation-delay: 4.2s;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, #228b22, #00ff7f);
}

.leaf:nth-child(19) {
    left: 95%;
    animation-duration: 11.5s;
    animation-delay: 2.3s;
    width: 19px;
    height: 19px;
    background: linear-gradient(45deg, #8b4513, #cd853f);
}

.leaf:nth-child(20) {
    left: 8%;
    animation-duration: 13.5s;
    animation-delay: 5.8s;
    width: 21px;
    height: 21px;
    background: linear-gradient(45deg, #ff6347, #ff69b4);
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Wind effect for some leaves */
.leaf:nth-child(odd) {
    animation-name: fall-wind;
}

@keyframes fall-wind {
    0% {
        transform: translateY(-100px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    25% {
        transform: translateY(25vh) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(50vh) translateX(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(75vh) translateX(25px) rotate(270deg);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) translateX(0px) rotate(360deg);
        opacity: 0;
    }
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: fit-content;
    width: fit-content;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: #d5b05c;
    border: 3px solid black;
    border-radius: 10px;
    gap: 4px;
    transition: all 0.3s ease;
    z-index: 10000;
    position: relative;
}

.hamburger:hover {
    background: #b8941f;
    transform: scale(1.05);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 20px;
    height: 3px;
    background: black;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    padding: 80px 25px 20px 0;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    display: flex;
    right: 0;
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    margin-bottom: 30px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.mobile-nav-link {
    color: #d5b05c;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 18px 30px 18px 25px;
    border-bottom: 1px solid rgba(213, 176, 92, 0.2);
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(213, 176, 92, 0.1);
    color: #ffffff;
    padding-left: 30px;
}

.mobile-nav-link:first-child {
    border-top: 1px solid rgba(213, 176, 92, 0.2);
}

.mobile-social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 20px 35px 20px 0;
    border-top: 1px solid rgba(213, 176, 92, 0.2);
    margin-top: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(213, 176, 92, 0.1);
    border: 1px solid rgba(213, 176, 92, 0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-social-icon-link:hover,
.mobile-social-icon-link:focus {
    background: rgba(213, 176, 92, 0.2);
    border-color: #d5b05c;
    transform: translateY(-2px);
}

.mobile-social-icon-link:active {
    transform: translateY(0);
}

.mobile-social-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(1) sepia(1) saturate(2) hue-rotate(30deg);
}

.mobile-social-icon-link:hover .mobile-social-icon-img,
.mobile-social-icon-link:focus .mobile-social-icon-img {
    filter: brightness(0) saturate(100%) invert(1) sepia(1) saturate(2) hue-rotate(30deg);
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: blacx(0, 0, 0);
    border: 3px solid black;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-width 0.3s ease;
    cursor: pointer;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 1px;
    background: rgb(16, 16, 16);
    border: 1px solid black;
    border-radius: 30px;
    padding: 1px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid black;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clickable-logo {
    cursor: pointer;
}

.clickable-logo:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Create the circular icon with $ symbol */
.nav-logo::after {
    content: '$';
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    color: black;
    background: #d5b05c;
    border: 2px solid black;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

/* Hover effect - show logo, hide $ and reduce border */
.nav-logo:hover {
    border-width: 1px;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.nav-logo:hover .logo-img {
    opacity: 1;
}

.nav-logo:hover::after {
    opacity: 0;
}

.nav-logo::after:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px 20px;
    background: #d5b05c;
    border: 3px solid black;
    border-radius: 25px;
    transition: var(--transition);
    display: block;
    text-align: center;
    min-width: 80px;
}

.nav-link:hover {
    background: black;
    color: #d5b05c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Social Media Icons in Navbar */
.social-icons {
    display: flex;
    gap: 1px;
    align-items: center;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #d5b05c;
    border: 3px solid black;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.social-icon-link:hover {
    background: black;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0) saturate(100%);
}

.social-icon-link:hover .social-icon-img {
    filter: brightness(0) saturate(100%) invert(1);
}

/* Ensure consistent black color for all icons */
.social-icon-link .social-icon-img {
    filter: brightness(0) saturate(100%);
}

.social-icon-link:hover .social-icon-img {
    filter: brightness(0) saturate(100%) invert(1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 50px;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    margin-top: -170px;
    margin-left: 50px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(100px) scale(0.8);
    transition: all 1.2s ease-out;
    animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite alternate;
}

.hero-image.animate-in {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        filter: brightness(1);
    }
    100% { 
        transform: scale(1.05); 
        filter: brightness(1.1);
    }
}

.hero-text {
    max-width: 100%;
    max-height: 40vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    margin-top: 20px;
    margin-left: 50px;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
    transition: all 1s ease-out 0.5s;
    cursor: pointer;
}

.hero-text.animate-in {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.hero-text:hover {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2) saturate(1.3);
    transition: all 0.3s ease;
}


.hero-buttons {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    width: 100%;
}

/* Copy to Clipboard Component */
.copy-container {
    max-width: 16rem;
    width: 100%;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.copy-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
}

.contract-input-wrapper {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.contract-input {
    background: black;
    border: 2px solid #d5b05c;
    color: #d5b05c;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    padding: 0.75rem 0.5rem;
    width: 100%;
    font-family: 'Courier New', monospace;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.contract-input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(213, 176, 92, 0.3);
}

.copy-button {
    color: #d5b05c;
    background: black;
    border: 2px solid #d5b05c;
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 3rem;
    height: 3rem;
    text-decoration: none;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.copy-button:hover,
.copy-button:focus {
    background: #d5b05c;
    color: black;
    border-color: black;
    transform: scale(1.05);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.copy-tooltip {
    position: absolute;
    z-index: 10;
    visibility: hidden;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background: #111827;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.copy-tooltip.show {
    visibility: visible;
    opacity: 1;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #111827;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buy Button Component */
.buy-container {
    max-width: 12rem;
    width: 100%;
    min-width: 160px;
    display: flex;
    justify-content: center;
}

.buy-button-full {
    background: black;
    border: 2px solid #d5b05c;
    color: #d5b05c;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: 'Gochi Hand', cursive;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 3rem;
    text-decoration: none;
    display: block;
    letter-spacing: 1px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    box-sizing: border-box;
}

.buy-button-full:hover,
.buy-button-full:focus {
    background: #d5b05c;
    color: black;
    border-color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 176, 92, 0.3);
}

.buy-button-full:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(213, 176, 92, 0.3);
}


.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #ff8e8e);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary-color), #6dd5ed);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.6);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #d5b05c;
    text-transform: uppercase;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

.gallery-content {
    text-align: center;
    padding: 0 0px;
}

.gallery-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: var(--gap-width);
    animation: scroll var(--scroll-duration) linear infinite;
}

.slide {
    background: var(--slide-bg-color);
    flex: 0 0 var(--slide-width);
    height: var(--slide-height);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    border: 3px solid black;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.3);
}

.slide:hover {
    z-index: 10;
    pointer-events: none;
}

.slide:hover img {
    pointer-events: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: var(--overlay-bg-color);
    color: var(--overlay-text-color);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: var(--overlay-transition);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Gochi Hand', cursive;
    font-size: 1.5rem;
    font-weight: bold;
}

.slide:hover .overlay {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--total-width)));
    }
}

.carousel:hover .carousel-track {
    animation-play-state: running;
}


/* Footer */
.footer {
    position: sticky;
    bottom: 10px;
    background: rgb(16, 16, 16);
    border: 1px solid black;
    border-radius: 50px;
    padding: 1px;
    margin: 20px auto;
    max-width: fit-content;
    text-align: center;
    font-family: 'Gochi Hand', cursive;
    font-size: 1rem;
    line-height: 1;
    text-transform: lowercase;
    z-index: 1000;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 2px 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #d5b05c;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid black;
}

.footer-content-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-content-simple p {
    color: #d5b05c;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}


/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Animation Section */
.animation-section {
    padding: 0 0 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.animation-videos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: #8B4513;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.game-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    justify-content: center;
}







#myCanvas {
    border: 3px solid #d5b05c;
    border-radius: 20px;
    background: #000;
    max-width: 100%;
    height: auto;
}

.game-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 200px;
    min-width: 200px;
}


.score-display {
    font-size: 1.5rem;
    color: #d5b05c;
    font-weight: bold;
    text-align: center;
}

.game-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.game-btn {
    background: #d5b05c;
    color: black;
    border: 2px solid black;
    border-radius: 25px;
    padding: 12px 24px;
    font-family: 'Gochi Hand', cursive;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.game-btn:hover,
.game-btn:active,
.game-btn:focus {
    background: black;
    color: #d5b05c;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    outline: none;
}

.direction-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.control-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dir-btn {
    background: #d5b05c;
    color: black;
    border: 2px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-family: 'Gochi Hand', cursive;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    pointer-events: auto;
}

.dir-btn:hover,
.dir-btn:active,
.dir-btn:focus {
    background: black;
    color: #d5b05c;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    outline: none;
}


.animation-video {
    width: 400px;
    height: 400px;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid black;
    flex-shrink: 0;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-image {
        max-height: 80vh;
        margin-left: 30px;
    }
    
    .hero-text {
        margin-left: 30px;
    }
    
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 85vw;
    }
    
    .copy-container,
    .buy-container {
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }
    
    .contract-input {
        font-size: 0.8rem;
    }
    
    .buy-button-full {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .animation-videos {
        gap: 20px;
    }
    
    .animation-video {
        width: 350px;
        height: 350px;
    }
}

/* Large Desktops */
@media (min-width: 1400px) {
    .hero-buttons {
        flex-direction: column;
        gap: 25px;
        max-width: 80vw;
    }
    
    .copy-container,
    .buy-container {
        max-width: 280px;
    }
    
    .contract-input {
        font-size: 0.9rem;
        padding: 0.8rem 0.6rem;
    }
    
    .copy-button {
        min-width: 2rem;
        height: 2rem;
        padding: 0.8rem;
    }
    
    .buy-button-full {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        height: 3.2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
    }
    
    .nav-container {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .nav-menu,
    .social-icons {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
        order: 3;
    }
    
    .hero {
        padding: 40px 20px 30px;
        min-height: 90vh;
    }
    
    .hero-image {
        max-height: 70vh;
        margin-left: 20px;
        margin-top: -100px;
    }
    
    .hero-text {
        max-height: 30vh;
        margin-left: 20px;
        margin-top: 10px;
    }
    
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translateX(-50%);
        max-width: 95vw;
        padding: 0 10px;
    }
    
    .copy-container,
    .buy-container {
        max-width: 280px;
        min-width: 250px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }
    
    .contract-input {
        font-size: 0.7rem;
        padding: 0.6rem 0.4rem;
    }
    
    .copy-button {
        min-width: 2.8rem;
        height: 2.8rem;
        padding: 0.6rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .buy-button-full {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        height: 2.8rem;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .gallery {
        padding: 60px 0;
    }
    
    .carousel {
        margin: 0 10px;
    }
    
    .slide {
        flex: 0 0 200px;
        height: 250px;
    }
    
    .animation-videos {
        gap: 15px;
    }
    
    .animation-video {
        width: 300px;
        height: 300px;
    }
    
    .game-section {
        padding: 60px 0;
    }
    
    .game-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    
    .game-controls {
        width: 100%;
        max-width: 350px;
        min-width: auto;
        order: 2;
    }
    
    #myCanvas {
        order: 1;
        max-width: 100%;
        width: 350px;
        height: 350px;
    }
    
    .footer {
        margin: 15px auto;
        max-width: 90%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 10px 15px;
    }
    
    .mobile-nav-menu {
        gap: 18px;
        margin-bottom: 28px;
        max-width: 320px;
    }
    
    .mobile-nav-link {
        font-size: 1.4rem;
        padding: 11px 22px;
    }
    
    .mobile-social-icons {
        gap: 14px;
        max-width: 320px;
    }
    
    .mobile-social-icon-link {
        width: 48px;
        height: 48px;
    }
    
    .mobile-social-icon-img {
        width: 23px;
        height: 23px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        top: 5px;
    }
    
    .nav-logo {
        width: 40px;
        height: 40px;
    }
    
    .nav-logo::after {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .hamburger {
        padding: 6px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
    
    .mobile-nav-menu {
        gap: 15px;
        margin-bottom: 25px;
        max-width: 280px;
    }
    
    .mobile-nav-link {
        font-size: 1.3rem;
        padding: 10px 20px;
    }
    
    .mobile-social-icons {
        gap: 12px;
        max-width: 280px;
    }
    
    .mobile-social-icon-link {
        width: 45px;
        height: 45px;
    }
    
    .mobile-social-icon-img {
        width: 22px;
        height: 22px;
    }
    
    .mobile-menu {
        width: 260px;
        max-width: 85vw;
    }
    
    .mobile-nav-link {
        font-size: 1rem;
        padding: 16px 28px 16px 23px;
    }
    
    .mobile-social-icons {
        padding: 18px 32px 18px 0;
        gap: 12px;
    }
    
    .hero {
        padding: 30px 15px 20px;
        min-height: 85vh;
    }
    
    .hero-image {
        max-height: 60vh;
        margin-left: 10px;
        margin-top: -80px;
    }
    
    .hero-text {
        max-height: 25vh;
        margin-left: 10px;
        margin-top: 5px;
    }
    
    
    .hero-buttons {
        top: 72%;
        gap: 12px;
        max-width: 98vw;
        padding: 0 5px;
    }
    
    .copy-container,
    .buy-container {
        max-width: 250px;
        min-width: 220px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }

    .copy-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: left;
        gap: 8px;
    }
    
    .contract-input {
        font-size: 0.65rem;
        padding: 0.5rem 0.3rem;
        border-width: 1px;
    }
    
    .copy-button {
        min-width: 2rem;
        height: 2rem;
        padding: 0.5rem;
        border-width: 1px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .buy-button-full {
        font-size: 0.75rem;
        padding: 0.5rem 0.6rem;
        height: 2.5rem;
        border-width: 1px;
        letter-spacing: 0.5px;
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery {
        padding: 40px 0;
    }
    
    .slide {
        flex: 0 0 150px;
        height: 180px;
    }
    
    .overlay {
        font-size: 1rem;
    }
    
    .animation-videos {
        gap: 10px;
    }
    
    .animation-video {
        width: 250px;
        height: 250px;
    }
    
    .game-section {
        padding: 40px 0;
    }
    
    .game-content {
        gap: 15px;
    }
    
    
    .game-controls {
        max-width: 300px;
        gap: 15px;
    }
    
    #myCanvas {
        width: 300px;
        height: 300px;
    }
    
    .score-display {
        font-size: 1.2rem;
    }
    
    .game-btn {
        font-size: 1rem;
        padding: 12px 24px;
        min-width: 110px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .dir-btn {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        min-height: 48px;
        min-width: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    
    
    .footer {
        margin: 10px auto;
        max-width: 95%;
    }
    
    .footer-content {
        padding: 8px 12px;
        gap: 10px;
    }
    
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu,
    .social-icons {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .mobile-nav-menu {
        gap: 12px;
        margin-bottom: 20px;
        max-width: 250px;
    }
    
    .mobile-nav-link {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
    
    .mobile-social-icons {
        gap: 10px;
        max-width: 250px;
    }
    
    .mobile-social-icon-link {
        width: 40px;
        height: 40px;
    }
    
    .mobile-social-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .mobile-menu {
        width: 250px;
        max-width: 70vw;
    }
    
    .mobile-nav-link {
        font-size: 0.95rem;
        padding: 14px 26px 14px 21px;
    }
    
    .mobile-social-icons {
        padding: 16px 30px 16px 0;
        gap: 10px;
    }
    
    .dir-btn {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        min-height: 45px;
        min-width: 45px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .hero {
        min-height: 100vh;
        padding: 20px 15px;
    }
    
    .hero-image {
        max-height: 50vh;
        margin-top: -50px;
    }
    
    .hero-text {
        max-height: 20vh;
    }
    
    
    .hero-buttons {
        top: 75%;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        max-width: 95vw;
    }
    
    .copy-container,
    .buy-container {
        max-width: 200px;
        min-width: 180px;
        flex: 1;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }
    
    .contract-input {
        font-size: 0.6rem;
        padding: 0.4rem 0.2rem;
    }
    
    .copy-button {
        min-width: 2.2rem;
        height: 2.2rem;
        padding: 0.4rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .buy-button-full {
        font-size: 0.7rem;
        padding: 0.4rem 0.5rem;
        height: 2.2rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .animation-videos {
        gap: 15px;
    }
    
    .animation-video {
        width: 300px;
        height: 300px;
    }
    
    .game-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #myCanvas {
        order: 1;
        width: 280px;
        height: 280px;
    }
    
    .game-controls {
        order: 2;
        max-width: 280px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 25px 10px 15px;
    }
    
    .hero-image {
        margin-left: 5px;
        margin-top: -60px;
    }
    
    .hero-text {
        margin-left: 5px;
    }
    
    
    .copy-container,
    .buy-container {
        max-width: 220px;
        min-width: 200px;
    }
    
    .contract-input {
        font-size: 0.6rem;
        padding: 0.4rem 0.2rem;
    }
    
    .copy-button {
        min-width: 2.2rem;
        height: 2.2rem;
        padding: 0.4rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .buy-button-full {
        font-size: 0.7rem;
        padding: 0.4rem 0.5rem;
        height: 2.2rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .slide {
        flex: 0 0 120px;
        height: 150px;
    }
    
    .overlay {
        font-size: 0.9rem;
    }
    
    .animation-videos {
        gap: 10px;
    }
    
    .animation-video {
        width: 200px;
        height: 200px;
    }
    
    #myCanvas {
        width: 250px;
        height: 250px;
    }
    
    .game-controls {
        max-width: 250px;
    }
    
    .dir-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    
    .mobile-nav-menu {
        gap: 10px;
        margin-bottom: 20px;
        max-width: 220px;
    }
    
    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 8px 14px;
    }
    
    .mobile-social-icons {
        gap: 8px;
        max-width: 220px;
    }
    
    .mobile-social-icon-link {
        width: 38px;
        height: 38px;
    }
    
    .mobile-social-icon-img {
        width: 18px;
        height: 18px;
    }
    
    .mobile-menu {
        width: 240px;
        max-width: 90vw;
    }
    
    .mobile-nav-link {
        font-size: 0.9rem;
        padding: 12px 24px 12px 19px;
    }
    
    .mobile-social-icons {
        padding: 14px 28px 14px 0;
        gap: 8px;
    }
}

h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin: 2rem 0 0 0;
    color: #d5b05c;
    text-align: center;
  }
  
  h2 {
    font-size: 3rem;
    color: #d5b05c;
    margin: 2rem;
    text-align: center;
  }
  
  .score {
    background: #ffe5cf;
    padding: 0 3rem;
    line-height: 1;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    border-radius: 1rem;
    color: #d5b05c;
    display: inline-block;
    margin: 0 auto;
  }
  
  .game {
    width: min(600px, 95vw);
    aspect-ratio: 3 / 2;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    cursor: url(http://www.rw-designer.com/cursor-extern.php?id=116484), auto;
  }
  
  .hole {
    flex: 1 0 33.33%;
    overflow: hidden;
    position: relative;
  }
  
  .hole:after {
    display: block;
    background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1159990/dirt.svg")
      bottom center no-repeat;
    background-size: contain;
    content: "";
    width: 100%;
    height: 18%;
    position: absolute;
    z-index: 2;
    bottom: -8%;
  }
  
  .mole {
    background: url("https://i.ibb.co.com/XfqgsPT3/Desain-tanpa-judul-1.png")
      bottom center no-repeat;
    background-size: 60%;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
  }
  
  .hole.up .mole {
    top: 0;
  }
  
  #start {
    font-family: 'Gochi Hand', cursive;
    display: block;
    text-decoration: none;
    border: 3px solid #d5b05c;
    background: linear-gradient(45deg, #d5b05c, #ffd700);
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    cursor: pointer;
    margin: 1rem auto;
    text-align: center;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(213, 176, 92, 0.4);
    transition: all 0.3s ease;
  }
  
  #start:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(213, 176, 92, 0.6);
    background: linear-gradient(45deg, #ffd700, #d5b05c);
  }
  
  #start:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(213, 176, 92, 0.4);
  }

  /* Responsive tweaks for Whack-a-Shei */
  @media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; margin: 1.2rem; }
    .score { padding: 0 1.5rem; }
    #start { font-size: 1.4rem; padding: 0.8rem 1.6rem; }
    .mole { background-size: 65%; }
  }

  @media (max-width: 480px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.6rem; margin: 1rem; }
    .score { padding: 0 1rem; }
    #start { font-size: 1.1rem; padding: 0.7rem 1.2rem; border-width: 2px; }
    .mole { background-size: 70%; }
  }
