/* web3-gate.css - Scoped to landing page only */
/* This file should NOT interfere with style.css on dex.ejs */

/* Only apply these body styles when body has landing-page class */
body.landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-attachment: fixed !important;
    flex-direction: row !important;
    margin: 0px !important;
    overflow-x: visible !important;
}

/* Landing page specific container */
.landing-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Landing page logo - scoped to landing-container */
.landing-container .logo {
    margin-bottom: 30px;
}

.landing-container .logo img {
    max-width: 200px;
    height: auto;
}

/* Landing page headings */
.landing-container h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2em;
}

.landing-container p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Connect wallet button - scoped to landing page */
.landing-container .connect-wallet-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 600;
}

.landing-container .connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.landing-container .connect-wallet-btn:active {
    transform: translateY(0);
}

.landing-container .connect-wallet-btn.feedback {
    animation: pulse 1s ease-in-out;
}

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

/* NFT Gate Messages - Global (used on both pages) */
.nft-gate-messages {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    font-weight: 500;
    max-width: 90%;
    text-align: center;
}

/* Base Wallet Address Button - DEX page only */
.base-wallet-btn {
    background: linear-gradient(135deg, #0052ff 0%, #0052ff 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
}

.base-wallet-btn:hover {
    opacity: 0.9;
}

/* Base Logout Button - DEX page only */
.base-logout-btn {
    background: #b53a2f;
    color: #e3e3e3;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.base-logout-btn:hover {
    opacity: 0.9;
}
