/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000;
    color: #fff;
}

h1, h2, h3, h4 {
    margin: 0;
}

p {
    margin: 0;
}

.root-container {
    min-height: 100vh;
    display: flex;
    width: 100vw;
    overflow-x: hidden;
    flex-direction: column;
}

/* Header */
.header {
    width: 100%;
    padding: 20px 0;
    background: #000;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.logo {
    height: 32px;
    width: auto;
}

@media screen and (max-width: 768px) {
    .header {
        padding: 16px 0;
    }

    .logo {
        height: 24px;
    }
}

/* Banner Section */
.banner {
    height: 645px;
}

@media screen and (max-width: 768px) {
    .banner {
        height: auto;
    }
}

.inner-banner {
    max-width: 1150px;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    background-image: url('../assets/images/banner-box-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .inner-banner {
        flex-direction: column;
    }
}

.left-banner-desc {
    display: flex;
    width: 43%;
    max-width: 490px;
    padding: 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 38px;
    border-radius: 42px;
    background: linear-gradient(116deg, #ff87ad 6.82%, #ffca61 96.85%);
    position: relative;
    align-self: flex-start;
    margin-top: 46px;
    margin-left: 7%;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .left-banner-desc {
        margin-top: 15px;
        width: auto;
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
        border-radius: 32px;
        padding: 24px;
        gap: 24px;
    }
}

.vector-img {
    position: absolute;
    right: 36px;
    top: 36px;
    width: 198px;
}

@media screen and (max-width: 768px) {
    .vector-img {
        right: 12px;
        top: 12px;
        width: 150px;
    }
}

.banner-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .banner-content-wrap {
        gap: 12px;
    }
}

.banner-title {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .banner-title {
        font-size: 16px;
        line-height: 24px;
    }
}

.banner-desc {
    color: #000;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .banner-desc {
        font-size: 12px;
        line-height: 18px;
    }
}

.banner-btn {
    display: flex;
    width: 227px;
    height: 72px;
    padding: 10px;
    justify-content: center;
    background: transparent;
    align-items: center;
    gap: 8px;
    border-radius: 105px;
    border: 2px solid #000;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s;
}

.banner-btn:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .banner-btn {
        width: 170px;
        height: 40px;
        font-size: 16px;
    }
}

.arrow-icon {
    font-size: 44px;
    line-height: 1;
}

.right-gradient-bg {
    width: 51%;
    max-width: 581px;
    aspect-ratio: 1.3;
    border-radius: 42px;
    background: linear-gradient(180deg, rgba(255, 189, 92, 0) 0%, #ffbd5c 100%);
    position: relative;
    margin-left: -120px;
    align-self: flex-start;
    margin-top: 84px;
}

@media screen and (max-width: 768px) {
    .right-gradient-bg {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
        margin-top: -40px;
        max-width: none;
        border-radius: 26px;
    }
}

.right-img {
    position: absolute;
    left: -6px;
    top: 4px;
    width: calc(100% + 16px);
    z-index: 10;
}

.right-img img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .right-img {
        left: -7px;
    }
}

/* Character Section */
.character-title-wrap {
    padding-top: 3px;
}

@media screen and (max-width: 768px) {
    .character-title-wrap {
        padding-top: 24px;
    }
}

.inner-character-title-wrap {
    width: 100%;
    max-width: 1008px;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 6px;
    position: relative;
    margin-bottom: 36px;
}

@media screen and (max-width: 768px) {
    .inner-character-title-wrap {
        margin-bottom: 24px;
    }
}

.title-decorator {
    position: absolute;
    top: 12px;
    left: calc(50% + 100px);
    width: 108px;
}

@media screen and (max-width: 768px) {
    .title-decorator {
        left: calc(50% + 80px);
        width: 80px;
    }
}

.character-title {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    position: relative;
    z-index: 1;
}

.character-desc {
    color: #fff;
    text-align: center;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-transform: capitalize;
    position: relative;
    z-index: 1;
}

.character-wrap {
    border-radius: 0px 0px 80px 80px;
    min-height: 1077px;
    background: linear-gradient(180deg, rgba(255, 189, 92, 0) 0%, rgba(255, 189, 92, 0.2) 100%);
}

@media screen and (max-width: 768px) {
    .character-wrap {
        padding-bottom: 92px;
        border-radius: 0px 0px 32px 32px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

.character-inner-wrap {
    width: 100%;
    max-width: 1008px;
    margin: 0 auto;
}

.category-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.category-item {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.category-item:hover {
    border-color: #ffbd5c;
    color: #ffbd5c;
}

.category-item.selected {
    border-color: #ffbd5c;
    background: linear-gradient(116deg, #ff87ad 6.82%, #ffca61 96.85%);
    color: #000;
}

@media screen and (max-width: 768px) {
    .category-item {
        padding: 8px 16px;
        font-size: 12px;
    }
}

.character-list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-right: -25px;
    margin-top: 36px;
    margin-bottom: 36px;
}

@media screen and (max-width: 768px) {
    .character-list {
        margin-right: -12px;
        gap: 12px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

.character-item {
    width: calc(25% - 25px);
    padding: 3px;
    border-radius: 13px;
    transition: background 0.3s;
}

@media screen and (max-width: 768px) {
    .character-item {
        width: calc(50% - 12px);
    }
}

.character-item:hover {
    background: linear-gradient(116deg, #ff87ad 6.82%, #ffca61 96.85%);
}

.character-card {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.character-image {
    width: 100%;
    aspect-ratio: 0.75;
    object-fit: cover;
}

.character-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.character-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.character-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.character-age {
    font-size: 14px;
    color: #ffbd5c;
    font-weight: 500;
}

.character-description {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.character-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

.character-creator {
    color: #888;
}

.character-chats {
    color: #888;
}

.character-introduction {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chat-btn {
    display: flex;
    width: 418px;
    height: 66px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 40px;
    background: linear-gradient(116deg, #ff87ad 6.82%, #ffca61 96.85%);
    margin: 0 auto;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity 0.3s;
}

.chat-btn:hover {
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    .chat-btn {
        width: 278px;
        height: 49px;
        font-size: 16px;
    }
}

/* Footer */
.footer-container {
    background: #000;
    padding: 40px 20px;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}

.contract {
    flex: 1;
    display: flex;
    gap: 60px;
}

@media screen and (max-width: 768px) {
    .contract {
        flex-direction: column;
        gap: 30px;
    }
}

.chatr-contract {
    gap: 40px;
}

.contract-sub-block {
    display: flex;
    gap: 60px;
}

@media screen and (max-width: 768px) {
    .contract-sub-block {
        flex-direction: column;
        gap: 30px;
    }
}

.chatr-contract-block {
    gap: 40px;
}

.contract-block {
    flex: 1;
}

.contract-block-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contract-block-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contract-block-content-item {
    font-size: 14px;
}

.contract-block-content-item a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.contract-block-content-item a:hover {
    color: #fff;
}

.contract-block-content-item i {
    margin-right: 8px;
}

.download {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-wrap {
    display: flex;
    gap: 12px;
}

.download-wrap a img {
    height: 40px;
}

.footer-desc {
    color: #999;
    font-size: 12px;
    max-width: 300px;
}
