* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8b5cf6;
    --dark-purple: #6d28d9;
    --light-purple: #a78bfa;
    --bg-black: #0a0a0a;
    --bg-dark: #1a1a1a;
    --bg-card: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --glow-purple: rgba(139, 92, 246, 0.5);
    --glow-light: rgba(167, 139, 250, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

.app-container {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
    padding-top: 0;
}

/* Bottom Navigation Bar */
.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--bg-dark);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(26, 26, 26, 0.95);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 0 0 3px 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--glow-purple);
}

.nav-item.active::before {
    width: 40px;
}

.nav-item.active {
    color: var(--primary-purple);
}

.nav-item.active .nav-icon {
    filter: drop-shadow(0 0 8px var(--glow-purple));
}

.nav-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Sections */
.section {
    display: none;
    padding: 20px 16px;
    animation: fadeIn 0.3s ease;
    min-height: calc(100vh - 80px);
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Header - Glass Style */
.profile-header {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 24px 20px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.2) 100%);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-balance {
    margin-bottom: 20px;
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.balance-label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple);
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.btn-glass {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-white);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.btn-glass svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.btn-glass:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
}

.btn-glass:active {
    transform: translateY(0);
}

.profile-gifts-section {
    margin-top: 24px;
}

.profile-gifts-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
    padding-left: 4px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--text-white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
}

/* Collection Filter */
.collection-filter {
    margin-bottom: 16px;
    position: relative;
}

.collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.collection-header:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(26, 26, 26, 0.7);
}

.collection-header.active {
    border-color: rgba(139, 92, 246, 0.5);
    border-radius: 14px 14px 0 0;
    border-bottom: none;
}

.collection-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.collection-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
}

.collection-count {
    font-size: 13px;
    color: var(--text-gray);
    background: rgba(139, 92, 246, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
}

.collection-arrow {
    width: 18px;
    height: 18px;
    color: var(--text-gray);
    transition: transform 0.25s ease;
}

.collection-header.active .collection-arrow {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

/* Collection Dropdown */
.collection-dropdown {
    display: none;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-top: none;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    animation: slideDown 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.collection-dropdown.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Collection Search */
.collection-search {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.collection-search-input {
    width: 100%;
    padding: 12px 40px 12px 42px;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.collection-search-input::placeholder {
    color: var(--text-gray);
}

.collection-search-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-gray);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.search-clear.visible {
    display: flex;
}

.search-clear:hover {
    color: var(--primary-purple);
}

.search-clear svg {
    width: 16px;
    height: 16px;
}

/* Collection List */
.collection-list {
    max-height: 350px;
    overflow-y: auto;
    padding: 8px;
}

.collection-list::-webkit-scrollbar {
    width: 6px;
}

.collection-list::-webkit-scrollbar-track {
    background: transparent;
}

.collection-list::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

.collection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collection-item:hover {
    background: rgba(139, 92, 246, 0.1);
}

.collection-item.selected {
    background: rgba(139, 92, 246, 0.15);
}

.collection-item-photo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-dark);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-item-photo img[src=""],
.collection-item-photo img:not([src]) {
    display: none;
}

.collection-item-photo svg {
    width: 24px;
    height: 24px;
    color: var(--primary-purple);
    opacity: 0.6;
}

.collection-item-info {
    flex: 1;
    min-width: 0;
}

.collection-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-item.selected .collection-item-name {
    color: var(--primary-purple);
}

.collection-item-count {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 2px;
}

.collection-empty {
    padding: 30px;
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* Gifts Grid */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gift-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gift-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2), 0 0 20px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.7);
}

.gift-card.non-transferable {
    opacity: 0.5;
    cursor: not-allowed;
}

.gift-card.non-transferable:hover {
    transform: none;
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.gift-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
}

.non-transferable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.non-transferable-text {
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gift-card:hover .gift-image img {
    transform: scale(1.05);
}

.gift-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gift-placeholder::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* TGS Animation Container */
.tgs-image {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, #0a0a12 100%);
}

.tgs-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.tgs-container svg {
    width: 100% !important;
    height: 100% !important;
}

.tgs-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tgs-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.tgs-fallback svg {
    width: 80px;
    height: 80px;
    color: var(--primary-purple);
    opacity: 0.5;
}

.gift-info {
    padding: 14px;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.gift-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gift-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.gift-price::after {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    opacity: 0.8;
}

.gift-seller {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.gift-seller::before {
    content: '@';
    font-size: 11px;
    color: var(--primary-purple);
    font-weight: 600;
}

.gift-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(8px);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 28px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-purple);
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-input option {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    box-shadow: 0 0 30px var(--glow-purple), inset 0 0 20px var(--glow-light);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.empty-state-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-purple);
    box-shadow: 0 0 20px var(--primary-purple);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.empty-state-text {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .gifts-grid {
        gap: 10px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-purple);
}

/* Gift Details Section */
.gift-details-section {
    display: none;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-black);
    z-index: 200;
    overflow-y: auto;
}

.gift-details-section.active {
    display: block;
}

.gift-details-header {
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(26, 26, 26, 0.95);
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.btn-back svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.btn-back:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-purple);
}

.gift-details-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    flex: 1;
}

.gift-details-content {
    padding: 0;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
}

.gift-details-image {
    width: 100%;
    min-height: 300px;
    max-height: 60vh;
    aspect-ratio: 1;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-details-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gift-details-image .tgs-container,
.gift-details-image > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-details-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.gift-details-placeholder {
    color: var(--text-gray);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.gift-details-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gift-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.gift-details-row:last-child {
    border-bottom: none;
}

.gift-details-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.gift-details-value {
    font-size: 16px;
    color: var(--text-white);
    font-weight: 600;
    text-align: right;
}

.gift-details-price {
    color: var(--primary-purple);
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.gift-details-actions {
    padding: 20px;
    padding-top: 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.gift-details-actions .btn-primary {
    margin-top: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

