* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #ffffff;
    --primary-light: rgba(255, 255, 255, 0.9);
    --primary-dark: rgba(255, 255, 255, 0.7);
    --accent-color: rgba(255, 255, 255, 0.8);
    --bg-dark: #000000;
    --bg-light: #0a0a0a;
    --bg-lighter: #111111;
    --bg-card: rgba(20, 20, 20, 0.7);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-lighter: rgba(255, 255, 255, 0.15);
    --success-color: #ffffff;
    --warning-color: #ffffff;
    --error-color: #ffffff;
    --sidebar-width: 280px;
    --player-height: 90px;
    --border-radius: 16px;
    --border-radius-small: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    background: url('./assets/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    pointer-events: none;
    z-index: 0;
}

.container {
    display: grid;
    grid-template-areas:
        "sidebar main";
    grid-template-columns: var(--sidebar-width) 1fr;
    grid-template-rows: 1fr;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.container.has-player {
    grid-template-areas:
        "sidebar main"
        "player player";
    grid-template-rows: 1fr var(--player-height);
}

.container.show {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebar */
.sidebar {
    grid-area: sidebar;
    background: rgba(0, 0, 0, 0.85);
    padding: 24px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.logo {
    margin-bottom: 40px;
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.logo img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.2));
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    padding: 16px 20px;
    margin: 8px 0;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    border: 1px solid transparent;
    background: transparent;
    backdrop-filter: blur(10px);
}

.sidebar nav li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%);
    transition: left 0.3s ease;
}

.sidebar nav li:hover::before {
    left: 100%;
}

.sidebar nav li:hover,
.sidebar nav li.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.sidebar nav li i {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.sidebar nav li:hover i {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    grid-area: main;
    padding: 32px;
    overflow-y: auto;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    transition: padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.container.has-player .main-content {
    padding-bottom: calc(32px + var(--player-height));
}

.search-container {
    margin-bottom: 40px;
}

.search-box {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    width: 100%;
    outline: none;
    font-weight: 500;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box i {
    color: var(--primary-color);
    font-size: 18px;
}

.search-box:focus-within {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.music-card {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.music-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.music-card:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);
    transform: translateY(-4px);
}

.music-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-small);
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.music-card:hover img {
    transform: scale(1.03);
    filter: brightness(1);
    border-color: rgba(255, 255, 255, 0.2);
}

.music-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: var(--text-primary);
}

.music-card p {
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* Player */
.player {
    grid-area: player;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    height: var(--player-height);
    z-index: 1000;
    box-shadow: 0 -8px 32px 0 rgba(0, 0, 0, 0.5);
}

.container.has-player .player {
    transform: translateY(0);
    opacity: 1;
}

.player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
}

.now-playing img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-small);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.now-playing:hover img {
    filter: brightness(1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.artist-name {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.control-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.play-button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.stop-button {
    background: rgba(255, 0, 0, 0.2);
    color: white;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.stop-button:hover {
    background: rgba(255, 0, 0, 0.3);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.volume-control i {
    color: var(--text-secondary);
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    border: 1px solid var(--border-light);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--border-lighter);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--border-light) 0%, var(--border-lighter) 100%);
    border-radius: 5px;
    border: 1px solid var(--border-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--border-lighter) 0%, var(--primary-color) 100%);
}

/* Estado Vazio */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.empty-state svg {
    margin-bottom: 32px;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.empty-state h3 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 400px;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: linear-gradient(145deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid var(--border-light);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-lighter) 100%);
}

.modal-header h2 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid transparent;
}

.close:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: var(--bg-card);
}

.modal-body {
    padding: 24px;
}

.help-section {
    margin-bottom: 32px;
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-small);
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-lighter) 100%);
    backdrop-filter: blur(20px);
}

.help-section h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.help-section ul {
    list-style: none;
    padding-left: 20px;
}

.help-section ul li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-section ul li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.endpoint-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.endpoint {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-lighter) 100%);
    padding: 20px;
    border-radius: var(--border-radius-small);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.endpoint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-lighter) 50%, transparent 100%);
}

.endpoint code {
    display: block;
    color: var(--primary-color);
    font-family: monospace;
    font-size: 14px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: var(--bg-dark);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.endpoint p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-logo {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.loading-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.3));
}

.loading-text h2 {
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-text p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 8px;
}

.loading-text p:last-child {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.music-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.bar {
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    animation: musicWave 1.2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.bar:nth-child(1) {
    animation-delay: 0s;
    height: 20px;
}

.bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 30px;
}

.bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 40px;
}

.bar:nth-child(4) {
    animation-delay: 0.3s;
    height: 25px;
}

.bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 35px;
}

@keyframes musicWave {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        opacity: 0.7;
    }
    20% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* From Uiverse.io by vinodjangid07 */ 
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
}
.loaderMiniContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 130px;
    height: fit-content;
}
.barContainer {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    background-position: left;
}
.bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-light),
        var(--primary-color)
    );
    background-size: 200% 100%;
    border-radius: 10px;
    animation: bar ease-in-out 3s infinite alternate-reverse;
}
@keyframes bar {
    0% {
        background-position: left;
    }
    100% {
        background-position: right;
    }
}
.bar2 {
    width: 50%;
}
.svgIcon {
    position: absolute;
    left: -25px;
    margin-top: 18px;
    z-index: 2;
    width: 70%;
    animation: search ease-in-out 3s infinite alternate-reverse;
}
@keyframes search {
    0% {
        transform: translateX(0%) rotate(70deg);
    }

    100% {
        transform: translateX(100px) rotate(10deg);
    }
}
.svgIcon circle,
line {
    stroke: var(--text-primary);
}
.svgIcon circle {
    fill: rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        grid-template-areas:
            "main"
            "player";
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 0px;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 20px;
    }

    .music-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .endpoint-list {
        grid-template-columns: 1fr;
    }

    .player {
        padding: 16px 20px;
    }

    .now-playing {
        min-width: 150px;
    }

    .volume-control {
        min-width: 120px;
    }
}

/* Content Sections */
.content-section {
    width: 100%;
}

/* API Documentation Styles */
.api-docs-header {
    margin-bottom: 40px;
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-lighter) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
}

.api-docs-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.api-docs-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 24px auto;
}

.api-docs-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.api-btn {
    background: transparent;
    color: white;
    border: 1px solid var(--primary-dark);
    border-radius: var(--border-radius-small);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(20px);
}

.api-btn:hover {
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.api-btn i {
    font-size: 12px;
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.endpoint-group {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
}

.endpoint-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid var(--border-light);
}

.endpoint-group-header:hover {
    background: linear-gradient(145deg, var(--bg-lighter) 0%, var(--bg-card) 100%);
}

.endpoint-group-header h2 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
}

.dropdown-icon {
    color: var(--primary-color);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.endpoint-group.active .dropdown-icon {
    transform: rotate(180deg);
}

.endpoint-group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-dark);
}

.endpoint-group.active .endpoint-group-content {
    max-height: 2000px;
    padding: 32px;
}

.endpoint-card {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-small);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.endpoint-card:last-child {
    margin-bottom: 0;
}

.endpoint-card:hover {
    border-color: var(--border-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.method {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method.get {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.method.post {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.method.put {
    background: linear-gradient(145deg, var(--warning-color), #d97706);
    color: white;
}

.method.delete {
    background: linear-gradient(145deg, var(--error-color), #dc2626);
    color: white;
}

.endpoint-header code {
    background: var(--bg-card);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    border: 1px solid var(--border-light);
}

.endpoint-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.endpoint-details h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px 0;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.table-container th {
    background: rgba(0, 0, 0, 0.85);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.table-container td {
    color: var(--text-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

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

.table-container tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.endpoint-details pre {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    margin: 12px 0;
}

.endpoint-details code {
    color: var(--primary-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsividade para documentação */
@media (max-width: 768px) {
    .api-docs-header h1 {
        font-size: 28px;
    }
    
    .api-docs-header p {
        font-size: 16px;
    }
    
    .api-docs-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .api-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .endpoint-group-header {
        padding: 20px;
    }
    
    .endpoint-group-header h2 {
        font-size: 20px;
    }
    
    .endpoint-group.active .endpoint-group-content {
        padding: 20px;
    }
    
    .endpoint-card {
        padding: 16px;
    }
    
    .endpoint-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .endpoint-header code {
        font-size: 12px;
        word-break: break-all;
    }
    
    .table-container {
        font-size: 14px;
    }
    
    .table-container th,
    .table-container td {
        padding: 8px 12px;
    }
} 