/* CSS for HUNTER XMD Website */
:root {
    --primary: #8a2be2;
    --secondary: #00bf8f;
    --accent: #ff00ff;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f8f8f8;
    --gray: #2a2a2a;
    --heroku: #6762a6;
    --render: #5f6bff;
    --talkdrove: #7c3aed;
    --replit: #f26207;
    --codespace: #0078d7;
    --glitch: #ff7cbe;
    --railway: #0a0a0a;
    --whatsapp: #25D366;
    --session: #00bf8f;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.5;
    overflow-x: hidden;
    padding-bottom: 50px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Category Button */
.category-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(138, 43, 226, 0.4);
    transition: all 0.2s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(138, 43, 226, 0.5);
}

.category-menu {
    position: fixed;
    top: 50px;
    right: 15px;
    background: var(--dark);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
    flex-direction: column;
    width: 170px;
    border: 1px solid var(--gray);
    overflow: hidden;
}

.category-menu.active {
    display: flex;
}

.category-item {
    padding: 10px 15px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.category-item:hover {
    background: rgba(138, 43, 226, 0.15);
}

.category-item i {
    color: var(--primary);
    width: 16px;
    font-size: 0.9rem;
    text-align: center;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-container {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.logo {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid var(--primary);
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Audio Player */
.floating-audio {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 200px;
    background: rgba(18, 18, 18, 0.95);
    border-radius: 20px;
    padding: 6px 12px;
    box-shadow: 0 3px 10px rgba(138, 43, 226, 0.4);
    display: flex;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
}

.floating-audio .audio-text {
    margin-right: 8px;
    font-size: 0.75rem;
    color: var(--light);
    white-space: nowrap;
}

.floating-audio audio {
    width: 100%;
    outline: none;
    border-radius: 20px;
    height: 25px;
}

.floating-audio .close-btn {
    background: none;
    border: none;
    color: var(--light);
    font-size: 0.9rem;
    margin-left: 6px;
    cursor: pointer;
}

/* Section Styles */
.section {
    background: var(--dark);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 1px solid var(--gray);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--light);
    display: flex;
    align-items: center;
}

.section h2 i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 1.2rem;
}

.section p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.btn-session {
    background: var(--session);
    color: white;
    box-shadow: 0 3px 8px rgba(0, 191, 143, 0.3);
}

.btn-channel {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
}

.btn-support {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 3px 8px rgba(138, 43, 226, 0.3);
}

/* Button Container */
.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 1.2rem 0;
}

/* Deployment Buttons - Vertical Layout */
.deployment-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1.2rem 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.deploy-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.6rem 0.8rem;
    background: var(--gray);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.8rem;
    min-height: 40px;
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.deploy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    background: rgba(138, 43, 226, 0.1);
}

.deploy-btn i {
    margin-right: 8px;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

/* Platform-specific icon colors */
.deploy-btn .fa-heroku {
    color: var(--heroku);
}

.deploy-btn .fa-server {
    color: var(--render);
}

.deploy-btn .fa-cloud {
    color: var(--talkdrove);
}

.deploy-btn .fa-code {
    color: var(--replit);
}

.deploy-btn .fa-laptop-code {
    color: var(--codespace);
}

.deploy-btn .fa-project-diagram {
    color: var(--glitch);
}

.deploy-btn .fa-train {
    color: #fff;
    background: var(--railway);
    padding: 2px;
    border-radius: 3px;
}

/* Feature Table */
.features {
    margin: 1.5rem 0;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.2rem 0;
    font-size: 0.85rem;
}

.feature-table th, .feature-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray);
}

.feature-table th {
    background: var(--primary);
    color: white;
    font-weight: 500;
}

.feature-table tr:last-child td {
    border-bottom: none;
}

/* Workflow Code */
.workflow-code {
    background: var(--gray);
    color: var(--light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.2rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    position: relative;
    border: 1px solid rgba(138, 43, 226, 0.1);
    font-size: 0.8rem;
}

.workflow-code pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.4;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    background: var(--dark);
    border-top: 1px solid var(--gray);
}

.footer p {
    opacity: 0.7;
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 1.2rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .deployment-buttons {
        max-width: 100%;
    }
    
    .floating-audio {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        bottom: 8px;
    }
    
    .category-btn {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .category-menu {
        top: 45px;
        right: 10px;
        width: 150px;
    }
}

/* Minimal Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.logo {
    animation: float 8s ease-in-out infinite;
}

/* Particle background effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.15);
    animation: float-particle 25s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(100vw);
        opacity: 0;
    }
}
