:root {
    --primary: #1a237e;
    --primary-dark: #0d1536;
    --secondary: #c073ff;
    --accent: #00c853;
    --light: #f5f7ff;
    --dark: #212121;
    --gray: #757575;
    --card-bg: #ffffff;
    
    /* Updated gradient to match the colors */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}


        .page-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .page-title h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .page-title p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .page-title:after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--secondary);
            border-radius: 2px;
        }

        .filters {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 12px 25px;
            background: white;
            border: 2px solid var(--primary);
            border-radius: 50px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }

        .filter-btn.active, .filter-btn:hover {
            background: var(--primary);
            color: white;
        }

        .lotteries-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
            padding: 0 50px;
        }

        .lottery-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s;
        }

        .lottery-card:hover {
            transform: translateY(-10px);
        }

        .card-header {
            background: var(--gradient);
            color: white;
            padding: 20px;
            text-align: center;
        }

        .card-header h3 {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        .card-body {
            padding: 25px;
        }

        .lottery-details {
            list-style: none;
            margin-bottom: 25px;
        }

        .lottery-details li {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }

        .lottery-details li:last-child {
            border-bottom: none;
        }

        .detail-label {
            color: var(--gray);
            font-weight: 500;
        }

        .detail-value {
            font-weight: 600;
            color: var(--primary);
        }

        .prize-highlight {
            background: #f5f7ff;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            margin-bottom: 20px;
        }

        .prize-amount {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
        }

        .card-footer {
            padding: 0 25px 25px;
            display: flex;
            justify-content: space-between;
        }

        .action-btn {
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            outline: none;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        @media (max-width: 768px) {
            .page-title h1 {
                font-size: 2.3rem;
            }
            
            .lotteries-container {
                grid-template-columns: 1fr;
                padding: 0 10px;
            }
            
            .card-footer {
                flex-direction: column;
                gap: 15px;
            }
            
            .action-btn {
                width: 100%;
                text-align: center;
            }
        }

        @media (max-width: 576px) {
            .page-title h1 {
                font-size: 2rem;
            }
            
            .filters {
                flex-direction: column;
                align-items: center;
            }
            
            .filter-btn {
                width: 100%;
                text-align: center;
            }
        }
        
        
        
        /* Weekly Lotteries Section */
        .weekly-section {
            background: linear-gradient(45deg, rgba(0, 251, 228, 0.22) 0%, rgba(188, 189, 191, 0.32) 100%);
            padding: 50px 20px;
            border-radius: 20px;
            margin-bottom: 40px;
            box-shadow: var(--shadow);
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-title h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--primary);
            position: relative;
            display: inline-block;
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--secondary);
            border-radius: 2px;
        }

        .lottery-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .swiper {
            width: 100%;
            height: 400px;
        }

        .swiper-slide {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
        }

        .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .swiper-slide:hover img {
            transform: scale(1.05);
        }

        .carousel-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            border-radius: 0 0 15px 15px;
        }

        .carousel-container h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.8rem;
            margin-bottom: 5px;
        }

        .swiper-pagination-bullet {
            background: white;
            opacity: 0.5;
            width: 12px;
            height: 12px;
        }

        .swiper-pagination-bullet-active {
            background: var(--secondary);
            opacity: 1;
        }

        .swiper-button-next, .swiper-button-prev {
            color: white;
            background: rgba(0, 0, 0, 0.5);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 1.5rem;
        }

        .swiper-button-next:hover, .swiper-button-prev:hover {
            background: var(--secondary);
        }