* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0a0f1e;
    color: #f1f5f9;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-grid {
    background-image:
        linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

@keyframes glow-float-1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}
@keyframes glow-float-2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, -60px); }
}

.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-strong {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-warning {
    background: rgba(251, 191, 36, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.card-hover {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.08);
}

.gradient-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
    border-radius: 8px;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(251, 191, 36, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(251, 191, 36, 0.5); }

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}
.responsive-table th {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    padding: 1rem 1.25rem;
    background: rgba(30, 41, 59, 0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.responsive-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.875rem;
}
.responsive-table tr:hover td {
    background: rgba(30, 41, 59, 0.3);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

input:focus-visible, select:focus-visible {
    outline: 2px solid rgba(251, 191, 36, 0.5);
    outline-offset: 2px;
}

#calc-fab-container {
    animation: fab-float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}
#calc-fab-container:hover {
    animation: none;
    transform: scale(1.1) translateY(-4px);
}
#calc-fab-container:active {
    transform: scale(0.95);
}

@keyframes fab-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.platform-logo img,
.platform-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#cookie-consent {
    contain: strict;
}
#cookie-consent .cookie-inner {
    background: rgba(10, 15, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
}
