 :root {
     --bg-primary: #0a0a0f;
     --bg-secondary: #1a1a2e;
     --bg-tertiary: #16213e;
     --accent-primary: #00d4ff;
     --accent-secondary: #4a9eff;
     --text-primary: #ffffff;
     --text-secondary: #b4b7c9;
     --text-muted: #808396;
     --border-color: #2a2d47;
     --code-bg: #0f1419;
     --warning: #ff6b35;
     --success: #00c896;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 }

 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
     background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
     color: var(--text-primary);
     line-height: 1.6;
     min-height: 100vh;
 }

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

 header {
     background: rgba(26, 26, 46, 0.8);
     backdrop-filter: blur(20px);
     border-bottom: 1px solid var(--border-color);
     position: sticky;
     top: 0;
     z-index: 100;
 }

 .header-content {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 1rem 0;
 }

 .logo {
     font-size: 2rem;
     font-weight: 800;
     background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
     background-clip: text;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     letter-spacing: -0.02em;
 }

 .smalltext {
     font-size: 0.6rem;
     font-weight: 800;
     background: linear-gradient(135deg, #88ccee, #b2e0ff);
     background-clip: text;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     letter-spacing: -0.02em;
 }

 .version {
     background: var(--bg-tertiary);
     color: var(--accent-primary);
     padding: 0.25rem 0.75rem;
     border-radius: 12px;
     font-size: 0.875rem;
     font-weight: 600;
     border: 1px solid var(--border-color);
 }



 main {
     padding: 3rem 0;
 }

 a::after {
     content: "↗";
     margin-left: 4px;
     color: #85ceff;
     font-size: 1em;
 }

 code {
     background-color: var(--code-bg);
     color: var(--text-primary);
     padding: 2px 6px;
     border-radius: 4px;
     font-size: 0.95em;
 }

 .code-container {
     position: relative;
     margin: 1em 0;
 }

 .example-code {
     background-color: #1e1e2f;
     color: #dcdcdc;
     border-left: 4px solid var(--success);
     padding: 1em;
     border-radius: 8px;
     margin: 1em 0;
     font-size: 0.95em;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
 }

 .example-code code {
     background: none;
     color: inherit;
 }


 .copy-btn {
     position: absolute;
     top: 8px;
     right: 8px;
     background-color: #00bcd4;
     color: white;
     border: none;
     padding: 6px 10px;
     font-size: 0.8em;
     border-radius: 4px;
     cursor: pointer;
     z-index: 1;
     opacity: 0.8;
     transition: opacity 0.2s;
 }

 .copy-btn:hover {
     opacity: 1;
 }

 a {
     color: #85ceff;
 }

 a:hover {
     color: #005fa3;
 }

 .hero {
     text-align: center;
     margin-bottom: 4rem;
     padding: 2rem 0;
 }

 .hero h1 {
     font-size: 3.5rem;
     font-weight: 900;
     margin-bottom: 1rem;
     background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
     background-clip: text;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 }

 .hero p {
     font-size: 1.25rem;
     color: var(--text-secondary);
     max-width: 600px;
     margin: 0 auto 2rem;
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 1.5rem;
     margin: 2rem 0;
 }

 .card {
     background: rgba(41, 41, 74, 0.6);
     border: 1px solid var(--border-color);
     border-radius: 12px;
     padding: 2rem 1.5rem 1.5rem;
     position: relative;
     margin-top: 2rem;
     backdrop-filter: blur(10px);
 }


 .card-title {
     position: absolute;
     top: -1rem;
     left: 1.5rem;
     background: var(--bg-tertiary);
     padding: 0.25rem 0.75rem;
     border-radius: 8px;
     font-size: 1.2rem;
     font-weight: 600;
     color: var(--accent-primary);
     border: 1px solid var(--border-color);
 }

 .card-body {
     padding: 1.5rem;
 }

 .feature-card {
     background: rgba(26, 26, 46, 0.6);
     border: 1px solid var(--border-color);
     border-radius: 12px;
     padding: 1.5rem;
     backdrop-filter: blur(10px);
     transition: all 0.3s ease;
 }

 .feature-card:hover {
     border-color: var(--accent-primary);
     transform: translateY(-4px);
 }

 .feature-card h3 {
     color: var(--accent-primary);
     margin-bottom: 0.5rem;
     font-weight: 600;
 }

 .section {
     margin: 4rem 0;
 }

 .section h2 {
     font-size: 2rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: var(--accent-primary);
     border-bottom: 2px solid var(--border-color);
     padding-bottom: 0.5rem;
 }

 .method {
     background: var(--bg-secondary);
     border: 1px solid var(--border-color);
     border-radius: 12px;
     margin: 1.5rem 0;
     overflow: hidden;
     transition: all 0.3s ease;
 }

 .method:hover {
     border-color: var(--accent-secondary);
 }

 .method-header {
     background: var(--bg-tertiary);
     padding: 1rem 1.5rem;
     border-bottom: 1px solid var(--border-color);
 }

 .method-name {
     font-family: 'Monaco', 'Menlo', monospace;
     font-size: 1.1rem;
     color: var(--accent-primary);
     font-weight: 600;
     transition: background-color 0.3s ease;
 }

 .method-body {
     padding: 1.5rem;
 }

 
 .params {
     margin: 1.5rem 0;
     padding: 1rem;
     background: var(--card-bg);
     border: 1px solid var(--border-color);
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 }

 .params h1 {
     font-size: 1rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: var(--accent-primary);
     border-bottom: 2px solid var(--border-color);
     padding-bottom: 0.5rem;
 }

 .param {
     display: flex;
     align-items: flex-start;
     margin: 0.75rem 0;
     font-family: 'Fira Code', monospace;
     font-size: 0.95rem;
     color: var(--text-primary);
     line-height: 1.4;
 }

 .param-name {
     color: var(--accent);
     font-weight: 600;
     margin-right: 0.5rem;
     min-width: 80px;
     text-wrap: nowrap;
 }

 .param-type {
     background: rgba(255, 255, 255, 0.05);
     color: var(--warning);
     padding: 0.2rem 0.6rem;
     border-radius: 6px;
     font-size: 0.85rem;
     font-weight: 500;
     margin-right: 0.5rem;
     white-space: nowrap;
     border: 1px solid var(--warning-border, rgba(255, 193, 7, 0.3));
 }


 .param-desc {
     color: var(--text-secondary);
     flex: 1;
     max-width: 100%;
     word-break: break-word;
 }

   .returns {
     margin: 1.5rem 0;
     padding: 1rem;
     background: var(--card-bg);
     border: 1px solid var(--border-color);
     border-radius: 10px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 }

 .returns h1 {
     font-size: 1rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: var(--accent-primary);
     border-bottom: 2px solid var(--border-color);
     padding-bottom: 0.5rem;
 }

 .return {
     display: flex;
     align-items: flex-start;
     margin: 0.75rem 0;
     font-family: 'Fira Code', monospace;
     font-size: 0.95rem;
     color: var(--text-primary);
     line-height: 1.4;
 }

 .return-text {
     color: var(--accent);
     font-weight: 600;
     margin-right: 0.5rem;
     min-width: 80px;
     text-wrap: nowrap;
 }

 pre {
     background: var(--code-bg) !important;
     border: 1px solid var(--border-color);
     border-radius: 8px;
     margin: 1rem 0;
     overflow-x: auto;
 }

 pre code {
     font-family: 'Monaco', 'Menlo', monospace;
     font-size: 0.9rem;
 }

 .example {
     background: rgba(0, 212, 255, 0.05);
     border: 1px solid rgba(0, 212, 255, 0.2);
     border-radius: 8px;
     padding: 1.5rem;
     margin: 1rem 0;
 }

 .example h4 {
     color: var(--accent-primary);
     margin-bottom: 1rem;
     font-weight: 600;
 }

 .nav-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 1rem;
     margin: 2rem 0;
 }

 .nav-link {
     display: block;
     background: var(--bg-secondary);
     border: 1px solid var(--border-color);
     border-radius: 8px;
     padding: 1rem;
     text-decoration: none;
     color: var(--text-primary);
     transition: all 0.3s ease;
 }

 .nav-link:hover {
     border-color: var(--accent-primary);
     background: rgba(0, 212, 255, 0.1);
 }

 .warning-box {
     background: rgba(255, 107, 53, 0.1);
     border: 1px solid rgba(255, 107, 53, 0.3);
     border-radius: 8px;
     padding: 1rem;
     margin: 1rem 0;
 }

 .warning-box strong {
     color: var(--warning);
 }

 .box-header {
     display: flex;
     align-items: center;
     font-weight: 600;
     margin-bottom: 0.5rem;
     color: var(--icon-color);
 }

 .box-header .icon {
     font-size: 1.2rem;
     margin-right: 0.5rem;
     color: var(--icon-color);
 }

 .info-box {
     background: rgba(66, 136, 248, 0.25);
     border: 1px solid rgba(66, 136, 248, 0.6);
     border-radius: 8px;
     padding: 1rem 1.25rem;
     margin: 1rem 0;
     color: var(--text-primary);
     font-weight: 500;
 }

 .info-box strong {
     color: var(--accent-primary);
 }

 .tip-box {
     background: rgba(76, 175, 80, 0.08);
     border: 1px solid rgba(66, 248, 115, 0.6);
     border-radius: 8px;
     padding: 1rem 1.25rem;
     margin: 1rem 0;
     color: var(--text-primary);
     font-weight: 500;
 }


 .type-signature {
     font-family: monospace;
     background: var(--code-bg);
     padding: 0.2rem 0.4rem;
     border-radius: 4px;
     font-size: 0.85rem;
     color: var(--success);
 }

 @media (max-width: 768px) {
     .hero h1 {
         font-size: 2.5rem;
     }

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

     .header-content {
         flex-direction: column;
         gap: 1rem;
     }
 }

 .tabs {
     display: flex;
     gap: 1rem;
     margin: 2rem 0;
     flex-wrap: wrap;
 }

 .tab-button {
     padding: 0.75rem 1.5rem;
     font-size: 1rem;
     font-weight: 600;
     border-radius: 10px;
     border: 1px solid var(--border-color);
     background: var(--bg-tertiary);
     color: var(--text-secondary);
     cursor: pointer;
     transition: all 0.2s ease-in-out;
     min-width: 120px;
     text-align: center;
 }

 .tab-button:hover {
     border-color: var(--accent-secondary);
     color: var(--text-primary);
 }

 .tab-button.active {
     background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
     color: var(--bg-primary);
     font-weight: 700;
     border-color: var(--accent-secondary);
 }

 .tab-content {
     display: none;
     background: rgba(26, 26, 46, 0.6);
     border: 1px solid var(--border-color);
     border-radius: 12px;
     padding: 2rem;
     backdrop-filter: blur(8px);
     margin-top: 1rem;
     animation: fadeIn 0.2s ease-in-out;
 }

 .section-title {
     margin-top: 2rem;
     padding: 0.75rem 1.25rem;
     background: rgba(66, 136, 248, 0.1);
     border-left: 4px solid #4288f8;
     font-size: 1.25rem;
     font-weight: bold;
     color: #ffffff;
     border-radius: 6px;
 }

 .tab-content.active {
     display: block;
 }

 .method {
     background: rgba(255, 255, 255, 0.02);
     border: 1px solid rgba(255, 255, 255, 0.05);
     padding: 1rem 1.25rem;
     margin: 1.5rem 0;
     border-radius: 10px;
     box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
 }

 .method-header {
     display: flex;
     align-items: center;
     margin-bottom: 0.5rem;
 }

 .method-name {
     font-family: monospace;
     font-size: 1.2rem;
     font-weight: 700;
     color: var(--accent-primary, #66ccff);
     margin-right: 0.75rem;
 }

 .method-modifier {
     font-size: 0.85rem;
     font-weight: 600;
     color: #ffaa55;
     background: rgba(255, 170, 85, 0.1);
     padding: 0.15rem 0.5rem;
     border-radius: 4px;
     text-transform: uppercase;
     display: inline;
     border: 1px solid transparent;
 }

 .method-signature code {
     display: block;
     background: var(--code-bg, #1e1e2f);
     padding: 0.5rem 0.75rem;
     border-radius: 6px;
     font-size: 0.9rem;
     overflow-x: auto;
 }

 .method-modifier.readonly {
     background: rgba(102, 204, 255, 0.1);
     color: #66ccff;
     border-color: rgba(102, 204, 255, 0.3);
 }

 .method-modifier.instance {
     background: rgba(255, 170, 85, 0.1);
     color: #ffaa55;
     border-color: rgba(255, 170, 85, 0.3);
 }

 .method-modifier.static {
     background: rgba(144, 238, 144, 0.1);
     color: #90ee90;
     border-color: rgba(144, 238, 144, 0.3);
 }

 .method-modifier.deprecated {
     background: rgba(255, 80, 80, 0.1);
     color: #ff5050;
     border-color: rgba(255, 80, 80, 0.3);
     text-decoration: line-through;
 }

 .method-modifier.optional {
     background: rgba(255, 255, 102, 0.1);
     color: #ffff66;
     border-color: rgba(255, 255, 102, 0.3);
 }

 .method-modifier.constructor {
     background: rgba(155, 89, 182, 0.15);
     color: #9b59b6;
     border: 1px solid rgba(155, 89, 182, 0.3);
 }

 .api-search {
     margin-bottom: 1rem;
     text-align: center;
 }

 .api-search input {
     padding: 0.5rem 1rem;
     width: 80%;
     max-width: 500px;
     font-size: 1rem;
     background: var(--bg-tertiary);
     color: white;
     border: 1px solid var(--border-color);
     border-radius: 6px;
     outline: none;
     transition: all 0.2s;
 }

 .method-name.highlight {
     background-color: #fff3cd;
     border-left: 2px solid #ffc107;
     border-radius: 3px;
 }

 .api-search input:focus {
     border-color: var(--bg-secondary);
     box-shadow: 0 0 0 2px rgba(100, 100, 255, 0.2);
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(5px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }