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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #F5F5DC 0%, #FFF8DC 50%, #F0E68C 100%);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 79, 79, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="paper" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23F5F5DC"/><path d="M10 10 Q30 30 50 10 T90 10" stroke="%23E8D5B7" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M10 30 Q30 50 50 30 T90 30" stroke="%23E8D5B7" stroke-width="0.5" fill="none" opacity="0.2"/><path d="M10 50 Q30 70 50 50 T90 50" stroke="%23E8D5B7" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M10 70 Q30 90 50 70 T90 70" stroke="%23E8D5B7" stroke-width="0.5" fill="none" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23paper)"/></svg>');
    background-attachment: fixed;
    color: #2C2C2C;
    overflow-x: hidden;
}

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

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.lantern {
    position: absolute;
    width: 40px;
    height: 60px;
    background: linear-gradient(135deg, #E94F4F, #DC143C);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 0 20px rgba(233, 79, 79, 0.3);
    animation: float 6s ease-in-out infinite;
}

.lantern::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: #FFD700;
    border-radius: 4px;
}

.lantern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: #FFD700;
    border-radius: 4px;
}

.lantern-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.lantern-2 {
    top: 20%;
    right: 15%;
    animation-delay: -3s;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    opacity: 0.6;
    animation: drift 20s linear infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

.cloud-1 {
    width: 80px;
    height: 30px;
    top: 15%;
    left: -100px;
    animation-duration: 25s;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud-2 {
    width: 60px;
    height: 25px;
    top: 35%;
    left: -80px;
    animation-duration: 30s;
    animation-delay: -10s;
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 5px;
}

.cloud-2::after {
    width: 50px;
    height: 30px;
    top: -10px;
    right: 5px;
}

.cloud-3 {
    width: 100px;
    height: 35px;
    top: 60%;
    left: -120px;
    animation-duration: 35s;
    animation-delay: -20s;
}

.cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud-3::after {
    width: 70px;
    height: 50px;
    top: -20px;
    right: 15px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 80px 20px 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

.hero-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.tuzki-main {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: bounce 3s ease-in-out infinite;
}

.calligraphy-stroke {
    position: absolute;
    background: linear-gradient(45deg, #E94F4F, #FFD700);
    border-radius: 50%;
    animation: drawStroke 4s ease-in-out infinite;
}

.stroke-1 {
    width: 60px;
    height: 4px;
    top: 20%;
    left: -30px;
    transform: rotate(-45deg);
    animation-delay: 1s;
}

.stroke-2 {
    width: 40px;
    height: 3px;
    bottom: 30%;
    right: -20px;
    transform: rotate(30deg);
    animation-delay: 2s;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #E94F4F;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-contract {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease-out 0.6s both, glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-contract::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.contract-label {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.2rem;
    color: #E94F4F;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.hero-contract-box {
    display: flex;
    align-items: center;
    background: #2C2C2C;
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-contract-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: #E94F4F;
}

.hero-contract-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #FFD700;
    background: none;
    border: none;
    word-break: break-all;
    line-height: 1.4;
    padding-right: 10px;
}

.copy-btn {
    background: #FFD700;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: #2C2C2C;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.copy-btn:hover {
    background: #FFA500;
    transform: scale(1.05);
}

.copy-icon {
    font-size: 1rem;
}

.contract-hint {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

.scroll-indicator {
    margin-top: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid #FFD700;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s infinite;
}

/* Meme Gallery */
.meme-gallery {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    text-align: center;
    color: #E94F4F;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #E94F4F, #FFD700);
    border-radius: 2px;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.meme-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: white;
}

.meme-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.meme-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meme-item:hover img {
    transform: scale(1.1);
}

.meme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.meme-item:hover .meme-overlay {
    transform: translateY(0);
}

.meme-text {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* About Section */
.about {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.zen-quotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zen-quotes blockquote {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #E94F4F;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-left: 4px solid #FFD700;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.zen-quotes blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #FFD700;
    position: absolute;
    top: -10px;
    left: 10px;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Call to Action */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #E94F4F, #DC143C);
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20 Q50 10 80 20 T80 80 Q50 90 20 80 T20 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
}

.cta-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.cta-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn span {
    position: relative;
    z-index: 1;
}

.cta-btn.primary {
    background: #FFD700;
    color: #2C2C2C;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.cta-btn.primary:hover {
    background: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #E94F4F;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #2C2C2C;
    color: white;
    padding: 50px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.zen-idioms {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zen-idioms p {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    color: #FFD700;
    opacity: 0.9;
}

.community-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-links p,
.contract-info p {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.social-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFD700;
}

.contract-info {
    position: relative;
}

.contract-address {
    display: block;
    background: #444;
    color: #FFD700;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #555;
}

.contract-address:hover {
    background: #555;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.copy-hint {
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
    display: block;
    text-align: center;
}

.copyright {
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

@keyframes drift {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes drawStroke {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(var(--rotation, 0deg));
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(var(--rotation, 0deg));
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-contract {
        padding: 20px;
        margin: 20px 0;
    }
    
    .contract-label {
        font-size: 1.1rem;
    }
    
    .hero-contract-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-contract-address {
        padding-right: 0;
        font-size: 0.8rem;
    }
    
    .copy-btn {
        align-self: stretch;
        justify-content: center;
        padding: 10px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .meme-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .community-info {
        order: -1;
    }
    
    .copyright {
        text-align: center;
    }
    
    .lantern {
        width: 30px;
        height: 45px;
    }
    
    .cloud-1, .cloud-2, .cloud-3 {
        width: 60px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-contract {
        padding: 15px;
        margin: 15px 0;
    }
    
    .contract-label {
        font-size: 1rem;
    }
    
    .hero-contract-address {
        font-size: 0.75rem;
    }
    
    .copy-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .meme-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .meme-item img {
        height: 200px;
    }
    
    .zen-quotes blockquote {
        font-size: 1rem;
        padding: 15px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
} 