/* Reset and Base Styles */
* {
    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;
    overflow-x: hidden;
    background: #faf8f5;
    color: #3d3832;
    line-height: 1.6;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f7e7a8 0%, #e6c466 25%, #d4a574 50%, #c2936f 75%, #b08968 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1s ease;
}

.pray-text {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    position: relative;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.pray-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #fff, #f5f5f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fillText 3s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes fillText {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Main Content */
.main-content {
    opacity: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, #faf8f5 0%, #f5f1eb 100%);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(194, 147, 111, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
}

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(194, 147, 111, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(194, 147, 111, 0.3);
}

.ticker {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #d4a574, #b08968);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    margin: 0;
}

.tagline {
    font-size: 1.1rem;
    color: #8a7968;
    font-weight: 400;
    font-style: italic;
    margin: 0;
}

.description {
    font-size: 1.1rem;
    color: #5a4f45;
    line-height: 1.7;
    font-weight: 400;
}

/* Links and Contract */
.contract-section {
    margin-bottom: 1rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(194, 147, 111, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(194, 147, 111, 0.4);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(194, 147, 111, 0.15);
}

.link-text {
    font-weight: 600;
    color: #3d3832;
}

.contract-address {
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.85rem;
    color: #8a7968;
    word-break: break-all;
    margin-left: auto;
    max-width: 200px;
    text-align: right;
}

.contract-link {
    cursor: pointer;
}

.contract-link:hover .contract-address {
    color: #d4a574;
}

/* Right Content - Simple Carousel */
.right-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.carousel-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(194, 147, 111, 0.25);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #f7e7a8, #d4a574);
}

.carousel-item:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 1.5rem;
    }

    .left-content {
        max-width: 100%;
        align-items: center;
    }

    .carousel-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        gap: 2rem;
    }

    .links {
        gap: 0.5rem;
    }

    .link-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }

    .contract-address {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
        font-size: 0.75rem;
    }

    .carousel-container {
        width: 250px;
        height: 250px;
    }
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-out {
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}