/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F86F7;
    --secondary-color: #FF6B35;
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --text-secondary: #B0B0B0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-main);
    background-color: #000000;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    background-color: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}


/* Main Content */
main {
    flex: 1;
    padding: 40px 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 200px);
    position: relative;
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B0B0B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.65rem;
    color: var(--text-color);
    font-weight: 500;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.5rem;
}

.status-message {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.status-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.status-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.status-text p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Right Section */
.right-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.background-image {
    position: absolute;
    right: -60%;
    top: 0%;
    width: 200%;
    max-width: none;
    z-index: 0;
}

.background-image img {
    width: 100%;
    height: auto;
    display: block;
    mask-image: radial-gradient(ellipse 100% 100% at 70% 30%, black 80%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 70% 30%, black 80%, transparent 100%);
}

.glass-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 5;
    margin-top: 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-header i {
    color: #FFFFFF;
    font-size: 1.5rem;
}

.card-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-weight: 400;
}

.card-note {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.875rem;
    font-weight: 400;
}

.card-content {
    position: relative;
    display: block;
}

.api-url {
    display: block;
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.875rem 3.5rem 0.875rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    word-break: break-all;
    line-height: 1.4;
}

.copy-btn {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.copy-btn:active {
    transform: translateY(-50%) scale(0.9);
}

.copy-btn.copied {
    color: #4ade80;
}

/* Explore Button */
.explore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 256px;
    height: 64px;
    padding: 0.75rem;
    margin-top: 1rem;
    background-color: #0f172a;
    border: 2px solid #14b8a6;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 1;
}

.explore-btn::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    right: 8px;
    top: 8px;
    z-index: -1;
    background-color: #6366f1;
    border-radius: 50%;
    filter: blur(20px);
    transition: all 0.5s ease;
}

.explore-btn::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    right: 24px;
    top: 16px;
    z-index: -1;
    background-color: #2dd4bf;
    border-radius: 50%;
    filter: blur(20px);
    transition: all 0.5s ease;
}

.explore-btn:hover {
    transform: scale(1.05);
    border-color: #34d399;
    color: #6ee7b7;
}

.explore-btn:hover::before {
    right: 40px;
    bottom: -16px;
    filter: blur(10px);
}

.explore-btn:hover::after {
    right: -24px;
    transform: scale(1.1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    main {
        padding: 40px 0 2rem 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: calc(100vh - 180px);
        padding-top: 2rem;
    }

    .left-section {
        gap: 2rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .explore-btn {
        width: 220px;
        height: 56px;
        font-size: 0.95rem;
    }

    .right-section {
        position: relative;
        justify-content: center;
        min-height: 400px;
        margin-top: 2rem;
    }

    .background-image {
        position: absolute;
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%);
        width: 150%;
        max-width: 600px;
    }

    .background-image img {
        mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 70%, transparent 95%);
        -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 70%, transparent 95%);
    }

    .glass-card {
        position: relative;
        max-width: 100%;
        z-index: 10;
        margin-top: auto;
        padding: 1.5rem 1.75rem;
    }

    .card-header {
        font-size: 1.35rem;
    }

    .card-header i {
        font-size: 1.35rem;
    }

    .card-description {
        font-size: 0.875rem;
    }

    .card-note {
        font-size: 0.825rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .content-wrapper {
        padding-top: 3rem;
    }

    main {
        padding: 40px 0 0 0;
    }

    .main-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-top: 1rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .explore-btn {
        width: 100%;
        max-width: 280px;
        height: 52px;
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }

    .left-section {
        gap: 1.5rem;
    }

    .right-section {
        min-height: 350px;
        margin-top: 1rem;
    }

    .background-image {
        width: 180%;
        max-width: 500px;
    }

    .glass-card {
        padding: 1.25rem 1.5rem;
        border-width: 1.5px;
    }

    .card-header {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .card-header i {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.85rem;
        margin-bottom: 0.875rem;
    }

    .card-note {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .api-url {
        font-size: 0.75rem;
        padding: 0.75rem 3rem 0.75rem 0.875rem;
        line-height: 1.5;
    }

    .copy-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        right: 0.5rem;
    }

    footer {
        padding: 1.5rem 0;
    }

    footer p {
        font-size: 0.8rem;
    }
}

