body {
    padding-top: 60px;
}

.page-content-wrapper { 
    margin: 50px auto;
    padding: 0 15px;
    background-color: transparent !important; 
}
.profile-header {
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center; 
}
.profile-header h1 {
    font-family: 'Cinzel', serif; 
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 3px; 
}
.accent-red-cinzel { 
    background: linear-gradient(135deg, #CC0000 0%, #8B0000 50%, #660000 100%);
    background-size: 200% 200%;
    animation: textGradientFlow 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}
.profile-info-grid {
    max-width: 400px; 
    margin: 0 auto 20px auto; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 10px; 
    padding: 0; 
    background-color: transparent; 
    border-radius: 0;
}
.info-card {
    background-color: transparent; 
    padding: 12px 15px; 
    border-radius: 6px;
    color: #D0D0D0;
    border: none;
    box-shadow: none;
    transition: all 0.3s;
}
.info-card strong {
    font-size: 1.3rem; 
    background-color: transparent; 
    margin-bottom: 2px;
    font-family: 'Cinzel', serif; 
}
.info-card small {
    font-size: 0.75rem; 
    letter-spacing: 1.5px;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 500;
}
.btn-topup-card {
    background-color: #CC0000; 
    color: #FFFFFF; 
    font-weight: 700;
    padding: 3px 6px;
    font-size: 0.75rem; 
    border-radius: 3px;
    transition: background-color 0.3s;
    border: none;
    box-shadow: none;
}
.btn-topup-card:hover {
    background-color: #A00000; 
    color: #FFFFFF;
}
.favorites-section {
    font-family: 'Cinzel', serif; 
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 25px; 
    padding-top: 10px; 
    text-align: center; 
    letter-spacing: 2px; 
}
.empty-favorites {
    font-size: 1.1rem;
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    font-family: 'Inter', 'Roboto', sans-serif;
}
.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 10px 60px 10px; 
}
.product {
    display: flex;
    flex-direction: row; 
    width: 100%;
    height: auto;
    background-color: #1A1A1A;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    align-items: stretch;
}
@media (min-width: 1200px) {
    .product {
        max-width: 580px;
        min-height: 350px;
    }
}
@media (min-width: 769px) and (max-width: 1199px) {
    .product {
        max-width: calc(50% - 10px);
        min-height: 320px;
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    .product {
        max-width: 95%;
        margin: 0 auto;
        min-height: 300px;
    }
}
@media (max-width: 575px) {
    .product {
        max-width: 95%;
        margin: 0 auto;
        min-height: 250px;
    }
}
.product-image-link {
    display: block;
    width: 40%;
    min-width: 40%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.product img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    filter: brightness(85%);
    transition: filter 0.3s;
}
.product-image-link:hover img {
    filter: brightness(100%);
}
.price-tag-badge, .favorite-icons {
    display: none !important;
}
.property-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 8px;
}
.property-icons svg {
    fill: #CC0000;
    stroke-width: 1.5;
    transition: transform 0.2s;
}
.property-icons svg:hover {
    transform: scale(1.1);
}
.product-footer-minimal {
    background-color: #1A1A1A;
    padding: 10px 15px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between; 
    width: 60%; 
    min-width: 60%;
}
.model-info-minimal {
    margin-bottom: 10px; 
    text-align: left;
}
.model-name {
    display: block;
    font-size: 1.1rem; 
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px; 
    margin-bottom: 3px;
    text-transform: uppercase;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}
.model-meta-data {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 5px 10px;
    margin-bottom: 10px;
    padding-top: 8px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(
        to right,
        rgba(204, 0, 0, 0),
        rgba(204, 0, 0, 0.85),
        rgba(204, 0, 0, 0)
    ) 1;
    font-family: 'Inter', 'Roboto', sans-serif;
}
@media (max-width: 768px) {
    .model-meta-data {
        grid-template-columns: 1fr; 
        gap: 3px 0; 
        margin-bottom: 5px; 
        padding-top: 5px;
    }
    .meta-item {
        display: flex;
        justify-content: space-between;
    }
    .meta-label {
        font-size: 11px;
        max-width: 60%; 
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .meta-value {
        font-size: 11px;
        text-align: right;
        white-space: nowrap; 
    }
}
.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.meta-label {
    font-size: 12px;
    color: #D0D0D0;
    font-weight: 400;
}
.meta-value {
    font-size: 12px; 
    color: #FFFFFF;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
.model-price-data {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px; 
    background-color: #0D0D0D;
    border-radius: 6px;
    border: 1px solid #2A2A2A;
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: 'Inter', 'Roboto', sans-serif;
}
@media (max-width: 768px) {
    .model-price-data {
        padding: 5px 8px; 
        gap: 2px;
        margin-bottom: 5px; 
    }
    .price-label {
        font-size: 12px;
    }
    .price-value {
        font-size: 13px;
    }
}
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-label {
    font-size: 13px;
    color: #D0D0D0;
    font-weight: 400;
}
.price-value {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.btn-remove-favorite {
    background-color: #0a0a0a !important; 
    color: #CC0000 !important; 
    border: 1px solid #333 !important; 
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
}
.btn-remove-favorite:hover {
    background-color: #333 !important; 
    color: #CC0000 !important; 
    border: 1px solid #CC0000 !important; 
}

.custom-modal-content {
    background-color: #000000; 
    border: 1px solid #1a1a1a; 
    border-radius: 10px; 
    box-shadow: none; 
    color: #FFFFFF; 
    font-family: 'Inter', 'Roboto', sans-serif;
}
.modal-header {
    border-bottom: 2px solid transparent;
    position: relative;
    padding: 15px 20px;
}
.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(204, 0, 0, 0) 0%,
        rgba(204, 0, 0, 0.85) 25%,
        rgba(204, 0, 0, 0) 50%,
        rgba(204, 0, 0, 0.85) 75%,
        rgba(204, 0, 0, 0) 100%
    );
    background-size: 200% 100%;
    animation: borderGradientFlow 3s linear infinite;
}
.modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF; 
    font-family: 'Cinzel', serif; 
    letter-spacing: 1.5px;
}
.modal-title i {
    color: #CC0000; 
}
.modal-title span {
    color: #CC0000; 
}
.custom-btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23CC0000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    filter: none !important;
    opacity: 0.85;
    transition: opacity 0.3s;
}
.custom-btn-close:hover {
    opacity: 1;
}
.modal-body p {
    color: #b0b0b0;
    font-size: 15px;
}
.topup-input-modal {
    background-color: #0a0a0a; 
    border: 1px solid #333;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 15px;
    transition: border-color 0.3s;
}
.topup-input-modal:focus {
    background-color: #0a0a0a;
    border-color: #CC0000; 
    box-shadow: none; 
    color: #FFFFFF;
}
.topup-currency-modal {
    background-color: #1a1a1a; 
    color: #CC0000; 
    border: 1px solid #333;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 10px; 
}
.btn-secondary-modal {
    background-color: #1a1a1a;
    color: #FFFFFF;
    border: 1px solid #333;
    font-weight: 300;
    transition: all 0.3s;
    font-family: 'Inter', 'Roboto', sans-serif;
}
.btn-secondary-modal:hover {
    background-color: #333;
    color: #FFFFFF;
}
.btn-topup-modal {
    background: linear-gradient(135deg, #CC0000 0%, #8B0000 50%, #660000 100%); 
    border: none; 
    color: #FFFFFF; 
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: none; 
    font-family: 'Cinzel', serif; 
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}
.btn-topup-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: none;
}
.btn-topup-modal:hover::before {
    animation: btnShine 0.6s ease;
}
.btn-topup-modal:hover {
    background: linear-gradient(135deg, #990000 0%, #660000 50%, #4D0000 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.4);
}
.modal-footer-styled {
    border-top: 2px solid transparent;
    position: relative;
}
.modal-footer-styled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(204, 0, 0, 0) 0%,
        rgba(204, 0, 0, 0.85) 25%,
        rgba(204, 0, 0, 0) 50%,
        rgba(204, 0, 0, 0.85) 75%,
        rgba(204, 0, 0, 0) 100%
    );
    background-size: 200% 100%;
    animation: borderGradientFlow 3s linear infinite;
}
.neon-blue, .neon-blue * {
    color: #CC0000 !important;
    text-shadow: none !important;
}
.code-search-block {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #0a0a0a; 
    border-radius: 8px;
    box-shadow: none;
    text-align: center;
}
.code-search-block h4 {
    color: #FFFFFF;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}
.code-search-block .input-group-text {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #CC0000;
}
.code-search-block .form-control {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #D0D0D0;
}

@media (max-width: 768px) {
    .profile-info-grid {
         grid-template-columns: 1fr; 
         max-width: 350px; 
    }
    .profile-header h1 {
        font-size: 2rem;
    }
}
