/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --neon-blue: #00FFFF;
    --pixel-red: #FF0055;
    --dark-bg: #0f0f1a;
    --light-text: #ffffff;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 3D Scene Container */
#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-align: center;
    margin: 0 10px;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.btn-tertiary {
    background: transparent;
    border-color: var(--pixel-red);
    color: var(--pixel-red);
}

.btn-tertiary:hover {
    background: var(--pixel-red);
    color: var(--dark-bg);
    transform: scale(1.05);
}

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

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.highlight {
    color: var(--primary-yellow);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 10px var(--primary-yellow);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-yellow);
    margin: 20px auto;
    border-radius: 2px;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

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

.logo-container {
    margin-bottom: 40px;
}

.pokego-logo {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.pokeball-3d {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #FFFFFF, #CCCCCC);
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

.pokeball-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #000;
    z-index: 2;
}

.pokeball-3d::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 4px solid #000;
    border-radius: 50%;
    z-index: 3;
}

.coin-3d {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: rotate 8s linear infinite;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--neon-blue);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--neon-blue);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Tokenomics Section */
.tokenomics-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.pie-chart-container {
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
}

.tokenomics-details {
    flex: 1;
    min-width: 300px;
}

.tokenomic-item {
    margin-bottom: 20px;
}

.tokenomic-bar {
    height: 20px;
    background: #333;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.tokenomic-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-yellow);
    width: var(--percent, 0%);
    transition: width 1.5s ease;
    border-radius: 10px;
}

/* Roadmap Section */
.roadmap-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    z-index: -1;
}

.roadmap-item {
    flex: 1;
    min-width: 250px;
    perspective: 1000px;
    position: relative;
}

.roadmap-card {
    background: rgba(30, 30, 50, 0.7);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: 1px solid var(--neon-blue);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: float 4s ease-in-out infinite;
}

.roadmap-card:nth-child(2) {
    animation-delay: 0.5s;
}

.roadmap-card:nth-child(3) {
    animation-delay: 1s;
}

.roadmap-card:hover {
    transform: translateY(-15px) rotateX(10deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.roadmap-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.roadmap-card p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--neon-blue), var(--pixel-red));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

/* Floating animation for roadmap cards */
@keyframes float {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(3deg);
    }
    100% {
        transform: translateY(0px) rotateY(0deg);
    }
}

/* Social Section */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-icon {
    text-decoration: none;
    perspective: 1000px;
    transform-style: preserve-3d;
    position: relative;
}

.social-3d {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--dark-bg);
    font-size: 1.8rem;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.7),
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    transform-style: preserve-3d;
    animation: float-social 3s ease-in-out infinite;
}

.social-3d::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-yellow), var(--neon-blue), var(--pixel-red), var(--primary-yellow));
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
}

.social-3d:hover {
    transform: scale(1.2) rotateY(20deg) translateY(-10px);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.9),
        0 0 40px rgba(255, 215, 0, 0.7),
        inset 0 0 30px rgba(255, 255, 255, 0.7);
}

.social-icon:nth-child(2) .social-3d {
    animation-delay: 0.3s;
    background: var(--neon-blue);
    color: var(--dark-bg);
}

.social-icon:nth-child(3) .social-3d {
    animation-delay: 0.6s;
    background: var(--pixel-red);
    color: var(--dark-bg);
}

/* Floating animation for social icons */
@keyframes float-social {
    0% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateY(5deg);
    }
    100% {
        transform: translateY(0px) rotateY(0deg);
    }
}

/* Footer */
#footer {
    padding: 40px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 50px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.neon-border {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    background: rgba(15, 15, 26, 0.7);
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.3),
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--neon-blue);
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--neon-blue), var(--pixel-red), var(--primary-yellow));
    z-index: -1;
    border-radius: 12px;
    animation: borderAnimation 3s linear infinite;
    background-size: 400%;
}

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

.disclaimer {
    color: var(--neon-blue);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        margin: 5px 0 !important;
        width: 200px;
    }
    
    .tokenomics-content {
        flex-direction: column;
    }
    
    .roadmap-timeline {
        flex-direction: column;
        align-items: center;
    }
}