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

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #B8BBFF;
    --secondary-color: #5C5F66;
    --accent-color: #2F3136;
    --accent-2: #B8BBFF;
    --accent-3: #5C5F66;
    --text-color: #E4E6EB;
    --bg-color: rgba(47, 49, 54, 0.95);
    --card-bg: rgba(92, 95, 102, 0.8);
    --border-color: rgba(184, 187, 255, 0.3);
    --gradient-1: linear-gradient(135deg, #B8BBFF 0%, #5C5F66 50%, #2F3136 100%);
    --gradient-2: linear-gradient(135deg, #B8BBFF 0%, #5C5F66 100%);
    --shadow-color: rgba(184, 187, 255, 0.3);
    --nav-height: 76px;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-image: url('cashy.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 49, 54, 0.85);
    z-index: -1;
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.navbar {
    background: rgba(47, 49, 54, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    min-height: var(--nav-height);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem clamp(16px, 4vw, 32px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper {
    position: relative;
    overflow: hidden;
    width: clamp(44px, 8vw, 58px);
    height: clamp(44px, 8vw, 58px);
    border-radius: 50%;
}

.logo {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    object-position: center;
    transform: scale(1.5);
}

.brand-name {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Fredoka One', cursive;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    line-height: 1.25;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 157, 0.1);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 0.75rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(184, 187, 255, 0.12);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-color);
    border-radius: 99px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span + span {
    margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    margin-bottom: clamp(40px, 8vw, 80px);
    padding: clamp(60px, 12vw, 120px) 20px clamp(32px, 8vw, 64px);
}

.hero-content {
    text-align: center;
    padding: clamp(32px, 6vw, 60px) clamp(20px, 5vw, 48px);
    background: transparent;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    max-width: min(680px, 95vw);
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 3px solid var(--primary-color);
}

.mascot-container {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
    width: clamp(140px, 22vw, 200px);
    height: clamp(140px, 22vw, 200px);
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.mascot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.5);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-content h1 {
    font-size: clamp(2.75rem, 6vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Fredoka One', cursive;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: clamp(1px, 0.6vw, 2px);
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--secondary-color);
    font-weight: 700;
    font-style: italic;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 6vw, 60px);
    position: relative;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    color: var(--primary-color);
    font-family: 'Fredoka One', cursive;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: clamp(0.5px, 0.5vw, 1px);
    margin-bottom: clamp(12px, 2.5vw, 20px);
}

.mascot-decoration {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    overflow: hidden;
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 15px var(--shadow-color);
}

.mascot-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.5);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* About Section */
.about-section {
    padding: clamp(48px, 10vw, 80px) 0;
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(5px);
    margin: 40px 0;
    border-radius: 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23B8BBFF" opacity="0.1"/></svg>');
    pointer-events: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.9;
    font-weight: 600;
    color: var(--text-color);
}

/* Tokenomics Section */
.tokenomics-section {
    padding: clamp(48px, 10vw, 80px) 0;
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(5px);
    position: relative;
}

.tokenomics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23B8BBFF" opacity="0.1"/></svg>');
    pointer-events: none;
}

/* Whitepaper Section */
.whitepaper-section {
    padding: clamp(48px, 10vw, 80px) 0;
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(5px);
    margin: 40px 0;
    border-radius: 0;
    position: relative;
}

.whitepaper-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23B8BBFF" opacity="0.1"/></svg>');
    pointer-events: none;
}

.whitepaper-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.whitepaper-card {
    background: rgba(92, 95, 102, 0.9);
    backdrop-filter: blur(10px);
    padding: clamp(28px, 7vw, 40px);
    border-radius: clamp(22px, 6vw, 30px);
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 3px solid var(--primary-color);
    text-align: center;
}

.whitepaper-card h3 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: var(--primary-color);
    margin-bottom: clamp(16px, 3vw, 20px);
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
}

.whitepaper-button {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: clamp(12px, 3vw, 15px) clamp(28px, 7vw, 40px);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1rem, 2.6vw, 1.1rem);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.whitepaper-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Socials Section */
.socials-section {
    padding: clamp(48px, 10vw, 80px) 0;
    background: rgba(47, 49, 54, 0.7);
    backdrop-filter: blur(5px);
    margin: 40px 0;
    border-radius: 0;
    position: relative;
}

.socials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23B8BBFF" opacity="0.1"/></svg>');
    pointer-events: none;
}

.socials-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
}

.social-link {
    display: block;
    background: transparent;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s;
    border: none;
    width: auto;
    max-width: none;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.social-icon {
    width: clamp(48px, 8vw, 60px);
    height: clamp(48px, 8vw, 60px);
    max-width: 60px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s;
    display: block;
}


.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tokenomics-card {
    background: rgba(92, 95, 102, 0.9);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 8px 25px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tokenomics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
}

.tokenomics-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-color);
    border-color: var(--primary-color);
}

.tokenomics-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--primary-color);
    margin-bottom: clamp(10px, 2.5vw, 20px);
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
}

.policy-id {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.75rem, 2.3vw, 0.95rem);
    word-break: break-all;
    color: var(--text-color);
    background: var(--bg-color);
    padding: clamp(10px, 3vw, 15px);
    border-radius: 5px;
    margin-top: clamp(8px, 2vw, 12px);
}

.large-number {
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--primary-color);
    margin: clamp(10px, 3vw, 18px) 0;
    font-family: 'Fredoka One', cursive;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    display: block;
    width: 100%;
}

.label {
    font-size: clamp(0.9rem, 2.4vw, 1.05rem);
    color: var(--text-color);
    margin-top: 5px;
}

/* Holders Section */
.holders-section {
    background: rgba(92, 95, 102, 0.95);
    background-image: url('cashyfork.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(10px);
    padding: clamp(28px, 7vw, 50px);
    border-radius: clamp(22px, 6vw, 30px);
    box-shadow: 0 10px 40px var(--shadow-color);
    margin-top: clamp(28px, 6vw, 40px);
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.holders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 49, 54, 0.6);
    border-radius: 30px;
    z-index: -1;
}

.holders-section h3 {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: clamp(24px, 5vw, 40px);
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.holders-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background: var(--gradient-1);
    color: white;
    border-radius: 15px 15px 0 0;
}

thead th:first-child {
    border-radius: 15px 0 0 0;
}

thead th:last-child {
    border-radius: 0 15px 0 0;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: linear-gradient(90deg, rgba(140, 142, 243, 0.2) 0%, rgba(92, 95, 102, 0.2) 100%);
    transform: scale(1.01);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.splash-pool-row {
    background: rgba(140, 142, 243, 0.15);
}

.splash-pool-section {
    background: rgba(92, 95, 102, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-color);
    margin-bottom: 40px;
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.splash-pool-section h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.splash-pool-info {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

.splash-pool-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.splash-pool-details p {
    margin: 0;
    padding: 10px;
    background: rgba(47, 49, 54, 0.5);
    border-radius: 10px;
}

.splash-pool-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.address-cell {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.handle {
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
}

.balance-cell {
    font-weight: 600;
    color: var(--text-color);
}

.percentage-cell {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #d32f2f;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--gradient-1);
    color: white;
    text-align: center;
    padding: clamp(28px, 6vw, 40px) clamp(16px, 5vw, 32px);
    margin-top: clamp(40px, 8vw, 60px);
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    box-shadow: 0 -5px 20px var(--shadow-color);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 0.55rem;
    }

    .nav-menu {
        position: fixed;
        top: calc(var(--nav-height) + 10px);
        right: clamp(16px, 6vw, 32px);
        left: clamp(16px, 6vw, 32px);
        background: rgba(47, 49, 54, 0.97);
        border: 2px solid rgba(184, 187, 255, 0.4);
        border-radius: 20px;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        max-height: calc(100vh - var(--nav-height) - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.nav-menu--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        font-size: 1.05rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .nav-menu li {
        width: 100%;
    }

    body.nav-open {
        overflow: hidden;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-name {
        font-size: 1.2rem;
    }
    
    .mascot {
        width: 120px;
    }
    
    .hero-content {
        padding: 30px 18px;
        margin-top: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mascot-small {
        width: 60px;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    .tokenomics-card {
        padding: 25px;
    }
    
    .large-number {
        font-size: 2rem;
    }
    
    .holders-section {
        padding: 30px 20px;
    }
    
    .holders-section h3 {
        font-size: 1.8rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px 8px;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .whitepaper-card {
        padding: 25px;
    }
    
    .whitepaper-card h3 {
        font-size: 1.5rem;
    }
    
    .whitepaper-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .socials-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .social-link {
        padding: 0;
        max-width: none;
    }
    
    .social-icon {
        max-width: 50px;
    }
}

@media (max-width: 600px) {
    .nav-menu {
        left: clamp(12px, 8vw, 20px);
        right: clamp(12px, 8vw, 20px);
    }

    .hero {
        padding-top: clamp(48px, 16vw, 72px);
    }

    .hero-content {
        border-radius: 22px;
    }

    .tokenomics-card {
        padding: clamp(20px, 6vw, 26px);
        border-radius: 22px;
    }

    .holders-section {
        padding: clamp(24px, 7vw, 32px);
    }

    .holders-table {
        margin: 0 -6px;
    }

    .address-cell {
        white-space: normal;
        word-break: break-word;
    }

    th, td {
        padding: 10px 6px;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    tbody tr {
        background: rgba(47, 49, 54, 0.6);
        border-radius: 16px;
        padding: 12px 16px;
        margin-bottom: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    tbody tr:hover {
        transform: none;
        background: rgba(47, 49, 54, 0.6);
    }

    td {
        border-bottom: none;
        padding: 8px 0;
        text-align: left;
    }

    td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--primary-color);
        margin-bottom: 4px;
        font-weight: 700;
    }

    .whitepaper-card {
        padding: clamp(24px, 7vw, 32px);
    }

    .whitepaper-button {
        width: 100%;
        text-align: center;
    }

    footer {
        border-radius: 0;
    }
}

