:root {
  --red: #D62828;
  --dark-red: #B70707;
  --brown: #362C28;
  --white: #F5D8D6;

  --hero-title-gradient: linear-gradient(90deg, var(--red), var(--dark-red));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Spectral", serif, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    background-color: var(--white);
    color: #000;
}

body.loading {
    overflow: hidden;
}

.linear-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--white) 20%, rgba(255, 230, 230, 0.6) 40%, rgba(255, 230, 230, 0) 80%);
    z-index: 2;
}

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

/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loader-chicken {
    font-size: 40px;
    animation: loaderBounce 1.6s ease-in-out infinite;
}

.loader-text {
    font-size: 48px;
    font-weight: 400;
    font-family: "IM Fell Double Pica", serif;
    color: var(--red);
    letter-spacing: 4px;
    text-shadow: 
        -3px -3px 0 var(--brown),
        3px -3px 0 var(--brown),
        -3px 3px 0 var(--brown),
        3px 3px 0 var(--brown);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-progress {
    width: 300px;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--dark-red));
    border-radius: 10px;
    width: 0%;
    animation: loaderProgress 2s ease-in-out infinite;
}

@keyframes loaderBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes loaderProgress {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 70%;
        left: 0;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 16px;
    width: 100%;
    height: 84px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-100px);
    animation: headerSlideDown 0.8s ease-out forwards;
    animation-delay: 0.3s;
    padding: 0 16px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1224px;
    height: 100%;
    margin: 0 auto;
    padding: 8px 16px;
    gap: 20px;
    background: var(--white);
    box-shadow: -5px 5px 0px var(--brown);
}

@keyframes headerSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BUY Button */
.buy-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 240px;
    min-width: 120px;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.6s ease-out forwards;
    animation-delay: 0.5s;
    flex-shrink: 1;
}

.buy-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.buy-btn:hover {
    transform: scale(1.01);
}

/* Mobile Buy Button (hidden on desktop) */
.buy-btn-mobile {
    display: none;
}


/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--brown);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
}

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

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

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--brown);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.5s ease-out forwards;
}

.nav-link:nth-child(1) {
    animation-delay: 0.6s;
}

.nav-link:nth-child(2) {
    animation-delay: 0.7s;
}

.nav-link:nth-child(3) {
    animation-delay: 0.8s;
}

.nav-link:hover {
    color: #c16200;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c16200;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    height: 54px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.6s ease-in-out;
    cursor: pointer;
    opacity: 0;
    transform: translateX(30px) rotate(var(--icon-rotation, 0deg));
    animation: fadeInRight 0.6s ease-out forwards;
}

.social-icon:nth-child(1) {
    animation-delay: 0.5s;
    --icon-rotation: -20deg;
    padding: 2px;
    border-radius: 1000px;
}

.social-icon:nth-child(2) {
    animation-delay: 0.6s;
    padding: 8px;
    border-radius: 1000px;
}

.social-icon:nth-child(3) {
    animation-delay: 0.7s;
    --icon-rotation: 20deg;
    padding: 8px;
    border-radius: 1000px;
}

.social-icon img {
    width: 100%;
}

.social-icon:hover {
    --icon-rotation: 0deg;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    min-height: 600px;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 240px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main Title */
.hero-title {
    animation: heroTitleEntrance 1.2s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-title {
    width: 100%;
    max-width: 1168px;
    margin: 0 auto;
}

.hero-title img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
    animation: heroTitleFloat 3s ease-in-out infinite;
    animation-delay: 1.7s;
    display: block;
    margin: 0 auto;
}

@keyframes heroTitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroTitleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
/* Slogan */
.slogan {
    font-size: 40px;
    font-weight: 700;
    color: black;
    font-family: "Spectral", serif, 'Times New Roman', serif;
    margin-bottom: 40px;
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.5s;
}

/* Contract Address Box */
.contract-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #362C28;
    color: var(--white);
    border: 2px solid #000;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 4px 4px 0 rgba(241, 205, 205, 0.8);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: fadeInUpScale 0.8s ease-out forwards;
    animation-delay: 1.8s;
}

.contract-label {
    font-weight: 600;
    font-size: 16px;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    letter-spacing: 0.5px;
    word-break: break-all;
    text-wrap: initial;
    max-width: 500px;
}

.copy-button {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.copy-button:hover {
    color: #FFD700;
    transform: scale(1.1);
}

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

/* Lore Text */
.lore-text {
    position: absolute;
    bottom: 40px;
    right: 60px;
    font-size: 80px;
    font-weight: 900;
    color: #FF0000;
    text-shadow: 
        -4px -4px 0 #000,
        4px -4px 0 #000,
        -4px 4px 0 #000,
        4px 4px 0 #000,
        6px 6px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Times New Roman', serif;
    z-index: 3;
    font-style: italic;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0;
    transform: rotate(-8deg) scale(0.8);
    animation: loreTextEntrance 1s ease-out forwards;
    animation-delay: 2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px) rotate(var(--icon-rotation, 0deg));
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(var(--icon-rotation, 0deg));
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInUpScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loreTextEntrance {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(-8deg) scale(1);
    }
}

/* Lore Section */
.lore-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--white);
    padding: 80px 0;
    z-index: 10;
}

.lore-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.lore-content {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.lore-main-title {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  color: #c16200;
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.2;
  letter-spacing: 2px;
  font-family: "Nunito Sans", sans-serif;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.lore-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 4px);
    width: 20%;
    height: 3px;
    background: #c16200;
} 

.lore-intro {
    margin-bottom: 20px;
    /* text-align: center; */
}

.lore-intro p {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--brown);
    font-weight: 400;
    font-style: italic;
}

.lore-spacing {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.lore-chapter {
    /* margin-bottom: 80px; */
    /* padding-bottom: 60px; */
    /* border-bottom: 2px solid rgba(54, 44, 40, 0.1); */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.lore-chapter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays removed - now using scroll-triggered animations */

.lore-chapter:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* .lore-chapter-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-red);
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: "Spectral", serif;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.lore-chapter-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--red);
} */

.lore-chapter p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--brown);
    font-weight: 400;
    text-align: left;
    max-width: 100%;
}

.lore-quote {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #c16200;
    font-style: italic !important;
    text-align: center !important;
    margin: 30px 0 !important;
    padding: 20px;
    background: rgba(193, 98, 0, 0.1);
    border-left: 4px solid #c16200;
    border-radius: 4px;
}

/* .lore-emphasis {
    font-weight: 700 !important;
    color: var(--dark-red) !important;
    font-size: 22px !important;
    text-align: center !important;
    margin: 24px 0 !important;
} */

.lore-final {
    margin-top: 60px;
}

.lore-final-line {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #c16200 !important;
    text-align: center !important;
    margin-top: 40px !important;
    font-style: italic;
}

/* Responsive Design */
@media (min-width: 1024px) {
  .hero-section {
    height: 125vh;
  }

  .hero-background {
    height: calc(125vh - 100px);
  }
}
@media (max-width: 1024px) {
    .header {
        top: 12px;
        height: 72px;
        padding: 0 12px;
    }
    
    .header-container {
        padding: 6px 12px;
        gap: 15px;
    }
    
    .buy-btn {
        max-width: 180px;
        min-width: 100px;
    }
    
    .nav-link {
        font-size: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 36px;
    }
    
    .hero-background {
        top: 84px;
        height: calc(100vh - 84px);
    }
    
    .hero-content {
        margin-top: 200px;
        padding: 0 20px 50px;
    }
    
    .hero-title img {
        max-width: 90%;
    }
    
    .slogan {
        font-size: 32px;
    }
    
    .contract-box {
        max-width: 95%;
        padding: 14px 18px;
    }
    
    .lore-text {
        font-size: 60px;
        bottom: 30px;
        right: 40px;
    }
    
    .lore-section {
        padding: 100px 20px 60px 20px;
    }
    
    .lore-container {
        padding: 0 30px;
    }
    
    .lore-main-title {
        font-size: 40px;
        margin-bottom: 50px;
    }
    
    /* .lore-chapter {
        margin-bottom: 60px;
        padding-bottom: 50px;
    }
    
    .lore-chapter-title {
        font-size: 28px;
    } */
    
    .lore-chapter p {
        font-size: 18px;
    }
    
    .lore-intro p {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .header {
        top: 16px;
        height: auto;
        min-height: 70px;
        padding: 0 8px;
    }
    
    .header-container {
        flex-wrap: nowrap;
        gap: 12px;
        padding: 8px 16px;
        min-height: 54px;
        position: relative;
    }
    
    .buy-btn {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
        order: 1;
        flex-shrink: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding-top: 100px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--white);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: -1;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 28px;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(54, 44, 40, 0.1);
        opacity: 1;
        transform: translateY(0);
        animation: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(54, 44, 40, 0.05);
        color: var(--red);
    }
    
    .buy-btn-mobile {
        display: block;
        max-width: 260px;
        width: 100%;
        margin-top: 40px;
        padding: 20px 0;
        opacity: 1;
        transform: translateX(0);
        animation: none;
        cursor: pointer;
        transition: all 0.3s ease;
        border-top: 2px solid rgba(54, 44, 40, 0.1);
        padding-top: 30px;
    }
    
    .buy-btn-mobile:hover {
        transform: scale(1.05);
    }
    
    .buy-btn-mobile img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
    
    .social-icons {
        gap: 12px;
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
        height: 100%;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 1000px;
    }
    
    /* .social-icon img {
        width: 32px;
        height: 32px;
    } */
    
    .hero-background {
        top: 78px;
        height: calc(100vh - 78px);
        min-height: 500px;
    }
    
    .hero-content {
        margin-top: 240px;
        padding: 0 15px 40px;
    }
    
    .hero-title {
        max-width: 100%;
    }
    
    .hero-title img {
        max-width: 85%;
        margin-bottom: 12px;
    }
    
    .slogan {
        font-size: 24px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .contract-box {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 14px;
        max-width: 95%;
        gap: 8px;
    }
    
    .contract-label {
        font-size: 14px;
    }
    
    .contract-address {
        font-size: 11px;
        max-width: calc(100% - 60px);
        word-break: break-all;
        flex: 1;
        min-width: 200px;
    }
    
    .copy-button {
        margin-left: 0;
        flex-shrink: 0;
    }
    
    .lore-text {
        font-size: 40px;
        bottom: 20px;
        right: 20px;
        transform: rotate(-3deg);
    }
    
    .lore-section {
        padding: 80px 20px 50px 20px;
    }
    
    .lore-container {
        padding: 0 20px;
    }
    
    .lore-main-title {
        font-size: 32px;
        margin-bottom: 40px;
        line-height: 1.2;
    }
    
    .lore-intro {
        margin-bottom: 60px;
    }
    
    .lore-intro p {
        font-size: 18px;
        line-height: 1.7;
    }
    
    /* .lore-chapter {
        margin-bottom: 50px;
        padding-bottom: 40px;
    }
    
    .lore-chapter-title {
        font-size: 24px;
        margin-bottom: 25px;
        letter-spacing: 2px;
    } */
    
    .lore-chapter p {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .lore-quote {
        font-size: 22px !important;
        padding: 15px !important;
    }
    
    .lore-emphasis {
        font-size: 18px !important;
    }
    
    .lore-final-line {
        font-size: 20px !important;
    }
    
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-title {
        font-size: 24px;
    }
    
    .disclaimer-text {
        font-size: 13px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .header {
        top: 4px;
        padding: 0 4px;
    }
    
    .header-container {
        gap: 8px;
        /* padding: 6px 16px; */
        min-height: 50px;
    }
    
    .buy-btn {
        display: none;
    }
    
    
    .buy-btn-mobile {
        max-width: 200px;
        margin-top: 25px;
    }
    
    .nav-links {
        padding-top: 80px;
    }
    
    .nav-link {
        font-size: 24px;
        padding: 18px 0;
    }
    
    /* .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 32px;
        height: 28px;
    } */
    
    /* .social-icon img {
        width: 32px;
        height: 28px;
    } */

    .linear-gradient {
        background: linear-gradient(180deg, var(--white) 5%, rgba(255, 230, 230, 0.5) 20%, rgba(255, 230, 230, 0) 60%);
        z-index: 2;
    }
    
    .hero-section {
        height: 85vh;
    }
    
    .hero-background {
        top: 0;
        /* height: calc(80vh - 58px); */
        min-height: 450px;
    }
    
    .hero-content {
        margin-top: 180px;
        padding: 0 10px 30px;
    }
    
    .hero-title img {
        max-width: 90%;
        margin-bottom: 10px;
    }
    
    .slogan {
        font-size: 20px;
        margin-bottom: 20px;
        padding: 0 5px;
        line-height: 1.3;
    }
    
    .contract-box {
        padding: 4px 8px;
        gap: 4px;
        max-width: 98%;
        display: flex;
        justify-content: center;
        /* flex-direction: column; */
        /* align-items: stretch; */
    }
    
    .contract-address {
        /* font-size: 10px; */
        max-width: 100%;
        min-width: 100%;
        word-break: break-all;
    }
    
    .copy-button {
        /* align-self: flex-end; */
        display: none;
    }
    
    .lore-text {
        font-size: 30px;
        bottom: 15px;
        right: 15px;
        transform: rotate(-2deg);
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .header {
        top: 2px;
        padding: 0 2px;
    }
    
    .header-container {
        padding: 4px 6px;
        gap: 6px;
    }
    
    .buy-btn {
        max-width: 80px;
        min-width: 70px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .social-icon {
        width: 28px;
        height: 24px;
    }
    
    .social-icon img {
        width: 28px;
        height: 24px;
    }
    
    .hero-content {
        margin-top: 200px;
        padding: 0 8px 25px;
    }
    
    .hero-title img {
        max-width: 95%;
    }
    
    .slogan {
        font-size: 18px;
    }
    
    .contract-box {
        padding: 8px 10px;
    }
    
    .contract-address {
        font-size: 9px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        top: 4px;
        height: 60px;
    }
    
    .header-container {
        min-height: 52px;
        padding: 4px 8px;
    }
    
    .nav-links {
        margin-top: 4px;
        padding-top: 4px;
    }
    
    .hero-background {
        top: 64px;
        height: calc(100vh - 64px);
    }
    
    .hero-content {
        margin-top: 100px;
    }
    
    .hero-title img {
        max-width: 70%;
    }
    
    .slogan {
        font-size: 22px;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-content {
        margin-top: 180px;
    }
    
    .hero-title img {
        max-width: 80%;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .header-container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 1400px;
    }
}

/* Ensure hero section doesn't overflow */
@media (max-height: 600px) {
    .hero-section {
        min-height: auto;
        height: 100vh;
    }
    
    .hero-background {
        height: 100vh;
        top: 0;
    }
    
    .hero-content {
        margin-top: 120px;
        padding-bottom: 20px;
    }
    
    .hero-title img {
        max-width: 60%;
    }
    
    .slogan {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

/* Ensure text is readable over the background */
    
    .lore-container {
        padding: 0 15px;
    }
    
    .lore-main-title {
        /* font-size: 24px; */
        margin-bottom: 50px;
        letter-spacing: 1px;
    }
    
    .lore-intro {
        margin-bottom: 40px;
    }
    
    .lore-intro p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .lore-chapter {
        margin-bottom: 30px;
        /* padding-bottom: 20px; */
    }
    
    .lore-chapter-title {
        font-size: 20px;
        margin-bottom: 20px;
        letter-spacing: 1px;
        padding-bottom: 15px;
    }
    
    .lore-chapter-title::after {
        width: 60px;
        height: 2px;
    }
    
    .lore-chapter p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .lore-quote {
        font-size: 18px !important;
        padding: 12px !important;
        margin: 20px 0 !important;
    }
    
    .lore-emphasis {
        font-size: 16px !important;
        margin: 18px 0 !important;
    }
    
    .lore-final {
        margin-top: 40px;
    }
    
    .lore-final-line {
        font-size: 18px !important;
        margin-top: 30px !important;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .disclaimer-text {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-link {
        font-size: 14px;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-social-link img {
        width: 20px;
        height: 20px;
    }
    
    .contract-text {
        font-size: 11px;
        min-width: 100%;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .footer-tagline {
        font-size: 11px;
    }


/* Ensure text is readable over the background */
.hero-content * {
    position: relative;
}
/* Footer Styles */
.footer {
    background-color: var(--brown);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.footer-disclaimer {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 216, 214, 0.2);
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Spectral", serif;
}

.disclaimer-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(245, 216, 214, 0.9);
    font-weight: 400;
    max-width: 900px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 216, 214, 0.2);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Spectral", serif;
}

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

.footer-nav li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(245, 216, 214, 0.9);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 216, 214, 0.1);
    border: 2px solid rgba(245, 216, 214, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: rgba(245, 216, 214, 0.2);
    border-color: var(--white);
    transform: translateY(-3px);
}

.footer-social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-contract {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 216, 214, 0.1);
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid rgba(245, 216, 214, 0.2);
    flex-wrap: wrap;
}

.contract-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(245, 216, 214, 0.9);
    margin: 0;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.footer-copy-btn {
    background: transparent;
    border: 1px solid rgba(245, 216, 214, 0.3);
    color: rgba(245, 216, 214, 0.9);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-copy-btn:hover {
    background: rgba(245, 216, 214, 0.2);
    border-color: var(--white);
    color: var(--white);
    transform: scale(1.05);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(245, 216, 214, 0.8);
    margin-bottom: 10px;
    font-weight: 400;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(245, 216, 214, 0.6);
    font-style: italic;
    margin: 0;
}
