/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --ca-bg-dark: #0B0E11;
    --ca-bg-card: #151A21;
    --ca-brand-orange: #F7931A;
    --ca-brand-orange-hover: #FFAB40;
    --ca-text-main: #EAECEF;
    --ca-text-muted: #848E9C;
    --ca-border-color: rgba(255, 255, 255, 0.05);
    --ca-font-family: 'Inter', sans-serif;
}

.ca-wrapper {
    font-family: var(--ca-font-family);
    color: var(--ca-text-main);
    background-color: var(--ca-bg-dark);
    line-height: 1.5;
    box-sizing: border-box;
}

.ca-wrapper * {
    box-sizing: border-box;
}

/* =========================================
   2. Typography & Utilities
   ========================================= */
.ca-wrapper h1, .ca-wrapper h2, .ca-wrapper h3 {
    margin-top: 0;
    color: #fff;
    font-weight: 700;
}

.ca-wrapper a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.ca-text-gradient {
    background: linear-gradient(to right, var(--ca-brand-orange), #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   3. Components
   ========================================= */

/* Buttons */
.ca-btn-gradient {
    display: inline-block;
    background: linear-gradient(135deg, var(--ca-brand-orange) 0%, var(--ca-brand-orange-hover) 100%);
    color: #fff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(247, 147, 26, 0.3);
    text-align: center;
    border: none;
    cursor: pointer;
}

.ca-btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.4);
}

/* Badges */
.ca-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #eab308; /* Yellow default */
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-bottom-right-radius: 8px;
    z-index: 10;
    text-transform: uppercase;
}

.ca-pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    color: var(--ca-brand-orange);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ca-pulse-dot {
    height: 8px;
    width: 8px;
    background-color: var(--ca-brand-orange);
    border-radius: 50%;
    margin-right: 8px;
    animation: ca-pulse 2s infinite;
}

@keyframes ca-pulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 147, 26, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(247, 147, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 147, 26, 0); }
}

/* =========================================
   4. Hero Section
   ========================================= */
.ca-hero-section {
    padding: 80px 20px;
    background: radial-gradient(circle at 50% 50%, #1a1f29 0%, var(--ca-bg-dark) 70%);
    overflow: hidden;
}

.ca-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 992px) {
    .ca-hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .ca-hero-text {
        max-width: 50%;
    }
}

.ca-hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .ca-hero-text h1 { font-size: 3.5rem; }
}

.ca-hero-desc {
    color: var(--ca-text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.ca-trust-indicators {
    margin-top: 2rem;
    color: var(--ca-text-muted);
    font-size: 0.875rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
@media (min-width: 992px) {
    .ca-trust-indicators { justify-content: flex-start; }
}

.ca-trust-indicators i {
    color: #22c55e; /* Green */
    margin-right: 0.5rem;
}

.ca-hero-visual {
    margin-top: 40px;
    position: relative;
    width: 300px;
    height: 300px;
}

@media (min-width: 992px) {
    .ca-hero-visual { margin-top: 0; }
}

.ca-floating-coin {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3748 0%, #000 100%);
    border-radius: 24px;
    border: 1px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    color: var(--ca-brand-orange);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: ca-float 6s ease-in-out infinite;
}

@keyframes ca-float {
    0%, 100% { transform: translateY(0) rotate(6deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
}

/* =========================================
   5. Exchanges List Styles
   ========================================= */
.ca-exchanges-section, .ca-wallets-section {
    padding: 60px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.ca-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.ca-section-header p { color: var(--ca-text-muted); }

/* List Container & Header */
.ca-style-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ca-list-header {
    display: none; /* Hidden on mobile */
    grid-template-columns: 4fr 2fr 3fr 3fr;
    padding: 0 24px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ca-text-muted);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .ca-list-header { display: grid; }
}

/* Card Styles */
.ca-card {
    background-color: var(--ca-bg-card);
    border: 1px solid var(--ca-border-color);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ca-card:hover {
    transform: translateY(-4px);
    border-color: var(--ca-brand-orange);
    box-shadow: 0 10px 40px -10px rgba(247, 147, 26, 0.15);
}

.ca-card-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive List Layout */
@media (min-width: 768px) {
    .ca-card-list .ca-card-inner {
        display: grid;
        grid-template-columns: 4fr 2fr 3fr 3fr;
        align-items: center;
        gap: 0;
    }
    .ca-card-list .ca-col-platform,
    .ca-card-list .ca-col-score,
    .ca-card-list .ca-col-bonus,
    .ca-card-list .ca-col-action {
        width: auto;
        text-align: left;
    }
    
    /* Center alignment fixes for list view */
    .ca-card-list .ca-col-score {
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
    .ca-card-list .ca-col-bonus {
        text-align: left;
        padding-left: 20px;
    }
    .ca-card-list .ca-col-action {
        text-align: right;
    }
}

/* Column Content Styles */
.ca-col-platform {
    display: flex;
    align-items: center;
}

.ca-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: 50%;
    overflow: hidden;
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ca-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ca-logo-icon {
    color: #fff;
    font-size: 24px;
}

.ca-logo-placeholder {
    color: #fff;
    font-size: 24px;
}

.ca-platform-info h3 {
    font-size: 1.125rem;
    margin: 0;
    color: #fff;
}

.ca-excerpt {
    font-size: 0.875rem;
    color: var(--ca-text-muted);
    margin: 4px 0 0 0;
}

.ca-score-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.ca-stars {
    color: #eab308;
    font-size: 0.75rem;
}

.ca-bonus-tag {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1); /* Green tint */
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
}

.ca-bonus-sub {
    font-size: 0.75rem;
    color: var(--ca-text-muted);
    margin: 4px 0 0 0;
}

.ca-link-sub {
    font-size: 0.75rem;
    color: var(--ca-text-muted);
    margin-top: 8px;
    text-align: center;
}
@media (min-width: 768px) {
    .ca-card-list .ca-link-sub { text-align: right; margin-right: 10px; }
}

.ca-view-all {
    text-align: center;
    margin-top: 40px;
}
.ca-view-all a {
    color: var(--ca-brand-orange);
    font-weight: 600;
}
.ca-view-all a:hover { text-decoration: underline; }

/* =========================================
   6. Grid Style Modifications
   ========================================= */
.ca-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.ca-card-grid .ca-card-inner {
    text-align: center;
}

.ca-card-grid .ca-col-platform {
    flex-direction: column;
    margin-bottom: 16px;
}

.ca-card-grid .ca-logo {
    margin: 0 0 16px 0;
    width: 64px;
    height: 64px;
}

.ca-card-grid .ca-col-score {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ca-card-grid .ca-col-bonus {
    margin-bottom: 24px;
}

.ca-card-grid .ca-col-action {
    width: 100%;
}

.ca-card-grid .ca-btn-gradient {
    width: 100%;
}
