/* ============================================
   WAZA COIN AIRDROP POPUP STYLES
   ============================================ */

/* Popup Overlay */
.airdrop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.airdrop-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Container - UNIFIED SINGLE SECTION */
.airdrop-popup {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 24px;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.airdrop-overlay.active .airdrop-popup {
    transform: scale(1) translateY(0);
}

/* Close Button */
.airdrop-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.airdrop-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.airdrop-close svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
}

/* Unified Content Section */
.airdrop-content {
    padding: 50px 35px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.airdrop-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Coin Icon */
.airdrop-coin-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.airdrop-coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Coin Icon Placeholder (if no image) */
.airdrop-coin-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.airdrop-coin-placeholder::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

/* Coin Image (replaces placeholder) */
.airdrop-coin-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.airdrop-coin-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(251, 191, 36, 0.6));
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

/* All content elements need z-index to appear above background */
.airdrop-content > * {
    position: relative;
    z-index: 1;
}

/* Header Text - CLEAN & READABLE */
.airdrop-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.airdrop-description {
    font-size: 16px;
    color: #fbbf24;
    line-height: 1.6;
    margin: 16px 0 8px;
}

.airdrop-subdescription {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 8px;
}

.airdrop-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0 0 32px;
}

.airdrop-header p {
    font-size: 16px;
    color: #e0e7ff;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    font-weight: 500;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.airdrop-header p strong {
    font-weight: 700;
    color: #fbbf24;
    font-size: 17px;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.airdrop-header p + p {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #c7d2fe;
}

/* Body Section - REMOVED (now part of unified content) */

/* Benefits List - UPDATED FOR PURPLE BACKGROUND */
.airdrop-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.airdrop-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.airdrop-benefits li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #10b981;
    margin-top: 2px;
}

/* Form */
.airdrop-form {
    margin-bottom: 20px;
}

.airdrop-input-group {
    position: relative;
    margin-bottom: 16px;
}

.airdrop-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-sizing: border-box;
}

.airdrop-input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.airdrop-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Submit Button - GOLD GRADIENT FOR WAZA */
.airdrop-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e1b4b;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
    position: relative;
    overflow: hidden;
}

.airdrop-submit::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: left 0.5s ease;
}

.airdrop-submit:hover::before {
    left: 100%;
}

.airdrop-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.airdrop-submit:active {
    transform: translateY(0);
}

/* Success Message - UPDATED FOR PURPLE BACKGROUND */
.airdrop-success {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    z-index: 100;
    text-align: center;
    padding: 50px 30px;
    border-radius: 24px;
}

.airdrop-success.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.airdrop-success svg {
    width: 80px;
    height: 80px;
    stroke: #10b981;
    margin-bottom: 20px;
}

.airdrop-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}

.airdrop-success p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Success Close Button */
.airdrop-success-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.airdrop-success-close:hover {
    background: #e2e8f0;
    transform: scale(1.1);
}

.airdrop-success-close svg {
    width: 16px;
    height: 16px;
    stroke: #64748b;
    margin: 0;
}

/* Footer Note - UPDATED FOR PURPLE BACKGROUND */
.airdrop-footer {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

.airdrop-footer a {
    color: #fbbf24;
    text-decoration: none;
}

.airdrop-footer a:hover {
    text-decoration: underline;
    color: #f59e0b;
}

/* Loading State */
.airdrop-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.airdrop-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

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

/* Mobile Responsive - UNIFIED DESIGN */
@media (max-width: 640px) {
    .airdrop-overlay {
        padding: 10px;
        align-items: flex-start;
    }

    .airdrop-popup {
        max-width: 100%;
        margin: 10px 0;
        border-radius: 20px;
        max-height: 95vh;
    }

    .airdrop-content {
        padding: 40px 20px 30px;
    }
    
    .airdrop-content h2 {
        font-size: 26px;
    }

    .airdrop-description {
        font-size: 15px;
    }

    .airdrop-subdescription {
        font-size: 14px;
    }

    .airdrop-cta-text {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .airdrop-coin-image {
        width: 90px;
        height: 90px;
        margin-bottom: 16px;
    }
    
    .coming-soon-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .airdrop-benefits li {
        font-size: 14px;
    }
    
    .airdrop-input {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .airdrop-submit {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Tablet and Medium Screens - UNIFIED DESIGN */
@media (min-width: 641px) and (max-width: 1024px) {
    .airdrop-popup {
        max-width: 500px;
        max-height: 85vh;
    }
    
    .airdrop-content {
        padding: 45px 28px 32px;
    }
    
    .airdrop-content h2 {
        font-size: 28px;
    }
    
    .airdrop-description {
        font-size: 15px;
    }
    
    .airdrop-subdescription {
        font-size: 14px;
    }
    
    .airdrop-coin-image {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }
    
    .coming-soon-badge {
        font-size: 12px;
        padding: 5px 14px;
    }
    
    
    .airdrop-benefits li {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .airdrop-input {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .airdrop-submit {
        padding: 15px 22px;
        font-size: 15px;
    }
}

/* Small Tablets and Large Phones (landscape) */
@media (min-width: 641px) and (max-width: 768px) {
    .airdrop-overlay {
        padding: 15px;
    }
    
    .airdrop-popup {
        max-width: 480px;
    }
    
    .airdrop-header {
        padding: 32px 22px 28px;
    }
    
    .airdrop-coin-image {
        width: 90px;
        height: 90px;
    }
}

/* Medium to Large Tablets */
@media (min-width: 769px) and (max-width: 900px) {
    .airdrop-popup {
        max-width: 520px;
    }
}

/* Small Desktop / Large Tablet */
@media (min-width: 901px) and (max-width: 1200px) {
    .airdrop-popup {
        max-width: 540px;
    }
    
    .airdrop-header {
        padding: 38px 28px 33px;
    }
    
    .airdrop-body {
        padding: 38px 28px;
    }
}

/* Very Small Screens */
@media (max-width: 380px) {
    .airdrop-popup {
        border-radius: 16px;
    }
    
    .airdrop-header {
        padding: 25px 16px 20px;
    }
    
    .airdrop-header h2 {
        font-size: 22px;
    }
    
    .airdrop-header p {
        font-size: 14px;
    }
    
    .airdrop-header p strong {
        font-size: 15px;
    }
    
    .airdrop-coin-image {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }
    
    .coming-soon-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .airdrop-body {
        padding: 25px 16px;
    }
    
    .airdrop-benefits {
        margin-bottom: 25px;
    }
    
    .airdrop-benefits li {
        font-size: 13px;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .airdrop-benefits li svg {
        width: 20px;
        height: 20px;
    }
    
    .airdrop-input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .airdrop-submit {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .airdrop-close {
        width: 32px;
        height: 32px;
        top: 16px;
        right: 16px;
    }
    
    .airdrop-close svg {
        width: 18px;
        height: 18px;
    }
}

/* Landscape Mode for Mobile Devices */
@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
    .airdrop-overlay {
        align-items: flex-start;
        padding: 10px;
    }
    
    .airdrop-popup {
        max-height: 95vh;
        margin: 10px auto;
    }
    
    .airdrop-header {
        padding: 20px 20px 18px;
    }
    
    .airdrop-coin-image {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .airdrop-header h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .airdrop-header p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .airdrop-header p strong {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .coming-soon-badge {
        padding: 4px 12px;
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .airdrop-body {
        padding: 20px;
    }
    
    .airdrop-benefits {
        margin-bottom: 20px;
    }
    
    .airdrop-benefits li {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .airdrop-input-group {
        margin-bottom: 12px;
    }
    
    .airdrop-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .airdrop-submit {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* ============================================
   FLOATING AIRDROP BUTTON
   ============================================ */

.airdrop-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.airdrop-float-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.airdrop-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.airdrop-float-btn:active {
    transform: translateY(-1px);
}

.airdrop-float-btn .coin-image-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    animation: bounce 2s ease-in-out infinite;
}

.airdrop-float-btn .coin-image-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

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

.airdrop-float-btn .close-float {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.2s ease;
}

.airdrop-float-btn .close-float:hover {
    background: rgba(255, 255, 255, 0.3);
}

.airdrop-float-btn .close-float svg {
    width: 12px;
    height: 12px;
    stroke: white;
}

/* Mobile Responsive for Float Button */
@media (max-width: 640px) {
    .airdrop-float-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .airdrop-float-btn .coin-image-float {
        width: 28px;
        height: 28px;
    }
}
