@font-face {
    font-family: 'GriunCherry';
    src: url('Griun_Cherry1Spoon-Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fffaf0;
    color: #3a3a3a;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 96px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

h1, h2, h3 {
    color: #0a0a0a;
    font-family: 'GriunCherry', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
}

h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    text-align: center;
}

p {
    font-size: 16px;
    line-height: 1.55;
    color: #6a6a6a;
    text-align: center;
    margin-bottom: 48px;
}

.guide-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto 48px auto;
    background-color: #f5f0e0;
    border-radius: 24px;
    padding: 32px;
    box-sizing: border-box;
}

.guide-container h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.guide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: #fffaf0;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}

.step-badge {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'GriunCherry', sans-serif;
    font-size: 14px;
    font-weight: 600;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.step-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #3a3a3a;
    margin: 0;
    text-align: left;
}

.guide-alert {
    background-color: #ffb084;
    color: #0a0a0a;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.upload-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.drop-zone {
    background-color: #faf5e8;
    border: 2px dashed #ebe6d6;
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drop-zone.drag-over {
    background-color: #f5f0e0;
    border-color: #0a0a0a;
}

.drop-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

input[type="file"] {
    display: none;
}

.file-label {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'GriunCherry', sans-serif;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 24px;
    height: 20px;
    line-height: 20px;
}

.submit-btn {
    background-color: #0a0a0a;
    color: #ffffff;
    border: none;
    font-family: 'GriunCherry', sans-serif;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    height: 44px;
    display: inline-block;
}

.summary-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    width: 100%;
}

.summary-item {
    border-radius: 24px;
    padding: 32px;
    text-align: center;
}

.summary-item.following {
    background-color: #b8a4ed;
    color: #0a0a0a;
}

.summary-item.followers {
    background-color: #ffb084;
    color: #0a0a0a;
}

.summary-item.fans {
    background-color: #e8b94a;
    color: #0a0a0a;
}

.summary-item .count {
    font-family: 'GriunCherry', sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-top: 8px;
}

.summary-item .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.list-container {
    background-color: #f5f0e0;
    border-radius: 24px;
    padding: 32px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.list-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.user-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #fffaf0;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.username {
    font-weight: 600;
    color: #0a0a0a;
    text-decoration: none;
    font-size: 16px;
}

.username:hover {
    text-decoration: underline;
}

.unfollow-btn {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'GriunCherry', sans-serif;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

.user-item.visited {
    background-color: #faf5e8;
    border-color: #f0f0f0;
    opacity: 0.4;
}

.user-item.visited .username {
    text-decoration: line-through;
    color: #6a6a6a;
}

.user-item.visited .unfollow-btn {
    background-color: #e5e5e5;
    color: #6a6a6a;
    pointer-events: none;
}

.back-btn {
    display: block;
    text-align: center;
    margin-top: 32px;
    color: #0a0a0a;
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
}

footer {
    margin-top: auto;
    padding-top: 64px;
    text-align: center;
}

.insta-link {
    font-size: 13px;
    color: #9a9a9a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.insta-link:hover {
    color: #0a0a0a;
}

@media (max-width: 768px) {
    body {
        padding: 48px 16px;
    }
    h1 {
        font-size: 32px;
    }
    .summary-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}