@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Poppins:wght@400;600;700;800&family=Space+Mono:wght@700&display=swap');
:root { --font-heading: 'Bangers', cursive; --font-body: 'Poppins', sans-serif; --font-mono: 'Space Mono', monospace; --color-brown: #5A3E36; --color-beige: #F4EAD5; --color-gold: #E3B778; --color-green: #3D7D5D; --color-red: #FF5E5E; --color-red-dark: #e84a4a; }
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body, html { margin: 0; padding: 0; width: 100vw; height: 100vh; overflow: hidden; background-color: #101419; }
#loading-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--color-beige); display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease-out; }
#loading-screen img { width: 500px; max-width: 90%; height: auto; }
#scaling-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow-y: auto; overflow-x: hidden; font-family: var(--font-body); color: var(--color-brown); }
#scroll-wrapper { position: relative; width: 100%; overflow: hidden; }
#content-canvas { position: absolute; top: 0; left: 0; width: 1920px; transform-origin: top left; background-color: var(--color-beige); }
#content-canvas::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('images/deer-tracks.svg'); background-repeat: repeat; background-size: 350px; opacity: 0.05; z-index: 0; }
header, main, footer, .marquee, .title-section, .main-socials-section { position: relative; z-index: 1; }
.header { position: relative; height: 200px; display: flex; justify-content: center; align-items: center; padding: 0 60px; margin-top: 20px; }
.header-logo-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 10; background-color: var(--color-brown); border-radius: 50%; padding: 6px; }
.header-logo { display: block; height: 150px; width: 150px; border-radius: 50%; border: 4px solid var(--color-gold); }
.header-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100px; padding: 0 50px; background: var(--color-brown); border-radius: 50px; border: 4px solid var(--color-gold); box-shadow: 0 0 25px -5px var(--color-gold); }
.header-nav { flex: 1; display: flex; align-items: center; gap: 50px; }
.header-nav a { color: var(--color-beige); text-decoration: none; font-family: var(--font-heading); font-size: 38px; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.header-right-panel { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 25px; }
.social-icons { display: flex; align-items: center; gap: 20px; }
.social-icons img { height: 42px; width: 42px; border-radius: 50%; }
.buy-button { color: white; text-decoration: none; font-family: var(--font-heading); font-size: 40px; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0,0,0,0.4); padding: 5px 50px; border-radius: 30px; background: linear-gradient(to bottom, var(--color-red), var(--color-red-dark)); border: 2px solid var(--color-red); box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.3), 0 3px 5px rgba(0, 0, 0, 0.4); }

/* START: FLIPPING LOGO FIX */
.title-section { padding: 80px 0; display: flex; flex-direction: column; align-items: center; perspective: 1500px; /* Perspective is needed on the parent */ }
.main-title { font-family: var(--font-heading); font-size: 250px; color: var(--color-brown); text-shadow: 5px 5px 0px var(--color-gold), -5px -5px 0px rgba(0,0,0,0.1); margin: 0; line-height: 1; }
.flipping-logo-container {
    margin-top: 40px;
    height: 450px;
    width: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--color-brown);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: flip 5s infinite linear; /* Animation applied to the container */
    transform-style: preserve-3d; /* Ensures children are part of the 3D space */
}
.flipping-logo { height: 100%; width: 100%; object-fit: cover; }
@keyframes flip { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
/* END: FLIPPING LOGO FIX */

.main-socials-section { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 0 0 50px 0; }
.main-socials-section a { display: block; }
.main-socials-section img { height: 70px; width: 70px; border-radius: 50%; border: 3px solid var(--color-gold); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.marquee { width: 100%; overflow: hidden; background-color: var(--color-green); padding: 20px 0; white-space: nowrap; }
.marquee-content { font-family: var(--font-mono); font-weight: 700; display: inline-block; color: var(--color-beige); font-size: 64px; letter-spacing: 3px; padding-left: 100%; animation: marquee 60s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
main { }
.content-section { padding: 80px; }
.about-section { padding-top: 40px; position: relative; z-index: 1; }
.about-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('images/paper-texture.jpg'); background-size: cover; opacity: 0.15; z-index: -1; }
.about-content { display: flex; align-items: center; gap: 100px; }
.text-container { flex: 1.2; }
.image-container { flex: 0.8; }
.image-container img { max-width: 100%; height: auto; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2)); }
.text-container p { font-size: 24px; font-weight: 400; line-height: 1.7; max-width: 750px; }
.about-heading { text-align: left; font-family: var(--font-heading); color: var(--color-brown); letter-spacing: 2px; font-size: 110px; line-height: 1.1; margin-bottom: 20px; }
.why-section { padding-top: 0; }
.section-heading { font-family: var(--font-heading); letter-spacing: 2px; font-size: 82px; text-align: center; margin-bottom: 30px; }
.why-points-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1600px; margin: 50px auto 0; }
.why-point { background-color: rgba(255, 255, 255, 0.4); border: 3px solid var(--color-gold); border-radius: 15px; padding: 40px 30px; text-align: center; }
.why-point h3 { font-family: var(--font-heading); font-size: 48px; letter-spacing: 1px; color: var(--color-brown); margin-top: 0; margin-bottom: 20px; }
.why-point p { font-size: 20px; line-height: 1.6; font-weight: 400; }
.tokenomics-section { padding-bottom: 40px; }
.tokenomics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1400px; margin: 50px auto 0; }
.tokenomics-item { background-color: rgba(255, 255, 255, 0.4); border: 2px solid var(--color-gold); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-radius: 12px; padding: 40px; text-align: center; display: flex; flex-direction: column; }
.tokenomics-label { font-size: 24px; font-weight: 600; opacity: 0.8; margin-bottom: 15px; }
.tokenomics-value { font-size: 32px; font-weight: 700; }
.contract-address-wrapper { padding: 40px 0; text-align: center; }
.contract-address-container { display: inline-flex; align-items: center; padding: 10px; background-color: rgba(0,0,0,0.05); border: 2px solid var(--color-gold); border-radius: 15px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.contract-address { font-family: var(--font-mono); font-size: 24px; color: var(--color-brown); padding: 10px 20px; }
.copy-button { font-family: var(--font-heading); font-size: 28px; letter-spacing: 1px; color: white; background-color: var(--color-brown); border: none; border-radius: 10px; padding: 8px 30px; margin-left: 10px; cursor: pointer; transition: background-color 0.2s ease; }
.copy-button:hover { background-color: #4a322c; }
.copy-button.copied { background-color: var(--color-green); }
.chart-section { padding-bottom: 120px; }
.chart-container { height: 700px; width: 100%; padding: 0 80px; }
.dexscreener-embed { width: 100%; height: 100%; border-radius: 15px; border: 3px solid var(--color-brown); }
.footer { display: flex; justify-content: space-between; align-items: center; padding: 60px 80px; border-top: 4px solid var(--color-gold); background-color: #e6dcc9; }
.footer-logo-container { height: 100px; width: 100px; border-radius: 50%; overflow: hidden; border: 3px solid var(--color-brown); }
.footer-logo { height: 100%; width: 100%; object-fit: cover; }
.footer-center-content { text-align: center; }
.footer-email { font-size: 22px; font-weight: 600; text-decoration: none; display: block; margin-bottom: 10px; color: var(--color-brown); }
.footer-copyright { font-size: 18px; opacity: 0.7; margin: 0; }
.footer-socials { display: flex; align-items: center; gap: 20px; }
.footer-socials img { height: 42px; width: 42px; border-radius: 50%; }
.header-nav a, .buy-button, .main-socials-section a, .footer-socials a, .footer-email { position: relative; overflow: hidden; transition: transform 0.2s ease; }
.header-nav a:hover, .buy-button:hover, .main-socials-section a:hover, .footer-socials a:hover, .footer-email:hover { transform: scale(1.05); color: var(--color-green); }
.header-nav a::after, .buy-button::after, .main-socials-section a::after, .footer-socials a::after, .footer-email::after { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.7); opacity: 0; border-radius: 50%; transform: scale(1, 1) translate(-50%, -50%); transform-origin: 50% 50%; }
.header-nav a:hover::after, .buy-button:hover::after, .main-socials-section a:hover::after, .footer-socials a:hover::after, .footer-email:hover::after { animation: sparkle 0.7s ease-out; }
@keyframes sparkle { 0% { transform: scale(0) translate(-50%, -50%); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(30) translate(-50%, -50%); opacity: 0; } }