/* Color Palette:
    Deep Purple Background (Hero/Base): #210D3F
    Dark Gray (Mid Sections/About Us/Footer BG): #21252d (NEW CONSISTENT COLOR)
    Primary Accent (Violet/Magenta): #8A2BE2
    Secondary Accent (Lighter Purple for text/details): #C092FF
    Green accent for skill numbers/highlights: #00FFCC
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: #fff;
    margin-top: 80px;
    background: #210D3F;
    /* Deep Purple Background */
    overflow-x: hidden;
}

/* --- Navbar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 180px;
    background: #18092B;
    /* Darker background for nav */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-right: auto;
    margin-left: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 5px 0;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8A2BE2;
    /* Primary Accent on hover/active */
    border-bottom: 2px solid #8A2BE2;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;


}

/* Hide desktop CTA buttons (they are now only visible in the mobile toggle menu) */
.nav-buttons .login-btn,
.nav-buttons .signup-btn {
    display: none;
    background: #8A2BE2;
    /* Primary Accent Button */
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    margin-left: 15px;
}

/* --- Hero section (Deep Purple BG) --- */
.hero {
    height: 100vh;
    /* Background is now handled by the slider */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 100px 60px;
    position: relative;
    z-index: 1;
    /* Ensure hero content is above the background slider */
    background-color: #210D3F;
    /* Fallback color */
}

/* New: Animated Background Slider Styles */
.hero-bg-slider,
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-overlay {
    /* Dark overlay and fade, adapted to sit over the sliding images */
    background: linear-gradient(to right, #210D3F 45%, rgba(33, 13, 63, 0.1));
    z-index: 2;
}

.hero-bg-slider {
    z-index: 1;
}

/* Keyframes for the image fade transition */
@keyframes imageFade {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    8% {
        opacity: 1;
        transform: scale(1.0);
    }

    25% {
        opacity: 1;
        transform: scale(1.0);
    }

    33% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    opacity: 0;
    animation: imageFade 18s infinite ease-in;
    /* 3 slides * 6s display time = 18s cycle */
}

/* Placeholder Images - Use simple color placeholders to ensure compilation */
.slide-1 {
    /* Soccer Player Placeholder */
    background-image: url('./images/fancy-crave-qowyMze7jqg-unsplash.jpg');
}

.slide-2 {
    /* Basketball Action Placeholder */
    background-image: url('./images/Gemini_Generated_Image_gag9t6gag9t6gag9.png');
    animation-delay: 6s;
    /* Start 6 seconds after the first slide */
}

.slide-3 {
    /* Runner in Motion Placeholder */
    background-image: url('./images/jannik-mY2ZHBU6GRk-unsplash.jpg');
    animation-delay: 12s;
    /* Start 12 seconds after the first slide */
}

/* Ensure Hero Content is visible */
.hero-text,
.player-card {
    z-index: 3;
}


.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 500;
}

.hero-text span {
    color: #C092FF;
    /* Lighter Purple for accent words */
}

.hero-text p {
    margin-bottom: 30px;
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
    color: #DDDDDD;
    max-width: 450px;
}

.hero-text button {
    background: #8A2BE2;
    /* Primary Accent Button */
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Player Card */
.player-card {
    background: rgba(0, 0, 0, 0.5);
    /* Slightly darker for contrast */
    padding: 30px;
    border-radius: 20px;
    width: 330px;
    backdrop-filter: blur(10px);
    /* Reduced blur for performance */
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.player-card .header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.player-card h3 {
    font-size: 0.7rem;
    font-weight: 400;
    color: #C092FF;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.player-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0;
}

.player-card .details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-item {
    width: 48%;
    margin-bottom: 7px;
}

.detail-label {
    font-size: 0.5rem;
    color: #C092FF;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.detail-value {
    font-size: 0.7rem;
    font-weight: 500;
}

.detail-value span {
    font-weight: 700;
    color: #8A2BE2;
    /* Accent for key values like country */
}

.detail-item.full-width {
    width: 100%;
}

/* Overall Rating Section */
.overall-rating-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.overall-rating {
    font-size: 3rem;
    font-weight: 900;
    color: #DDDDDD;
    line-height: 1;
}

.overall-rating-label {
    font-size: 0.7rem;
    color: #C092FF;
    text-transform: uppercase;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 15px 5px;
    text-align: center;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-radius: 5px;
    background: #3a1c6e;
    /* Darker background for each stat item */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1;
    color: #00FFCC;
    /* Green accent for stat numbers */
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.5rem;
    color: #DDDDDD;
}

/* Next player arrow */
.arrow {
    position: absolute;
    top: 40%;
    right: -3px;
    transform: translateY(-50%);
    font-size: 2.5rem;
    cursor: pointer;
    color: #C092FF;
    transition: transform 0.3s;
    background: #18092B;
    border-radius: 50%;
    padding: 5px;
    line-height: 1;
    opacity: 0.8;
}

.arrow:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

/* --- Mid Sections (New Consistent Dark Gray BG: #21252d) --- */
.mid-sections {
    background-color: #21252d;
    /* Consistent Dark Gray Background */
    padding: 80px 5%;
    color: #fff;
}

.mid-sections .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
}

/* How It Works Grid */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 0px;
}

.step-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: #3a3f45;
    /* Slightly lighter gray background for steps */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.step-item i {
    font-size: 3rem;
    color: #C092FF;
    margin-bottom: 15px;
}

.step-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00FFCC;
    text-transform: uppercase;
}

.step-item p {
    font-size: 0.9rem;
    color: #DDDDDD;
}

/* Why Choose K2S (Two Columns) */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

#why-choose {
    background-color: #3a1c6e;
    padding-top: 0px;
}

#why-choose h2 {
    color: #fff;
    padding-top: 70px;
}

.why-category {
    padding: 30px;
    border-radius: 12px;
    background: #210D3F;
    /* Dark Purple BG for clarity */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.why-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #8A2BE2;
    text-transform: uppercase;
}

.why-category ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.why-category ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #DDDDDD;
}

.why-category ul li::before {
    content: '•';
    color: #00FFCC;
    font-weight: 900;
    position: absolute;
    left: 0;
}

.join-btn {
    background: #8A2BE2;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
    transition: background 0.3s;
    cursor: pointer;
}

.join-btn:hover {
    background: #a951ff;
}

/* --- About Us Section (Consistent Dark Gray BG) --- */
.about-us-section {
    background-color: #21252d;
    /* Consistent Dark Gray Background */
    padding: 80px 5%;
    color: #fff;
}

.about-us-section .container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-visuals {
    flex: 1;
    max-width: 450px;
}

.about-visuals h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
}

.color-boxes {
    display: flex;
    gap: 20px;
}

.box {
    width: 100px;
    height: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.box-purple {
    background-color: #8A2BE2;
}

.box-dark-gray {
    background-color: #4a4d52;
}

.box-teal {
    background-color: #00FFCC;
}

.about-content {
    flex: 2;
}

.about-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.mission-statement {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #DDDDDD;
}

.intro-text {
    font-weight: 600;
    margin-bottom: 30px;
    color: #DDDDDD;
}

.key-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point-title {
    font-weight: 700;
    font-size: 18px;
    color: #00FFCC;
    display: block;
    margin-bottom: 5px;
}

.point p {
    color: #DDDDDD;
}

/* --- CTA Section: Ready to take the next step? (mid-sections already applies Dark Gray) --- */
.cta-section {
    text-align: center;
    padding: 80px 5%;
    background-color: #21252d;
    /* Consistent Dark Gray */
}

.cta-section .section-header {
    color: #fff;
    margin-bottom: 40px;
}

.color-boxes-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.box-cta {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

/* CTA Colors */
.box-yellow {
    background-color: #FFC72C;
}

.box-orange {
    background-color: #FF7F00;
}

.box-teal-dark {
    background-color: #008080;
}

.box-green-dark {
    background-color: #00A98E;
}

.box-red {
    background-color: #E34234;
}

.cta-options {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
    color: #DDDDDD;
}

.cta-options span strong {
    color: #00FFCC;
}

.join-now-lg {
    background: #8A2BE2;
    color: #fff;
    padding: 15px 60px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.join-now-lg:hover {
    background: #a951ff;
    transform: translateY(-2px);
}

/* --- Testimonials Section (Consistent Dark Gray BG) --- */
.testimonial-section {
    background-color: #3a1c6e;
    /* Consistent Dark Gray Background */
    padding: 80px 5%;
    text-align: center;
}

.testimonial-section .section-header {
    color: #fff;
    margin-bottom: 50px;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
}

.nav-arrows {
    font-size: 2rem;
    color: #C092FF;
    cursor: pointer;
    transition: color 0.2s;
    padding: 10px;
    flex-shrink: 0;
}

.nav-arrows:hover {
    color: #8A2BE2;
}

.testimonial-card {
    background: #210D3F;
    border-radius: 12px;
    padding: 40px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 250px;
    justify-content: space-between;
}

.quote-box p {
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    /* Responsive font size */
    line-height: 1.5;
    color: #fff;
    margin-bottom: 25px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3a1c6e;
    /* Dark purple/gray avatar placeholder */
    border: 3px solid #00FFCC;
    flex-shrink: 0;
}

.user-info h4 {
    font-weight: 700;
    color: #00FFCC;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 0.9rem;
    color: #C092FF;
}

/* --- FOOTER STYLES (Consistent Dark Gray BG) --- */
.k2s-footer {
    background-color: #121314;
    /* Consistent Dark Gray */
    padding: 60px 5% 0;
    /* Padding at the top, none at the bottom */
    color: #DDDDDD;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

/* Left Section: Logo and Newsletter */
.footer-left {
    max-width: 400px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 20px;
}

.footer-left h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-left p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.subscribe-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    background-color: #18092B;
    /* Inner dark background */
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.subscribe-form input[type="email"]::placeholder {
    color: #8A2BE2;
}

.subscribe-btn {
    background: #8A2BE2;
    /* Primary Accent Button */
    color: #fff;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    text-transform: uppercase;
    flex-shrink: 0;
}

.subscribe-btn:hover {
    background: #C092FF;
}

/* Center Section: Graphic */
.footer-center-graphic {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /* Space for the graphic */
}

.purple-circle {
    width: 150px;
    height: 150px;
    background-color: #8A2BE2;
    /* Primary Accent Color */
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

/* Right Section: Contact Info */
.footer-right {
    min-width: 200px;
    text-align: right;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    font-size: 0.95rem;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #C092FF;
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.contact-item a,
.contact-item p {
    color: #DDDDDD;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #00FFCC;
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
    border-top: 1px solid #3a3f45;
    /* Subtle separator line */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.admin-link {
    color: #C092FF;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-link:hover {
    color: #00FFCC;
}

/* New: Mobile CTA Buttons */
.mobile-cta-buttons {
    display: none;
    /* Hidden on large screens */
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links.show .mobile-cta-buttons {
    display: flex;
    /* Show when the menu is toggled */
}

/* Ensure mobile buttons look good */
.mobile-cta-buttons .login-btn,
.mobile-cta-buttons .signup-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    background: #8A2BE2;
    /* Primary Accent Button */
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* --- DASHBOARD STYLES --- */
.dashboard-welcome {
    background-color: #21252d;
    padding: 60px 5%;
    color: #fff;
}

.dashboard-welcome .container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.welcome-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

#user-name {
    color: #00FFCC;
    font-weight: 800;
    font-size: 2rem;
}

.user-info h1 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.user-role {
    font-size: 1.1rem;
    color: #C092FF;
    font-weight: 500;
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #00FFCC;
    font-weight: 600;
}

.verification-status i {
    font-size: 1.2rem;
}

.user-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #8A2BE2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #DDDDDD;
    text-transform: uppercase;
    font-weight: 600;
}

/* Dashboard Grid and Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.dashboard-card {
    background: #2a2d35;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card h3 i {
    color: #8A2BE2;
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

/* Dashboard Buttons */
.dashboard-btn {
    background: #8A2BE2;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}
.poper1 {
  height:0px;
  width:0px;
  padding:0px 0px 0px;
background :transparent;
}
.droppop1 {
  float: left;
  overflow: hidden;
}
.popbtn2 {
	padding: 10px;
    background: #2d3e9a;
    color: #fff;
    border: none;
	width:85px;
    border-radius: 10px;
	margin-left:37px;
}.pop-content1 {
 display: none;
    background: #fff;
    position: fixed;
    top: 39%;
    left: 4%;
    padding: 75px;
    width: 91%;
    height: 300px;
    border-radius: 30px;
    font-size: 20px;
    box-shadow: 5px 20px 20px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.droppop1:hover .pop-content1 {
  display: block;
}
.popbar1 a:hover, .droppop1:hover .popbtn2 {
background:white;
color:black;
}
.dashboard-btn:hover {
    background: #a951ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.dashboard-btn.secondary {
    background: transparent;
    border: 2px solid #8A2BE2;
    color: #8A2BE2;
}

.dashboard-btn.secondary:hover {
    background: #8A2BE2;
    color: #fff;
}

/* Match and Tournament Items */
.match-list,
.tournament-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-item,
.tournament-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #8A2BE2;
}

.match-info h4,
.tournament-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.match-info p,
.tournament-item p {
    color: #DDDDDD;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.match-date,
.app-date,
.notification-time,
.message-time,
.feed-time,
.announcement-date,
.transaction-date {
    font-size: 0.8rem;
    color: #C092FF;
}

.match-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.match-status.upcoming {
    background: #00FFCC;
    color: #210D3F;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8A2BE2, #C092FF);
    border-radius: 4px;
}

.progress-text {
    font-size: 0.8rem;
    color: #DDDDDD;
}

/* Team and Performance Stats */
.team-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.team-rank {
    color: #00FFCC;
    font-weight: 600;
}

.team-stats {
    display: flex;
    gap: 20px;
}

.team-stat {
    text-align: center;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00FFCC;
}

.stat-desc {
    font-size: 0.8rem;
    color: #DDDDDD;
    text-transform: uppercase;
}

.performance-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.perf-stat {
    text-align: center;
}

.perf-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 5px;
}

.perf-label {
    font-size: 0.9rem;
    color: #DDDDDD;
}

/* Player Stats Grid */
.player-stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.player-stat-card {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    flex: 1;
}

.stat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8A2BE2, #C092FF);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
}

.stat-name {
    font-size: 0.9rem;
    color: #DDDDDD;
    font-weight: 600;
}

/* Squad Management */
.squad-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.squad-status {
    font-size: 0.9rem;
    color: #DDDDDD;
}

.squad-status p {
    margin-bottom: 5px;
}

/* Trial Opportunities */
.trial-opportunities {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trial-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #00FFCC;
}

.trial-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.trial-item p {
    color: #DDDDDD;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.trial-date {
    color: #C092FF;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.apply-btn {
    background: #00FFCC;
    color: #210D3F;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: #00e6b8;
    transform: translateY(-1px);
}

/* Sponsorship Apps */
.sponsorship-apps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #8A2BE2;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.app-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.app-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.app-status.pending {
    background: #FFC72C;
    color: #210D3F;
}

.app-status.approved {
    background: #00FFCC;
    color: #210D3F;
}

/* Sponsored List */
.sponsored-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sponsored-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sponsored-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.sponsored-info p {
    color: #DDDDDD;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.sponsor-amount {
    color: #00FFCC;
    font-weight: 600;
}

.sponsored-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sponsored-status.active {
    background: #00FFCC;
    color: #210D3F;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analytics-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.analytics-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 8px;
}

.analytics-label {
    font-size: 0.9rem;
    color: #DDDDDD;
    text-transform: uppercase;
}

/* ROI Metrics */
.roi-metrics {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    flex: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.9rem;
    color: #DDDDDD;
    text-transform: uppercase;
}

/* ROI Chart Placeholder */
.roi-chart-placeholder {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #DDDDDD;
}

/* Notifications and Messages */
.notification-list,
.message-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item,
.message-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notification-item i,
.message-item .message-sender {
    color: #8A2BE2;
    font-weight: 600;
    min-width: 120px;
}

.notification-content h4,
.message-sender {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.notification-content p,
.message-item p {
    color: #DDDDDD;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Wallet and Payments */
.wallet-balance {
    text-align: center;
    margin-bottom: 20px;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 5px;
}

.balance-label {
    font-size: 1rem;
    color: #DDDDDD;
    text-transform: uppercase;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff;
}

.payment-method i {
    font-size: 1.2rem;
    color: #00FFCC;
}

/* Transaction List */
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.transaction-info p {
    color: #DDDDDD;
    font-size: 0.8rem;
}

.transaction-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00FFCC;
}

.transaction-amount.negative {
    color: #ff6b6b;
}

/* Announcements and Community Feed */
.announcement-list,
.feed-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item,
.feed-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8A2BE2;
}

.announcement-item h4,
.feed-item .feed-user span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.announcement-item p,
.feed-item p {
    color: #DDDDDD;
    line-height: 1.5;
    margin-bottom: 8px;
}

.feed-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feed-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8A2BE2;
}

/* --- LOGIN/SIGNUP STYLES --- */
.login-section,
.signup-section {
    background-color: #21252d;
    padding: 195px 5%;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.login-section .container,
.signup-section .container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-form-container,
.signup-form-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    text-align: center;
}

.login-form-container h2,
.signup-form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8A2BE2;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-submit-btn,
.signup-submit-btn {
    width: 100%;
    background: #8A2BE2;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    margin-top: 20px;
}

.login-submit-btn:hover,
.signup-submit-btn:hover {
    background: #a951ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.signup-link,
.login-link {
    margin-top: 20px;
    color: #DDDDDD;
}

.signup-link a,
.login-link a {
    color: #8A2BE2;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover,
.login-link a:hover {
    color: #C092FF;
}

/* --- SCOUTING STYLES --- */
.scouting-hero {
    background: linear-gradient(135deg, #210D3F 0%, #3a1c6e 100%);
    padding: 100px 5%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.scouting-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/fancy-crave-qowyMze7jqg-unsplash.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.scouting-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.scouting-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scouting-hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 30px;
    color: #DDDDDD;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scouting-hero-content button {
    background: #8A2BE2;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.scouting-hero-content button:hover {
    background: #a951ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Profile, Upload, and Rating Forms */
.profile-form,
.upload-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.submit-btn {
    background: #8A2BE2;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    display: block;
    margin: 20px auto 0;
}

.submit-btn:hover {
    background: #a951ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Rating Display */
.rating-display {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.overall-rating {
    font-size: 4rem;
    font-weight: 900;
    color: #00FFCC;
    margin-bottom: 10px;
}

.rating-label {
    font-size: 1.2rem;
    color: #C092FF;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.stats-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stats-breakdown .stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
}

/* Opportunities */
.opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.opportunity {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    text-align: center;
}

.opportunity h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.opportunity p {
    color: #DDDDDD;
}

/* --- MARKETPLACE STYLES --- */
.marketplace-section {
    background-color: #21252d;
    padding: 80px 5%;
    color: #fff;
}

.marketplace-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.marketplace-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
    border-color: #8A2BE2;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-info .name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.product-info .price {
    font-size: 1rem;
    color: #00FFCC;
    font-weight: 600;
    margin-bottom: 15px;
}

.add-to-cart {
    background: #8A2BE2;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    background: #a951ff;
    transform: translateY(-2px);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cart-modal-content {
    background: #2a2d35;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s;
}
.cart-icon{margin-left:20px;}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-cart {
    color: #DDDDDD;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #8A2BE2;
}

.cart-items {
    padding: 20px 30px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 3px;
}

.cart-item-info p {
    color: #DDDDDD;
    font-size: 0.9rem;
}

.remove-item {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.remove-item:hover {
    background: #ff5252;
}

.cart-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.proceed-to-payment {
    background: #00FFCC;
    color: #210D3F;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.proceed-to-payment:hover {
    background: #00e6b8;
    transform: translateY(-2px);
}

/* --- FIX CATEGORIES SECTION IN HOME.HTML --- */
#categories {
    background: #3a1c6e !important;
    /* Override any conflicting background */
}

/* Scouting Hero Section */
.scouting-hero {
    background: #210D3F;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.scouting-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.scouting-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #DDDDDD;
    text-align: center;
}

.scouting-hero-content button {
    background: #8A2BE2;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 1051px) {

    /* Re-show the original buttons on desktop */
    .nav-buttons .login-btn,
    .nav-buttons .signup-btn {
        display: block;
    }

    /* Hide the mobile CTA group on desktop */
    .nav-links .mobile-cta-buttons {
        display: none !important;
    }
}

/* Cart Modal Styles */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.cart-modal-content {
    background: #21252d;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #3a3f45;
}

.cart-modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: #C092FF;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #00FFCC;
}

.cart-items {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #3a3f45;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #00FFCC;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #8A2BE2;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #C092FF;
}

.cart-item-quantity span {
    color: #fff;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #ff4757;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #3a3f45;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-total span {
    color: #00FFCC;
}

.proceed-to-payment {
    background: #8A2BE2;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.proceed-to-payment:hover {
    background: #C092FF;
}

/* Cart Button Styles */
.cart-btn {
    background: #8A2BE2;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-btn:hover {
    background: #C092FF;
}

.cart-btn i {
    font-size: 1.1rem;
}

/* Responsive for Cart Modal */
@media (max-width: 600px) {
    .cart-modal-content {
        width: 95%;
        margin: 20px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- ADMIN DASHBOARD STYLES --- */

.admin-table {
    display: block;                /* allows scrolling */
    overflow-x: auto;              /* horizontal scroll only on the table */
    white-space: nowrap;           /* prevents text from wrapping */
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
}
.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
    background: rgba(138, 43, 226, 0.1);
    color: #C092FF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.admin-table td {
    color: #DDDDDD;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.admin-btn {
    background: #8A2BE2;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.admin-btn:hover {
    background: #a951ff;
    transform: translateY(-1px);
}

.admin-btn.view-btn {
    background: #00FFCC;
    color: #210D3F;
}

.admin-btn.view-btn:hover {
    background: #00e6b8;
}

.admin-btn.delete-btn {
    background: #ff6b6b;
}

.admin-btn.delete-btn:hover {
    background: #ff5252;
}

.admin-btn.fulfill-btn {
    background: #00FFCC;
    color: #210D3F;
}

.admin-btn.fulfill-btn:hover {
    background: #00e6b8;
}

.admin-btn.edit-btn {
    background: #C092FF;
    color: #210D3F;
}

.admin-btn.edit-btn:hover {
    background: #b085e8;
}

.admin-btn.approve-btn {
    background: #00FFCC;
    color: #210D3F;
}

.admin-btn.approve-btn:hover {
    background: #00e6b8;
}

.admin-btn.reject-btn {
    background: #ff6b6b;
}

.admin-btn.reject-btn:hover {
    background: #ff5252;
}

.admin-btn.manage-btn {
    background: #8A2BE2;
}

.admin-btn.manage-btn:hover {
    background: #a951ff;
}

.status-active {
    color: #00FFCC;
    font-weight: 600;
}

.status-inactive {
    color: #ff6b6b;
    font-weight: 600;
}

.status-pending {
    color: #FFC72C;
    font-weight: 600;
}

.status-fulfilled {
    color: #00FFCC;
    font-weight: 600;
}

.announcement-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.announcement-form .form-group {
    display: flex;
    flex-direction: column;
}

.announcement-form label {
    font-weight: 600;
    color: #C092FF;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.announcement-form input,
.announcement-form select,
.announcement-form textarea {
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.announcement-form input:focus,
.announcement-form select:focus,
.announcement-form textarea:focus {
    outline: none;
    border-color: #8A2BE2;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.announcement-form textarea {
    resize: vertical;
    min-height: 80px;
}

.app-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 1051px) {

    /* Re-show the original buttons on desktop */
    .nav-buttons .login-btn,
    .nav-buttons .signup-btn {
        display: block;
    }

    /* Hide the mobile CTA group on desktop */
    .nav-links .mobile-cta-buttons {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    nav {
        padding: 20px 50px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }

    .welcome-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1050px) {
    nav {
        padding: 15px 25px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        background: #18092B;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Hide desktop CTA buttons on mobile */
    .nav-buttons .login-btn-desktop-hidden,
    .nav-buttons .signup-btn {
        display: none;
    }

    /* Hero Section Responsiveness */
    .hero {
        flex-direction: column;
        padding: 120px 20px;
        height: auto;
        /* Adjust background positioning for smaller screen view */
        margin-top: 100px;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .player-card {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    .arrow {
        top: initial;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }

    /* Mid Sections */
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    /* About Us */
    .about-us-section .container {
        flex-direction: column;
        gap: 20px;
    }

    .about-visuals {
        max-width: 100%;
        text-align: center;
    }

    .color-boxes {
        justify-content: center;
        margin-bottom: 40px;
    }

    .about-content {
        text-align: center;
    }

    .about-content h3,
    .mission-statement,
    .intro-text {
        text-align: center;
    }

    .key-points {
        text-align: left;
        /* Keep points readable */
    }

    /* Footer Responsiveness (Medium Screens) */
    .footer-content {
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 30px;
        text-align: center;
    }

    .footer-left {
        max-width: 90%;
        text-align: center;
        order: 1;
        /* Place left content first */
    }

    .subscribe-form {
        max-width: 450px;
        margin: 0 auto;
    }

    .footer-center-graphic {
        order: 2;
        width: 100%;
        height: auto;
        padding-bottom: 20px;
    }

    .footer-right {
        order: 3;
        /* Place contact info last */
        text-align: center;
        min-width: auto;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-label {
        margin-bottom: 0;
        /* Less space needed when centered */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    /* Testimonials */
    .testimonial-content {
        flex-direction: column;
        gap: 10px;
    }

    .nav-arrows {
        /* Move arrows to be discreetly placed above/below the card on mobile */
        width: auto;
        font-size: 1.5rem;
    }

    .testimonial-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .welcome-card {
        padding: 30px;
        gap: 20px;
    }

    .welcome-header {
        flex-direction: column;
        gap: 20px;
    }

    .quick-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .dashboard-card {
        padding: 10px;
    }

    .team-overview {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .team-stats {
        justify-content: center;
    }

    .performance-stats {
        flex-direction: column;
        gap: 10px;
    }

    .analytics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .roi-metrics {
        flex-direction: column;
        gap: 15px;
    }

    .notification-item,
    .message-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wallet-balance {
        text-align: center;
    }

    .payment-methods {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 600px) {

    /* Hero */
    .hero-text h1 {
        font-size: 2.2rem;
    }

    /* How It Works */
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-options {
        flex-direction: column;
        gap: 10px;
    }

    .join-now-lg {
        padding: 15px 40px;
        font-size: 1rem;
    }

    /* Footer Responsiveness (Small Screens) */
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"],
    .subscribe-btn {
        width: 100%;
        text-align: center;
        border-radius: 0;
    }

    .subscribe-btn {
        padding: 15px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
    }

    .footer-center-graphic {
        /* Hide the large graphic on very small screens to save space */
        display: none;
    }
}

@media (max-width: 480px) {
    .dashboard-welcome .container {
        padding: 40px 10px;
    }

    .welcome-card {
        padding: 20px;
    }

    .user-info h1 {
        font-size: 0.8rem;
    }

    .user-avatar img {
        width: 100px;
        height: 100px;
    }

    .mid-sections {
        padding: 60px 10px;
    }

    .section-header {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .dashboard-card h3 {
        font-size: 1.1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .perf-value {
        font-size: 1.5rem;
    }

    .analytics-value {
        font-size: 1.5rem;
    }

    .balance-amount {
        font-size: 2rem;
    }
}

#categories {
    background: #3a1c6e;
    position: relative;
    padding: 56px 0 64px 0;
    animation: fadeIn 2.5s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categories-row {
    position: relative;
    z-index: 1;
}

#categories h2 {
    text-align: center;
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 2.3rem);
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px #fff6, 0 1px 0 #481875aa;
    margin-left: auto;
    margin-right: auto;
}

#categories h2::after {
    content: '';
    display: block;
    margin: 12px auto 0 auto;
    width: 60px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #c2a1ec 60%, #9900ff 100%);
    opacity: 0.7;
}

.top-categories h2 {
    margin-bottom: 30px;
}

.top-categories .product {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px #e0e0e0;
    padding: 18px 20px 24px 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeIn 2.5s;
}

.top-categories .product:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px #b0c4de33;
}

.top-categories {
    background: #fffbe7;
    padding: 56px 0 64px 0;
    animation: fadeIn 2.5s;
    overflow: hidden;
}

/* Removed redundant .add-to-cart for categories, using marketplace version */

.categories-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    align-items: center;
}

.more-categories-container {
    text-align: center;
    margin-top: 40px;
}

.more-categories-btn {
    background: linear-gradient(90deg, #8A2BE2 60%, #C092FF 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: clamp(12px, 2vw, 15px) clamp(30px, 5vw, 40px);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
    transition: background 0.3s, color 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.more-categories-btn:hover,
.more-categories-btn:focus {
    background: linear-gradient(90deg, #C092FF 60%, #8A2BE2 100%);
    color: #fff;
    transform: scale(1.04);
}

.categories .product-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(138, 43, 226, 0.6);
    padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 18px) clamp(18px, 4vw, 24px) clamp(12px, 3vw, 18px);
    min-width: 210px;
    max-width: 220px;
    flex: 1 1 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
    border: 2px solid rgba(138, 43, 226, 0.7);
    position: relative;
    will-change: transform;
}

.categories .product-card:hover,
.categories .product-card:focus {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 1);
    border-color: #8A2BE2;
    z-index: 2;
}

.categories .product-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
}