/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    height: 100%;
}

body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
    position: relative;
    background: #87CEEB; /* Fallback sky blue color that matches the image */
    margin: 0;
    padding: 0;
}

/* Background Wrapper */
.background-wrapper {
    background: url('images/skyscraper2.png') no-repeat center top;
    background-size: cover;
    width: 100%;
    position: relative;
    min-height: 100vh;
    background-attachment: scroll;
    background-position: center top;
    background-repeat: no-repeat;
    height: auto;
    will-change: transform;
    transform: translateZ(0);
    opacity: 0;
    animation: fadeInBackground 1s ease-in-out 0.2s forwards;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes fadeInBackground {
    to { opacity: 1; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contract Address */
.contract-address {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    animation: fadeInContract 0.6s ease-in-out 0.3s forwards;
}

.ca-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.ca-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 3px;
    background: linear-gradient(90deg, #ff6666, #ffb366, #ffff66, #66ff66, #66b3ff, #b366ff, #ff66b3, #ff6666);
    background-size: 400% 100%;
    animation: flowAround 6s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes flowAround {
    0% { background-position: 0% 0%; }
    100% { background-position: 400% 0%; }
}

@keyframes fadeInContract {
    to { opacity: 1; }
}

.ca-label {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

.ca-value {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.ca-copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    position: relative;
}

.ca-copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

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

.ca-copy-btn.copied {
    animation: copySuccess 0.6s ease;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

@keyframes copySuccess {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); background: #4CAF50; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    opacity: 0;
    animation: fadeInHero 1s ease-in-out 0.5s forwards;
    transform: translateY(20px);
}

@keyframes fadeInHero {
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        3px 3px 0 #000,
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        0 0 20px rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 4px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 
        3px 3px 0 #000,
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        0 0 20px rgba(255, 255, 255, 0.8);
    }
    to { text-shadow: 
        3px 3px 0 #000,
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        0 0 30px rgba(255, 255, 255, 1),
        0 0 40px rgba(255, 255, 255, 0.6);
    }
}

.hero-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    font-weight: 600;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.6);
}

/* Hero Images */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-image {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    opacity: 0;
    animation: fadeInImage 0.8s ease-in-out 0.8s forwards;
    transform: scale(0.8) rotate(var(--rotation, 0deg));
    object-fit: cover;
}

@keyframes fadeInImage {
    to { 
        opacity: 1; 
        transform: scale(1) rotate(var(--rotation, 0deg));
    }
}

.hero-image-1 {
    top: 20%;
    left: 10%;
    --rotation: -15deg;
}

.hero-image-2 {
    top: 20%;
    right: 10%;
    --rotation: 15deg;
}

.hero-image-6 {
    bottom: 20%;
    left: 10%;
    --rotation: -10deg;
}

.hero-image-7 {
    bottom: 20%;
    right: 10%;
    --rotation: 10deg;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    background: transparent;
}

.section-title {
    font-family: 'Righteous', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 
        2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        0 0 15px rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

/* About Section */
.about {
    opacity: 0;
    animation: fadeInSection 0.8s ease-in-out 1s forwards;
    transform: translateY(30px);
}

@keyframes fadeInSection {
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-description {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

.wagie-character {
    width: 300px;
    height: 300px;
    background: url('images/wagie-character.png') no-repeat center center;
    background-size: contain;
    margin: 0 auto;
    animation: wagieFloat 3s ease-in-out infinite;
}

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

.wagie-about {
    animation: wagieFloat 3s ease-in-out infinite;
}

/* Tokenomics Section */
.tokenomics {
    opacity: 0;
    animation: fadeInSection 0.8s ease-in-out 1.2s forwards;
    transform: translateY(30px);
}

.tokenomics-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tokenomics-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tokenomics-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--box-color), var(--box-color-light));
}

.tokenomics-box.community {
    --box-color: #ff6b6b;
    --box-color-light: #ff8e8e;
}

.tokenomics-box.marketing {
    --box-color: #45b7d1;
    --box-color-light: #67c9e0;
}

.tokenomics-box.team {
    --box-color: #96ceb4;
    --box-color-light: #b4dcc6;
}

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

.tokenomics-box h3 {
    font-family: 'Righteous', cursive;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.percentage {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--box-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 1rem;
}

.description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Roadmap Section */
.roadmap {
    opacity: 0;
    animation: fadeInSection 0.8s ease-in-out 1.4s forwards;
    transform: translateY(30px);
}

.roadmap-phases {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.phase-item {
    position: relative;
}

.phase-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #000;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

.phase-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.phase-text h3 {
    font-family: 'Righteous', cursive;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.phase-text ul {
    list-style: none;
    padding: 0;
}

.phase-text li {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.phase-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ff0000;
    font-weight: bold;
}

.phase-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Join Revolution Section */
.join {
    opacity: 0;
    animation: fadeInSection 0.8s ease-in-out 1.6s forwards;
    transform: translateY(30px);
}

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-text {
    margin-bottom: 3rem;
}

.join-text p {
    font-size: 1.3rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

.footer-image {
    width: 200px;
    height: auto;
    margin: 2rem auto;
    animation: footerFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4));
}

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

.join-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wagie-character {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .tokenomics-chart {
        grid-template-columns: 1fr;
    }
    
    .phase-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-image-1 {
        top: 15%;
        left: 5%;
    }
    
    .hero-image-2 {
        top: 15%;
        right: 5%;
    }
    
    .hero-image-6 {
        bottom: 15%;
        left: 5%;
    }
    
    .hero-image-7 {
        bottom: 15%;
        right: 5%;
    }
    
    .background-wrapper {
        background-size: cover;
        background-position: center top;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .tokenomics-box {
        padding: 1.5rem;
    }
    
    .percentage {
        font-size: 2rem;
    }
    
    .phase-content {
        padding: 1.5rem;
    }
    
    .phase-text h3 {
        font-size: 1.4rem;
    }
    
    .phase-text li {
        font-size: 1rem;
    }
    
    .hero-image {
        width: 100px;
        height: 100px;
    }
    
    .ca-box {
        padding: 8px 16px;
        gap: 8px;
    }
    
    .ca-value {
        font-size: 10px;
    }
    
    .ca-copy-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .background-wrapper {
        background-size: cover;
        background-position: center top;
        min-height: 100vh;
    }
} 

/* Terms & Conditions Button */
.terms-link {
    text-align: center;
    margin-top: 30px;
}

.terms-button {
    display: inline-block;
    color: white !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    padding: 12px 24px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.terms-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.terms-button:hover::before {
    left: 100%;
}

.terms-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0 0 10px rgba(255,255,255,0.5);
    color: white !important;
}

.terms-button:visited,
.terms-button:active,
.terms-button:focus {
    color: white !important;
    text-decoration: none !important;
}