* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Fixed Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(77, 184, 255, 0.2);
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
}

.nav-link {
    color: #a0d4f7;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4db8ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4db8ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-logo {
    height: 60px;
    width: auto;
    padding: 8px;
    border: 2px solid rgba(77, 184, 255, 0.5);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    border-color: #4db8ff;
    box-shadow: 0 0 20px rgba(77, 184, 255, 0.4);
}

.nav-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link, .ca-link {
    padding: 8px 20px;
    background: rgba(77, 184, 255, 0.1);
    border: 1px solid rgba(77, 184, 255, 0.5);
    color: #4db8ff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover, .ca-link:hover {
    background: rgba(77, 184, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 20px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #4db8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: #a0d4f7;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.3rem;
    color: #a0d4f7;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    background: rgba(77, 184, 255, 0.2);
    border: 2px solid #4db8ff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: rgba(77, 184, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(77, 184, 255, 0.4);
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #4db8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #a0d4f7;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #000 0%, #001020 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #4db8ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(77, 184, 255, 0.2);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4db8ff;
}

.about-card p {
    color: #a0d4f7;
    line-height: 1.8;
}

/* Token Info */
.token-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
}

.token-title {
    text-align: center;
    font-size: 2rem;
    color: #4db8ff;
    margin-bottom: 30px;
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.token-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(77, 184, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.token-card:hover {
    border-color: #4db8ff;
    transform: translateY(-3px);
}

.token-label {
    color: #4db8ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.token-value {
    color: #fff;
    font-size: 1.1rem;
}

/* Builder Section */
.builder-section {
    background: #000;
}

.builder-container {
    max-width: 800px;
    margin: 0 auto 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
}

.builder-input {
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(77, 184, 255, 0.5);
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.builder-input:focus {
    outline: none;
    border-color: #4db8ff;
    box-shadow: 0 0 20px rgba(77, 184, 255, 0.3);
}

.builder-input::placeholder {
    color: #666;
}

.builder-btn {
    width: 100%;
    padding: 18px;
    background: rgba(77, 184, 255, 0.3);
    border: 2px solid #4db8ff;
    border-radius: 15px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.builder-btn:hover {
    background: rgba(77, 184, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(77, 184, 255, 0.4);
}

.builder-result {
    margin-top: 30px;
    text-align: center;
}

.builder-result img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    border: 2px solid rgba(77, 184, 255, 0.5);
    margin-top: 20px;
}

/* Chatbot */
.chatbot-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
}

.chatbot-title {
    font-size: 1.8rem;
    color: #4db8ff;
    margin-bottom: 20px;
    text-align: center;
}

.chatbot-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(77, 184, 255, 0.5);
    border-radius: 10px;
}

.bot-message, .user-message {
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 80%;
}

.bot-message {
    background: rgba(77, 184, 255, 0.2);
    border: 1px solid rgba(77, 184, 255, 0.4);
    align-self: flex-start;
}

.user-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-self: flex-end;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(77, 184, 255, 0.5);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.chat-input:focus {
    outline: none;
    border-color: #4db8ff;
}

.chat-send-btn {
    padding: 15px 30px;
    background: rgba(77, 184, 255, 0.3);
    border: 1px solid #4db8ff;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: rgba(77, 184, 255, 0.5);
}

/* Create Section */
.create-section {
    background: linear-gradient(180deg, #000 0%, #001020 100%);
}

.canvas-container {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 184, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.paint-tools {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(77, 184, 255, 0.2);
}

.tool-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-group label {
    color: #a0d4f7;
    font-size: 0.9rem;
}

#colorPicker {
    width: 60px;
    height: 40px;
    border: 2px solid rgba(77, 184, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    background: none;
}

#brushSize {
    width: 150px;
}

#brushSizeValue {
    color: #4db8ff;
    font-weight: 600;
    min-width: 30px;
}

.tool-btn {
    padding: 10px 20px;
    background: rgba(77, 184, 255, 0.2);
    border: 1px solid #4db8ff;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: rgba(77, 184, 255, 0.4);
}

#paintCanvas {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 2px solid rgba(77, 184, 255, 0.5);
    border-radius: 15px;
    cursor: crosshair;
    background: #000;
    display: block;
}

/* Media Section */
.media-section {
    background: #000;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.media-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(77, 184, 255, 0.3);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.media-item:hover {
    border-color: #4db8ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(77, 184, 255, 0.3);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(77, 184, 255, 0.2);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #666;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: #4db8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-logo {
        height: 40px;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 10px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .token-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .paint-tools {
        flex-direction: column;
        align-items: stretch;
    }

    #paintCanvas {
        height: 400px;
    }

    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
