
:root {
    --primary-color: #FF5E62;
    --secondary-color: #4F46E5;
    --accent-color: #06B6D4;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-body: #fafafa;
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 40px rgba(255, 94, 98, 0.08);
    --hover-shadow: 0 20px 50px rgba(255, 94, 98, 0.15);
    --border-radius: 20px;
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #FF5E62 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #4F46E5 100%);
    --gradient-footer: linear-gradient(180deg, #FF6B6B 0%, #FF5E62 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background: var(--gradient-primary);
    padding-bottom: 4rem;
    margin-bottom: -2rem; /* Overlap with content */
    border-bottom-left-radius: 50% 60px;
    border-bottom-right-radius: 50% 60px;
    overflow: hidden;
}

.hero-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40%;
    animation: rotate 20s infinite linear;
    z-index: 1;
}

.hero-wrapper::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 45%;
    animation: rotate 25s infinite linear reverse;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-header {
    padding-top: 2rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.main-header h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.last-updated {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Main Content Container */
.main-content {
    position: relative;
    z-index: 10;
}

/* Card Styling */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card-header {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.5rem 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Tabs */
.nav-pills .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.nav-pills .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
}

/* Filter Bar */
.filter-bar {
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3f2 100%);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    background-color: white;
    box-shadow: none;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 94, 98, 0.1);
}

/* Table */
.table-responsive {
    border-radius: 16px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #f1f5f9 0%, #e0f2fe 100%);
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 0.8rem;
    border: none;
}

.table tbody td {
    padding: 0.8rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-dark);
}

.domain-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

/* Buttons */
.btn-cta {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.3);
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 98, 0.4);
    color: white;
}

.btn-icon {
    background: white;
    border: 1px solid #e0e6ed;
    color: var(--text-light);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Badges */
.badge-age {
    padding: 0.4em 0.8em;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.badge-age-low {
    background-color: #f1f5f9;
    color: #64748b;
    font-weight: 500;
    border: 1px solid #cbd5e1;
}

.badge-age-high {
    background: var(--gradient-green);
    color: white;
    box-shadow: 0 2px 5px rgba(5, 150, 105, 0.4);
}

.badge-new {
    background: var(--gradient-accent);
    color: white;
    padding: 0.3em 0.7em;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-left: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Footer */
.footer-wrapper {
    margin-top: 3rem;
    background: var(--gradient-footer);
    padding: 3rem 0 2rem;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 100%);
}

.footer h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 6px;
    height: 20px;
}

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

/* Pagination */
.pagination .page-link {
    border: none;
    color: var(--text-light);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 94, 98, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wrapper {
        border-bottom-left-radius: 30% 50px;
        border-bottom-right-radius: 30% 50px;
        padding-bottom: 6rem;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table thead { display: none; }
    .table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 1rem;
    }
    .table td {
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 0.5rem 0;
    }
    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-light);
    }
}
