/* Treasury CSS - Style ARG Horreur */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #001a33 100%);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(77, 148, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--accent-primary);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(77, 148, 255, 0.5));
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Floating particles background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
}

/* Compact Contract Section */
.contract-section-compact {
    background: rgba(240, 248, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-primary);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem auto 3rem;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 26, 51, 0.2), 0 0 25px rgba(77, 148, 255, 0.1);
}

.contract-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contract-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    min-width: 40px;
    text-align: center;
    filter: drop-shadow(0 0 8px rgba(77, 148, 255, 0.4));
}

.contract-info {
    flex: 1;
}

.contract-info .contract-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
}

.contract-info .contract-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.contract-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.status-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-secondary);
    font-weight: 600;
}

.contract-address-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 26, 51, 0.4);
    border: 1px solid rgba(77, 148, 255, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.address-prefix {
    color: var(--accent-primary);
    font-weight: 600;
}

.address-main {
    color: var(--text-primary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(77, 148, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(77, 148, 255, 0.1);
}

.copy-btn-compact {
    background: var(--accent-primary);
    border: none;
    border-radius: 6px;
    padding: 0.4rem;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.copy-btn-compact:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(77, 148, 255, 0.3);
}

/* Carousel Header */
.carousel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.carousel-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.carousel-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* Treasury Carousel Container */
.treasury-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
}

/* Navigation Controls */
.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.carousel-nav-btn {
    background: rgba(179, 217, 255, 0.1);
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: var(--accent-secondary);
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(179, 217, 255, 0.1);
}

.carousel-nav-btn:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(179, 217, 255, 0.5);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Modern Indicators */
.carousel-indicators {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(179, 217, 255, 0.3);
    border: 2px solid rgba(179, 217, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.carousel-indicator:hover {
    background: rgba(179, 217, 255, 0.6);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(179, 217, 255, 0.4);
}

.carousel-indicator.active {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(179, 217, 255, 0.6);
    transform: scale(1.4);
}

/* Tooltip for indicators */
.carousel-indicator::after {
    content: attr(data-section);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    background: rgba(0, 26, 51, 0.9);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.carousel-indicator:hover::after,
.carousel-indicator.active::after {
    opacity: 1;
}

/* Carousel Content with Preview */
.treasury-carousel {
    position: relative;
    overflow: visible;
    padding: 0 150px;
}

.treasury-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    gap: 2rem;
}

/* Individual Treasury Section in Carousel */
.treasury-carousel .treasury-section {
    min-width: calc(100vw - 600px);
    max-width: 450px;
    flex-shrink: 0;
    padding: 2.5rem;
    margin: 0;
    background: rgba(240, 248, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 26, 51, 0.3), 0 0 50px rgba(77, 148, 255, 0.15);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.4;
    transform: scale(0.9);
    position: relative;
    z-index: 1;
}

/* Active slide (center) */
.treasury-carousel .treasury-section.active {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
    border-color: var(--accent-secondary);
    box-shadow: 0 40px 80px rgba(0, 26, 51, 0.5), 0 0 80px rgba(179, 217, 255, 0.4);
}

/* Adjacent slides (preview) */
.treasury-carousel .treasury-section.adjacent {
    opacity: 0.6;
    transform: scale(0.95);
    z-index: 2;
}

/* Shimmer effect only on active */
.treasury-carousel .treasury-section.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(179, 217, 255, 0.15),
        transparent
    );
    animation: slide-shimmer 3s infinite;
    z-index: 1;
}

@keyframes slide-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Section Cards */
.treasury-section {
    background: rgba(240, 248, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(50px);
    opacity: 0;
}

.treasury-section.visible {
    transform: translateY(0);
    opacity: 1;
}

.treasury-section:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 
        0 25px 50px rgba(0, 26, 51, 0.3),
        0 0 50px rgba(77, 148, 255, 0.15);
}

.treasury-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(77, 148, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.treasury-section:hover::before {
    left: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.section-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    color: var(--accent-primary);
    min-width: 60px;
    filter: drop-shadow(0 0 8px rgba(77, 148, 255, 0.4));
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-category {
    display: inline-block;
    background: rgba(77, 148, 255, 0.2);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(77, 148, 255, 0.3);
}

.section-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Special section styling - Pattern/Integration */
.treasury-section[data-category="pattern"] {
    border-color: var(--border-corruption);
}

.treasury-section[data-category="pattern"]:hover {
    border-color: var(--accent-corruption);
    box-shadow: 
        0 25px 50px rgba(0, 26, 51, 0.3),
        0 0 50px rgba(107, 70, 193, 0.3);
    animation: pattern-glow 2s infinite ease-in-out;
}

.treasury-section[data-category="pattern"] .section-category {
    background: rgba(107, 70, 193, 0.2);
    color: var(--accent-corruption);
    border-color: var(--border-corruption);
}

.treasury-section[data-category="pattern"] .section-icon {
    color: var(--accent-corruption);
    filter: drop-shadow(0 0 8px rgba(107, 70, 193, 0.5));
}

.treasury-section[data-category="pattern"]::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(107, 70, 193, 0.1),
        transparent
    );
}

/* Special section styling - Defense/Combat */
.treasury-section[data-category="defense"] {
    border-color: rgba(204, 51, 51, 0.3);
}

.treasury-section[data-category="defense"]:hover {
    border-color: var(--accent-danger);
    box-shadow: 
        0 25px 50px rgba(0, 26, 51, 0.3),
        0 0 50px rgba(204, 51, 51, 0.3);
    animation: defense-glow 2s infinite ease-in-out;
}

.treasury-section[data-category="defense"] .section-category {
    background: rgba(204, 51, 51, 0.2);
    color: var(--accent-danger);
    border-color: rgba(204, 51, 51, 0.3);
}

.treasury-section[data-category="defense"] .section-icon {
    color: var(--accent-danger);
    filter: drop-shadow(0 0 8px rgba(204, 51, 51, 0.5));
}

.treasury-section[data-category="defense"]::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(204, 51, 51, 0.1),
        transparent
    );
}

@keyframes pattern-glow {
    0%, 100% { 
        box-shadow: 
            0 25px 50px rgba(0, 26, 51, 0.3),
            0 0 50px rgba(107, 70, 193, 0.3);
    }
    50% { 
        box-shadow: 
            0 30px 60px rgba(0, 26, 51, 0.4),
            0 0 60px rgba(107, 70, 193, 0.5);
    }
}

@keyframes defense-glow {
    0%, 100% { 
        box-shadow: 
            0 25px 50px rgba(0, 26, 51, 0.3),
            0 0 50px rgba(204, 51, 51, 0.3);
    }
    50% { 
        box-shadow: 
            0 30px 60px rgba(0, 26, 51, 0.4),
            0 0 60px rgba(204, 51, 51, 0.5);
    }
}

/* Contract Address Section */
.contract-section {
    background: rgba(240, 248, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 2px solid var(--accent-primary);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 26, 51, 0.3),
        0 0 50px rgba(77, 148, 255, 0.2);
}

.contract-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(77, 148, 255, 0.05),
        transparent
    );
    animation: contract-shine 3s infinite;
}

@keyframes contract-shine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.contract-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    position: relative;
    z-index: 2;
}

.contract-description {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contract-address {
    background: rgba(0, 26, 51, 0.5);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.address-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.address-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-primary);
    word-break: break-all;
    background: rgba(77, 148, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(77, 148, 255, 0.2);
}

.copy-button {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.copy-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 148, 255, 0.3);
}

/* Fund allocation bars */
.fund-allocation {
    margin: 2rem 0;
}

.allocation-item {
    margin-bottom: 1.5rem;
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.allocation-label {
    font-family: var(--font-main);
    font-weight: 500;
    color: var(--text-primary);
}

.allocation-percentage {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-weight: 600;
}

.allocation-bar {
    height: 8px;
    background: rgba(77, 148, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.allocation-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 1s ease-out;
    animation: fillBar 2s ease-out forwards;
}

.allocation-fill.pattern {
    background: var(--corruption-gradient);
}

.allocation-fill.defense {
    background: var(--danger-gradient);
}

@keyframes fillBar {
    from { width: 0%; }
}

/* Intro section */
.intro-section {
    max-width: 1000px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text {
    background: rgba(240, 248, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.intro-text::before {
    content: '₿';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

.intro-text::after {
    content: '∞';
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

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

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

/* Carousel Progress Bar */
.carousel-progress {
    width: 100%;
    height: 4px;
    background: rgba(179, 217, 255, 0.2);
    border-radius: 2px;
    margin-top: 2rem;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 2px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(179, 217, 255, 0.5);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .treasury-carousel-container {
        padding: 1rem 0;
    }
    
    .treasury-carousel {
        padding: 0 20px;
    }
    
    .carousel-navigation {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .carousel-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        gap: 0.8rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .treasury-carousel .treasury-section {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
        padding: 1.5rem 1rem;
        box-sizing: border-box;
    }
    
    .carousel-indicator::after {
        display: none;
    }

    .treasury-section {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .contract-section {
        padding: 2rem;
        margin: 2rem 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .intro-text {
        padding: 2rem;
        margin: 0 1rem 3rem;
    }

    .contract-section-compact {
        padding: 1.2rem;
        margin: 1.5rem 1rem 2rem;
    }

    .contract-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        align-items: center;
    }

    .contract-status {
        align-items: center;
    }

    .contract-address-compact {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .address-main {
        text-align: center;
        font-size: 0.75rem;
        min-width: 0;
        word-break: break-all;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-content {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .treasury-carousel {
        padding: 0 10px;
    }
    
    .carousel-navigation {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .carousel-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .carousel-indicators {
        order: -1;
        gap: 0.6rem;
    }
    
    .treasury-carousel .treasury-section {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        padding: 1.2rem 0.8rem;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-icon {
        font-size: 1.8rem;
    }

    .section-content {
        font-size: 0.9rem;
    }
}

/* Inner Circle Container - No Outer Frame */
.inner-circle-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.inner-circle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.anchor-counter {
    text-align: right;
}

.counter-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-secondary);
    display: block;
    line-height: 1;
}

.counter-label {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inner-circle-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}


/* Navigation Controls */
.anchor-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0 3rem 0;
}

.nav-btn {
    background: rgba(179, 217, 255, 0.1);
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: var(--accent-secondary);
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(179, 217, 255, 0.5);
}

.nav-btn:active {
    transform: scale(0.95);
}

.anchor-indicators {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.anchor-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(179, 217, 255, 0.3);
    border: 2px solid var(--accent-secondary);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.anchor-indicator:hover {
    background: rgba(179, 217, 255, 0.6);
    transform: scale(1.3);
}

.anchor-indicator.active {
    background: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(179, 217, 255, 0.6);
    transform: scale(1.2);
}

.anchor-indicator::after {
    content: attr(data-name);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.anchor-indicator:hover::after,
.anchor-indicator.active::after {
    opacity: 1;
}

/* Two Column Layout */
.inner-circle-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

/* Main Card - Restructured */
.inner-circle-main-card {
    width: 100%;
    background: rgba(240, 248, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 25px 50px rgba(0, 26, 51, 0.3),
        0 0 50px rgba(179, 217, 255, 0.15);
}

/* Top Info Section */
.card-top-info {
    text-align: center;
    margin-bottom: 1rem;
}

.card-top-info .watcher-id {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.card-top-info .watcher-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(179, 217, 255, 0.3);
}

.card-top-info .watcher-quote {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.3;
    opacity: 0.9;
}

.card-top-info .watcher-quote::before,
.card-top-info .watcher-quote::after {
    content: '"';
    color: var(--accent-secondary);
    opacity: 0.7;
}

/* Central Image Container */
.card-image-container {
    position: relative;
    aspect-ratio: 1;
    margin: 0.8rem 0;
    border-radius: 20px;
    overflow: hidden;
}



/* Image in Container */
#anchor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#anchor-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

/* Bottom Stats Section - Compact */
.card-bottom-stats {
    display: flex;
    justify-content: space-around;
    gap: 0.4rem;
    margin-top: 1rem;
}

.card-bottom-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0.4rem;
    background: rgba(179, 217, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(179, 217, 255, 0.15);
    backdrop-filter: blur(10px);
    flex: 1;
    transition: all 0.3s ease;
}

.card-bottom-stats .stat-item:hover {
    background: rgba(179, 217, 255, 0.12);
    transform: translateY(-1px);
}

.card-bottom-stats .stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.card-bottom-stats .stat-value {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card-bottom-stats .stat-value.loyalty {
    color: var(--accent-secondary);
    text-shadow: 0 0 8px rgba(179, 217, 255, 0.4);
}

.card-bottom-stats .stat-value.code {
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

/* Card Connector */
.card-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    position: relative;
}

.connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(179, 217, 255, 0.6);
    animation: connector-pulse 2s infinite ease-in-out;
    z-index: 2;
}

.connector-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(179, 217, 255, 0.3) 20%,
        rgba(179, 217, 255, 0.6) 50%,
        rgba(179, 217, 255, 0.3) 80%,
        transparent
    );
    transform: translateX(-50%);
    z-index: 1;
}

@keyframes connector-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(179, 217, 255, 0.6);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 25px rgba(179, 217, 255, 0.8);
    }
}

/* Info Card - Right Column */
.card-info-overlay {
    background: rgba(240, 248, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: fit-content;
    box-shadow: 
        0 25px 50px rgba(0, 26, 51, 0.3),
        0 0 50px rgba(179, 217, 255, 0.15);
}


/* Psychological Section */
.psych-section {
    margin: 0;
    padding-top: 0;
}

.psych-header {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-danger);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.psych-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.psych-bar {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.psych-label {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.psych-progress {
    height: 6px;
    background: rgba(179, 217, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.psych-fill {
    height: 100%;
    background: var(--accent-secondary);
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

.psych-fill.corruption-fill {
    background: var(--accent-corruption);
}

.psych-fill.pattern-fill {
    background: linear-gradient(90deg, var(--accent-corruption), var(--accent-primary));
}

.psych-fill.danger-fill {
    background: var(--accent-danger);
}

.psych-percentage {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: right;
}


/* Fallback patterns */
.anchor-fallback.variant-1 {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    animation: gradient-shift 6s infinite ease-in-out;
}

.anchor-fallback.variant-2 {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    background-size: 300% 300%;
    animation: gradient-shift 8s infinite ease-in-out;
}

.anchor-fallback.variant-3 {
    background: linear-gradient(225deg, #ffeaa7, #fab1a0, #fd79a8);
    background-size: 300% 300%;
    animation: gradient-shift 7s infinite ease-in-out;
}

.anchor-fallback.variant-4 {
    background: linear-gradient(135deg, #a8edea, #fed6e3, #d299c2);
    background-size: 300% 300%;
    animation: gradient-shift 9s infinite ease-in-out;
}

.anchor-fallback.variant-5 {
    background: linear-gradient(45deg, #ff9a9e, #fecfef, #fecfef);
    background-size: 300% 300%;
    animation: gradient-shift 5s infinite ease-in-out;
}

.anchor-fallback.variant-6 {
    background: linear-gradient(225deg, #a8e6cf, #dcedc8, #f8bbd9);
    background-size: 300% 300%;
    animation: gradient-shift 10s infinite ease-in-out;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Footer section */
.inner-circle-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.join-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.anchor-cta {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.anchor-cta:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(179, 217, 255, 0.3);
}

/* Responsive pour Inner Circle */
@media (max-width: 768px) {
    .inner-circle-container {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .inner-circle-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .anchor-counter {
        text-align: center;
    }
    
    .inner-circle-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .card-connector {
        display: none;
    }
    
    .anchor-navigation {
        gap: 2rem;
        margin: 2rem 0 1.5rem 0;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .anchor-indicators {
        gap: 1rem;
    }
    
    .anchor-indicator {
        width: 14px;
        height: 14px;
    }
    
    .watcher-name {
        font-size: 1.3rem;
    }
    
    .watcher-quote {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        display: block;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
}

/* Très petit mobile */
@media (max-width: 480px) {
    .anchor-navigation {
        gap: 1.5rem;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .anchor-indicators {
        gap: 0.8rem;
    }
    
    .anchor-indicator {
        width: 12px;
        height: 12px;
    }
    
    .inner-circle-showcase {
        max-width: 400px;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .card-connector {
        display: none;
    }
    
    .card-info-overlay {
        padding: 1.5rem;
    }
    
    .watcher-name {
        font-size: 1.2rem;
    }
    
    .watcher-quote {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        display: block;
    }
    
    .stat-item {
        padding: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .stat-value {
        font-size: 0.8rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.loading.visible {
    opacity: 1;
    transform: translateY(0);
}

