/**
 * Pizmonet Charts Pro - Main Stylesheet
 * Clean, Modern, Bootstrap-based Design
 */

/* ============================================
   VARIABLES & BASE
   ============================================ */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-color: #333333;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Heebo', 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--light-bg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
    background: var(--white) !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .navbar-brand {
        order: 1;
    }
    
    .navbar-collapse {
        order: 2;
    }
    
    .navbar-toggler {
        order: 3;
    }
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
}

.navbar-toggler {
    margin-left: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    color: var(--text-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: #e3f2fd;
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: #f1f3f5;
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   SEARCH SECTION
   ============================================ */

.search-section {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-tabs .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-width: 2px;
    transition: var(--transition);
}

.search-tabs .btn.active {
    background: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .form-control {
    border-width: 2px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.search-box {
    position: relative;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 500px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.live-search-results .card {
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
}

.live-search-results .list-group-item {
    border-left: none;
    border-right: none;
    transition: var(--transition);
    padding: 0.75rem 1rem;
}

.live-search-results .list-group-item:first-child {
    border-top: none;
}

.live-search-results .list-group-item:last-child {
    border-bottom: none;
}

.live-search-results .list-group-item:hover {
    background: var(--light-bg);
    padding-right: 1.25rem;
}

.live-search-results .list-group-item a {
    display: block;
    width: 100%;
}

/* Fix for search box container */
#homepage-search-form {
    position: relative;
}

/* ============================================
   GRADIENT BACKGROUNDS
   ============================================ */

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BREADCRUMB SECTION
   ============================================ */

.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
}

.breadcrumb-section h1 {
    color: var(--white);
    margin-bottom: 0;
}

.breadcrumb-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SONG & CHART DETAIL SECTIONS
   ============================================ */

.song-detail-section,
.chart-detail-section,
.artist-detail-section {
    background: var(--light-bg);
    min-height: 60vh;
}

/* Artist Page Specific */
.award-item {
    transition: var(--transition);
}

.award-item:hover {
    background: rgba(255,255,255,0.25) !important;
    transform: translateX(-3px);
}

.runner-up-item {
    transition: var(--transition);
}

.runner-up-item:hover {
    background: var(--light-bg);
    transform: translateX(3px);
}

/* Statistics Grid */
.stats-grid .stat-item {
    transition: var(--transition);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.stats-grid .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stats-grid .stat-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ============================================
   CARDS
   ============================================ */

.card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--primary-color);
}

/* ============================================
   CHART CARDS (No Image Layout)
   ============================================ */

.chart-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.chart-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.chart-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    align-self: flex-start;
}

.chart-card__content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chart-card__meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex: 1;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border-right: 3px solid var(--primary-color);
}

.chart-card__meta div {
    margin-bottom: 0.5rem;
}

.chart-card__meta div:last-child {
    margin-bottom: 0;
}

.chart-card__meta i {
    color: var(--primary-color);
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.chart-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chart-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.chart-card__button i {
    transition: transform 0.3s ease;
}

.chart-card__button:hover i {
    transform: translateX(-3px);
}

/* Responsive adjustments for chart cards */
@media (max-width: 768px) {
    .chart-card__content {
        padding: 1.5rem;
    }
    
    .chart-card__title {
        font-size: 1.25rem;
    }
    
    .chart-card__meta {
        font-size: 0.875rem;
        padding: 0.75rem;
    }
    
    .chart-card__button {
        padding: 0.75rem 1.5rem;
    }
}

/* ============================================
   CHART DETAIL SECTIONS
   ============================================ */

.chart-detail {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.chart-detail:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.chart-detail__header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--primary-color);
}

.chart-detail__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
}

.chart-detail__title i {
    margin-left: 0.5rem;
}

.chart-detail__meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.chart-table-wrapper {
    background: var(--white);
}

/* Credit Items */
.credit-item {
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent !important;
}

.credit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color) !important;
}

.credit-item h3 {
    color: var(--dark-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.credit-item h3 i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-left: 0.25rem;
}

.credit-item p {
    color: var(--dark-color) !important;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6;
}

.credit-item a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.credit-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
}

.credit-item a:hover {
    color: var(--primary-color);
}

.credit-item a:hover::after {
    width: 100%;
}

/* Band Members Special Styling */
.credit-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credit-item ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.credit-item ul li:last-child {
    border-bottom: none;
}

.credit-item ul li a {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--dark-color);
}

.credit-item ul li .text-muted {
    flex: 1;
    text-align: left;
    margin-right: 1rem;
    color: var(--text-muted) !important;
    font-weight: 400;
    font-size: 0.875rem;
}

/* Chart History List */
.chart-history-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.chart-history-list::-webkit-scrollbar {
    width: 6px;
}

.chart-history-list::-webkit-scrollbar-track {
    background: transparent;
}

.chart-history-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.chart-history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.chart-history-item {
    transition: var(--transition);
}

.chart-history-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(-3px);
}

/* Chart Run Visualization */
.chart-run {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chart-run .badge {
    min-width: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.chart-run .badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .chart-detail__header {
        padding: 1rem 1.5rem;
    }
    
    .chart-detail__title {
        font-size: 1.25rem;
    }
    
    .chart-history-list {
        max-height: 300px;
    }
}

/* ============================================
   CHART TABLE
   ============================================ */

.chart-table {
    font-size: 0.95rem;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0 !important;
}

.chart-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.chart-table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1.2rem 1rem;
    border: none;
    white-space: nowrap;
}

.chart-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
    background: white;
}

.chart-table tbody tr:nth-child(odd) {
    background: #f8f9fa;
}

.chart-table tbody tr:hover {
    background: linear-gradient(90deg, #e3f2fd 0%, #f3e5f5 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.chart-table tbody td {
    vertical-align: middle;
    padding: 1rem 1rem;
    border-color: #e9ecef;
}

/* Song Title Styling */
.chart-table tbody td a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.chart-table tbody td a:hover {
    color: #667eea;
    transform: translateX(3px);
}

/* Artist Name Styling */
.chart-table tbody td .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Rank Badge */
.chart-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.15rem;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.chart-table tbody tr:hover .chart-rank {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
}

/* Top 3 special ranks */
.chart-table tbody tr:nth-child(1) .chart-rank {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    font-size: 1.3rem;
    min-width: 50px;
    height: 50px;
}

.chart-table tbody tr:nth-child(2) .chart-rank {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
    font-size: 1.25rem;
    min-width: 48px;
    height: 48px;
}

.chart-table tbody tr:nth-child(3) .chart-rank {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
    font-size: 1.2rem;
    min-width: 46px;
    height: 46px;
}

/* Badge Styles */
.chart-table .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    color: white !important; /* Ensure text is white */
}

.chart-table .badge i {
    font-size: 0.75rem;
    color: white !important; /* Ensure icons are white */
    display: inline-block;
}

.chart-table .badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
}

.chart-table .badge.bg-success i {
    color: white !important;
}

.chart-table .badge.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
}

.chart-table .badge.bg-danger i {
    color: white !important;
}

.chart-table .badge.bg-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
}

.chart-table .badge.bg-secondary i {
    color: white !important;
}

.chart-table .badge.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
}

.chart-table .badge.bg-warning i {
    color: white !important;
}

.chart-table .badge.bg-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: white !important;
}

.chart-table .badge.bg-info i {
    color: white !important;
}

.chart-table .badge.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.chart-table .badge.bg-primary i {
    color: white !important;
}

/* ============================================
   AWARDS SECTION
   ============================================ */

/* Awards Header */
.awards-section {
    position: relative;
    padding: 3rem 0;
}

.awards-header {
    position: relative;
    z-index: 1;
}

.trophy-icon-lg {
    font-size: 4rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

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

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Award Cards */
.award-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
}

/* Award Card Header */
.award-card-header {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.award-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

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

.award-icon {
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

.award-title {
    color: #1f2937;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Award Card Body */
.award-card-body {
    padding: 2rem;
}

/* Winner Section */
.winner-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.winner-section h4,
.winner-section a {
    position: relative;
    z-index: 1;
}

.winner-section::before {
    content: '🏆';
    position: absolute;
    font-size: 8rem;
    right: -1rem;
    top: -2rem;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.winner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.winner-badge i {
    font-size: 1rem;
}

.winner-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.winner-station {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.winner-station i {
    color: #f59e0b;
}

/* Runners-up Section */
.runners-up-section {
    margin-top: 1.5rem;
}

.runners-up-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.runners-up-header i {
    color: #f59e0b;
    font-size: 1rem;
}

.runners-up-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.runner-up-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.runner-up-item:hover {
    background: white;
    border-color: #e5e7eb;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.runner-up-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(107, 114, 128, 0.3);
}

.runner-up-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.runner-up-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.05rem;
}

.runner-up-station {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.runner-up-station i {
    color: #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {
    .trophy-icon-lg {
        font-size: 3rem;
    }
    
    .award-title {
        font-size: 1.2rem;
    }
    
    .winner-name {
        font-size: 1.5rem;
    }
    
    .award-card-header,
    .award-card-body {
        padding: 1.5rem;
    }
}

/* ============================================
   CHART FILTERS AJAX
   ============================================ */

.charts-filter-section {
    position: relative;
    transition: all 0.3s ease;
}

.charts-filter-section.loading {
    opacity: 0.6;
    pointer-events: none;
}

.charts-filter-section .form-select,
.charts-filter-section .form-control {
    transition: all 0.3s ease;
}

.charts-filter-section .form-select:focus,
.charts-filter-section .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#filter-submit-btn {
    position: relative;
    overflow: hidden;
}

#filter-submit-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#filter-submit-btn:hover:before {
    width: 300px;
    height: 300px;
}

.charts-grid-section {
    transition: opacity 0.3s ease;
    min-height: 400px;
}

.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   CHARTS FILTER SECTION
   ============================================ */

.charts-filter-section {
    position: relative;
    transition: opacity 0.3s ease;
}

.charts-filter-section.filtering {
    opacity: 0.6;
    pointer-events: none;
}

.weekly-filter {
    transition: all 0.3s ease;
}

/* Chart Grid Transitions */
#charts-grid {
    min-height: 400px;
    transition: opacity 0.3s ease;
}

/* Chart card animations handled in main .chart-card definition above */

/* Search Results */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card .stretched-link {
    color: inherit;
}

.card .stretched-link:hover {
    color: var(--primary-color);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

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

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    margin-top: 5rem;
}

.site-footer .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.site-footer .widget ul {
    list-style: none;
    padding: 0;
}

.site-footer .widget ul li {
    margin-bottom: 0.75rem;
}

.site-footer .widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.site-footer .widget ul li a:hover {
    color: var(--white);
    padding-right: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-link {
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
}

/* ============================================
   UTILITIES
   ============================================ */

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .chart-card__image {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .search-tabs {
        flex-direction: column;
    }
    
    .search-tabs .btn {
        width: 100%;
    }
    
    .chart-card__image {
        height: 160px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
    margin-top: 4rem;
}

.site-footer h5 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.footer-links {
    padding-right: 0;
    padding-left: 0;
}

.footer-links li {
    transition: var(--transition);
}

.footer-links a {
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--white) !important;
    padding-right: 0.5rem;
}

.footer-links a i {
    transition: var(--transition);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover i {
    transform: translateX(-3px);
}

.social-links a {
    transition: var(--transition);
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-links a i {
    font-size: 1.25rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   SEARCH MODAL
   ============================================ */

#searchModal .modal-content {
    border-radius: 1rem !important;
    overflow: hidden;
}

#searchModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

#searchModal .modal-title {
    margin: 0;
}

#searchModal .form-control {
    border-color: #e3f2fd;
    font-size: 1.1rem;
}

#searchModal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.1);
}

#searchModal .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

#searchModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* RTL Border Radius Fix for Search Input Group */
.search-input-group .form-control {
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

.search-input-group .btn {
    border-radius: 0.5rem 0 0 0.5rem !important;
}

#searchModal .modal-header .btn-close {
    opacity: 0.9;
}

#searchModal .modal-header .btn-close:hover {
    opacity: 1;
}

/* ============================================
   STAT CARDS (About & Contact Pages)
   ============================================ */

.stat-card {
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.stat-card .stat-icon i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   ENHANCED BUTTONS
   ============================================ */

/* Search Tab Buttons */
.search-tab-btn {
    padding: 14px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #d0d7ff;
    background: white;
    color: #667eea;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.search-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.search-tab-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: none;
    color: #5568d3;
    background: #f5f7ff;
}

.search-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    font-weight: 700;
}

.search-tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    color: white;
    background: linear-gradient(135deg, #5568d3 0%, #6a42a0 100%);
}

.search-tab-btn i {
    transition: transform 0.3s ease;
    margin-left: 8px;
    position: relative;
    z-index: 1;
}

.search-tab-btn:hover i {
    transform: scale(1.15);
}

/* Primary Gradient Button */
.btn-primary-gradient {
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: none;
    color: white;
}

.btn-primary-gradient:hover::before {
    opacity: 1;
}

.btn-primary-gradient i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-primary-gradient span,
.btn-primary-gradient::after {
    position: relative;
    z-index: 1;
}

.btn-primary-gradient:hover i {
    transform: translateX(-3px);
}

.btn-primary-gradient:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Large Size */
.btn-primary-gradient.btn-lg {
    padding: 16px 50px;
    font-size: 1.2rem;
}

/* ============================================
   CONTACT PAGE STYLING
   ============================================ */

/* Contact info icons - softer colors */
.chart-detail .chart-table-wrapper i.bi {
    /*color: #667eea !important;*/
    margin-left: 12px;
}

.chart-detail .chart-table-wrapper .d-flex.align-items-start {
    gap: 15px;
}

/* Email links - dark color instead of blue */
.contact-email-link {
    color: #2c3e50 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-email-link:hover {
    color: #667eea !important;
    text-decoration: underline;
}

/* Contact form labels with icons */
.contact-form label i {
    margin-left: 8px;
}

/* Form field icons spacing */
form label.fw-bold i {
    margin-left: 8px;
}

/* Chart detail header icons */
.chart-detail__header i {
    margin-left: 8px;
}

/* Social media buttons - improved styling (Contact Page) */
.chart-detail .chart-table-wrapper .btn.rounded-circle {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

.chart-detail .chart-table-wrapper .btn.rounded-circle:hover {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, #5568d3 0%, #6a42a0 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.chart-detail .chart-table-wrapper .btn.rounded-circle i {
    transition: transform 0.3s ease;
}

.chart-detail .chart-table-wrapper .btn.rounded-circle:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Social media buttons - improved styling (Footer) */
.social-links a {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* ============================================
   SEARCH PAGE STYLING
   ============================================ */

/* Hero Search Button with Gradient */
.btn-gradient-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-search:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a42a0 100%);
    color: white;
    transform: translateY(-2px);
}

.btn-gradient-search i {
    font-size: 1.2rem;
}

.search-hero-group .form-control {
    background: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
}

.search-hero-group .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    border-color: #667eea !important;
    border-width: 2px;
}

/* Search Result Cards - Premium Design */
.search-result-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.search-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.search-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-card:hover .search-card-img img {
    transform: scale(1.1);
}

.search-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.search-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.search-card-date {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-card-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.search-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-card-title a:hover {
    color: #667eea;
}

.search-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.search-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.search-card-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a42a0 100%);
    color: white;
    transform: translateY(-2px);
}

.search-card-btn span {
    position: relative;
    z-index: 1;
}

.search-card-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.search-card-btn:hover i {
    transform: translateX(-3px);
}

/* ============================================
   BLOG POST STYLING
   ============================================ */

/* Post Meta - Better Icon Spacing */
.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-meta i {
    font-size: 1rem;
    opacity: 0.8;
}

/* Related Posts - Better Cards */
.related-posts .card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-posts .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.related-posts .card .text-primary {
    color: #667eea !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.related-posts .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.related-posts .btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a42a0 100%);
}

/* ============================================
   CONTACT PAGE - FIXED SOCIAL BUTTONS
   ============================================ */

/* Contact Page Social Buttons - Clean and Perfect */
.chart-detail .chart-table-wrapper .btn.rounded-circle {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
}

.chart-detail .chart-table-wrapper .btn.rounded-circle:hover {
    transform: translateY(-4px) scale(1.05) !important;
    background: linear-gradient(135deg, #5568d3 0%, #6a42a0 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

.chart-detail .chart-table-wrapper .btn.rounded-circle i {
    font-size: 1.4rem !important;
    line-height: 1 !important;
    transition: transform 0.3s ease !important;
    color: white !important;
}

.chart-detail .chart-table-wrapper .btn.rounded-circle:hover i {
    transform: scale(1.2) rotate(5deg) !important;
}

/* ========================================
   BLOG PAGE ENHANCEMENTS
   ======================================== */

/* Widget Cards */
.widget-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.widget-header {
    position: relative;
    overflow: hidden;
}

.widget-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.widget-header:hover::after {
    left: 100%;
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
    padding: 8px;
    margin: -8px;
    border-radius: 8px;
}

.hover-lift:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(-5px);
}

.hover-tag {
    display: inline-block;
    transition: all 0.3s ease;
}

.hover-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Rank Badge Animation */
.rank-badge {
    transition: all 0.3s ease;
}

.hover-lift:hover .rank-badge {
    transform: scale(1.15) rotate(5deg);
}

/* Social Share Buttons */
.social-share .btn {
    transition: all 0.3s ease;
}

.social-share .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Post Meta Icons */
.post-meta i {
    font-size: 1rem;
    opacity: 0.85;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
}

/* Entry Content Typography */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a202c;
}

.entry-content h2 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #764ba2;
}

.entry-content ul,
.entry-content ol {
    padding-right: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-right: 4px solid #667eea;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f5f7ff;
    font-style: italic;
    color: #555;
}

.entry-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.entry-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: #f8f8f2;
}

/* Featured Image */
.featured-image img {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-image img:hover {
    transform: scale(1.02);
}

/* Post Tags */
.post-tags .badge {
    transition: all 0.3s ease;
    padding: 8px 14px;
    font-size: 0.9rem;
    border: 2px solid #e0e0e0;
}

.post-tags .badge:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    transition: all 0.3s ease;
}

.author-bio:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.author-avatar img {
    transition: transform 0.3s ease;
}

.author-bio:hover .author-avatar img {
    transform: scale(1.1) rotate(5deg);
}

/* Post Navigation */
.post-navigation .btn {
    padding: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
}

.post-navigation .btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.post-navigation .btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Comments Section */
.comments-section {
    border-radius: 12px;
}

.comment-list .comment {
    padding: 1.5rem;
    border-right: 3px solid #667eea;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.comment-author {
    font-weight: 700;
    color: #667eea;
}

.comment-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Related Posts */
.related-posts .card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.related-posts .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: #667eea;
}

.related-posts .card img {
    transition: transform 0.5s ease;
}

.related-posts .card:hover img {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .entry-content {
        font-size: 1rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .post-meta {
        font-size: 0.85rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .widget-card {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   ABOUT PAGE - STATISTICS ICONS
   ============================================ */

/* Ensure stat icons are visible and properly styled on About page */
.about-content .stat-card .stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.about-content .stat-card .stat-icon i {
    color: white !important;
    display: inline-block !important;
    font-size: 3.5rem !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-family: "bootstrap-icons" !important;
    font-weight: normal !important;
    font-style: normal !important;
}

/* Ensure Bootstrap Icons font is properly applied */
.about-content .stat-card .stat-icon i.bi {
    font-family: "bootstrap-icons" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
}

/* Ensure stat numbers and labels are centered on About page */
.about-content .stat-card h2,
.about-content .stat-card p {
    text-align: center;
}

/* ============================================
   CONTACT PAGE - ICON ALIGNMENT
   ============================================ */

/* Fix contact page icon alignment for RTL */
.contact-content .chart-table-wrapper .d-flex.align-items-start {
    align-items: flex-start;
    gap: 12px;
}

.contact-content .chart-table-wrapper .d-flex.align-items-start i.bi {
    flex-shrink: 0;
    color: #667eea !important;
    font-size: 1.5rem !important;
    margin-top: 4px;
    margin-left: 12px;
    margin-right: 0;
    display: inline-block;
    line-height: 1;
}

/* Ensure social media icons are properly aligned on Contact page */
.contact-content .chart-table-wrapper .d-flex.justify-content-center {
    align-items: center;
    gap: 1rem;
}

.contact-content .chart-table-wrapper .btn.rounded-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
}

.contact-content .chart-table-wrapper .btn.rounded-circle i {
    font-size: 1.5rem !important;
    color: white !important;
    display: inline-block !important;
    line-height: 1;
}

/* ============================================
   CONTACT FORM - BUTTON ICON STYLING
   ============================================ */

/* Ensure contact form submit button icon is white and visible */
.contact-content button[type="submit"] i,
.contact-content .btn[type="submit"] i,
#pizmonet-contact-form button[type="submit"] i {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Hover effect for submit button */
.contact-content button[type="submit"]:hover i,
.contact-content .btn[type="submit"]:hover i,
#pizmonet-contact-form button[type="submit"]:hover i {
    color: white !important;
    opacity: 0.9 !important;
    transform: translateX(-3px);
    transition: all 0.3s ease;
}

