:root {
    /* Color System - Orange/Chocolate Theme */
    --color-primary: #FF6A13;
    /* Vibrant Orange */
    --color-primary-dark: #7B3F00;
    /* Rich Chocolate */
    --color-secondary: #FFB07C;
    /* Light Orange */
    --color-accent: #E0C097;
    /* Creamy Chocolate */
    --color-white: #FFFFFF;
    --color-dark: #121212;
    --color-dark-alt: #1A1A1A;
    --color-mid: #333333;
    --color-light: #F5F5F5;
    --color-text: #F0F0F0;
    --color-bg: #121212;
    /* Glass Effect */
    --glass-bg: rgba(35, 25, 15, 0.92);
    /* Chocolate tint */
    --glass-border: rgba(255, 106, 19, 0.25);
    /* Orange border */
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    /* Effects */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px currentColor;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --color-dark: #f8f9fa;
    --color-dark-alt: #e9ecef;
    --color-mid: #dee2e6;
    --color-light: #212529;
    --color-text: #212529;
    --color-bg: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(123, 63, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-bg);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 106, 19, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(123, 63, 0, 0.1) 0%, transparent 20%), linear-gradient(to bottom, var(--color-dark), var(--color-dark-alt)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><polygon points="50,0 65,25 95,35 75,60 80,90 50,75 20,90 25,60 5,35 35,25" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></svg>');
    background-size: cover;
    overflow-x: hidden;
}

body.no-animation * {
    animation: none !important;
    transition: none !important;
}

.no-animation * {
    animation: none !important;
    transition: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

p {
    color: var(--color-text);
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

img#twitter-logo{
    height: 40%;
}

.container {
    width: 100%;
    max-width: 2000px;
    padding: 0 8vw;
    margin: 0 auto;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 2rem;
    color: var(--color-text);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn--primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(255, 106, 19, 0.4);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 106, 19, 0.6);
}

.btn--chocolate {
    background: transparent;
    border: 2px solid var(--color-primary-dark);
    color: var(--color-primary-dark);
}

.btn--chocolate:is(:hover,
 :focus,
 :focus-visible,
 :active) {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 0 25px rgba(255, 106, 19, 0.6);
    transform: translateY(-3px);
}

.btn--chocolate:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 0 18px rgba(255, 106, 19, 0.5);
}

.btn--chocolate:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15), 0 0 25px rgba(255, 106, 19, 0.7);
}

.btn--chocolate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero__cta:has(>.btn--chocolate:is(:hover, :focus, :focus-visible, :active))>.btn--primary {
    background: transparent;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
    box-shadow: none;
    transform: none;
}

.btn--primary:is(:hover,
 :focus,
 :focus-visible) {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255, 106, 19, 0.75), 0 8px 22px rgba(0, 0, 0, 0.35);
}


/* Strong, accessible focus ring */

.btn--primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 0 0 6px rgba(255, 106, 19, 0.55), 0 0 30px rgba(255, 106, 19, 0.75);
}


/* Tactile press */

.btn--primary:active {
    transform: translateY(-1px) scale(0.985);
    box-shadow: 0 0 18px rgba(255, 106, 19, 0.55), 0 6px 16px rgba(0, 0, 0, 0.35);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.section--pinned {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.section__header {
    margin-bottom: var(--space-lg);
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section__header h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    position: relative;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 106, 19, 0.2);
}

.section__header p {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text);
}

.grid {
    display: grid;
    gap: var(--space-md);
}


/* Header & Navigation */

header.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition);
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header.glass {
    background-color: #1a1a1a;
    mix-blend-mode: plus-lighter;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-sm) 0;
}

a.logo {
    mix-blend-mode: plus-lighter;
}

[data-theme="light"] .header.glass {
    background-color: #fff6ed;
    mix-blend-mode: darken;
}

[data-theme="light"] a.logo {
    mix-blend-mode: normal;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    mix-blend-mode: plus-lighter;
}

.logo svg text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 40px;
    fill: url(#gradient);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-item {
    position: relative;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--color-text);
}

.nav-item:hover {
    background: rgba(255, 106, 19, 0.1);
}

.nav-item a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--color-text);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

.has-dropdown::after {
    content: "▾";
    margin-left: 5px;
    font-size: 0.8em;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.has-dropdown:hover .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.8rem 1.2rem;
    transition: var(--transition);
    position: relative;
    color: var(--color-text);
    margin-bottom: 13vh;
}

.dropdown-item:hover {
    background: rgba(255, 106, 19, 0.15);
}

.dropdown .dropdown {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    color: var(--color-text);
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.toggle-btn {
    background: rgba(78, 204, 163, 0.2);
    border: 2px solid #4ecca3;
    color: #4ecca3;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    /* Ensure button is always clickable */
}

.toggle-btn:hover {
    background: rgba(78, 204, 163, 0.3);
}


/* Hero Section - Enhanced */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero__content {
    position: relative;
    z-index: 30;
    max-width: 800px;
    padding: 3rem;
}

.hero__content h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero__content h1 span {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-shadow: 0 0 20px rgba(255, 106, 19, 0.3);
}

.hero__content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    max-width: 700px;
    color: var(--color-text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__cta {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}


/* Spotlight Effect - Enhanced */

.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: radial-gradient(circle at center, rgba(255, 106, 19, 0.4) 0%, transparent 70%);
    animation: spotlight-move 36s infinite alternate;
    pointer-events: none;
}

@keyframes spotlight-move {
    0% {
        transform: translate(-8%, -8%);
    }
    25% {
        transform: translate(8%, -5%);
    }
    50% {
        transform: translate(5%, 8%);
    }
    75% {
        transform: translate(-8%, 5%);
    }
    100% {
        transform: translate(-5%, -8%);
    }
}


/* 3D Chip Animation */

.chip-container {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
    z-index: 10;
}

.chip {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(25deg) rotateY(-25deg);
}

.chip-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(123, 63, 0, 0.5);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-white);
    text-shadow: 0 0 10px var(--color-primary);
}

.chip-front {
    transform: translateZ(50px);
}

.chip-back {
    transform: translateZ(-50px) rotateY(180deg);
}

.chip-top {
    transform: rotateX(90deg) translateZ(50px);
    height: 100px;
}

.chip-bottom {
    transform: rotateX(-90deg) translateZ(50px);
    height: 100px;
}

.chip-left {
    transform: rotateY(-90deg) translateZ(50px);
    width: 100px;
}

.chip-right {
    transform: rotateY(90deg) translateZ(50px);
    width: 100px;
}

@keyframes chip-float {
    0%,
    100% {
        transform: rotateX(25deg) rotateY(-25deg) translateY(0);
    }
    50% {
        transform: rotateX(30deg) rotateY(-20deg) translateY(-20px);
    }
}


/* Crypto Wallet Animation */

.wallet-container {
    position: absolute;
    top: 70%;
    right: 15%;
    z-index: 10;
    transform-style: preserve-3d;
    animation: wallet-float 10s infinite ease-in-out;
}

.wallet {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary-dark), #333);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: rotateX(15deg) rotateY(15deg);
}

.wallet::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    opacity: 0.5;
}

.wallet-screen {
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    overflow: hidden;
}

.wallet-buttons {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
}

.wallet-button {
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    font-weight: bold;
}

@keyframes wallet-float {
    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
    }
}


/* Features Section */

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.features__card {
    padding: var(--space-lg) var(--space-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.features__card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.features__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.features__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.features__desc {
    color: var(--color-text);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}


/* Products Section */

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.products__card {
    padding: var(--space-lg) var(--space-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.products__card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.products__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.products__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.products__specs {
    list-style: none;
    text-align: left;
    margin-top: var(--space-md);
    color: var(--color-text);
}

.products__specs li {
    margin-bottom: var(--space-xs);
    display: flex;
    justify-content: space-between;
}

.products__specs span:first-child {
    font-weight: 600;
}


/* Video Section */


/* Video Player Enhancements */

.video-thumb {
    position: relative;
    cursor: pointer;
    height: 200px;
    overflow: hidden;
}

.video-thumb video {
    transition: opacity 0.3s ease;
}

.video-thumb:hover .play-btn {
    background: var(--color-primary);
    transform: translate(-50%, -50%) scale(1.1);
}


/* Ensure play button stays on top of video */

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    opacity: 0.9;
    transition: var(--transition);
    z-index: 5;
}


/* Loading state */

.video-thumb.loading .play-btn {
    opacity: 0.5;
    pointer-events: none;
}

.video-thumb.loading .play-btn::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    border-top: 2px solid var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.video-section {
    padding: var(--space-xl) 0;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-thumb {
    position: relative;
    cursor: pointer;
    height: 200px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    opacity: 0.9;
    transition: var(--transition);
}

.video-card:hover .play-btn {
    background: var(--color-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: var(--space-md);
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.video-info p {
    font-size: 0.95rem;
    color: var(--color-text);
    opacity: 0.9;
}


/* Stats Section */

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.stats__card {
    padding: var(--space-lg) var(--space-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}


/* News Section */


/* News Section */

.news-section {
    padding: var(--space-xl) 0;
}

.date-group {
    margin-bottom: var(--space-lg);
}

.date-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--glass-border);
}

.date-header i {
    color: var(--color-primary);
}

.date-header span {
    font-weight: 600;
    font-size: 1.1rem;
}

.digest-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.digest-card {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.digest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    flex: 0 0 120px;
    height: 120px;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-source {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px var(--space-xs);
    font-size: 0.7rem;
    text-align: center;
    color: var(--color-white);
}

.news-content {
    flex: 1;
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.news-title a {
    color: var(--color-text);
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--color-primary);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-mid);
}

.news-share {
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-share:hover {
    color: var(--color-primary);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.news__card {
    padding: var(--space-lg) var(--space-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.news__card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.news__date {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.news__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.news__excerpt {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.news__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-secondary);
    font-weight: 500;
}

.news__link i {
    transition: var(--transition);
}

.news__link:hover i {
    transform: translateX(5px);
}


/* Hexagonal Pattern */

.hex-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><polygon points="50,0 65,25 95,35 75,60 80,90 50,75 20,90 25,60 5,35 35,25" fill="none" stroke="%23FF6A13" stroke-width="1"/></svg>');
    background-size: 120px;
    animation: moveBackground 100s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1200px 600px;
    }
}


/* Vertical Lines */

.vertical-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    display: flex;
    justify-content: space-around;
}

.vertical-lines div {
    width: 1px;
    height: 100%;
    background: rgba(255, 106, 19, 0.05);
}


/* Footer */

footer.footer {
    padding: var(--space-xl) 0;
    background: var(--color-dark-alt);
    border-top: 1px solid var(--glass-border);
}

.footer.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-primary);
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    color: var(--color-text);
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-links a::before {
    content: "›";
    color: var(--color-primary);
}

.footer-social {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    color: var(--color-text);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
    color: white;
}

.copyright {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-mid);
}


/* Responsive Styles */

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .toggle-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--color-dark-alt);
        flex-direction: column;
        padding: var(--space-xl) var(--space-lg);
        transition: var(--transition);
        z-index: 100;
        border-left: 1px solid var(--glass-border);
    }
    .nav__list--active {
        right: 0;
    }
    .hero__content {
        text-align: center;
        margin: 0 auto;
    }
    .hero__cta {
        justify-content: center;
    }
    .progress-container {
        display: none;
    }
    .search-container.active {
        width: calc(100% - 40px);
        left: 20px;
        right: auto;
    }
    .chat-container {
        width: calc(100% - 40px);
        right: 20px;
        left: auto;
    }
}

@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
    }
    p.hp1 {
        content-visibility: visible;
    }
    p.hp2 {
        content-visibility: hidden;
    }
}

@media (max-width: 326px) {
    p.hp1,
    p.hp2 {
        content-visibility: hidden;
    }
}


/* Vertical Progress Bar */

.progress-container {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-bar {
    width: 6px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
    transition: height 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 106, 19, 0.5);
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-dot.active {
    background: var(--color-primary);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255, 106, 19, 0.7);
}

.progress-dot:hover {
    transform: scale(1.6);
    background: var(--color-primary);
}

.progress-dot::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    z-index: -1;
}

.progress-dot:hover::after {
    opacity: 1;
}

.progress-dot::before {
    content: attr(data-section);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--glass-bg);
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.progress-dot:hover::before {
    opacity: 1;
}


/* Search Functionality */

.search-container {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0;
    width: 50px;
    height: 50px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-sm);
}

.search-container.active {
    width: 350px;
    border-radius: 50px;
}

.search-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.search-input {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 50px);
    height: 100%;
    padding: 0 20px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.search-container.active .search-input {
    opacity: 1;
}

.search-results {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: var(--shadow-md);
}

.search-container.active .search-results {
    display: block;
}

.search-result-item {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 106, 19, 0.1);
}

.search-result-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.search-result-item p {
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.8;
}


/* AI Assistant */

.ai-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.assistant-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 106, 19, 0.7);
}

.chat-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ai-assistant.active .chat-container {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    padding: 15px 20px;
    background: rgba(123, 63, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-chat:hover {
    background: rgba(255, 106, 19, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    align-self: flex-end;
    background: rgba(255, 106, 19, 0.15);
    border-bottom-right-radius: 5px;
}

.message.ai {
    align-self: flex-start;
    background: rgba(123, 63, 0, 0.15);
    border-bottom-left-radius: 5px;
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
    background: rgba(35, 25, 15, 0.5);
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.send-btn:hover {
    background: var(--color-primary-dark);
}


/* Smoother transitions */

.section {
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.features__card,
.products__card,
.stats__card,
.news__card {
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
    transition-delay: calc(0.1s * var(--index));
    position: relative;
    z-index: 20;
    /* Higher than coins (z-index: 15) */
    overflow: visible !important;
    /* Prevent text cropping */
}

.features__card.visible,
.products__card.visible,
.stats__card.visible,
.news__card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Enhanced animations */

.wallet-container {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wallet {
    transition: transform 0.5s ease;
}


/* Responsive adjustments */

@media (max-width: 1024px) {
    .progress-container {
        right: 15px;
    }
    .ai-assistant {
        right: 15px;
        bottom: 15px;
    }
    .chat-container {
        width: 300px;
        height: 400px;
    }
    .chip-container,
    .wallet-container {
        display: none;
    }
}

@media (max-width: 992px) {
    /* Mobile menu styles */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--color-dark-alt);
        flex-direction: column;
        padding: var(--space-xl) var(--space-lg);
        transition: var(--transition);
        z-index: 100;
        border-left: 1px solid var(--glass-border);
        overflow-y: auto;
        /* ADDED: Enable scrolling */
        max-height: 100vh;
        /* ADDED: Prevent overflow */
        padding-top: 70px;
        /* ADDED: Space for close button */
    }
    .nav-links--active {
        right: 0;
    }
    .close-menu {
        position: fixed;
        /* CHANGED: Fixed positioning */
        top: 25px;
        right: 25px;
        z-index: 101;
        font-size: 1.5rem;
        color: var(--color-text);
    }
    /* Dropdown mobile behavior */
    .dropdown {
        position: static;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 15px;
        /* Indent nested dropdowns */
        box-shadow: none;
        border: none;
        background: transparent;
        width: 100%;
        min-width: auto;
    }
    .dropdown.active {
        max-height: 1000px;
        /* Adjust based on content */
    }
    .dropdown .dropdown {
        padding-left: 25px;
        /* Nested indentation */
        margin-left: 0;
        left: auto;
    }
    /* Hide desktop hover effects on mobile */
    .has-dropdown:hover .dropdown {
        display: none;
    }
    .has-dropdown::after {
        content: "▸";
        /* Right arrow for closed state */
    }
    .has-dropdown.active::after {
        content: "▾";
        /* Down arrow for open state */
    }
}

@media (min-width: 800px) {
    .hero__content h1 {
        font-size: xxx-large;
    }
}

@media (min-width: 993px) {
    .mobile-toggle,
    .close-menu {
        display: none !important;
    }
    .nav-links {
        display: flex;
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        padding: 0;
    }
    /* Restore desktop dropdown positioning */
    .dropdown {
        position: absolute;
        display: block;
        max-height: none;
        overflow: visible;
        padding-left: 0;
    }
}


/* Mobile-first approach */

.nav__list {
    display: none;
}

.nav__list--active {
    display: flex;
}

.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}