/* ================================================
   FinAsanTek - 2026 Modern Finance Platform
   CSS Framework - Glassmorphism & Neon Design
   ================================================ */

/* ================================================
   Google Fonts Import
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ================================================
   CSS Variables
   ================================================ */
:root {
    /* Colors */
    --bg-primary: #0D1B2A;
    --bg-secondary: #1B2838;
    --bg-card: rgba(27, 40, 56, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --accent-primary: #00F5D4;
    --accent-secondary: #7B2CBF;
    --accent-gradient: linear-gradient(135deg, #00F5D4 0%, #7B2CBF 100%);

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --success: #00FF88;
    --danger: #FF3B3B;
    --warning: #FFB800;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(0, 245, 212, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ================================================
   Reset & Base
   ================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 245, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(27, 40, 56, 0.5) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ================================================
   Typography
   ================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

.mono {
    font-family: var(--font-mono);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Logo responsive adjustment */
.navbar-brand img {
    height: clamp(38px, 5vw, 48px) !important;
    width: auto;
}

/* ================================================
   Layout
   ================================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   Navigation Bar
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: rgba(13, 27, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
}

.navbar-brand svg,
.navbar-brand img {
    height: 48px;
    width: auto;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.2));
}

@media (max-width: 768px) {

    .navbar-brand svg,
    .navbar-brand img {
        height: 38px;
    }
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    list-style: none;
}

.navbar-nav a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.navbar-nav a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.navbar-nav a.active {
    color: var(--accent-primary);
    background: rgba(0, 245, 212, 0.1);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--spacing-lg);
        background: rgba(13, 27, 42, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-normal);
    }

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

    .navbar-nav a {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md);
    }
}

/* ================================================
   Cards - Glassmorphism
   ================================================ */
.card {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-lg {
    padding: var(--spacing-xl);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.card-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.card-icon {
    font-size: 1.5rem;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* ================================================
   Price Display
   ================================================ */
.price-main {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.price-secondary {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.price-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* ================================================
   Change Badge
   ================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-up {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success);
}

.badge-down {
    background: rgba(255, 59, 59, 0.15);
    color: var(--danger);
}

.badge-neutral {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* ================================================
   Status Indicator
   ================================================ */
.status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.connected {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

.status-dot.error {
    background: var(--danger);
}

/* Crypto Search & Timeframe */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    gap: var(--spacing-sm);
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-input {
    width: 100%;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: var(--spacing-sm) var(--spacing-xl);
    padding-left: 2.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.timeframe-selector {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--radius-lg);
    width: fit-content;
}

.timeframe-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeframe-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.timeframe-btn.active {
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 245, 212, 0.3);
}

@media (max-width: 768px) {
    .filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: none;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ================================================
   Splash Screen
   ================================================ */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.splash-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.splash-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-lg);
    overflow: hidden;
}

.splash-loader::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    animation: loading 1.5s ease-in-out infinite;
}

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

    100% {
        transform: translateX(300%);
    }
}

/* ================================================
   Main Content Area
   ================================================ */
.main {
    padding-top: 100px;
    padding-bottom: var(--spacing-2xl);
    min-height: 100vh;
}

.page-header {
    margin-bottom: var(--spacing-xl);
}

.page-title {
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    color: var(--text-secondary);
}

/* ================================================
   Ticker Strip
   ================================================ */
.ticker-strip {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm) 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 60s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-xl);
    white-space: nowrap;
}

.ticker-name {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.ticker-price {
    font-family: var(--font-mono);
    font-weight: 500;
}

.ticker-change {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

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

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

/* ================================================
   Price Animations
   ================================================ */
.price-up {
    animation: priceFlashUp 0.5s ease;
}

.price-down {
    animation: priceFlashDown 0.5s ease;
}

@keyframes priceFlashUp {

    0%,
    100% {
        background-color: transparent;
    }

    50% {
        background-color: rgba(0, 255, 136, 0.2);
    }
}

@keyframes priceFlashDown {

    0%,
    100% {
        background-color: transparent;
    }

    50% {
        background-color: rgba(255, 59, 59, 0.2);
    }
}

/* ================================================
   Utility Classes
   ================================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-muted {
    color: var(--text-muted);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.hidden {
    display: none !important;
}

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

/* ================================================
   Popup Modal - Glassmorphism
   ================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: var(--spacing-lg);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(27, 40, 56, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 245, 212, 0.1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-title .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 59, 59, 0.2);
    border-color: rgba(255, 59, 59, 0.3);
    color: var(--danger);
}

.modal-body {
    padding: var(--spacing-xl);
}

.modal-price {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.modal-price-value {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-price-change {
    margin-top: var(--spacing-sm);
}

.modal-chart {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    height: 200px;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.modal-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
}

.modal-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.modal-stat-value {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-stat.up .modal-stat-value {
    color: var(--success);
}

.modal-stat.down .modal-stat-value {
    color: var(--danger);
}

/* ================================================
   Enhanced Splash Screen
   ================================================ */
.splash-logo {
    margin-bottom: var(--spacing-xl);
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

.splash-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 245, 212, 0.4));
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 40px rgba(0, 245, 212, 0.6));
    }
}

/* ================================================
   Navbar Logo Enhancement
   ================================================ */
.navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.3));
    transition: filter var(--transition-fast);
}

.navbar-brand:hover img {
    filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.5));
}

/* ================================================
   Card Click Effect
   ================================================ */
.card.clickable {
    cursor: pointer;
}

.card.clickable:active {
    transform: scale(0.98);
}

/* ================================================
   Premium Gold Accent (for Gold cards)
   ================================================ */
.card-gold::before {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
}

/* BIST Cards Styles for BIST Page */
.card.bist:hover {
    border-color: #00f5d4;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 245, 212, 0.2);
}

.card.bist .price-main {
    color: var(--text-primary);
}

/* Feature Cards Redesign */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-glass);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

/* Specific Feature Colors */
/* Döviz & Altın (Gold) */
.feature-card.gold:hover {
    border-color: #ffd700;
}

.feature-card.gold .feature-icon::after {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.feature-card.gold .feature-title {
    color: #ffd700;
}

/* Kripto (Bitcoin Orange) */
.feature-card.crypto:hover {
    border-color: #f7931a;
}

.feature-card.crypto .feature-icon::after {
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

.feature-card.crypto .feature-title {
    color: #f7931a;
}

/* BIST (BIST Blue/Green) */
.feature-card.bist:hover {
    border-color: #00f5d4;
}

.feature-card.bist .feature-icon::after {
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.3);
}

.feature-card.bist .feature-title {
    color: #00f5d4;
}

/* Instant (Blue Pulse) */
.feature-card.instant:hover {
    border-color: #3a86ff;
}

.feature-card.instant .feature-icon::after {
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.3);
}

.feature-card.instant .feature-title {
    color: #3a86ff;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s ease;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}