/* claim-dex-3.css for kenomega.io/claim-jet-skin-nft */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: #000;
    color: #00d4ff;
    min-height: auto;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

/* --- Visibility Helpers --- */
.mobile-only {
    display: none;
}

/* --- Tactical Header Styles --- */
header {
    background-color: #050a14;
    border-bottom: 1px solid rgba(0, 170, 255, 0.4);
    padding: 15px 3%;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Share Tech Mono', monospace;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 24px;
    color: #00aaff;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(0, 170, 255, 0.7);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links li a {
    color: #c0c0c0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 5px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover,
.dropdown:hover > a {
    color: #00aaff;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.8);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.connect-wallet-btn {
    background: transparent;
    border: 1px solid #00aaff;
    color: #00aaff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
    clip-path: polygon(0% 8px, 8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px));
}

.connect-wallet-btn:hover {
    background-color: rgba(0, 170, 255, 0.1);
}

/* --- Dropdown Styles --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #050a14;
    border: 1px solid rgba(0, 170, 255, 0.5);
    min-width: 160px;
    z-index: 1;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: #c0c0c0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: rgba(0, 170, 255, 0.1) !important;
    color: #00aaff !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Hamburger & Mobile Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #00aaff;
    transition: all 0.3s ease-in-out;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
}

.dex-container {
    max-width: 484px;
    margin: 0;
    position: relative;
    left: 151px; /* Adjusted from 100px (moved right by 75px) */
    top: 11px; /* CHANGED: lowered by 1px to fine-tune alignment (was 10px; originally 44px) */
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #0f0;
    border-radius: 10px;
    padding: 1.6rem;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

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

.dex-header h1 {
    font-size: 2rem;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.dex-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-btn {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    padding: 0.75rem 2rem;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s;
    flex: 1;
}

.tab-btn.active,
.tab-btn:hover {
    background: #00d4ff;
    color: #000;
}

.swap-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.token-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00d4ff;
    border-radius: 8px;
    padding: 1.5rem;
}

.token-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.token-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid #00d4ff;
    color: #00d4ff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    border-radius: 20px;
    transition: all 0.3s;
}

.token-select:hover {
    background: rgba(0, 212, 255, 0.1);
}

.amount-input {
    background: transparent;
    border: none;
    color: #00d4ff;
    font-size: 1.5rem;
    width: 100%;
    font-family: 'Share Tech Mono', monospace;
    outline: none;
}

.amount-input::placeholder {
    color: rgba(0, 212, 255, 0.3);
}

.swap-arrow {
    text-align: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.swap-arrow:hover {
    transform: rotate(180deg);
    text-shadow: 0 0 15px #00d4ff;
}

.swap-info {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00d4ff;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.swap-btn {
    width: 100%;
    background: #00d4ff;
    color: #000;
    border: none;
    padding: 1rem;
    font-size: 1.2rem;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: all 0.3s;
    font-weight: bold;
}

.swap-btn:hover {
    box-shadow: 0 0 30px #00d4ff;
    transform: translateY(-2px);
}

.swap-btn:disabled {
    background: rgba(0, 212, 255, 0.3);
    cursor: not-allowed;
}

/* Claim Info Card spacing adjustments to match video height */
.claim-info-card {
    padding-top: 1rem !important; /* CHANGED: reduce padding above "NFT Collection Details" by half (was 2rem inline) */
    padding-bottom: 1rem !important; /* CHANGED: reduce padding below "Max Per Wallet: 4 NFTs" by half (was 2rem inline) */
    position: relative; 
    top: 10px; /* OFFSET: shift the entire "NFT Collection Details" box down by 10px */
}
.claim-info-card h2 {
    margin-bottom: calc(1rem - 1.6px) !important; /* TWEAK: remove additional 0.2px below "NFT Collection Details" (total 1.6px) */
}
/* Add a bit more space after the last info line ("Max Per Wallet") */
.claim-info-card > div p:last-child {
    margin-bottom: 5px !important; /* CHANGED: add 5px to the last line in the box */
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #00d4ff;
    margin-top: 0;
    background-color: black;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid #00d4ff;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .dex-container {
        padding: 1.5rem;
    }

    .dex-header h1 {
        font-size: 1.5rem;
    }
}
