@font-face {
    font-family: 'NewDetroit';
    src: url('../fonts/newdetroit.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.page-wrapper {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #777777;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    text-align: left;
    font-family: 'NewDetroit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
    line-height: 1.7;
}

.urls-section {
    background: #111111;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333333;
    margin-bottom: 2rem;
}

.urls-section h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.url-group {
    margin-bottom: 1.5rem;
}

.url-group:last-child {
    margin-bottom: 0;
}

.url-label {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.url-box {
    background: #000000;
    border: 1px solid #666666;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #ffffff;
    word-break: break-all;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.url-box:hover {
    border-color: #888888;
}

.url-box::after {
    content: 'Click to copy';
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.7rem;
    color: #666666;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.url-box:hover::after {
    opacity: 1;
}

.url-box.copied::after {
    content: 'Copied!';
    color: #22c55e;
    opacity: 1;
}

.instructions {
    background: #0a0a0a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333333;
}

.instructions h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.instructions p {
    margin-bottom: 1rem;
    color: #cccccc;
}

.instructions ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.instructions li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.note {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #666666;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.note p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaaaaa;
}

.footer {
    margin-top: auto;
    padding: 2rem 0 3rem 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #777777;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Mobile optimizations */
@media (max-width: 767px) {
    body {
        padding: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .urls-section,
    .instructions {
        padding: 1.5rem;
    }

    .url-box {
        font-size: 0.8rem;
    }
}