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

html, body {
    height: 100vh;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Press Start 2P', cursive;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

/* Fixed Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

/* Video Background - Bottom layer */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-video.active {
    opacity: 0.5;
}

/* Blur Layer - Center only */
.blur-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80vh;
    backdrop-filter: blur(0px);
    z-index: 2;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    border-radius: 10px;
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 3;
    height: 100%;
    overflow-y: auto;
}

/* Content Styles */
.content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Semi-transparent overlay for content sections */
.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
}

/* Canvas (3D Model) */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

/* Hero section specific */
#hero {
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#hero .content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 4rem 3rem;
    margin-top: 25rem;
}

/* Main title and subtitle */
#hero h1 {
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

#hero p {
    margin-bottom: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

/* Contract Address Styles */
.contract-address {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 6;
    position: relative;
}

/* Twitter Embed Styles */
.twitter-embed {
    margin: 2rem 0;
    width: 100%;
    max-width: 550px;
    z-index: 6;
    position: relative;
}

.twitter-placeholder {
    background: rgba(0, 0, 0, 0.6);
    border: 4px solid rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.3);
}

.twitter-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* Remove old overlay */
.overlay {
    display: none;
}

/* Section Styles */
section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

/* Typography with enhanced contrast for blur backdrop */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
    letter-spacing: 2px;
    color: #FFFFFF;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0px #000000;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Loading Indicator */
#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: #000000;
    padding: 1rem 2rem;
    border: 4px solid #FFFFFF;
    animation: pulse 1s infinite;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border: 4px solid rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.7);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Gameplay Videos */
.gameplay-videos {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    width: 100%;
    justify-content: center;
}

.gameplay-video-container {
    width: 600px;
    height: 375px;
    position: relative;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset -6px -6px 0 0 rgba(0, 0, 0, 0.3),
        inset 6px 6px 0 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gameplay-video-container:hover {
    transform: scale(1.03);
    box-shadow: 
        inset -6px -6px 0 0 rgba(0, 0, 0, 0.4),
        inset 6px 6px 0 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(0, 0, 0, 0.6);
}

.gameplay-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Remove old gameplay images styles */
.gameplay-images {
    display: none;
}

.gameplay-image {
    display: none;
}

/* CTA Button */
#cta-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    background-color: #4CAF50;
    background-image: linear-gradient(
        to bottom,
        #4CAF50,
        #45a049 50%,
        #3d8b40
    );
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    border: 4px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 2rem 0;
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.3);
    outline: 4px solid rgba(0, 0, 0, 0.5);
    image-rendering: pixelated;
    position: relative;
    overflow: hidden;
}

#cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 75%);
    background-size: 4px 4px;
    opacity: 0.5;
    z-index: 1;
}

#cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
}

#cta-button:hover {
    transform: scale(1.05);
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.4),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
}

#cta-button:active {
    transform: scale(0.95);
    box-shadow: 
        inset 4px 4px 0 0 rgba(0, 0, 0, 0.3),
        inset -4px -4px 0 0 rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .gameplay-video-container {
        width: 500px;
        height: 312px;
    }
}

@media (max-width: 1200px) {
    .gameplay-video-container {
        width: 400px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .gameplay-videos {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin: 2rem 0;
    }

    .gameplay-video-container {
        width: 100%;
        max-width: 450px;
        height: 280px;
    }

    #cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    #hero .content {
        padding: 3rem 1rem;
        gap: 1rem;
    }

    #hero h1 {
        margin-top: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
    }

    .contract-address {
        margin: 1.5rem 0;
    }

    .twitter-embed {
        margin: 1.5rem 0;
    }

    .twitter-placeholder {
        padding: 1rem;
    }
}

/* Add smooth fade in for video */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

#hero-bg-video {
    animation: fadeIn 1s ease-in;
}

/* Add specific mobile handling for video */
@media (max-width: 768px) {
    .hero-video {
        object-position: center;
    }
}

#gameplay {
    padding: 6rem 0;
}

#features {
    padding: 6rem 0;
}

#cta {
    padding: 6rem 0;
}

/* Hero Buttons */
.hero-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.3);
    outline: 4px solid rgba(0, 0, 0, 0.5);
    image-rendering: pixelated;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 75%);
    background-size: 4px 4px;
    opacity: 0.5;
    z-index: 1;
}

.hero-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
}

.hero-button span {
    position: relative;
    z-index: 3;
}

.hero-button.play-now {
    background-color: #4CAF50;
    background-image: linear-gradient(
        to bottom,
        #4CAF50,
        #45a049 50%,
        #3d8b40
    );
}

.hero-button.buy-now {
    background-color: #FF3366;
    background-image: linear-gradient(
        to bottom,
        #FF3366,
        #ff1a53 50%,
        #e60c44
    );
}

.hero-button:hover {
    transform: scale(1.05);
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.4),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-button:active {
    transform: scale(0.95);
    box-shadow: 
        inset 4px 4px 0 0 rgba(0, 0, 0, 0.3),
        inset -4px -4px 0 0 rgba(255, 255, 255, 0.3);
}

/* Contract Address Styles */
.contract-address .label {
    font-size: 0.8rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 0px #000000;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.3);
}

#contract-address {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    width: 180px;
    padding: 0.5rem;
    cursor: default;
    outline: none;
}

.copy-button {
    background: #4CAF50;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.3),
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.copy-button::before {
    content: '📋';
    font-size: 1rem;
}

.copy-button:hover {
    background: #45a049;
    transform: scale(1.05);
}

.copy-button:active {
    transform: scale(0.95);
    box-shadow: 
        inset 2px 2px 0 0 rgba(0, 0, 0, 0.3),
        inset -2px -2px 0 0 rgba(255, 255, 255, 0.3);
}

.copy-button .tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 0.5rem;
    font-size: 0.7rem;
    border-radius: 4px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Press Start 2P', cursive;
}

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

/* Twitter Embed Styles */
.twitter-embed {
    margin-top: 2rem;
    width: 100%;
    max-width: 550px;
    z-index: 6;
    position: relative;
}

.twitter-placeholder {
    background: rgba(0, 0, 0, 0.6);
    border: 4px solid rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.3);
}

.twitter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.twitter-icon {
    font-size: 1.5rem;
}

.twitter-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: #FFFFFF;
}

.twitter-content {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    padding: 1rem;
}

/* Twitter Embed Overrides */
.twitter-tweet {
    margin: 0 auto !important;
}

.twitter-embed iframe {
    border: none !important;
}

/* Hide placeholder when tweet is loaded */
.twitter-content .placeholder-text {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    #hero .content {
        padding: 3rem 1rem;
        gap: 1rem;
    }

    .gameplay-videos {
        margin: 2rem 0;
    }

    .feature-list {
        margin: 2rem 0;
    }

    #gameplay, #features, #cta {
        padding: 4rem 0;
    }
}

/* Objectives Section Styles */
.objectives-section {
    margin: 4rem 0;
    width: 100%;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.objective-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border: 4px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 75%);
    background-size: 4px 4px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.objective-card:hover {
    transform: scale(1.02);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.4),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.objective-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.objective-card h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 0px #000000;
}

.objective-card p {
    color: #FFFFFF;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 0px #000000;
}

/* Responsive adjustments for objectives section */
@media (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .objectives-section {
        margin: 3rem 0;
    }

    .objective-card {
        padding: 1.5rem;
    }

    .objective-icon {
        font-size: 2rem;
    }

    .objective-card h3 {
        font-size: 1rem;
    }

    .objective-card p {
        font-size: 0.8rem;
    }
} 

.hero-button.x-button {
    background-color: #000000;
    background-image: linear-gradient(
        to bottom,
        #1A1A1A,
        #0D0D0D 50%,
        #000000
    );
    border: 4px solid rgba(255, 255, 255, 0.7);
}

.hero-button.x-button:hover {
    transform: scale(1.05);
    box-shadow: 
        inset -4px -4px 0 0 rgba(0, 0, 0, 0.4),
        inset 4px 4px 0 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
        width: 100%;
    }

    .hero-button {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 1rem 2rem;
    }
} 
