/* ══════════════════════════════════════════════════════════════
   TOKEN SECTION - Full Featured Premium Block
   ══════════════════════════════════════════════════════════════ */

.token-section {
    position: relative;
    padding: 100px 48px;
    overflow: hidden;
    background: var(--bg);
}

/* Top line removed */

/* Ambient glow - BRIGHTER */
.token-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(0, 255, 136, 0.18) 0%, rgba(0, 255, 136, 0.06) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.token-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */

.token-header {
    text-align: center;
    margin-bottom: 60px;
}

.token-header .section-label {
    margin-bottom: 16px;
}

.token-header .section-title {
    margin-bottom: 16px;
}

.token-header .section-title .accent {
    background: linear-gradient(135deg, var(--accent) 0%, #00ddaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.token-header .section-subtitle {
    max-width: 500px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   MAIN CONTENT CARD
   ══════════════════════════════════════════════════════════════ */

.token-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    padding: 60px;
    background: linear-gradient(
        165deg,
        rgba(12, 14, 12, 0.9) 0%,
        rgba(8, 10, 8, 0.95) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

/* Gradient border */
.token-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 136, 0.3) 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Inner glow - BRIGHTER */
.token-card::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 136, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   LEFT SIDE - COIN VISUAL
   ══════════════════════════════════════════════════════════════ */

.token-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.token-coin-wrapper {
    position: relative;
    perspective: 1000px;
}

.token-coin {
    width: 240px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    animation: coin-float 6s ease-in-out infinite;
}

@keyframes coin-float {
    0%, 100% {
        transform: rotateY(-12deg) rotateX(8deg) translateY(0);
    }
    50% {
        transform: rotateY(12deg) rotateX(-8deg) translateY(-25px);
    }
}

/* Coin face - BRIGHTER */
.coin-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        #1a1f1a 0%,
        #0d120d 50%,
        #050805 100%
    );
    border: 4px solid transparent;
    background-clip: padding-box;
    box-shadow:
        inset 0 0 100px rgba(0, 255, 136, 0.35),
        0 0 150px rgba(0, 255, 136, 0.4),
        0 0 80px rgba(0, 255, 136, 0.2),
        0 40px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Rotating gradient border */
.coin-face::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--accent) 0%,
        #00aa66 25%,
        var(--accent) 50%,
        #00aa66 75%,
        var(--accent) 100%
    );
    z-index: -1;
    animation: coin-border-spin 6s linear infinite;
}

@keyframes coin-border-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Shine effect */
.coin-face::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 35%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 65%
    );
    animation: coin-shine 3s ease-in-out infinite;
}

@keyframes coin-shine {
    0%, 100% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
}

/* Coin symbol - BRIGHTER */
.coin-symbol {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: var(--accent);
    text-shadow:
        0 0 30px rgba(0, 255, 136, 1),
        0 0 60px rgba(0, 255, 136, 0.8),
        0 0 100px rgba(0, 255, 136, 0.5),
        0 0 150px rgba(0, 255, 136, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: -4px;
}

/* Coin edge (3D depth) */
.coin-edge {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform: translateZ(-25px);
    background: linear-gradient(135deg, #0a0f0a 0%, #050805 100%);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

/* Reflection */
.coin-reflection {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) scaleY(0.25);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    filter: blur(25px);
    opacity: 0.6;
}

/* ══════════════════════════════════════════════════════════════
   RIGHT SIDE - INFO & ACTIONS
   ══════════════════════════════════════════════════════════════ */

.token-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.token-name {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.token-name .accent {
    background: linear-gradient(135deg, var(--accent) 0%, #00ddaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.token-tagline {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Contract Address */
.token-contract {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 32px;
}

.contract-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-address {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.4);
    transform: scale(1.05);
}

.btn-copy svg {
    width: 18px;
    height: 18px;
}

.btn-copy.copied {
    background: var(--accent);
    color: var(--bg);
}

/* Action Buttons */
.token-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Primary Buy Button */
.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #00cc66 100%);
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--bg);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 40px rgba(0, 255, 136, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 255, 136, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

.btn-buy svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s;
}

.btn-buy:hover svg {
    transform: translateX(4px);
}

/* Social Buttons Row */
.token-socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-200);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-social::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3) 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-social:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.15);
}

.btn-social:hover::before {
    opacity: 1;
}

.btn-social svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   NETWORK BADGES (bottom of card)
   ══════════════════════════════════════════════════════════════ */

.token-networks {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-400);
}

.network-badge svg {
    width: 18px;
    height: 18px;
}

.network-badge .network-name {
    font-weight: 600;
    color: var(--gray-300);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .token-card {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 48px;
    }

    .token-visual {
        order: -1;
    }

    .token-coin {
        width: 200px;
        height: 200px;
    }

    .coin-symbol {
        font-size: 64px;
    }

    .token-info {
        text-align: center;
    }

    .token-contract {
        justify-content: center;
    }

    .token-networks {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .token-section {
        padding: 60px 20px;
        overflow: visible;
    }

    .token-card {
        padding: 28px 20px;
        border-radius: 20px;
        gap: 28px;
        overflow: visible;
    }

    .token-card::before {
        border-radius: 20px;
    }

    .token-visual {
        padding: 10px 0;
    }

    .token-coin-wrapper {
        transform: scale(0.85);
    }

    .token-coin {
        width: 120px;
        height: 120px;
    }

    .coin-symbol {
        font-size: 38px;
        letter-spacing: -2px;
    }

    .token-name {
        font-size: 26px;
        letter-spacing: -1px;
        margin-bottom: 4px;
    }

    .token-tagline {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .token-contract {
        padding: 12px 14px;
        gap: 8px;
        border-radius: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .contract-label {
        font-size: 9px;
    }

    .contract-address {
        font-size: 10px;
        max-width: 180px;
    }

    .btn-copy {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .btn-copy svg {
        width: 14px;
        height: 14px;
    }

    .token-actions {
        gap: 10px;
    }

    .btn-buy {
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 12px;
        gap: 8px;
    }

    .btn-buy svg {
        width: 16px;
        height: 16px;
    }

    .token-socials {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .btn-social {
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 13px;
    }

    .btn-social svg {
        width: 16px;
        height: 16px;
    }

    .token-networks {
        display: none;
    }
}
