/*
Theme Name: airdrops
Version: 1.1
*/

:root {
    --bg-color: #0B0C15;
    --card-bg: #151621;
    --primary-color: #1890ff;
    --accent-color: #00F0FF;
    --text-primary: #ffffff;
    --text-secondary: #8c8c9e;
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
}

a { color: inherit; text-decoration: none; }

.site-layout { background: var(--bg-color); min-height: 100vh; }

.ant-layout-header {
    background: rgba(11, 12, 21, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(90deg, #1890ff, #00F0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 40px;
    letter-spacing: -0.5px;
}

.ant-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 24px;
    align-items: center;
}

.ant-menu .menu-item a {
    color: #fff;
    font-weight: 500;
}

.header-actions .ant-btn {
    background: linear-gradient(90deg, #1890ff, #3867d6);
    border: none;
    box-shadow: 0 0 20px rgba(24, 144, 255, 0.4);
    color: #fff;
    height: 36px;
    padding: 0 20px;
    border-radius: 18px;
    font-weight: 600;
}

.site-content { padding: 0 20px; }

.card-grid-container {
    padding: 40px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.filter-section {
    background: rgba(21, 22, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filter-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.custom-input {
    flex: 1 1 280px;
    background: #0F111A;
    border: 1px solid #23242F;
    color: #fff;
    border-radius: 12px;
    height: 48px;
    padding: 0 16px;
}

.custom-select {
    height: 48px;
}

.custom-select select {
    height: 48px;
    background: #0F111A;
    border: 1px solid #23242F;
    color: #fff;
    border-radius: 12px;
    padding: 0 12px;
}

.advanced-filter-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    height: 40px;
    border-radius: 20px;
    padding: 0 16px;
}

.search-btn {
    background: linear-gradient(90deg, #1890ff, #00F0FF);
    border: none;
    color: #fff;
    height: 48px;
    width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.airdrop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.custom-card {
    background: #0F111A;
    border: 1px solid #23242F;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    border-color: rgba(24, 144, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-top-right-radius: 16px;
    z-index: 2;
}

.ribbon-text {
    position: absolute;
    top: 10px;
    right: 5px;
    z-index: 3;
    color: #000;
    font-weight: bold;
    transform: rotate(45deg);
    font-size: 12px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1A1C26;
    border: 1px solid #333;
    object-fit: cover;
}

.card-title { font-size: 18px; font-weight: 600; color: #fff; margin: 0 0 8px; }

.card-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.card-social-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24,144,255,0.35), rgba(0,240,255,0.18));
    color: #fff;
    border: 1px solid rgba(24,144,255,0.5);
    box-shadow: 0 6px 16px rgba(0, 240, 255, 0.18);
    transition: all 0.2s;
    font-size: 16px;
}

.card-social-link:hover {
    background: linear-gradient(135deg, rgba(24,144,255,0.6), rgba(0,240,255,0.35));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(24,144,255,0.35);
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.meta-title { color: #fff; font-weight: 700; }
.meta-label { color: #666; font-size: 12px; }

.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    margin: 0 4px;
    color: #fff;
}

.pagination .current {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
}

.footer {
    background: #08080a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 40px 0;
    text-align: center;
}

.detail-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

.breadcrumb {
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
    align-items: center;
}

.detail-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.detail-title-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.detail-title-left h1 { color: #fff !important; }

.detail-tags { display: flex; gap: 8px; margin-top: 8px; }

.tag {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.tag-primary { background: #f7b924; color: #000; }
.tag-success { background: #00e5cc; color: #000; }

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(24,144,255,0.35), rgba(0,240,255,0.18));
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(24,144,255,0.5);
    box-shadow: 0 8px 22px rgba(0, 240, 255, 0.2);
    font-size: 16px;
}

.social-icon:hover {
    background: linear-gradient(135deg, rgba(24,144,255,0.6), rgba(0,240,255,0.35));
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 10px 26px rgba(24,144,255,0.4);
}

.detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    margin-top: 20px;
}

.glass-card {
    background: rgba(21, 22, 33, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    padding: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child { border-bottom: none; }

.info-label { color: #fff; font-size: 14px; }
.info-value { color: #fff; font-weight: 600; font-size: 14px; }

.action-btn-primary {
    background: linear-gradient(90deg, #1890ff, #00F0FF);
    border: none;
    height: 44px;
    border-radius: 12px;
    font-weight: 700;
    color: #000;
    width: 100%;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
}

.action-btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    height: 44px;
    border-radius: 12px;
    color: #fff;
    width: 100%;
    font-weight: 500;
}

.steps { display: flex; flex-direction: column; gap: 16px; }
.step-title { font-weight: 600; color: #fff !important; font-size: 16px; margin-bottom: 6px; }
.step-desc { color: #fff !important; font-size: 14px; line-height: 1.7; }

.detail-section-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: #fff !important; }

.alert {
    background: rgba(24,144,255,0.1);
    border: 1px solid rgba(24,144,255,0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    margin-bottom: 24px;
}

.about-text { color: #fff; line-height: 1.8; }

.detail-container h2,
.detail-container h3,
.detail-container h4,
.detail-container h5,
.detail-container h6,
.detail-container p,
.detail-container li,
.detail-container span {
    color: #fff;
}

.detail-container .breadcrumb,
.detail-container .breadcrumb a {
    color: #fff !important;
}

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