/* Font declarations */
@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

body {
    background-color: #0f0f1a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

main {
    z-index: 10;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
}

.info-card {
    background-color: rgba(20, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.3);
}

.session-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.session-info strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

#redirect-domain {
    font-weight: 500;
    color: #4fc3f7;
}

#cookie-count {
    font-weight: 500;
    color: #a020f0;
}

.metadata-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.metadata-image {
    flex: 0 0 100px;
}

.metadata-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.metadata-text {
    flex: 1;
}

.metadata-text h3 {
    margin-bottom: 8px;
    color: #f5f5f5;
}

#metadata-price {
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 8px;
}

#metadata-description {
    font-size: 0.95rem;
    color: #b3b3b3;
}

.hidden {
    display: none;
}

#loading-screen,
#error-screen {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #3d5afe;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#error-message {
    color: #ff5252;
}

/* Background Animation */
#background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #0f0f1a;
}

/* Geometric Pattern Animation */
.geometric-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.geometric-shape {
    position: absolute;
    opacity: 0.1;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.geometric-shape.triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 34px solid #3d5afe;
}

.geometric-shape.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #6f42c1;
}

.geometric-shape.square {
    width: 30px;
    height: 30px;
    background-color: #4fc3f7;
}

/* Hover effect for geometric shapes */
.geometric-shape:hover {
    opacity: 0.3;
    transform: scale(1.2) rotate(15deg);
}

/* Float animation */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(var(--rotation, 0deg)) scale(var(--scale, 1));
    }

    33% {
        transform: translate(var(--float-x, 10px), var(--float-y, -10px)) rotate(calc(var(--rotation, 0deg) + 5deg)) scale(var(--scale, 1));
    }

    66% {
        transform: translate(calc(var(--float-x, 10px) * -0.7), var(--float-y, -10px)) rotate(calc(var(--rotation, 0deg) - 5deg)) scale(var(--scale, 1));
    }
}