:root {
    --ow-orange: #f99e1a;
    --ow-dark-grey: #2f3640;
    /* Deep blue-grey */
    --ow-light-grey: #f0f0f0;
    --ow-blue: #00c3ff;
    /* Holographic blue */

    --font-heading: 'Teko', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    --skew-degree: -15deg;
}

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

body {
    font-family: var(--font-body);
    color: var(--ow-light-grey);
    background-color: #1a1a1d;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.jpg') no-repeat center center/cover;
    z-index: -2;
    filter: brightness(0.7) sepia(0.2) hue-rotate(-10deg);
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8) 90%);
    pointer-events: none;
    z-index: -1;
}

/* Floating Cats */
.floating-cat {
    position: absolute;
    width: 25vw;
    max-width: 450px;
    z-index: -1;
    filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

.cat-left {
    top: 15%;
    left: 2%;
    transform: rotate(-5deg);
}

.cat-right {
    top: 20%;
    right: 2%;
    transform: scaleX(-1) rotate(5deg);
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

@keyframes float-right {

    0%,
    100% {
        transform: translateY(0) scaleX(-1) rotate(5deg);
    }

    50% {
        transform: translateY(-20px) scaleX(-1) rotate(2deg);
    }
}

.cat-right {
    animation-name: float-right;
}

/* Main Container */
.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 5rem 2rem;
    /* Added bottom padding for footer */
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Logo */
.logo-wrapper {
    margin-top: 2rem;
}

.hero-logo {
    width: 350px;
    max-width: 90vw;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

/* Center Content */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: auto;
    margin-top: auto;
}

/* Contract Card - Overwatch Style */
.contract-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(47, 54, 64, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-left: 5px solid var(--ow-orange);
    padding: 0.8rem 2rem;
    transform: skewX(var(--skew-degree));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    position: relative;
}

.contract-card:hover {
    transform: skewX(var(--skew-degree)) scale(1.05);
    border-color: var(--ow-orange);
    box-shadow: 0 0 20px rgba(249, 158, 26, 0.4);
}

/* Un-skew content inside */
.contract-card>* {
    transform: skewX(15deg);
}

.contract-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--ow-orange);
    font-size: 1.8rem;
    line-height: 1;
    text-transform: uppercase;
    font-style: italic;
}

.contract-address {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: white;
}

.copy-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--ow-orange);
}

/* Lore Button - Overwatch Play Button Style */
.lore-trigger-wrapper {
    margin-bottom: 2rem;
}

.lore-btn {
    background: var(--ow-orange);
    color: white;
    border: none;
    padding: 0.8rem 4rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    transform: skewX(var(--skew-degree));
    cursor: pointer;
    box-shadow: 0 5px 0 #b36b00;
    transition: all 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Adding the white sheen effect */
.lore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    transition: 0.4s;
}

.lore-btn:hover {
    background: #ffaa33;
    transform: skewX(var(--skew-degree)) translateY(-2px);
    box-shadow: 0 7px 0 #b36b00;
}

.lore-btn:hover::before {
    left: 150%;
}

.lore-btn:active {
    transform: skewX(var(--skew-degree)) translateY(2px);
    box-shadow: 0 2px 0 #b36b00;
}

/* Social Links - Hexagon-ish/Techy */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    background: rgba(47, 54, 64, 0.8);
    padding: 0.5rem 1.5rem;
    transform: skewX(var(--skew-degree));
    border: 2px solid transparent;
    /* Prepare for hover border */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-style: italic;
}

.social-link>* {
    transform: skewX(15deg);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ow-blue);
    color: white;
    text-shadow: 0 0 5px var(--ow-blue);
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
}

/* Modal */
.lore-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.9);
    /* Darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    backdrop-filter: blur(8px);
}

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

.lore-modal-content {
    background: var(--ow-dark-grey);
    border-top: 6px solid var(--ow-blue);
    border-bottom: 6px solid var(--ow-orange);
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    position: relative;
    transform: skewX(-5deg);
    /* Slight skew for modal */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    clip-path: polygon(20px 0, 100% 0,
            100% calc(100% - 20px), calc(100% - 20px) 100%,
            0 100%,
            0 20px);
    /* Techy cut corners */
}

/* Unskew content */
.lore-modal-content>* {
    transform: skewX(5deg);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 0.8;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
    transform: skewX(5deg);
    /* Ensure X is upright */
}

.close-modal:hover {
    color: var(--ow-orange);
}

.lore-modal-content h2 {
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 1rem;
    text-align: left;
    text-transform: uppercase;
    font-size: 3rem;
    font-style: italic;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.lore-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #cbd5e0;
}

.lore-text p {
    margin-bottom: 1rem;
}

.viral-tag {
    margin-top: 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--ow-orange);
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 2px;
    animation: flash 1s infinite alternate;
}

/* Footer Disclaimer */
.legal-footer {
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 20;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes flash {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 10px var(--ow-orange);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-cat {
        width: 35vw;
        top: 15%;
    }

    .cat-left {
        left: -8%;
    }

    .cat-right {
        right: -8%;
    }

    .hero-logo {
        width: 250px;
    }

    .contract-label {
        font-size: 1.4rem;
    }

    .contract-address {
        font-size: 1.2rem;
    }

    .lore-modal-content {
        padding: 2rem;
        transform: skewX(0);
        clip-path: none;
        border-radius: 10px;
    }

    .lore-modal-content>* {
        transform: skewX(0);
    }

    .lore-btn {
        padding: 0.8rem 2.5rem;
        font-size: 1.5rem;
    }

    .hero-container {
        padding-bottom: 2rem;
    }
}