/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #81d8d0;
    color: white;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(129, 216, 208, 0) 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 185, 177, 0.4) 0%, rgba(129, 216, 208, 0) 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(129, 216, 208, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Floating Jewelry */
.floating-jewelry {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.jewelry-item {
    position: absolute;
    font-size: 24px;
    opacity: 0.15;
    animation: floatJewelry linear infinite;
}

@keyframes floatJewelry {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Spotlight Effect */
.spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 3;
    transition: transform 0.1s ease-out;
    transform: translate(-50%, -50%);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-connect {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease-out;
}

.btn-connect:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wallet-icon {
    width: 20px;
    height: 20px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* NFT Display */
.nft-display {
    position: sticky;
    top: 6rem;
    animation: fadeInUp 1s ease-out;
}

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

.nft-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.nft-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.nft-card-inner {
    position: relative;
}

.nft-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(129, 216, 208, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    color: black;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.nft-badge svg {
    width: 16px;
    height: 16px;
}

.nft-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.nft-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.nft-info {
    padding: 1.5rem 0 0;
}

.nft-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nft-collection {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.nft-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
}

/* Claim Section */
.claim-section {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.claim-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
}

.claim-header {
    text-align: center;
    margin-bottom: 2rem;
}

.claim-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(129, 216, 208, 0.2);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.claim-icon svg {
    width: 32px;
    height: 32px;
    color: #81d8d0;
}

.claim-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.claim-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(129, 216, 208, 0.1);
    border: 1px solid rgba(129, 216, 208, 0.3);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #81d8d0;
    border-radius: 50%;
    animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-text {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Form */
.claim-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-label svg {
    width: 16px;
    height: 16px;
    color: #81d8d0;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    border-color: #81d8d0;
    background: rgba(0, 0, 0, 0.4);
}

.form-input:read-only {
    cursor: not-allowed;
    opacity: 0.6;
}

.wallet-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: #ffc107;
}

.wallet-hint svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.wallet-hint.hidden {
    display: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: #81d8d0;
    flex-shrink: 0;
}

/* Claim Button */
.btn-claim {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #81d8d0, #5bb9b1);
    border: none;
    border-radius: 0.75rem;
    color: black;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-claim:hover:not(:disabled) {
    background: linear-gradient(to right, #6ec9c1, #4aa8a0);
    transform: scale(1.02);
}

.btn-claim:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-claim:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-claim:hover:not(:disabled) .arrow-icon {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nft-display {
        position: relative;
        top: 0;
    }

    .main-content {
        padding: 5rem 1.5rem 2rem;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-logo svg {
        width: 100px;
        height: 33px;
    }

    .btn-connect {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .main-content {
        padding: 5rem 1rem 2rem;
    }

    .claim-card {
        padding: 1.5rem;
    }

    .claim-title {
        font-size: 1.5rem;
    }

    .claim-subtitle {
        font-size: 0.875rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nft-stats {
        grid-template-columns: 1fr;
    }
}

/* 3D Card Tilt Effect */
.nft-card.tilt {
    transform: perspective(1000px);
}
