 :root {
     --primary: #ff2a6d;
     --secondary: #00f5ff;
     --dark: #0a0a0f;
     --light: #ffffff;
     --gray: #1a1a2a;
     --accent: #ffcc00;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Montserrat', sans-serif;
     background-color: var(--dark);
     color: var(--light);
     line-height: 1.6;
     overflow-x: hidden;
     background-image:
         radial-gradient(circle at 20% 30%, rgba(255, 42, 109, 0.15) 0%, transparent 40%),
         radial-gradient(circle at 80% 70%, rgba(0, 245, 255, 0.15) 0%, transparent 40%);
 }

 h1,
 h2,
 h3,
 h4 {
     font-family: 'Oxanium', cursive;
     font-weight: 800;
     margin-bottom: 1rem;
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Header & Navigation */
 header {
     background-color: rgba(10, 10, 15, 0.9);
     backdrop-filter: blur(10px);
     position: fixed;
     width: 100%;
     z-index: 1000;
     padding: 15px 0;
     border-bottom: 1px solid var(--primary);
 }

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

 .logo {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo-text {
     font-family: 'Oxanium', cursive;
     font-size: 2rem;
     font-weight: 800;
     background: linear-gradient(45deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     text-shadow: 0 0 15px rgba(255, 42, 109, 0.5);
 }

 .nav-links {
     display: flex;
     gap: 30px;
 }

 .nav-links a {
     color: var(--light);
     text-decoration: none;
     font-weight: 600;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     position: relative;
 }

 .nav-links a:hover {
     color: var(--secondary);
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -5px;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--primary);
     transition: width 0.3s ease;
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 /* Hero Section */
 .hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     padding-top: 80px;
     position: relative;
     overflow: hidden;
 }

 .hero-content {
     text-align: center;
     max-width: 800px;
     margin: 0 auto;
     position: relative;
     z-index: 2;
 }

 .hero-title {
     font-size: 4rem;
     margin-bottom: 1.5rem;
     line-height: 1.2;
     animation: fadeInUp 1s ease;
 }

 .hero-title span {
     color: var(--primary);
     text-shadow: 0 0 20px rgba(255, 42, 109, 0.7);
 }

 .hero-subtitle {
     font-size: 1.5rem;
     margin-bottom: 2.5rem;
     color: var(--secondary);
     animation: fadeInUp 1s ease 0.2s forwards;
     opacity: 0;
 }

 .cta-buttons {
     display: flex;
     justify-content: center;
     gap: 20px;
     animation: fadeInUp 1s ease 0.4s forwards;
     opacity: 0;
 }

 .btn {
     padding: 15px 30px;
     border-radius: 50px;
     font-weight: 600;
     text-decoration: none;
     text-transform: uppercase;
     letter-spacing: 1px;
     transition: all 0.3s ease;
     font-size: 1.1rem;
     display: inline-flex;
     align-items: center;
     gap: 10px;
 }

 .btn-primary {
     background: linear-gradient(45deg, var(--primary), #ff5e9a);
     color: white;
     box-shadow: 0 5px 15px rgba(255, 42, 109, 0.4);
 }

 .btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(255, 42, 109, 0.6);
 }

 .btn-secondary {
     background: transparent;
     color: var(--secondary);
     border: 2px solid var(--secondary);
     box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
 }

 .btn-secondary:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
     background: rgba(0, 245, 255, 0.1);
 }

 /* Features Section */
 .features {
     padding: 100px 0;
     background-color: rgba(26, 26, 42, 0.5);
 }

 .section-title {
     text-align: center;
     font-size: 2.5rem;
     margin-bottom: 3rem;
 }

 .section-title span {
     color: var(--secondary);
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }

 .feature-card {
     background: linear-gradient(145deg, rgba(26, 26, 42, 0.8), rgba(10, 10, 15, 0.8));
     border-radius: 15px;
     padding: 30px;
     text-align: center;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     border: 1px solid rgba(255, 42, 109, 0.3);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
 }

 .feature-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
     border-color: var(--primary);
 }

 .feature-icon {
     font-size: 3rem;
     margin-bottom: 20px;
     color: var(--secondary);
     text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
 }

 .feature-title {
     font-size: 1.5rem;
     margin-bottom: 15px;
     color: var(--primary);
 }

 /* Tutorials Section */
 .tutorials {
     padding: 100px 0;
 }

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* For mobile devices */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
    }
}

/* For tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For desktops */
@media (min-width: 1025px) {
    .video-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

 .video-card {
     background: var(--gray);
     border-radius: 10px;
     overflow: hidden;
     transition: transform 0.3s ease;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
     border: 1px solid rgba(255, 42, 109, 0.2);
 }

 .video-card:hover {
     transform: translateY(-5px);
     border-color: var(--primary);
 }

 .video-thumb {
     position: relative;
     height: 200px;
     overflow: hidden;
 }

 .video-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

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

 .play-btn {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 60px;
     height: 60px;
     background: rgba(255, 42, 109, 0.8);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.5rem;
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .video-card:hover .play-btn {
     opacity: 1;
 }

 .video-info {
     padding: 20px;
 }

 .video-title {
     font-size: 1.2rem;
     margin-bottom: 10px;
     color: var(--light);
 }

 .video-meta {
     display: flex;
     justify-content: space-between;
     color: var(--secondary);
     font-size: 0.9rem;
 }

/* Pagination Outer Container */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

/* Inner pagination flex wrapper */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Pagination Buttons */
.pagination-btn {
    background: #2c2f3a;         /* dark card tone */
    color: #b0b3c1;              /* muted gray text */
    border: none;
    border-radius: 12px;         /* round edges like your image */
    width: 38px;
    height: 38px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #3a3f4b;
    color: #ffffff;
}

/* Active page button */
.pagination-btn.active {
    background: #ff2a6d; /* accent color */
    color: #fff;
}

/* Disabled states */
.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Ellipsis styling */
.pagination-ellipsis {
    color: #7f8490;
    padding: 0 6px;
    font-size: 16px;
}

/* Optional subtle hover lift */
.pagination-btn:not(.disabled):hover {
    transform: translateY(-1px);
}

/* Responsive: wrap or shrink gracefully */
@media (max-width: 500px) {
    .pagination {
        gap: 4px;
    }
    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 10px;
    }
}


 /* Resources Section */
 .resources {
     padding: 100px 0;
     background-color: rgba(26, 26, 42, 0.5);
 }

 .resources-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-top: 50px;
 }

 .resource-card {
     background: linear-gradient(145deg, rgba(26, 26, 42, 0.8), rgba(10, 10, 15, 0.8));
     border-radius: 15px;
     padding: 30px;
     text-align: center;
     transition: transform 0.3s ease;
     border: 2px solid transparent;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     background-clip: padding-box;
     position: relative;
 }

 .resource-card::before {
     content: '';
     position: absolute;
     top: 0;
     right: 0;
     bottom: 0;
     left: 0;
     z-index: -1;
     margin: -2px;
     border-radius: inherit;
     background: linear-gradient(45deg, var(--primary), var(--secondary));
 }

 .resource-card:hover {
     transform: translateY(-10px);
 }

 .resource-icon {
     font-size: 3rem;
     margin-bottom: 20px;
     color: var(--primary);
 }

 .resource-title {
     font-size: 1.5rem;
     margin-bottom: 15px;
     color: var(--secondary);
 }

 .download-btn {
     margin-top: 20px;
     padding: 12px 25px;
     background: linear-gradient(45deg, var(--primary), #ff5e9a);
     color: white;
     border: none;
     border-radius: 50px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     display: inline-flex;
     align-items: center;
     gap: 10px;
 }

 .download-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(255, 42, 109, 0.6);
 }

 /* Modals */
 .modal {
     display: none;
     /* Hidden by default */
     position: fixed;
     z-index: 2000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.7);
     backdrop-filter: blur(5px);
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .modal-content {
     background: var(--gray);
     padding: 30px;
     border-radius: 15px;
     max-width: 600px;
     width: 90%;
     text-align: center;
     position: relative;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
     animation: fadeInUp 0.5s ease;
 }

 .modal-content h2 span {
     color: var(--secondary);
 }

 .modal-content input,
 .modal-content textarea {
     width: 100%;
     padding: 12px;
     margin: 10px 0;
     border: 1px solid var(--primary);
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.05);
     color: var(--light);
     font-size: 1rem;
 }

 .modal-content button {
     margin-top: 15px;
 }

 .close {
     position: absolute;
     top: 15px;
     right: 20px;
     font-size: 1.8rem;
     color: var(--primary);
     cursor: pointer;
     transition: 0.3s;
 }

 .close:hover {
     color: var(--secondary);
 }

 /* Schedule Calendar */
.calendar {
    margin-top: 25px;
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: rgba(26, 26, 42, 0.95);
    padding: 15px;
    position: relative;
    scrollbar-width: thin;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.calendar::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 15px 15px 0 0;
}

.calendar h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    position: relative;
    padding-bottom: 10px;
}

.calendar h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.calendar table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    text-align: center;
    margin-bottom: 5px;
}

.calendar th {
    padding: 15px 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.calendar th::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.calendar th:hover::after {
    left: 100%;
}

.calendar td {
    padding: 15px 8px;
    border-radius: 10px;
    background: rgba(10, 10, 15, 0.6);
    color: var(--light);
    min-width: 40px;
    height: 80px;
    vertical-align: top;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.calendar td:hover {
    background: rgba(255, 42, 109, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 42, 109, 0.2);
}

.calendar td .day-number {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.calendar .event {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    padding: 4px 6px;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar .upload {
    background: var(--secondary);
    color: var(--dark);
}

.calendar .break {
    background: var(--primary);
    color: white;
    opacity: 0.9;
}

.calendar .uploaded {
    background: #4caf50;
    color: white;
}

.calendar td.today {
    background: rgba(255, 255, 0, 0.639);
    border: 2px solid yellow;
    box-shadow: 0 0 15px rgb(225, 255, 0, 0.639);
}

.calendar td.today .day-number {
    color: white;
    font-weight: 800;
    text-shadow: 0 0 5px rgb(225, 255, 0, 0.639);
}

.calendar td.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar td.empty:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Responsive calendar */
@media (max-width: 768px) {
    .calendar {
        padding: 10px;
    }
    
    .calendar td {
        height: 60px;
        padding: 10px 5px;
        font-size: 0.9rem;
    }
    
    .calendar td .day-number {
        font-size: 1rem;
    }
    
    .calendar .event {
        font-size: 0.65rem;
        padding: 3px 4px;
    }
    
    .calendar th {
        padding: 10px 5px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .calendar td {
        height: 50px;
        padding: 8px 3px;
        font-size: 0.8rem;
    }
    
    .calendar td .day-number {
        font-size: 0.9rem;
    }
    
    .calendar .event {
        font-size: 0.6rem;
        padding: 2px 3px;
    }
    
    .calendar-nav button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .calendar h3 {
        font-size: 1.2rem;
    }
}

.calendar::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.calendar::-webkit-scrollbar-track {
    background: rgba(26, 26, 42, 0.5);
    border-radius: 4px;
    margin: 5px;
}

.calendar::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.calendar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff5e9a, #00d9ff);
}

/* Firefox support for calendar scrollbar */
.calendar {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(26, 26, 42, 0.5);
}

 /* Footer */
 footer {
     background-color: var(--dark);
     padding: 60px 0 30px;
     border-top: 1px solid rgba(255, 42, 109, 0.3);
 }

 .footer-content {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 40px;
     margin-bottom: 40px;
 }

 .footer-logo {
     font-family: 'Oxanium', cursive;
     font-size: 2rem;
     font-weight: 800;
     background: linear-gradient(45deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     margin-bottom: 20px;
     display: inline-block;
 }

 .social-links {
     display: flex;
     gap: 15px;
     margin-top: 20px;
 }

 .social-links a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: var(--gray);
     color: var(--light);
     transition: all 0.3s ease;
     text-decoration: none;
 }

 .social-links a:hover {
     background: var(--primary);
     transform: translateY(-3px);
 }

 .footer-heading {
     font-size: 1.2rem;
     margin-bottom: 20px;
     color: var(--secondary);
 }

 .footer-links {
     list-style: none;
 }

 .footer-links li {
     margin-bottom: 10px;
 }

 .footer-links a {
     color: var(--light);
     text-decoration: none;
     transition: color 0.3s ease;
 }

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

 .copyright {
     text-align: center;
     padding-top: 30px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 0.7);
     font-size: 0.9rem;
 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes pulse {
     0% {
         transform: scale(1);
         box-shadow: 0 0 0 0 rgba(255, 42, 109, 0.7);
     }

     70% {
         transform: scale(1.05);
         box-shadow: 0 0 0 10px rgba(255, 42, 109, 0);
     }

     100% {
         transform: scale(1);
         box-shadow: 0 0 0 0 rgba(255, 42, 109, 0);
     }
 }

 /* Particles */
 .particles {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
 }

 .particle {
     position: absolute;
     border-radius: 50%;
     background: var(--secondary);
     opacity: 0.5;
     animation: float 20s infinite linear;
 }

 @keyframes float {
     from {
         transform: translateY(0) rotate(0deg);
     }

     to {
         transform: translateY(-1000px) rotate(720deg);
     }
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .hero-title {
         font-size: 2.5rem;
     }

     .hero-subtitle {
         font-size: 1.2rem;
     }

     .cta-buttons {
         flex-direction: column;
         align-items: center;
     }

     .nav-links {
         display: none;
     }

     .mobile-menu-btn {
         display: block;
     }
 }

 /* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 3px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff5e9a, #00d9ff);
}

/* Firefox support for site scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark);
}
 ::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(45deg, #ff5e9a, #00d9ff);
 }

 /* Firefox support */
 * {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark);
}

 /* Back to Top Button */
 #backToTop {
     position: fixed;
     bottom: 30px;
     right: 30px;
     background: var(--primary);
     color: white;
     border: none;
     padding: 12px 16px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 1.2rem;
     display: none;
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 }

 #backToTop:hover {
     background: var(--secondary);
 }


 /* Hamburger Menu */
 .hamburger {
     display: none;
     flex-direction: column;
     justify-content: space-between;
     width: 30px;
     height: 21px;
     cursor: pointer;
     z-index: 1001;
 }

 .hamburger span {
     display: block;
     height: 3px;
     width: 100%;
     background: var(--light);
     border-radius: 3px;
     transition: all 0.3s ease;
     transform-origin: center;
 }

 .hamburger.active span:nth-child(1) {
     transform: translateY(9px) rotate(45deg);
     background: var(--primary);
 }

 .hamburger.active span:nth-child(2) {
     opacity: 0;
 }

 .hamburger.active span:nth-child(3) {
     transform: translateY(-9px) rotate(-45deg);
     background: var(--primary);
 }

 /* Mobile Navigation */
 .mobile-nav {
     position: fixed;
     top: 0;
     right: -100%;
     width: 80%;
     max-width: 400px;
     height: 100vh;
     background: rgba(26, 26, 42, 0.98);
     backdrop-filter: blur(10px);
     z-index: 999;
     padding: 80px 30px 30px;
     transition: right 0.4s ease;
     box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
     overflow-y: auto;
 }

 .mobile-nav.active {
     right: 0;
 }

 .mobile-nav-links {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .mobile-nav-links a {
     color: var(--light);
     text-decoration: none;
     font-size: 1.2rem;
     font-weight: 600;
     padding: 15px;
     border-radius: 8px;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 15px;
     border-left: 3px solid transparent;
 }

 .mobile-nav-links a:hover {
     background: rgba(255, 42, 109, 0.1);
     border-left: 3px solid var(--primary);
     color: var(--secondary);
     transform: translateX(5px);
 }

 .mobile-nav-links a i {
     width: 25px;
     text-align: center;
     font-size: 1.3rem;
 }

 .overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.7);
     backdrop-filter: blur(5px);
     z-index: 998;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
 }

 .overlay.active {
     opacity: 1;
     visibility: visible;
 }

 @media (max-width: 968px) {
     .nav-links {
         display: none;
     }

     .hamburger {
         display: flex;
     }

     .mobile-nav {
         display: block;
     }
 }

 /* Video Badges */
.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

/* Specific badge styles with unique animations */
.video-badge.trending {
    background: linear-gradient(45deg, #ff2a6d, #ff5e9a);
    color: white;
    animation: pulse 1.5s infinite, glowTrending 3s infinite;
}

.video-badge.popular {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: white;
    animation: pulse 2s infinite, glowPopular 4s infinite;
}

.video-badge.new {
    background: linear-gradient(45deg, #00a2ff, #55fff1);
    color: var(--dark);
    animation: shine 3s infinite, glowNew 2.5s infinite;
}

.video-badge.up-coming {
    background: linear-gradient(45deg, #6fff7b, #32d96c);
    color: var(--dark);
    animation: pulse 1.8s infinite, glowUpcoming 3.5s infinite;
}

.video-badge.hot {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    animation: pulse 1.2s infinite, glowHot 2s infinite;
}

.video-badge.out-now {
    background: linear-gradient(45deg, #f39c12, #f1c40f);
    color: var(--dark);
    animation: shine 2.5s infinite, glowOutNow 3s infinite;
}

/* Hover effects */
.video-card:hover .video-badge {
    animation-play-state: paused;
}

.video-card:hover .video-badge.trending {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.8);
}

.video-card:hover .video-badge.popular {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.8);
}

.video-card:hover .video-badge.new {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.8);
}

.video-card:hover .video-badge.up-coming {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(111, 255, 123, 0.8);
}

.video-card:hover .video-badge.hot {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

.video-card:hover .video-badge.out-now {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.8);
}

/* Animation keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes glowTrending {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 42, 109, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 42, 109, 0.9), 0 0 20px rgba(255, 42, 109, 0.6);
    }
}

@keyframes glowPopular {
    0%, 100% {
        box-shadow: 0 0 5px rgba(155, 89, 182, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(155, 89, 182, 0.9), 0 0 20px rgba(155, 89, 182, 0.6);
    }
}

@keyframes glowNew {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 162, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 162, 255, 0.9), 0 0 20px rgba(0, 162, 255, 0.6);
    }
}

@keyframes glowUpcoming {
    0%, 100% {
        box-shadow: 0 0 5px rgba(111, 255, 123, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(111, 255, 123, 0.9), 0 0 20px rgba(111, 255, 123, 0.6);
    }
}

@keyframes glowHot {
    0%, 100% {
        box-shadow: 0 0 5px rgba(231, 76, 60, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(231, 76, 60, 0.9), 0 0 20px rgba(231, 76, 60, 0.6);
    }
}

@keyframes glowOutNow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(243, 156, 18, 0.6);
    }
    50% {
        box-shadow: 0 0 15px rgba(243, 156, 18, 0.9), 0 0 20px rgba(243, 156, 18, 0.6);
    }
}

/* Shine effect for specific badges */
.video-badge.new,
.video-badge.out-now {
    background-size: 200% auto;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    ), var(--badge-gradient);
}

/* Add these gradient variables for the shine effect */
.video-badge.new {
    --badge-gradient: linear-gradient(45deg, #00a2ff, #55fff1);
}

.video-badge.out-now {
    --badge-gradient: linear-gradient(45deg, #f39c12, #f1c40f);
}
 
/* Badge ripple effect */
.badge-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Ensure badges have relative positioning for ripple effect */
.video-badge {
    position: absolute;
    overflow: hidden;
}

/* Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* Countdown Timer */
.countdown-container {
    background: linear-gradient(145deg, rgba(26, 26, 42, 0.9), rgba(10, 10, 15, 0.9));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--secondary);
    margin: 30px auto;
    max-width: 500px;
    text-align: center;
}

.countdown-title {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 70px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Oxanium', cursive;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upcoming-tutorial {
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid var(--primary);
    border-radius: 25px;
    padding: 15px 30px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 42, 109, 0.1);
    cursor: pointer;
}

.upcoming-tutorial::before {
    content: 'UPCOMING';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 2px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upcoming-tutorial strong {
    color: var(--secondary);
    font-weight: 700;
    margin-right: 8px;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.upcoming-tutorial:hover {
    animation: pulseUpcoming 2s infinite;
}

@keyframes pulseUpcoming {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 42, 109, 0.1);
        border-color: var(--primary);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 42, 109, 0.3);
        border-color: var(--secondary);
    }
}

/* Smooth section transitions */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Responsive Design */
@media (max-width: 768px) {
    .upcoming-tutorial {
        margin: 20px 15px;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .upcoming-tutorial strong {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .upcoming-tutorial {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .upcoming-tutorial::after {
        display: none; /* Hide icon on very small screens */
    }
}

