body {
    background-color: #12181f !important;
    color: #ffffff;
}

.profile-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 15px;
}

.profile-card {
    background-color: #1a222c;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid #2d3748;
}

.profile-cover {
    height: 180px;
    background: url('../images/cover.jpeg') center/cover;
    border-radius: 12px 12px 0 0;
}

.profile-info {
    padding: 0 20px 25px 20px;
    position: relative;
    text-align: left;
    /* Aligned left for the avatar and content */
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #57a1fb;
    /* Blue border like in the reference */
    overflow: hidden;
    margin-top: -60px;
    /* Pulls it up into the cover image */
    margin-bottom: 12px;
    display: inline-block;
    background: #1a222c;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fff;
    font-family: inherit;
}

.profile-title {
    font-size: 16px;
    color: #cbd5e1;
    /* slightly lighter color */
    margin-bottom: 10px;
    font-weight: 600;
}

.profile-desc {
    color: #9aa0a6;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.4;
    border-left: 2px solid #cbd5e1;
    padding-left: 10px;
    font-weight: 500;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.profile-badge {
    background: #2d3748;
    color: #e2e8f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-exchange {
    background: #57a1fb;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 14px;
    flex-grow: 1;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-exchange:hover {
    background: #468ee0;
    color: #fff;
}

.btn-download {
    background: #57a1fb;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 22px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #468ee0;
    color: #fff;
}

.platform-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.tool-item {
    background: #1a222c;
    border-radius: 50px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.tool-item:hover {
    transform: translateY(-5px);
    background: #242a35;
    border-color: #2d3748;
}

.tool-item .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
    background: #2d3748;
    /* fallback */
}

.tool-item-content {
    flex-grow: 1;
}

.tool-item-content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.tool-item-content p {
    color: #9aa0a6;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.4;
}

.row.section-row {
    margin-top: 30px;
}

.platform-link {
    display: flex;
    align-items: center;
    background: #1a222c;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.platform-link:hover {
    background: #242a35;
    border-color: #2d3748;
}

.platform-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-right: 18px;
    flex-shrink: 0;
}

.platform-text {
    flex-grow: 1;
}

.platform-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.platform-sub {
    color: #9aa0a6;
    font-size: 13px;
    margin-bottom: 0;
}

.platform-arrow {
    color: #9aa0a6;
    font-size: 14px;
}

.dot-footer {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 40px;
}

.dot-logo-text {
    color: #57a1fb;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.footer-brand {
    color: #fff;
    font-size: 22px;
    margin-bottom: 4px;
    font-family: serif;
}

.dot-logo-sub {
    color: #9aa0a6;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.dot-join {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dot-join:hover {
    color: #e2e8f0;
}

.profile-modal .modal-content {
    background: #1a222c;
    border-radius: 20px;
    border: 1px solid #2d3748;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.profile-modal .modal-header {
    border-bottom: none;
    padding: 20px 20px 0 20px;
}

.profile-modal .modal-title {
    color: #fff;
    font-family: serif;
    font-size: 20px;
}

.profile-modal .btn-close-custom {
    background: #000;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.profile-modal .btn-close-custom:hover {
    background: #222;
}

.profile-modal .modal-body {
    padding: 20px;
}

.profile-modal .form-control {
    background: transparent !important;
    border: 1px solid #4a5568 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
}

.profile-modal .form-control:focus {
    border-color: #57a1fb !important;
    box-shadow: none !important;
}

.profile-modal .form-label {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.dropdown-toggle-custom {
    background: transparent;
    border: 1px solid #4a5568;
    color: #fff;
    border-radius: 10px 0 0 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu-dark {
    background: #2d3748;
}

.dropdown-menu-dark .dropdown-item {
    color: #fff;
}

.dropdown-menu-dark .dropdown-item:hover {
    background: #4a5568;
    color: #fff;
}

.input-group-custom {
    display: flex;
}

.input-group-custom .form-control {
    border-radius: 0 10px 10px 0 !important;
    border-left: none !important;
}

.illustration-box {
    background: #f0f4f8;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    height: 180px;
    overflow: hidden;
}

@media (max-width: 500px) {
    .profile-container {
        padding: 15px 10px;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
        margin-top: -45px;
    }
}

