/* Base Styles */
:root {
    --primary-color: #ff0033;
    --primary-glow: rgba(255, 0, 51, 0.7);
    --secondary-color: #9900ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #f5f5f5;
    --gray-text: #a0a0a0;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border-color: rgba(255, 0, 51, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 51, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(153, 0, 255, 0.05) 0%, transparent 25%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--light-text);
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: all 0.4s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 0;
}

.btn:hover::before {
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    box-shadow: 0 0 15px var(--primary-glow);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

.x-highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.katana-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 20px auto;
    position: relative;
}

.katana-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-image: url('images/katana-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(5, 5, 5, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--light-text), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-buy {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--light-text);
    font-weight: 600;
    box-shadow: 0 0 15px var(--primary-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--darker-bg);
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 51, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(153, 0, 255, 0.1) 0%, transparent 20%);
    z-index: 1;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.samurai-mascot {
    max-height: 80vh;
    filter: drop-shadow(0 0 20px rgba(255, 0, 51, 0.5));
    animation: float 6s ease-in-out infinite;
}

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

.sword-slash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('images/sword-slash.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    z-index: -1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: 'SAMURAIX';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #0ff;
    z-index: -1;
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    animation-delay: 0.1s;
}

.glitch-text::after {
    color: #f0f;
    z-index: -2;
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    animation-delay: 0.2s;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

.slogan {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--gray-text);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about {
    background-color: var(--dark-bg);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 51, 0.5);
}

.about-features {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.feature {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex: 1;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Tokenomics Section */
.tokenomics {
    background-color: var(--darker-bg);
    position: relative;
}

.tokenomics-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.token-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.token-symbol {
    display: flex;
    align-items: center;
    gap: 20px;
}

.token-symbol img {
    width: 80px;
    height: 80px;
}

.token-symbol h3 {
    font-size: 2rem;
    margin-bottom: 0;
}

.token-details {
    display: flex;
    gap: 40px;
}

.detail h4 {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 5px;
}

.detail p {
    font-size: 1.2rem;
    font-weight: 600;
}

.token-distribution {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.token-distribution h3 {
    text-align: center;
    margin-bottom: 30px;
}

.distribution-chart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.chart-container {
    flex: 1;
    height: 300px;
}

.distribution-legend {
    flex: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 15px;
}

.color-box.liquidity {
    background-color: var(--primary-color);
}

.color-box.marketing {
    background-color: #00c3ff;
}

.color-box.development {
    background-color: #ffcc00;
}

.color-box.team {
    background-color: #9900ff;
}

.color-box.community {
    background-color: #00ff66;
}

.tokenomics-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.tokenomics-feature {
    background-color: var(--card-bg);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex: 1;
}

.tokenomics-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.tokenomics-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* How to Buy Section */
.how-to-buy {
    background-color: var(--dark-bg);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.step {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 200px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-connector {
    flex: 0.5;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: relative;
    z-index: 1;
}

.contract-address {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contract-address h3 {
    margin-bottom: 20px;
}

.address-box {
    background-color: rgba(10, 10, 10, 0.8);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.address-box code {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.copy-btn {
    background-color: transparent;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

/* Roadmap Section */
.roadmap {
    background-color: var(--darker-bg);
    position: relative;
}

.roadmap-container {
    position: relative;
    padding: 20px 0;
}

.roadmap-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.roadmap-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-point {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-glow);
}

.roadmap-content {
    width: 45%;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    margin-left: 50px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.roadmap-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.roadmap-item:nth-child(even) .roadmap-content {
    margin-left: 0;
    margin-right: 50px;
}

.roadmap-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.roadmap-content ul {
    list-style-type: none;
}

.roadmap-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.roadmap-content ul li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    top: 0;
}

/* Community Section */
.community {
    background-color: var(--dark-bg);
    position: relative;
}

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

.community-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.2);
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.social-link.telegram {
    color: #0088cc;
}

.social-link.discord {
    color: #7289da;
}

.social-link.twitter {
    color: #1da1f2;
}

.social-link.reddit {
    color: #ff4500;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

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

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--light-text), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-text);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .about-content,
    .distribution-chart {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .chart-container,
    .distribution-legend {
        width: 100%;
    }
    
    .roadmap-content {
        width: 80%;
        margin-left: 30px;
    }
    
    .roadmap-item:nth-child(even) .roadmap-content {
        margin-right: 30px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        margin-top: 20px;
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-features,
    .tokenomics-features {
        flex-direction: column;
    }
    
    .feature,
    .tokenomics-feature {
        margin-bottom: 20px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .step {
        width: 100%;
    }
    
    .step-connector {
        width: 3px;
        height: 30px;
    }
    
    .roadmap-line {
        left: 30px;
    }
    
    .roadmap-item {
        justify-content: flex-start;
    }
    
    .roadmap-content,
    .roadmap-item:nth-child(even) .roadmap-content {
        width: 80%;
        margin-left: 50px;
        margin-right: 0;
    }
    
    .roadmap-point {
        margin-left: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links,
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .token-info,
    .token-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .token-symbol {
        margin-bottom: 20px;
    }
    
    .roadmap-content {
        width: 75%;
    }
    
    .social-link {
        width: 100%;
    }
}