/* ═══════════════════════════════════════════════
   GEO Market Ticker — Elementor Widget Styles
   ═══════════════════════════════════════════════ */

.geo-market-ticker-wrapper {
    position: relative;
    z-index: 20;
    max-width: 1280px;
    margin: -4rem auto 3rem;
    padding: 0 1.5rem;
}

/* Container */
.gmt-container {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ─── TICKER BAR ─── */
.gmt-ticker-bar {
    position: relative;
    padding: 0.75rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gmt-ticker-badge {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: inherit;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.gmt-pulse {
    display: block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: gmt-pulse-anim 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

@keyframes gmt-pulse-anim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.gmt-badge-text {
    font-size: 10px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.gmt-ticker-scroll {
    overflow: hidden;
    margin-left: 130px;
}

.gmt-ticker-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: gmt-scroll-left var(--ticker-speed, 25s) linear infinite;
}

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

.gmt-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.gmt-ticker-item .gmt-ticker-symbol {
    opacity: 0.4;
    font-weight: 500;
}

.gmt-ticker-item .gmt-ticker-name {
    font-weight: 700;
}

.gmt-ticker-item .gmt-ticker-price {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-weight: 600;
}

.gmt-ticker-item .gmt-ticker-change {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
}

.gmt-ticker-item .gmt-positive {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
}

.gmt-ticker-item .gmt-negative {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

/* ─── PRICE CARDS GRID ─── */
.gmt-cards-grid {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
}

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

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

@media (max-width: 640px) {
    .gmt-cols-2, .gmt-cols-3, .gmt-cols-4 { grid-template-columns: 1fr; }
    .geo-market-ticker-wrapper { margin-top: -2rem; padding: 0 1rem; }
    .gmt-cards-grid { padding: 1rem; gap: 1rem; }
    .gmt-ticker-scroll { margin-left: 110px; }
}

/* ─── INDIVIDUAL CARD ─── */
.gmt-card {
    position: relative;
    border: 1px solid rgba(229, 231, 235, 0.8);
    padding: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gmt-card:hover {
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.gmt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.gmt-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
}

.gmt-card-icon.gmt-icon-positive {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

.gmt-card-icon.gmt-icon-negative {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
}

.gmt-card-contract {
    text-align: right;
}

.gmt-card-contract-label {
    display: block;
    font-size: 9px;
    font-weight: 900;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.gmt-card-contract-symbol {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 9999px;
}

.gmt-card-name {
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.gmt-card-price {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.gmt-card-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.gmt-card-change.gmt-change-positive {
    background: rgba(34, 197, 94, 0.06);
}

.gmt-card-change.gmt-change-negative {
    background: rgba(239, 68, 68, 0.06);
}

.gmt-card-change svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.gmt-card-change .gmt-est {
    opacity: 0.4;
    font-weight: 500;
    margin-left: auto;
    font-size: 11px;
}

/* Hover accent bar */
.gmt-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(27, 123, 79, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.gmt-card:hover::after {
    transform: scaleX(1);
}

/* ─── SKELETON LOADING ─── */
.gmt-card-skeleton {
    border: 1px solid rgba(229, 231, 235, 0.8);
    padding: 1.5rem;
}

.gmt-skeleton-line {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: gmt-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes gmt-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hide skeletons once loaded */
.gmt-loaded .gmt-card-skeleton {
    display: none;
}

/* ─── SVG ICONS (inline) ─── */
.gmt-svg-icon {
    width: 20px;
    height: 20px;
}

/* Typography is controlled via Elementor's Group_Control_Typography */

/* ─── CUSTOM SVG ICONS ─── */
.gmt-custom-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.gmt-card-icon {
    width: 44px;
    height: 44px;
}


