* {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: white;
}
.particle, .particle * {
    transition: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Platypi", sans-serif;
    font-optical-sizing: auto;
    font-style: italic;
}

p, li, a, u, .hint {
    line-height: 115%;
    color: #ddd9fd;
    font-size: 13px;
}

.hint {
    text-decoration: underline;
    cursor: pointer;
}

p, .info p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    opacity: 80%;
    color: #ddd9fd;
}

h2 {
    font-size: 28px;
    margin-top: 5px;
}

h2, h3 {
    margin-bottom: 5px;
    color: rgb(221, 217, 253);
    text-shadow: #ddd9fd 0px 0 3px;
}

.label, .cols, legend, label {
    color: #ddd9fd;
    /* text-shadow: #ddd9fd 0px 0 2px; */
}

h3 {
    margin: 0 0 5px 0;
    width: 100%;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
    width: 100%;
}

.overline {
    border-top: 1px dashed #ddd9fd;
    padding-top: 20px;
    margin-top: 20px;
}

ul li::marker {
    content: "❖ ";
}

li {
    margin-bottom: 5px;
}

html {
    overflow-x: hidden;
}

body {
    height: 100vh;
    margin: 0;
    background: rgb(8, 4, 14);
    overflow-x: hidden;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 40% at 50% 100%, rgb(40, 18, 40) 0%, transparent 100%),
        radial-gradient(ellipse 60% 50% at 15% 50%, rgb(83, 22, 75) 0%, transparent 100%),
        radial-gradient(ellipse 60% 60% at 70% 15%, rgb(130, 55, 95) 0%, transparent 100%),
        radial-gradient(ellipse 100% 80% at 30% 10%, rgb(109, 42, 109) 0%, transparent 100%);
}

#particles {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#bg-blend {
    position: fixed;
    background: rgba(7, 7, 14, 0.25);
    width: 100%;
    height: 100%;
    z-index: 0;
}



::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.main-content {
    display: flex;
    flex: 1;
    padding: 0 20px 10px 20px;
    overflow: hidden;
}

.border{
    border: 1px dashed #ddd9fd;
    border-radius: 20px;
    background-color: rgba(14, 11, 22, 0.4);
}

.library,
.posts {
    flex: 1;
    margin-bottom: 0;
    margin: 10px;
    padding: 5px 20px;
    overflow-y: auto;
}

.posts {
    flex: 0.6;
    padding: 0;
}

.post-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.another-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
    padding-top: 15px;
}

.scroll-gradient {
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
    height: 80px;
    margin: 0 -20px;
    background: linear-gradient(to bottom, transparent, rgba(14, 11, 22, 1));
    pointer-events: none;
}

/* ===== Payment block ===== */
.payment-block {
    /* flex: 1; */
    position: relative;
    top: 0;
    z-index: 2;
    flex-shrink: 0;
    padding: 5px 14px 0;
    margin-top: 10px;
    margin-bottom: 0;
    /* margin-bottom: 10px;
    margin-top: 0; */
    background: rgba(14, 11, 22, 0.4);
    order: 1;
}

.payment-methods {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.payment-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px;
    border-radius: 15px;
    background: rgba(221, 217, 253, 0.08);
    border: 1px solid rgba(221, 217, 253, 0.2);
    transition: background 0.2s;
    text-decoration: none;
}

.payment-link:hover {
    background: rgba(221, 217, 253, 0.18);
}

.payment-link .cards {
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.payment-link .cgcZCP {
    height: 15px;
}

.payment-link span {
    font-size: 13px;
    opacity: 0.7;
}

.payment-link img{
    height: 35px;
}

.vgen-btn{
    /* background-color: #B8FF26DD; */
    background-color: #582d48dd;
    /* background-color: #555; */
}

.vgen-btn span {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.8;
}

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 10px;
    border-radius: 15px;
    border: 1px dashed rgba(221, 217, 253, 0.25);
    background: rgba(221, 217, 253, 0.04);
    font-family: 'Cause', cursive;
    font-size: 14px;
    opacity: 0.5;
    text-align: center;
    flex-shrink: 0;
}

.payment-terms p {
    font-size: 13px;
    opacity: 70%;
    line-height: 140%;
    margin: 0;
}

/* ===== Another Stuff ===== */

.library {
    position: relative;
}

.calc-body {
    display: flex;
    height: 100%;
    overflow: hidden;
    column-gap: 10px;
}

.calc-body > * {
    display: inline-block;
}

.option-selector-container {
    flex: 1;
    min-width: 0;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.options-scroll {
    flex: 1;
    padding-bottom: 80px;
    overflow-y: auto;
    min-height: 0;
    -webkit-mask: linear-gradient(white 90%, transparent);
    mask: linear-gradient(white 90%, transparent);
}

.preview {
    position: relative;
    height: 90%;
    margin: auto 0;
}

.preview img {
    height: 100%;
}

.preview-section {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-top: 1px #ddd9fd dashed;
    opacity: 70%;
    transition: none;
}

.preview-section.headshot {
    height: 83%;
}

.preview-section.bust {
    height: 72%;
}

.preview-section.halfbody {
    height: 55%;
}

.preview-section.knee {
    height: 38%;
}

.preview-section.fullbody {
    display: none;
}

.preview img {
    mask: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
    );
}

.preview img.headshot {
    mask: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 17%,
        rgba(255, 255, 255, 0.1) 17%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

.preview img.bust {
    mask: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 28%,
        rgba(255, 255, 255, 0.1) 28%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

.preview img.halfbody {
    mask: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 45%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

.preview img.knee {
    mask: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 62%,
        rgba(255, 255, 255, 0.1) 62%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

.preview img.fullbody {
    mask: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
    );
}

/* ===== Comm types ===== */
.comm-types {
    display: flex;
    cursor: default;
    gap: 5px;
    margin-bottom: 10px;
}

.comm-type {
    flex: 1;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd9fd;
    border-radius: 10px;
    color: #ddd9fd;
    box-shadow: #ddd9fd 0px 0 4px;
    text-shadow: #ddd9fd 0px 0 2px;
    opacity: 0.4;
    cursor: pointer;
    background: rgba(14, 11, 22, 0.4);
}

.comm-type:hover {
    background: #47455f;
}

.comm-type.active {
    opacity: 1;
}

.comm-type p {
    margin-top: -3px;
    font-size: 11px;
}

/* ===== Table ===== */
table {
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0;
    cursor: default;
    width: 100%;
}

th {
    border: 2px solid #ddd9fd;
    border-bottom: none;
    border-right: none;
}

.cols {
    background: rgba(14, 11, 22, 0.4);
    border-top: 2px solid #ddd9fd;
    padding: 3px 0;
}

.label {
    background: rgba(14, 11, 22, 0.4);
    border-left: 2px solid #ddd9fd;
}

tr:last-child th {
    border-bottom: 2px solid #ddd9fd;
}

tr th:last-child {
    border-right: 2px solid #ddd9fd;
}

tr:nth-child(2) .label {
    border-top-left-radius: 10px;
}

.cols-f {
    border-top-left-radius: 10px;
}

.cols:last-child {
    border-top-right-radius: 10px;
}

tr:last-child .label {
    border-bottom-left-radius: 10px;
}

tr:last-child th:last-child {
    border-bottom-right-radius: 10px;
}

.label {
    padding: 3px 0;
}

.price {
    font-weight: normal;
    font-size: 20px;
    padding: 5px;
    color: #ddd9fd;
    background: rgba(14, 11, 22, 0.4);
}

.price:hover {
    background: #47455f;
}

.price.active:hover {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 4px,
            rgba(255, 255, 255, 0.2) 4px,
            rgba(255, 255, 255, 0.2) 8px
        ),
        #ddd9fd;
}

.price::before {
    content: "$";
}

.price.active {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 4px,
            rgba(255, 255, 255, 0.15) 4px,
            rgba(255, 255, 255, 0.15) 8px
        ),
        #ddd9fd;
    color: #262b3f;
    font-weight: bold;
    animation: price-pop 0.25s ease;
}

@keyframes price-pop {
    0%   { filter: brightness(1.4); }
    50%  { filter: brightness(0.9); }
    100% { filter: brightness(1); }
}

/* ===== Accordion ===== */
.accordion {
    margin-top: 10px;
    border: 1px solid #ddd9fd;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(14, 11, 22, 0.4);
}

.accordion-header {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(71, 69, 95, 0.3);
}

.accordion-header h3 {
    margin: 0;
    font-size: 16px;
}

.accordion-icon {
    font-size: 20px;
    font-weight: bold;
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    transition: transform 0.3s ease;
}

.accordion.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 12px;
    background: rgba(14, 11, 22, 0.4);
}

.accordion.open .accordion-content {
    max-height: 1500px;
    padding: 0 12px 12px;
}

.option-group {
    margin-bottom: 14px;
}

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

.option-group h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #ddd9fd;
    font-family: "DM Sans", sans-serif;
    font-style: normal;
}

.option-group p {
    font-size: 12px;
    margin-top: 4px;
    padding-left: 2px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border: 1px solid rgba(221, 217, 253, 0.3);
    border-radius: 6px;
    background: rgba(14, 11, 22, 0.4);
}

.radio-group label:hover {
    background: rgba(71, 69, 95, 0.3);
}

.radio-group input[type="radio"] {
    accent-color: #ddd9fd;
}

.button-group {
    display: flex;
    gap: 4px;
}

.opt-btn {
    flex: 1;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd9fd;
    border-radius: 8px;
    color: #ddd9fd;
    background: rgba(14, 11, 22, 0.4);
    cursor: pointer;
    font-size: 14px;
}

.opt-btn:hover {
    background: #47455f;
}

.opt-btn.active {
    background: #ddd9fd;
    color: #262b3f;
    font-weight: bold;
}

/* ===== Screenshot button ===== */
.screenshot-btn {
    position: relative;
    margin-top: auto;
    margin-bottom: 5px;
    background: rgba(221, 217, 253, 0.08);
    border: 1px solid rgba(221, 217, 253, 0.25);
    color: #ddd9fd;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-family: "DM Sans", sans-serif;
    width: fit-content;
    transition: background 0.2s;
    user-select: none;
}
.screenshot-btn:hover {
    background: rgba(221, 217, 253, 0.18);
}

.screenshot-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 11, 22, 0.95);
    color: #ddd9fd;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.screenshot-btn:hover::after {
    opacity: 1;
}

/* ===== Estimated price ===== */
.estimated {
    margin-top: auto;
    padding: 12px;
    border-top: 1px dashed #ddd9fd;
    flex-shrink: 0;
}

.estimated p {
    font-size: 13px;
    margin-bottom: 2px;
}

.estimated-price {
    width:fit-content;
    font-size: 28px;
    text-decoration: underline;
    text-align: right;
    margin-left: auto;
}

.estimated-lower-row{
    display: flex;
}

.estimated-lower-row > *{
    display: inline-block;
}

/* ===== Right column info ===== */
.col-2 {
    display: flex;
    column-gap: 10px;
}

.col-2 > .info {
    flex: 1;
}

.info {
    margin-bottom: 15px;
}

.info h3 {
    margin-bottom: 6px;
}

.info ul {
    margin: 0;
    margin-left: 5px;
    padding-left: 15px;
    font-size: 14px;
    opacity: 80%;
    padding-bottom: 6px;
    color: #ddd9fd;
}

.align-center {
    text-align: center;
}

.cards {
    display: inline-block;
}

.cgcZCP {
    display: inline-block;
    height: 20px;
    margin-right: 3px;
    vertical-align: bottom;
    line-height: 25px;
}

.svg {
    display: inline-block;
    height: 10px;
    width: auto;
    margin: 0;
    margin-left: -1px;
    padding: 4px;
    border-radius: 4px;
    border: 1px solid gray;
    background-color: white;
}

/* ===== Info window ===== */
.info-window {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.info-header {
    font-size: 28px;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #ddd9fd;
    text-shadow: #ddd9fd 0px 0 3px;
}

.info-field, .info-close {
    padding: 10px 20px;
    width: 80%;
    max-width: 500px;
    border: 1px solid #ddd9fd;
    border-radius: 20px;
    background-color: rgba(5, 2, 7, 0.9);
}

.info-header {
    text-align: center;
    margin-top: 0;
}

.info-close {
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    background-color: rgba(5, 2, 7, 0.9);
}

.info-description h3 {
    margin-bottom: 10px;
}

.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.contacts {
    display: flex;
    gap: 15px;
    /* margin-top: 8px; */
    /* justify-content: center; */
}

.contacts a {
    text-decoration: none;
}
.contacts i {
    margin-right: 4px;
    color: #ddd9fd;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .col-2 {
        display: block;
    }

    .container {
        overflow-y: scroll;
        height: auto;
    }

    .main-content {
        display: block;
        /* width: calc(100% - 50px); */
        width: 100%;
        /* margin: auto; */
        padding: 0;
    }

    .library {
    overflow: hidden;
    }

    table {
        width: 100%;
    }

    .library,
    .posts {
        display: block;
        max-width: 100%;
        width: calc(100% - 20px);
        margin: 5px auto;
        padding: 5px;
    }
    .posts{
        padding: 5px 0;
        /* margin: 0px 5px; */
        width: calc(100% - 10px);
        /* padding: 0px 30px; */
        /* width: calc(100% - 70px); */
    }

    .label{
        padding: 0 7px;
    }

    .calc-body {
        width: 100%;
        height: auto;
    }

    .posts {
        height: auto;
    }

    .payment-block {
        order: 0;
        margin-top: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    .header {
        margin-top: 10px;
    }

    h2 {
        font-size: 21px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    h3 {
        font-size: 17px;
    }

    .preview {
        display: none;
    }

    .calc-body {
        display: block;
    }

    .option-selector-container {
        display: block;
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 15px;
    }
}