@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Poppins:wght@600;700&display=swap');
.container {
    max-width: 1000px !important;
}
.body{
    font-size: 17px;
}

.card{
    margin-left: 40px;
}
:root{
        --primary: #F2C94C!important;
        --danger: #c94036!important;
        --link: #82CFFF;
        --text: #c2c2c2!important;
        --text-primary-dark: #d7d7d7!important;

}

.spacebar-test-area.idle {
    background: var(--dark-card);
    border-color: var(--primary)!important;
}
.cps-test-area.idle {
    background: var(--dark-card);
    border-color: var(--primary)!important;
}
/* Sidebar - hidden by default for page load */
.pt-sidebar {
    width: 280px;
    position: fixed;
    left: 20px;
    top: 20px;
    bottom: 20px;
    height: calc(100vh - 40px);
    background-color: #1E1E1E;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 1000;
    overflow-y: auto;
    font-size: 17px;

    /* Hidden state by default */
    opacity: 0;
    transform: translateX(-40px) translateZ(0);
    pointer-events: none;
    transition:
      opacity 360ms cubic-bezier(.2,.9,.2,1),
      transform 360ms cubic-bezier(.2,.9,.2,1);
    will-change: transform, opacity;
}

/* Visible state (added by JS) */
.pt-sidebar.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Optional subtle focus outline for accessibility */
.pt-sidebar:focus-within {
    box-shadow: 0 6px 20px rgba(0,0,0,0.16);
}

/* Enhanced Sidebar Header */
.pt-logo {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Animated background effect */
.pt-logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.pt-logo:hover::before {
    left: 100%;
}

/* Accent border */
.pt-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(45deg, #0008ff, #fffb00, #0008ff);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

/* Logo Text - Enhanced */
.pt-logo-text {
    font-family: 'Orbitron', sans-serif; /* Futuristic look */
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 8px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hover effect for logo */
.pt-logo-text:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 20px rgba(0, 247, 255, 0.5);
}

/* Subtle pulsing animation */
@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.pt-logo-text {
    animation: subtle-pulse 4s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pt-logo {
        margin: 10px;
        padding: 20px 15px;
    }
    
    .pt-logo-text {
        font-size: 20px;
        padding: 6px 15px;
    }
}

        .pt-section {
            border-bottom: 1px solid #2a2a2a;
            flex-shrink: 0;
        }

        .pt-section-header {
            padding: 18px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .pt-section-header:hover {
            background: #212c36;
            color: #e0e0e0;
            border-radius: 12px;
            margin: 1%;
        }

        .pt-section-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
            font-weight: 600;
            color: #e0e0e0;
        }

        .pt-section-icon {
            width: 20px;
            text-align: center;
        }

        .pt-section-arrow {
            color: #8a8a8a;
            transition: transform 0.3s ease;
        }

        .pt-section.open .pt-section-arrow {
            transform: rotate(90deg);
        }

        .pt-links {
            list-style: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .pt-section.open .pt-links {
            max-height: 1000px; /* Increased to accommodate all items */
        }

        .pt-link {
            padding: 12px 20px 12px 52px;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #b0b0b0;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;

        }

        .pt-link:hover {
            background: #212c36;
            color: #e0e0e0;
            padding-left: 55px;
            border-radius: 12px;
            margin: 1%;
        }

        .pt-link.active {
            background: #212c36;
            color: #e0e0e0;
            border-radius: 12px;
            margin: 1%;

        }

        .pt-link.active::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(106, 17, 203, 0.1), transparent);
        }

        .pt-link-icon {
            width: 20px;
            text-align: center;
            font-size: 14px;
        }

        .pt-link-text {
            font-size: 15px;
            font-weight: 500;
        }

        /* Main content area */
        .pt-content {
            margin-left: 280px;
            padding: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .pt-main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .pt-content h1 {
            font-size: 32px;
            margin-bottom: 20px;
            background: linear-gradient(90deg, #6a11cb, #2575fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .pt-content p {
            max-width: 600px;
            text-align: center;
            line-height: 1.6;
            color: #a0a0a0;
        }

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

        .pt-link.active .pt-link-icon {
            animation: pt-pulse 2s infinite;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .pt-sidebar {
                width: 100%;
                height: auto;
                position: relative;
            }
            
            .pt-content {
                margin-left: 0;
                width: 100%;
            }
        }

        /* Scrollbar styling */
        .pt-sidebar::-webkit-scrollbar {
            display: none;
        }

 
/* Navbar Styles */
.navbar {
    padding: 0;
    margin: 0; /* Change this line */
    margin-top: 20px; /* Add this line */
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.nav-brand .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;   
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-brand .logo-link:hover {
    color: var(--primary);
}

.nav-brand .logo-link i {
    font-size: 1.6rem;
}

/* Navigation Menu */
.nav-menu-container {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-link i {
    font-size: 1.1rem;
}

/* Dropdown Styles */
.dropdown-toggle .fa-chevron-down {
    font-size: 1rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.active .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid #3a3a3a;
}

.nav-item.dropdown.active .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu a i {
    width: 16px;
    font-size: 0.9rem;
}

.dropdown-divider {
    height: 1px;
    background: #3a3a3a;
    margin: 8px 0;
}

.dropdown-subtitle {
    padding: 8px 20px;
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Responsive Design */
@media (max-width: 1200px) {
    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1a1a1a;
        width: 100%;
        height: calc(100vh - 70px);
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        gap: 5px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px;
        font-size: 1rem;
        border-radius: 8px;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0 10px 20px;
    }
    
    .dropdown-menu a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-brand .logo-link {
        font-size: 1.2rem;
    }
    
    .nav-brand .logo-link i {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Apply columns only when JS adds class */
.dropdown-menu.multi-column {
    column-count: 2;
    column-gap: 0px;        /* no big gap between columns */
    min-width: 420px;       /* wider dropdown box */
    padding: 8px 0;
}

/* Footer Styles */
footer {
    background-color: #121212;
    color: #ffffff;
    padding: 3rem 1rem;
    font-size: 17px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #f0f0f0;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px); /* smooth slide */
}

.footer-links i {
    font-size: 0.9rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
    justify-content: center;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.legal-links a:hover {
    color: white;
    transform: scale(1.05); /* subtle zoom effect */
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .legal-links {
        justify-content: center;
    }
}

.related-tools-section {
  margin-top: 32px;
}

.related-tools-section strong {
  font-size: 1.05rem;
  color: #e6e6e6;
  display: block;
  margin-bottom: 6px;
}

.related-tools-section p {
  font-size: 0.9rem;
  color: #9a9a9a;
  margin-bottom: 14px;
}

/* Grid layout */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

/* Tool link wrapper */
.tool-card {
  padding: 10px 12px;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  background-color: #1a1a1a;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Link style */
.tool-card a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #78b7ff;
  font-weight: 500;
  display: block;
}

/* Hover state */
.tool-card:hover {
  background-color: #222;
  border-color: #3a3a3a;
}

.tool-card:hover a {
    color: #4da3ff;
}

/* Focus for accessibility */
.tool-card a:focus-visible {
  outline: 2px solid #666;
  outline-offset: 3px;
}

.login-prompt {
    background: #0b1220;               /* deep black-blue */
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 22px 24px;
    color: #e5e7eb;

    max-width: 540px;
    margin: auto;
    margin-bottom: 35px;               /* space from bottom */

    box-shadow: 0 10px 30px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.login-prompt h4 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #c0c0c0;
}

.login-prompt p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #a5a5a5;
}

/* Button */
.login-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;

    background: #1f2937;               /* soft dark gray */
    color: #e5e7eb;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.login-btn:hover {
    background: #374151;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

/* Visible state (animation trigger) */
.login-prompt.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hidden {
    display: none;
}


