/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Three.js Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.7);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: invert(1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    filter: invert(0);
    transform: scale(1.05);
}

.title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.8); }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.tagline {
    font-size: 1rem;
    font-style: italic;
    color: #999;
    margin-bottom: 2rem;
}

/* Main Content */
main {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

section:nth-child(1) { animation-delay: 0.2s; }
section:nth-child(2) { animation-delay: 0.4s; }
section:nth-child(3) { animation-delay: 0.6s; }

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

.content-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-block:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.content-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
}

.content-block p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.interactive-hint {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border-left: 3px solid #fff;
}

.interactive-hint p {
    font-size: 0.9rem;
    color: #bbb;
    font-style: italic;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.contract-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ca-label {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ca-address {
    color: #ccc;
    font-family: 'Courier New', monospace;
    font-weight: 400;
    transition: all 0.3s ease;
    user-select: none;
}

.ca-address:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    .content-block {
        padding: 2rem;
    }
    
    .content-block h2 {
        font-size: 2rem;
    }
    
    main {
        padding: 2rem 1rem;
    }
}

/* Cursor Effects */
body {
    cursor: none;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
