/* SRV Token - Modern Design System */

:root {
    --primary: #2D8BCA;
    --secondary: #0072ff;
    --accent: #7b2ff7;
    --bg-dark: #020617;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 15px rgba(45, 139, 202, 0.4);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.section {
    padding: 100px 0;
}

/* Background Effects */
.bg-lines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../assets/srv-token/bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -10%; right: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
}

.logo-accent {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a:hover {
    color: var(--primary);
}

.btn-buy {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.7rem 1.8rem;
    border-radius: 99px;
    font-weight: 600;
    box-shadow: var(--glow);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.6);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-content {
    flex: 1.2;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 2rem 0;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-main {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 1.2rem 2.8rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 1.2rem 2.8rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-main:hover, .btn-outline:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.hero-visual {
    flex: 0.8;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coin-container-3d {
    width: 450px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 50px rgba(45, 139, 202, 0.4));
}

.coin-svg {
    width: 100%;
    height: 100%;
    animation: rotateCoin 6s infinite linear;
}

@keyframes rotateCoin {
    0% { transform: rotateY(0deg) rotateX(5deg); }
    50% { transform: rotateY(180deg) rotateX(-5deg); }
    100% { transform: rotateY(360deg) rotateX(5deg); }
}

.coin-shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(45, 139, 202, 0.3) 0%, transparent 70%);
    filter: blur(15px);
}

/* Marquee */
.marquee {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1.2rem 0;
    overflow: hidden;
    font-weight: 800;
    font-size: 1rem;
    transform: rotate(-1deg);
    margin: 2rem 0;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Grid & Cards */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: scale(1.03) translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Tokenomics */
.tokenomics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.token-list {
    list-style: none;
    margin-top: 3rem;
}

.token-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass);
    border-radius: 1rem;
}

.token-percentage {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.chart-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) 0% 40%,
        var(--secondary) 40% 70%,
        var(--accent) 70% 90%,
        #fff 90% 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.center-piece {
    width: 250px;
    height: 250px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid var(--bg-dark);
}

.chart-text {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 2px; height: 100%;
    background: var(--border);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem; top: 0;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--border);
    transition: 0.3s;
}

.timeline-dot.active {
    background: var(--primary);
    box-shadow: var(--glow);
}

.timeline-content {
    background: var(--glass);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
}

.phase {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Buy Glass Box */
.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 5rem;
    border-radius: 3rem;
}

.ca-box {
    margin-top: 4rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.ca-value-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--primary);
}

code {
    color: var(--primary);
    font-weight: 600;
}

.btn-copy {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #010411;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
}

.footer-bottom .copyright {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.footer-bottom .credits {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom .credits a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Comparison Table */
.srv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.srv-table th, .srv-table td {
    padding: 2rem;
    text-align: left;
    background: var(--glass);
    border-bottom: 1px solid var(--border);
}

.srv-table th {
    font-size: 1.25rem;
    font-weight: 800;
}

.srv-table tr td:first-child {
    border-radius: 1.5rem 0 0 1.5rem;
}

.srv-table tr td:last-child {
    border-radius: 0 1.5rem 1.5rem 0;
}

.highlight {
    color: var(--primary);
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 224, 255, 0.4);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-card {
    background: var(--glass);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.faq-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Utils */
.overflow-hidden { overflow: hidden; }
.max-w-small { max-width: 900px; }


/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 120px;
        height: auto;
        text-align: center;
    }
    .hero-visual {
        margin-top: -300px; /* Bring coin up if needed */
        margin-bottom: 2rem;
    }
    .coin-3d {
        width: 300px;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .tokenomics-layout {
        grid-template-columns: 1fr;
    }
    .chart-circle {
        margin: 0 auto;
        width: 300px; height: 300px;
    }
    .center-piece {
        width: 200px; height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-stats { flex-direction: column; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social .social-icons { justify-content: center; }
}

/* NFT Section Styles */
.nfts {
    background: radial-gradient(circle at center, rgba(45, 139, 202, 0.05) 0%, transparent 70%);
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.nft-card-wrap {
    perspective: 1000px;
}

.nft-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
}

.nft-card:hover {
    transform: translateY(-15px) rotateX(10deg);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow);
}

.nft-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.nft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.nft-card:hover .nft-image img {
    transform: scale(1.1);
}

.nft-content {
    padding: 2rem;
    text-align: left;
}

.nft-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.legendary .nft-badge { background: linear-gradient(90deg, #ffd700, #ff8c00); color: #000; }
.rare .nft-badge { background: linear-gradient(90deg, #2D8BCA, #7b2ff7); color: #fff; }
.elite .nft-badge { background: linear-gradient(90deg, #00e0ff, #2D8BCA); color: #fff; }

.nft-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.nft-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.nft-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nft-price::before {
    content: '◎';
    color: #14F195; /* Solana Green */
}

/* Utility Box */
.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.utility-item {
    text-align: left;
}

.u-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.utility-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.utility-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.mt-5 { margin-top: 5rem; }
