/* Base Styles */
:root {
    --primary-color: #5865f2;
    --secondary-color: #eb459e;
    --accent-color: #fee75c;
    --background: #0a0c1e;
    --card-bg: rgba(30, 35, 70, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --glow-primary: rgba(88, 101, 242, 0.6);
    --glow-secondary: rgba(235, 69, 158, 0.4);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Background Effects */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://grainy-gradients.vercel.app/noise.svg);
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.blur-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: var(--glow-primary);
    top: -200px;
    right: -100px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--glow-secondary);
    bottom: -100px;
    left: -150px;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: rgba(254, 231, 92, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0.6;
    filter: blur(40px);
    background: inherit;
    transform: scale(0.9);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 12, 30, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

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

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

.logo img {
    width: 40px;
    height: 40px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-secondary);
}

nav ul li a:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    border-radius: var(--border-radius);
    display: block;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 80px;
}

.showcase-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.showcase-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--accent-color);
}

.showcase-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Commands Section */
.commands {
    padding: 100px 0;
    /*background: rgba(20, 25, 50, 0.3);*/
}

.commands-tabs {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--primary-color);
}

.tabs-content {
    padding: 30px;
}

.tab-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tab-panel.active {
    display: grid;
}

.command-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.command-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.command-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.command-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.command-card .no-desc {
    color: #999;
    font-style: italic;
}

/* Team Section */
.team {
    padding: 100px 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}


.team-member {
    flex: 0 0 250px; /* Fixed width for each team member */
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.member-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(10, 12, 30, 0.8), rgba(10, 12, 30, 0.8)), url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.1;
    z-index: -1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background: rgba(5, 7, 20, 0.8);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-logo h3 {
    font-size: 1.3rem;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    nav {
        display: none;
    }

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

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    nav {
        display: none;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    body.modal-open {
        overflow: hidden;
    }

    .user-menu {
        position: relative;
        margin-left: auto;
    }

    .user-name {
        display: none;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        margin-right: 0;
    }

    /*.user-dropdown {*/
    /*  position: absolute;*/
    /*  top: 45px;*/
    /*  right: -10px;*/
    /*  width: 220px;*/
    /*  background: var(--card-bg);*/
    /*  border: 1px solid rgba(255, 255, 255, 0.1);*/
    /*  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);*/
    /*}*/
    .user-dropdown::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 15px;
        width: 16px;
        height: 16px;
        background: var(--card-bg);
        transform: rotate(45deg);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .user-dropdown-item {
        padding: 15px;
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .login-btn, .btn-discord {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .mobile-nav-links .login-btn {
        margin-top: 20px;
    }
}

/* Updated Feature Showcase Section */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 100px;
    background: rgba(30, 35, 70, 0.4);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.showcase-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.showcase-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    background: rgba(254, 231, 92, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.showcase-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(88, 101, 242, 0.3);
    transform: rotate(2deg);
    transition: var(--transition);
}

.showcase-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.showcase-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.showcase-image:hover img {
    transform: scale(1.05);
}

.showcase-image .glow {
    background: linear-gradient(45deg, var(--glow-primary), var(--glow-secondary));
}

@media (max-width: 1024px) {
    .feature-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

    .showcase-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--background);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.mobile-nav-links li a {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-nav-links .btn {
    margin-top: 10px;
    width: 100%;
}

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

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Keep the mobile menu button visible only on mobile */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    background: none;
    border: none;
}

@media (max-width: 1024px) {
    nav {
        display: none;
    }

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

/* Fix for body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Discord Tracking Demo */
.tracking-demo {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    height: 450px;
    width: 100%;
    /*max-width: 500px;*/
    margin: 0 auto;
    background: #36393f;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-window {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.discord-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #2f3136;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.discord-server-icon {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.discord-controls {
    display: flex;
    gap: 8px;
}

.discord-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.discord-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;


}

.discord-message {
    display: flex;
    gap: 15px;
    animation: fadeIn 0.5s ease-out;
}

.discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-content {
    flex: 1;
}

.discord-name {
    font-weight: 600;
    color: #5865f2;
    margin-bottom: 5px;
}

.tracking-alert {
    background: rgba(47, 49, 54, 0.6);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.alert-header i {
    color: var(--accent-color);
}

.player-card {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.player-status {
    font-weight: 500;
    margin-bottom: 3px;
}

.player-status.started {
    color: #43b581;
}

.player-status.stopped {
    color: #f04747;
}

.game-name {
    font-weight: 500;
    color: #b9bbbe;
    margin-bottom: 5px;
}

.timestamp {
    font-size: 0.8rem;
    color: #72767d;
}

.playtime {
    font-size: 0.8rem;
    color: #72767d;
    margin-top: 5px;
}

.new-message {
    opacity: 0;
    animation: slideIn 0.5s ease-out forwards;
    animation-delay: 1s;
}

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

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

/* Add this to the existing glow class */
.tracking-demo .glow {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
}

.discord-messages.is-typing::after {
    content: '';
    display: block;
    height: 30px;
    margin-top: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='30' viewBox='0 0 40 30'%3E%3Cstyle%3E.dot %7B fill: %23b9bbbe; animation: pulse 1.5s infinite ease-in-out; %7D .dot:nth-child(2) %7B animation-delay: 0.2s; %7D .dot:nth-child(3) %7B animation-delay: 0.4s; %7D @keyframes pulse %7B 0%25, 100%25 %7B opacity: 0.4; transform: scale(1); %7D 50%25 %7B opacity: 1; transform: scale(1.1); %7D %7D%3C/style%3E%3Ccircle class='dot' cx='10' cy='15' r='4'/%3E%3Ccircle class='dot' cx='20' cy='15' r='4'/%3E%3Ccircle class='dot' cx='30' cy='15' r='4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 1;
}

.discord-messages {
    scroll-behavior: smooth;
}

/* Typing indicator animation */
.discord-messages::after {
    content: '';
    display: block;
    height: 30px;
    margin-top: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='30' viewBox='0 0 40 30'%3E%3Cstyle%3E.dot %7B fill: %23b9bbbe; animation: pulse 1.5s infinite ease-in-out; %7D .dot:nth-child(2) %7B animation-delay: 0.2s; %7D .dot:nth-child(3) %7B animation-delay: 0.4s; %7D @keyframes pulse %7B 0%25, 100%25 %7B opacity: 0.4; transform: scale(1); %7D 50%25 %7B opacity: 1; transform: scale(1.1); %7D %7D%3C/style%3E%3Ccircle class='dot' cx='10' cy='15' r='4'/%3E%3Ccircle class='dot' cx='20' cy='15' r='4'/%3E%3Ccircle class='dot' cx='30' cy='15' r='4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    animation: fadeInOut 3s infinite;
}


@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    30%, 70% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tracking-demo {
        max-width: 100%;
        height: 400px;
    }
}

/* Modern Discord-style scrollbar */
.discord-messages::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.discord-messages::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 4px;
}

.discord-messages::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.discord-messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

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

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Standard scrollbar properties for Firefox */
.discord-messages {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}


.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            125deg,
            rgba(10, 12, 30, 0.95) 0%,
            rgba(20, 25, 50, 0.95) 25%,
            rgba(30, 35, 70, 0.95) 50%,
            rgba(20, 25, 50, 0.95) 75%,
            rgba(10, 12, 30, 0.95) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Keep the noise overlay but make it more subtle */
.noise {
    opacity: 0.03;
}

/* Adjust blur circles for the new background */
.blur-circle {
    opacity: 0.25;
    filter: blur(100px);
    animation: floatCircle 20s ease-in-out infinite;
}

.circle-1 {
    animation-delay: 0s;
}

.circle-2 {
    animation-delay: -5s;
}

.circle-3 {
    animation-delay: -10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-50px, 50px);
    }
    50% {
        transform: translate(50px, -30px);
    }
    75% {
        transform: translate(30px, 50px);
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 12, 30, 0.85);
    backdrop-filter: blur(8px);
    animation: modalBackgroundFade 0.3s ease;

}


@keyframes modalBackgroundFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.6rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body {
    padding: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}


/*.modal-close:hover,*/
/*.modal-close:focus {*/
/*  color: var(--text-primary);*/
/*  text-decoration: none;*/
/*  cursor: pointer;*/
/*}*/

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.kofi-container {
    margin-top: 20px;
}

.kofi-container iframe {
    display: block;
    transition: transform 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.modal-open {
    overflow: hidden;
}


/* Login Modal Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.3);
}

.form-actions {
    margin-top: 30px;
}

.login-message {
    margin-top: 15px;
    text-align: center;
    min-height: 20px;
    font-size: 0.9rem;
}

.login-options {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-options p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.discord-login-container {
    margin-top: 30px;
    text-align: center;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    margin: 0 auto;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(88, 101, 242, 0.4);
}

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

/* User menu styles */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    margin-right: 5px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    background: rgba(30, 35, 70, 0.87);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    width: 220px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    /*background: rgba(30, 35, 70, 0.7);*/
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    width: 16px;
    height: 16px;
    background: var(--card-bg);
    transform: rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);

}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--primary-color);
}

.user-dropdown-item i {
    color: var(--text-secondary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.user-dropdown-item.logout-btn {
    color: #f04747;
}

.user-dropdown-item.logout-btn:hover {
    background: rgba(240, 71, 71, 0.1);
    border-left: 3px solid #f04747;
}

.user-dropdown-item.logout-btn i {
    color: #f04747;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 5px 0;
}

/* Members-only content styles */
.members-only-content {
    display: none;
}

.logged-in .members-only-content {
    display: block;
}

.logged-out .members-only-content {
    display: none;
}

body.logged-out .user-menu {
    display: none;
}

body.logged-in .login-btn {
    display: none;
}

/* Responsive User Profile Section */
.user-profile-mobile {
    display: none;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.user-profile-mobile .user-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.user-profile-mobile .user-name {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.user-profile-mobile .user-role {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.user-profile-mobile .user-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .logged-in .mobile-nav.active .user-profile-mobile {
        display: block;
    }

    .logged-in .mobile-nav-links {
        padding-top: 0;
    }
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Make dropdowns more touch-friendly on mobile */
@media (max-width: 768px) {
    .user-dropdown-item {
        padding: 15px;
    }

    .user-menu:hover .user-dropdown {
        opacity: 0;
        visibility: hidden;
    }

    .user-menu.active .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/* FAQ Section */
.faq {
  padding: 100px 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    padding: 10px 25px 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 25px 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }
}
