/* Layout Container */
.kurobbs-page {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.kurobbs-container {
    width: 100%;
    max-width: 900px;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Main Shell */
.kurobbs-shell {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Top decoration line */
.kurobbs-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-purple), var(--neon-cyan));
}

/* Hero Section */
.hero-panel {
    text-align: left;
    margin-bottom: 60px;
    position: relative;
}

.hero-panel h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-panel h1 span::before {
    /* Replace emoji with a cool dot */
    content: '';
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    background: var(--neon-green);
    border-radius: 50%;
    margin-right: 15px;
    vertical-align: middle;
    box-shadow: 0 0 15px var(--neon-green);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Unified Hero Chips */
.hero-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--neon-purple); /* Unified border color */
    background: rgba(var(--neon-purple-rgb), 0.1); /* Unified background */
    color: var(--text-primary); /* Default text color */
    width: fit-content;
}

/* Variant: Warning */
.hero-chip.warning {
    cursor: default;
    /* No specific color overrides needed now, inherits from .hero-chip */
}

/* Variant: Source Link */
.hero-chip.source {
    /* No specific color overrides needed now, inherits from .hero-chip */
}

.hero-chip.source:hover {
    background: rgba(var(--neon-purple-rgb), 0.2);
    box-shadow: 0 0 15px rgba(var(--neon-purple-rgb), 0.4);
    transform: translateY(-2px);
    color: var(--neon-purple); /* Text becomes neon purple on hover */
    border-color: var(--neon-purple); /* Ensure border also stays neon purple */
}

/* Variant: Action Button */
.hero-chip.action {
    /* No specific color overrides needed now, inherits from .hero-chip */
}

.hero-chip.action:hover {
    background: rgba(var(--neon-purple-rgb), 0.2);
    box-shadow: 0 0 15px rgba(var(--neon-purple-rgb), 0.4);
    transform: translateY(-2px);
    color: var(--neon-purple); /* Text becomes neon purple on hover */
    border-color: var(--neon-purple); /* Ensure border also stays neon purple */
}

.hero-chip.action svg {
    color: var(--text-primary); /* Default icon color */
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-chip.action:hover svg {
    transform: translateY(3px);
    color: var(--neon-purple); /* Icon becomes neon purple on hover */
}


/* Steps Section */
.step-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

/* Connecting line for steps */
.step-section::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 26px; /* Align with number center */
    width: 2px;
    background: var(--border-color);
    z-index: -1;
}

.step-card {
    background: var(--bg-surface-2);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0; /* Reset padding */
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateX(10px);
    border-color: var(--neon-cyan);
}

.step-heading {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--bg-body);
    border: 2px solid var(--text-muted);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

.step-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-heading h4 {
    margin: 8px 0 0 0;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-body {
    padding: 24px;
}

/* Images */
.guide-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.guide-img:hover {
    filter: grayscale(0%);
}

.guide-img.medium {
    max-width: 60%;
}

/* Buttons & Links inside steps */
.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.info-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.info-pill a {
    color: var(--neon-cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
}

/* Bot Login Box */
.bot-box {
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.command {
    background: #000;
    color: var(--neon-green);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--neon-green);
    margin: 15px 0;
    word-break: break-all;
}

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

/* Info Panel */
.info-panel {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.info-panel h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.info-panel p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 65ch;
}

.info-highlight {
    color: var(--neon-cyan) !important;
    border: 1px dashed var(--neon-cyan);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .step-section::after {
        left: 18px; /* Adjust line for smaller circle */
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        margin-right: 15px;
    }

    .kurobbs-shell {
        padding: 20px;
    }
    
    .hero-panel h1 {
        font-size: 2rem;
    }
    
    .step-heading {
        padding: 15px;
    }
    
    .step-body {
        padding: 15px;
    }
}

/* Github Card */
.github-section {
    margin-bottom: 24px;
}

.label-text {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.github-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.github-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-primary); /* Keep text color consistent */
}

.github-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.github-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.repo-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
    font-family: 'JetBrains Mono', monospace;
}

.repo-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.github-arrow {
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.github-card:hover .github-arrow {
    color: var(--neon-green);
    transform: translateX(4px);
}

/* Global smooth scroll */
html {
    scroll-behavior: smooth;
}
