/* =========================================================
   Common Theme CSS - Premium Look
========================================================= */

/* ================= Global Styles ================= */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --light-bg: #f8f9ff;
    --dark-bg: #1a1a2e;
    --text-light: #ffffff;
    --text-muted: #adb5bd;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease-in-out;
}

body {
    background: var(--light-bg);
    color: #333;
    overflow-x: hidden;
    padding-top: var(--bs-navbar-height, 80px);
}

/* ================= Typography ================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

p {
    line-height: 1.7;
}

/* ================= Buttons ================= */
.btn-gradient {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
    color: #fff;
}

.btn-outline-gradient {
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-image-slice: 1;
    color: #667eea;
}

.btn-outline-gradient:hover {
    background: var(--primary-gradient);
    color: #fff;
}

/* ================= Cards ================= */
.card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card {
    border: none;
    padding: 2rem;
    text-align: center;
}

.stats-card {
    background: var(--secondary-gradient);
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
}

.video-card img,
.blog-card img {
    border-radius: 15px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover img,
.blog-card:hover img {
    transform: scale(1.05);
}

/* ================= Hero Section ================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: var(--primary-gradient);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ================= Navbar ================= */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
}

.nav-link:hover {
    color: var(--primary-gradient) !important;
}

/* ================= Footer ================= */
.footer {
    background: var(--dark-bg);
    color: #fff;
}

.footer a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-gradient);
}

/* ================= Badges ================= */
.coin-badge {
    background: var(--success-gradient);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
}

/* ================= Forms ================= */
input,
button,
select,
textarea {
    border-radius: 10px;
    padding: 10px 15px;
}

/* ================= Utility Classes ================= */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-secondary {
    background: var(--secondary-gradient);
}

.bg-gradient-success {
    background: var(--success-gradient);
}



/* Custom Theme Button */
.ar-theme-btn {
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    background: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ar-theme-btn:hover {
    background: var(--accent) !important;
    color: var(--bg-main) !important; /* Inverts to background color on hover */
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

/* Optional: Smooth lift for the cards since you're using card-hover-lift */
.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border) !important;
}

.card-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: var(--accent) !important;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 100px 0 50px;
    }

    .feature-card,
    .stats-card {
        margin-bottom: 2rem;
    }
}
