/* Grid pattern */
.grid-pattern {
    height: 100%;
    width: 100%;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(rgba(16,185,129,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,185,129,0.1) 1px, transparent 1px);
}

/* Twitter link */
.twitter-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.twitter-link:hover {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.4);
}

/* Glowing orb */
.glow-orb {
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    filter: blur(40px);
}

/* Logo animations */
.logo-container {
    animation: slideUp 1s ease-out forwards;
}

.plant-icon {
    animation: float 3s ease-in-out infinite;
}

/* Yield text with layered glow */
.yield-text {
    position: relative;
    font-size: 8rem;
    font-weight: bold;
    letter-spacing: 0.025em;
    margin-bottom: 2rem;
    display: inline-block;
}

.text-layer {
    position: relative;
    z-index: 2;
    color: white;
    display: block;
}

.glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #10b981;
    filter: blur(8px);
    z-index: 1;
}

/* Contract section */
.contract-section {
    animation: slideUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.contract-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1.5rem;
    max-width: 32rem;
    margin: 0 auto;
}

.contract-address-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}

.copy-button:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.4);
}

.copy-button.copied {
    background: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Floating particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    pointer-events: none;
    animation: particleFloat 6s ease-in-out infinite;
}

/* Scan lines */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(16, 185, 129, 0.1) 50%,
        transparent 100%
    );
    background-size: 100% 4px;
    animation: scanPulse 3s ease-in-out infinite;
}

/* Keyframe animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(2deg); 
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 0.4;
    }
}

@keyframes scanPulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.1; }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .yield-text {
        font-size: 4rem;
    }
    
    .contract-container {
        margin: 0 1rem;
    }
    
    .contract-address-box {
        flex-direction: column;
        gap: 0.5rem;
    }
}