/*
Theme Name: Cryptoyukti Theme
Theme URI: https://cryptoyukti.com
Author: Antigravity
Author URI: https://cryptoyukti.com
Description: A premium, dark-themed crypto website theme with live charts and blog integration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, crypto, blog, responsive
Text Domain: cryptoyukti
*/

:root {
    /* Colors */
    --bg-dark: #0a0b14;
    --bg-card: #13141f;
    --primary: #00ff9d;
    --primary-glow: rgba(0, 255, 157, 0.3);
    --secondary: #9d00ff;
    --secondary-glow: rgba(157, 0, 255, 0.3);
    --accent: #00d4ff;
    /* Dark Mode Variables (Default) */
    --primary: #00ff88;
    --primary-glow: rgba(0, 255, 157, 0.3);
    /* Kept from original, not explicitly removed by instruction */
    --secondary: #7000ff;
    --secondary-glow: rgba(157, 0, 255, 0.3);
    /* Kept from original, not explicitly removed by instruction */
    --accent: #00d4ff;
    /* Kept from original, not explicitly removed by instruction */
    --bg-main: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
    /* Kept from original, not explicitly removed by instruction */

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    /* Kept from original, not explicitly removed by instruction */

    /* Effects */
    --glass-bg: rgba(19, 20, 31, 0.7);
    /* Kept from original, not explicitly removed by instruction */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --backdrop-blur: blur(12px);
    /* Kept from original, not explicitly removed by instruction */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Light Mode Variables */
[data-theme="light"] {
    --bg-main: #f0f2f5;
    --bg-card: #ffffff;
    --text-main: #1a1a2e;
    --text-muted: #555555;
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Fix Blue Box on Mobile */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Mode Specific Overrides */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .glass-panel,
[data-theme="light"] .card,
[data-theme="light"] .widget {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .menu-list ul {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .menu-list ul a:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-graphic .circle-1 {
    border-color: var(--primary);
    opacity: 0.5;
}

[data-theme="light"] .hero-graphic .circle-2 {
    border-color: var(--secondary);
    opacity: 0.5;
}

[data-theme="light"] .footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 4px;
}

.btn-sm:hover {
    background: var(--primary);
    color: #000;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 11, 20, 0.8);
    backdrop-filter: var(--backdrop-blur);
    z-index: 1000;
    border-bottom: var(--glass-border);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links .btn {
    padding: 10px 24px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-orb {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.card-glass {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: var(--glass-border);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.float-card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-glass i {
    font-size: 1.5rem;
}

.card-glass .fa-bitcoin {
    color: #f7931a;
}

.card-glass .fa-ethereum {
    color: #627eea;
}

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

/* v6 Fintech Style Overrides */
.hero-v2 {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-main);
}

.hero-content-v2 h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content-v2 p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns-v2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.trust-logos {
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    color: var(--text-muted);
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.trust-logo {
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Calculators Grid */
.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.calc-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.calc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.calc-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.calc-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Analysis List */
.analysis-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 0;
}

.analysis-item:last-child {
    border-bottom: none;
}

.analysis-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.analysis-content h3 a {
    color: var(--text-main);
    text-decoration: none;
}

.analysis-content h3 a:hover {
    color: var(--primary);
}

.analysis-excerpt {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.read-report {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

/* Live Ticker */
.live-ticker-section {
    background: var(--bg-card);
    border-bottom: var(--glass-border);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-move:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.ticker-item .name {
    font-weight: 600;
}

.ticker-item .change.positive {
    color: var(--primary);
}

.ticker-item .change.negative {
    color: #ff4d4d;
}

/* New Hero Graphic */
.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic .circle-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: spin 20s linear infinite;
}

.hero-graphic .circle-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px dashed var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin 15s linear infinite reverse;
}

.hero-graphic .main-icon {
    font-size: 5rem;
    color: var(--text-main);
    text-shadow: 0 0 30px var(--primary);
    animation: float 4s ease-in-out infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Cards & Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 255, 157, 0.3);
}

/* Blog */
.blog-card .card-content {
    padding: 25px;
}

.tag {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: var(--text-main);
    text-decoration: none;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* Tools */
.tool-card {
    padding: 30px;
    text-align: center;
}

.tool-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(0, 255, 157, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
}

.tool-card h3 {
    margin-bottom: 10px;
}

.tool-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Reviews */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #ffd700;
}

.pros-list {
    list-style: none;
    margin: 20px 0;
}

.pros-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pros-list i {
    color: var(--primary);
    margin-right: 10px;
}

/* Community CTA */
.cta-box {
    background: linear-gradient(135deg, rgba(19, 20, 31, 0.9), rgba(10, 11, 20, 0.9));
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.1), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.cta-features i {
    color: var(--primary);
}

/* Footer */
.footer {
    background: #050508;
    padding: 80px 0 20px;
    border-top: var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-card);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        border-left: var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .menu-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .menu-list ul {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        text-align: center;
        display: none;
    }

    .menu-list li.active>ul {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    /* v6 Mobile Fixes */
    .hero-content-v2 h1 {
        font-size: 2rem;
    }

    .hero-btns-v2 {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-outline {
        text-align: center;
    }

    .logos-grid {
        gap: 20px;
    }

    .trust-logo {
        font-size: 1rem;
    }

    .calculators-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }


    .social-links {
        justify-content: center;
    }
}

/* WordPress Specific Styles */
.menu-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list li {
    position: relative;
}

/* Dropdown Menu */
.menu-list ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: var(--glass-border);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.menu-list li:hover>ul {
    display: block;
}

.menu-list ul li {
    display: block;
}

.menu-list ul a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.menu-list ul a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

/* Widgets */
.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.widget ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: var(--primary);
}

/* Custom Logo */
.custom-logo {
    height: 40px;
    width: auto;
}