/* Global Styles */
:root {
    --navy-blue: #0a1f44;
    --dark-red: #c1272d;
    --white: #ffffff;
    --black: #121212;
    --dark-background: #0a0a0a;
    --red-gradient: linear-gradient(135deg, #c1272d 0%, #8f0e14 100%);
    --blue-gradient: linear-gradient(135deg, #0a1f44 0%, #050e1f 100%);
    --scrollbar-bg: #0a0a0a;
    --scrollbar-thumb: var(--dark-red);
    --scrollbar-thumb-hover: #ff3333;
    --heading-font: 'Impact', 'Anton', sans-serif;
    --body-font: 'Oswald', sans-serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-left: 1px solid #222;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 0;
    border: 2px solid var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-background);
    color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Background Image */
.bg-image::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2; /* Very low opacity as requested */
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, .value {
    font-family: var(--heading-font);
    font-weight: normal;
}

a {
    text-decoration: none;
    color: var(--white);
}

/* Text Container Styles */
.text-container {
    background-color: rgba(10, 10, 10, 0.9);
    border-radius: 5px;
    padding: 2rem;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    position: relative;
}

.text-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--red-gradient);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--black);
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    z-index: 1000;
    border-bottom: 2px solid var(--white);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

.star {
    color: gold;
    font-size: 1.5rem;
    margin-right: 5px;
}

.logo-text {
    font-size: 2rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: normal;
    background: white;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    /*background: linear-gradient(to right, #ff0000, #ffffff, #0000ff);*/
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
    letter-spacing: 1px;
}

.header-socials {
    display: flex;
    gap: 1.5rem;
}

/* Address Box Styles */
.address-box {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(30, 30, 30, 0.8) 100%);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 850px; /* Increased to fit the full address */
    position: relative;
    overflow: hidden;
}

.address-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: var(--red-gradient);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.address {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the address */
    position: relative;
}

.address-label {
    font-family: var(--heading-font);
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--white);
}

.copyable-address {
    font-family: monospace;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
    text-align: center;
    width: 100%;
    overflow: visible; /* Allow address to be fully visible */
    white-space: normal; /* Allow address to wrap if needed */
    word-break: break-all; /* Break long addresses */
}

.copyable-address:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.copyable-address:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.copy-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: var(--body-font);
    letter-spacing: 0.5px;
    pointer-events: none; /* So it doesn't interfere with clicks */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    margin: 0;
    padding: 0;
}

/* Hero Video Background */
.hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
}

/* Hero Content */
.hero-text-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contract-box {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contract-box:hover {
    background-color: rgba(20, 20, 20, 0.8);
}

.contract-address {
    color: var(--gold);
    font-family: monospace;
    font-size: 1rem;
}

/* Tokenomics Section */
.tokenomics {
    padding: 5rem 1rem;
    background: linear-gradient(to right, var(--dark-red), var(--navy-blue));
    position: relative;
    margin: 0;
}

.tokenomics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.tokenomics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tokenomics-card {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tokenomics-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tokenomics-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.navy {
    background: var(--blue-gradient);
}

.white {
    background: #f5f5f5;
    color: var(--black);
}

.red {
    background: var(--red-gradient);
}

.tokenomics-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tokenomics-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.tokenomics-card .value {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.tokenomics-card p {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.slogan {
    text-align: center;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.slogan h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animation Sections */
.animation-section {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
    padding-top: 6rem;
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;

}

/* Video Container */
.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
}

/* Text Container */
.text-content-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem;
}

.text-container {
    max-width: 600px;
    width: 100%;
}

.trail-text,
.center-text,
.impact-text {
    opacity: 0;
    transition: none;
    text-align: center;
}

.trail-text h2,
.center-text h2,
.impact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    color: var(--white);
}

.trail-text p,
.center-text p,
.impact-text p {
    font-family: var(--body-font);
    font-size: 1.2rem;
    margin: 0 auto;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    color: #ffd561;
}

/* Show text when section is in view */
.animation-section.in-view .trail-text,
.animation-section.in-view .center-text,
.animation-section.in-view .impact-text {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .animation-section {
        grid-template-columns: 1fr;
        height: auto;
        display: flex;
        flex-direction: column;
        padding:1rem;
    }

    .animation-container {
        height: 60vh;
    }

    .text-content-container {
        height: auto;
        min-height: 40vh;
    }

    /* Reorder sections for mobile */
    .animation-section:nth-child(odd) {
        flex-direction: column;
    }

    .animation-section:nth-child(even) {
        flex-direction: column-reverse;
    }

    .background-video {
        object-fit: contain;
        width: 100%;
        height: 100%;
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .animation-container {
        height: 50vh;
    }

    .text-content-container {
        min-height: 30vh;
        padding: 1.5rem;
    }

    .background-video {
        max-height: 50vh;
    }

    .trail-text h2,
    .center-text h2,
    .impact-text h2 {
        font-size: 1.8rem;
    }

    .trail-text p,
    .center-text p,
    .impact-text p {
        font-size: 1rem;
    }
}

/* Fighter Jet Animation */
.fighter-jet-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.fighter-jet {
    position: absolute;
    top: 40%;
    right: -100px;
    transition: transform 0.3s ease-out;
}

.placeholder-jet {
    width: 100px;
    height: 50px;
    background-color: #555;
    clip-path: polygon(0 50%, 20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%);
}

/* Tanks Animation */
.tanks-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.tank {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.2);
    transition: transform 0.3s ease-out;
}

.tank-left {
    left: 50%; /* Start at center */
    transform-origin: center right; /* Pivot from right side for left rotation */
}

.tank-right {
    right: 50%; /* Start at center */
    transform-origin: center left; /* Pivot from left side for right rotation */
    transform: translateY(-50%) scale(0.2) scaleX(-1); /* Flip horizontally */
}

.tank img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Recommended dimensions: around 300px width for original size */
    width: 300px;
}

.placeholder-tank {
    width: 150px;
    height: 80px;
    background-color: #555;
    border-radius: 10px;
    position: relative;
}

.placeholder-tank::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 30px;
    width: 100px;
    height: 20px;
    background-color: #555;
}

/* Missile Animation */
.missile-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.missile {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease-out;
}

.placeholder-missile {
    width: 20px;
    height: 80px;
    background-color: #555;
    position: relative;
}

.placeholder-missile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #555;
    transform: translateY(-100%);
}

.explosion {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease-out;
}

.placeholder-explosion {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff4500, #ff0000);
    border-radius: 50%;
}

.hidden {
    display: none;
}

/* Buy Section */
.buy-section {
    padding: 5rem 1rem;
    text-align: center;
    background-color: rgba(10, 31, 68, 0.9);
    margin: 0;
}

.buy-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.buy-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--red-gradient);
    color: var(--white);
    font-weight: normal;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
   /*margin-bottom: 2rem;*/
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 1px;
}

.buy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top:1rem;
}

.social-link {
    font-size: 2rem;
    color: var(--white);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--dark-red);
}

/* Footer */
footer {
    padding: 2rem 1rem;
    background-color: rgba(18, 18, 18, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    border-top: 2px solid var(--white);
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 2rem;
    letter-spacing: 1px;
}

.footer-links a {
    text-transform: uppercase;
}

/* Enhanced Responsive Design */
/* Mobile Phones */
@media (max-width: 480px) {
    header {
        width: 95%;
        padding: 0.8rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .address-box {
        padding: 0.8rem;
    }
    
    .tokenomics h2 {
        font-size: 2rem;
    }
    
    .tokenomics-card {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .tokenomics-card .icon {
        font-size: 2.5rem;
    }
    
    .tokenomics-card .value {
        font-size: 1.5rem;
    }
    
    .buy-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .text-container {
        padding: 1.5rem;
    }
    
    .trail-text h2,
    .center-text h2,
    .impact-text h2 {
        font-size: 1.8rem;
    }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
    header {
        width: 90%;
        flex-direction: column;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tokenomics-card {
        min-height: 280px;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .social-links {
        margin-top: 1rem;
    }
}

/* Laptops */
@media (min-width: 769px) and (max-width: 1024px) {
    .tokenomics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Screens */
@media (min-width: 1025px) {
    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation for address copy */
.show-notification {
    opacity: 1 !important;
}

/* Background with stripes for tokenomics */
@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 0;
    }
}

/* Video Background Styles */
.video-background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 80vh;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    z-index: 2;
}

/* Text Container Styles for Animation Sections */
.text-content-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.8);
}

.text-container {
    max-width: 600px;
    width: 100%;
}

/* Text styles for video sections */
.trail-text,
.center-text,
.impact-text {
    opacity: 0;
    transition: none;
    text-align: center;
}

.trail-text h2,
.center-text h2,
.impact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    color: var(--white);
}

.trail-text p,
.center-text p,
.impact-text p {
    font-family: var(--body-font);
    font-size: 1.2rem;
    margin: 0 auto;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    color: #ffd561;
}

/* Show text when section is in view */
.animation-section.in-view .trail-text,
.animation-section.in-view .center-text,
.animation-section.in-view .impact-text {
    opacity: 1;
}

/* Animation keyframes */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

/* Specific animations for each text section */
.animation-section.in-view .trail-text {
    animation: slideInFromRight 0.8s ease forwards;
}

.animation-section.in-view .center-text {
    animation: slideInFromLeft 0.8s ease forwards;
}

.animation-section.in-view .impact-text {
    animation: slideInFromRight 0.8s ease forwards;
}

/* Text hover effects */
.trail-text h2,
.center-text h2,
.impact-text h2 {
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.trail-text p,
.center-text p,
.impact-text p {
    transition: color 0.3s ease;
}

.trail-text:hover h2,
.center-text:hover h2,
.impact-text:hover h2 {
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    transform: scale(1.05);
}

.trail-text:hover p,
.center-text:hover p,
.impact-text:hover p {
    color: #ffd561;
} 