/* index.css - PAMPing Landing Page matching actual dapp design */

/* Import League Spartan font */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: white;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* App container matching the dapp structure */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Header matching the actual dapp header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(48, 200, 230, 0.2);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(48, 200, 230, 0.6);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testnet-link {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.testnet-link:hover {
    transform: scale(1.05);
}

.testnet-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, rgba(48, 200, 230, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(48, 200, 230, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #30C8E6;
    transition: all 0.3s ease;
}

.testnet-link:hover .testnet-badge {
    background: linear-gradient(145deg, rgba(48, 200, 230, 0.25), rgba(139, 92, 246, 0.25));
    border-color: rgba(48, 200, 230, 0.5);
    box-shadow: 0 4px 15px rgba(48, 200, 230, 0.3);
}

.testnet-indicator {
    width: 8px;
    height: 8px;
    background: #30C8E6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Main content */
.main-content {
    flex: 1;
    width: 100%;
}

/* Hero Banner Section - clean banner without text overlay */
.hero-banner {
    position: relative;
    width: 100%;
    margin: 1.5rem auto;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.banner-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
}

/* Content Section - below the banner */
.content-section {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #30C8E6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.7s ease-out;
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.main-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

/* Main buttons */
.main-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease-out 0.6s both;
}

.main-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    white-space: nowrap;
}

.main-button.primary {
    background: linear-gradient(135deg, #3B82F6 0%, #30C8E6 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.5);
}

.main-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.6);
}

.main-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.main-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Countdown timer in content section */
.countdown-container {
    margin: 1rem auto;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(20, 22, 37, 0.9), rgba(29, 32, 58, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(48, 200, 230, 0.2);
    border-radius: 15px;
    max-width: 500px;
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(48, 200, 230, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 0.75rem;
    min-width: 70px;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #30C8E6;
    display: block;
}

.time-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 0.25rem;
}

.countdown-finished {
    font-size: 1.5rem;
    font-weight: 700;
    color: #30C8E6;
    text-align: center;
    padding: 1rem;
}

/* Info Section */
.info-section {
    padding: 4rem 2rem;
    background: linear-gradient(145deg, rgba(20, 22, 37, 0.5), rgba(29, 32, 58, 0.5));
    backdrop-filter: blur(10px);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: linear-gradient(145deg, rgba(29, 32, 58, 0.8), rgba(20, 22, 37, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(48, 200, 230, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #30C8E6, #8B5CF6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(48, 200, 230, 0.2);
    border-color: rgba(48, 200, 230, 0.3);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: #30C8E6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(48, 200, 230, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(48, 200, 230, 0.2);
}

.info-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.info-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Social section */
.social-section {
    padding: 3rem 2rem;
    text-align: center;
}

.social-container {
    max-width: 600px;
    margin: 0 auto;
}

.social-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #30C8E6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(145deg, rgba(48, 200, 230, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(48, 200, 230, 0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(48, 200, 230, 0.3);
    border-color: rgba(48, 200, 230, 0.5);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(20, 22, 37, 0.95));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(48, 200, 230, 0.1);
    padding: 1.5rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #30C8E6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-banner {
        margin: 1rem auto;
        padding: 0 1rem;
    }
    
    .banner-slider {
        height: 250px;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .header-content {
        height: 3rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .testnet-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .banner-slider {
        height: 220px;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .main-description {
        font-size: 1rem;
    }
    
    .main-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .main-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .countdown-timer {
        gap: 0.75rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .time-value {
        font-size: 1.2rem;
    }
    
    .info-section {
        padding: 3rem 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-section {
        padding: 2rem 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1.5rem 1rem;
    }
    
    .countdown-container {
        padding: 1rem;
    }
    
    .time-unit {
        min-width: 55px;
        padding: 0.4rem;
    }
    
    .time-value {
        font-size: 1rem;
    }
    
    .time-label {
        font-size: 0.6rem;
    }
}
