/* Enhanced Pinterest Masonry Gallery Styles */

/* Gallery Expanded Content Container - Full Page */
.gallery-expanded-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 80px 40px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-expanded-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-expanded-content {
        padding: 80px 15px 20px;
    }
}

/* Custom scrollbar for gallery container */
.gallery-expanded-content::-webkit-scrollbar {
    width: 12px;
}

.gallery-expanded-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.gallery-expanded-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.gallery-expanded-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    background-clip: padding-box;
}

/* Gallery State Effects */
.card__box {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable transitions when showing PGP/Terms */
.card__box.no-transition {
    transition: none !important;
}

.card__box.gallery-expanded {
    /* Subtle scale effect when gallery is open */
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Body state when gallery is active */
body.gallery-active {
    overflow: hidden !important;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.svgBgCover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.gallery-active .svgBgCover {
    opacity: 0.3;
    filter: blur(5px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Exit button - Gallery Only */
.gallery-exit-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    font-family: 'Satoshi', sans-serif;
    backdrop-filter: blur(10px);
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gallery-exit-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Gallery exit button close animation */
.gallery-exit-btn.closing {
    animation: exitFillAnimation 0.5s ease forwards;
}

@keyframes exitFillAnimation {
    0% {
        background: transparent;
        transform: scale(1);
    }
    50% {
        background: rgba(239, 68, 68, 0.8);
        transform: scale(0.95);
        border-color: rgba(239, 68, 68, 1);
    }
    100% {
        background: rgba(239, 68, 68, 0);
        transform: scale(1);
        opacity: 0;
    }
}

/* Gallery Header */
.gallery-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    animation: fadeInDown 0.6s ease forwards;
}

.gallery-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pinterest-style Masonry Grid Layout */
.gallery-masonry-grid {
    column-count: 5;
    column-gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 1400px) {
    .gallery-masonry-grid {
        column-count: 4;
    }
}

@media (max-width: 1024px) {
    .gallery-masonry-grid {
        column-count: 3;
        column-gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-masonry-grid {
        column-count: 2;
        column-gap: 12px;
    }
    
    .gallery-header {
        margin-bottom: 30px;
    }
    
    .gallery-title {
        font-size: 28px;
    }
    
    .gallery-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry-grid {
        column-count: 2;
        column-gap: 10px;
    }
    
    .gallery-title {
        font-size: 24px;
    }
}


/* Pinterest-style Masonry Items */
.gallery-masonry-item {
    break-inside: avoid;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    background: #1a1a2e;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.gallery-masonry-item.masonry-tall {
    height: 450px;
}

.gallery-masonry-item.masonry-medium {
    height: 350px;
}

.gallery-masonry-item.masonry-short {
    height: 280px;
}

.gallery-masonry-item.masonry-extra-tall {
    height: 550px;
}

@media (max-width: 768px) {
    .gallery-masonry-item {
        margin-bottom: 12px;
    }
    
    .gallery-masonry-item.masonry-tall {
        height: 350px;
    }
    
    .gallery-masonry-item.masonry-medium {
        height: 280px;
    }
    
    .gallery-masonry-item.masonry-short {
        height: 220px;
    }
    
    .gallery-masonry-item.masonry-extra-tall {
        height: 400px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.gallery-masonry-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.gallery-masonry-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Overlay with Product Info */
.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-masonry-item:hover .gallery-item-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-masonry-item:hover .overlay-content {
    transform: translateY(0);
}

.item-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.item-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.item-action {
    display: inline-block;
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox Styles */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: calc(100vh - 80px);
    z-index: 1;
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
}

.lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-loading {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 20%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        transparent 100%
    );
    padding: 60px 20px 20px;
    border-radius: 0 0 16px 16px;
    pointer-events: none;
}

.lightbox-info-overlay .lightbox-info {
    pointer-events: auto;
}

.lightbox-info-overlay .view-more-btn {
    pointer-events: auto;
}

.lightbox-info {
    text-align: left;
    width: 100%;
    color: white;
}

.lightbox-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.lightbox-description-wrapper {
    position: relative;
}

.lightbox-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    margin: 0 0 12px 0;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.lightbox-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-more-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: -8px;
    margin-bottom: 12px;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color 0.2s ease;
}

.view-more-btn:hover {
    color: #fff;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Indicator dots */
.lightbox-indicators {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    margin: 12px 0 8px 0;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.indicator-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Button hover effects */
.lightbox-prev:disabled,
.lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-prev:not(:disabled):hover,
.lightbox-next:not(:disabled):hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-lightbox.active {
        padding: 20px;
    }
    
    .lightbox-image {
        max-height: calc(100vh - 160px);
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .lightbox-info-overlay {
        padding: 30px 15px 15px;
    }
    
    .lightbox-title {
        font-size: 18px;
    }
    
    .lightbox-description {
        font-size: 14px;
    }
    
    .item-title {
        font-size: 16px;
    }
    
    .item-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry-grid {
        gap: 10px;
    }
    
    .gallery-exit-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .lightbox-title {
        font-size: 20px;
    }
    
    .lightbox-description {
        font-size: 14px;
    }
}

/* Custom scrollbar removed - using page scroll instead */

/* Ensure gallery content displays properly */
.card__box-links__content.gallery-container {
    padding: 20px;
}

/* Fix for gradient overlays in expanded mode */
.card__box.gallery-expanded .card__box-links__gradientContent {
    display: none !important;
}

/* PGP Full Container - Takes over entire card */
.pgp-full-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    animation: none !important;
    transition: none !important;
}

/* PGP Header Bar - Fixed to top */
.pgp-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 16px 16px 0 0;
}

.pgp-back-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
}

.pgp-back-button:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-2px);
}

.pgp-main-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Satoshi', sans-serif;
}

.pgp-copy-status {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
}

.pgp-copy-status:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.pgp-copy-status.copied {
    animation: copySuccess 0.6s ease forwards;
}

@keyframes copySuccess {
    0% {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.15);
        transform: scale(1);
    }
    50% {
        background: rgba(76, 175, 80, 0.9);
        border-color: rgba(76, 175, 80, 1);
        color: white;
        transform: scale(0.95);
    }
    100% {
        background: rgba(76, 175, 80, 0.1);
        border-color: rgba(76, 175, 80, 0.6);
        color: rgba(76, 175, 80, 1);
        transform: scale(1);
    }
}

/* PGP Simple Content Area */
.pgp-simple-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* PGP Key Block - Simple Pattern */
.pgp-key-block {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    line-height: 1.4;
}

/* Custom scrollbar for simple content */
.pgp-simple-content::-webkit-scrollbar {
    width: 6px;
}

.pgp-simple-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.pgp-simple-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.pgp-simple-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Removed fingerprint and instructions sections for cleaner display */

/* Terms Full Container - Takes over entire card */
.terms-full-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    animation: none !important;
    transition: none !important;
}

/* Terms Header Bar - Fixed to top */
.terms-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 16px 16px 0 0;
}

.terms-back-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
}

.terms-back-button:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-2px);
}

.terms-main-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Satoshi', sans-serif;
}

/* Terms Content Area */
.terms-content-area {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}

.terms-content-block {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.terms-section:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.terms-section h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Satoshi', sans-serif;
}

.terms-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Satoshi', sans-serif;
}

.terms-section.important-note {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.terms-section.important-note p {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.terms-section.warning-note {
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.2);
}

.terms-section.warning-note h3 {
    color: rgba(251, 191, 36, 0.9);
}

.terms-section.warning-note p {
    color: rgba(255, 255, 255, 0.8);
}

.warning-text {
    color: rgba(239, 68, 68, 0.9) !important;
    font-weight: 600 !important;
    margin-top: 12px !important;
}

/* Custom scrollbar for terms content */
.terms-content-area::-webkit-scrollbar {
    width: 6px;
}

.terms-content-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.terms-content-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.terms-content-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Responsive Design for PGP Full Container */
@media (max-width: 768px) {
    .pgp-header-bar {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .pgp-main-title {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    
    .pgp-simple-content {
        padding: 20px;
    }
    
    .pgp-key-block {
        font-size: 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .pgp-header-bar {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .pgp-main-title {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .pgp-back-button,
    .pgp-copy-status {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .pgp-simple-content {
        padding: 15px;
    }
    
    .pgp-key-block {
        font-size: 9px;
        padding: 12px;
    }
}

/* Responsive Design for Terms Full Container */
@media (max-width: 768px) {
    .terms-header-bar {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .terms-main-title {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    
    .terms-content-area {
        padding: 20px;
    }
    
    .terms-section {
        padding: 15px;
    }
    
    .terms-section h3 {
        font-size: 13px;
    }
    
    .terms-section p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .terms-header-bar {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .terms-main-title {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .terms-back-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .terms-content-area {
        padding: 15px;
    }
    
    .terms-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .terms-section h3 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .terms-section p {
        font-size: 11px;
    }
}