﻿:root {
    --accent: #00ffff;
    --accent-glow: rgba(0, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.8s ease forwards;
}

.input-label {
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    color: #ffffffcc; /* Light white with transparency */
}

.input-note-spacing{
    margin-top: 14px;
    margin-bottom: 0px;
}

.stake-input {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Align to the left */
    gap: 12px; /* Optional spacing between elements */
    width: 100%;
    max-width: 300px;
    margin: 0 auto; /* Center the whole input block */
}

.note-field {
    margin-bottom: 10px;
    opacity: 0.95;
    font-size: 0.95rem;
}

    .note-field::placeholder {
        font-style: italic;
        color: #aaa;
    }


.tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInTagline 1.4s ease forwards;
}

@keyframes fadeInTagline {
    to {
        opacity: 1;
    }
}

/*.logo {
    font-size: 26px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--accent-glow);
}*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 32, 39, 0.61); /* matches the dark background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* thin bottom border */
    z-index: 999;
    backdrop-filter: blur(8px);
    animation: slideDown 0.6s ease forwards;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav_address {
    display: flex;
    flex-direction: column;
    gap: 80px;

}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .nav-link:hover,
    .nav-link:focus {
        color: #00ffff; /* Cyan-greenish hover */
        background: rgba(0, 255, 255, 0.1);
        transform: scale(1.08);
        box-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
        outline: none;
    }

    .nav-link:focus {
        outline: 2px solid #00ffff;
        outline-offset: 2px;
    }




.metamask-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .metamask-icon img {
        height: 38px;
        width: auto;
        filter: drop-shadow(0 0 4px rgba(255, 153, 0, 0.7));
        transition: filter 0.3s ease;
    }

    .metamask-icon:hover,
    .metamask-icon:focus {
        transform: scale(1.15);
        box-shadow: 0 0 12px rgba(255, 153, 0, 0.8), 0 0 20px rgba(255, 153, 0, 0.6);
        outline: none;
    }

    .metamask-icon:focus {
        outline: 2px solid #ff9900;
        outline-offset: 3px;
    }

.logo {
    font-size: 26px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--accent-glow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px; /* Larger than text */
    filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.4));
}

.logo span {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}

main {
    padding: 60px 20px;
    text-align: center;
}

.hero {
    margin-top: 40px;
    margin-bottom: 60px;
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

    .hero h1 {
        font-size: 40px;
        font-weight: bold;
        color: var(--accent);
        text-shadow: 0 0 12px var(--accent-glow);
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 20px;
        color: #ccc;
    }

.stake-input {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

input[type="number"] {
    padding: 12px;
    width: 200px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #111;
    transition: box-shadow 0.3s ease;
}

    input[type="number"]:focus {
        box-shadow: 0 0 10px var(--accent-glow);
    }

button {
    padding: 12px 22px;
    background-color: var(--accent);
    border: none;
    color: #111;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: background-color 0.3s, box-shadow 0.3s;
}

    button::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, var(--accent-glow), transparent 40%);
        opacity: 0;
        transition: opacity 0.4s, transform 0.4s;
        transform: scale(0);
        z-index: -1;
    }

    button:hover {
        background-color: #00c4c4;
        box-shadow: 0 0 12px var(--accent-glow), 0 0 20px var(--accent-glow);
    }

        button:hover::before {
            opacity: 0.6;
            transform: scale(1);
        }

.data-columns {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 80px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.7s forwards;
    opacity: 0;
}

.data-column {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 30px;
    min-width: 160px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    position: relative;
}

    .data-column::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 12px;
        border: 1px solid var(--accent-glow);
        opacity: 0.2;
        pointer-events: none;
    }

    .data-column h3 {
        margin-bottom: 10px;
        font-size: 18px;
        color: var(--accent);
    }

    .data-column p {
        font-size: 22px;
        font-weight: bold;
    }

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 100px;
    animation: fadeIn 1s ease 1.1s forwards;
    opacity: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

    .stat-card h4 {
        font-size: 16px;
        color: #aaa;
        margin-bottom: 8px;
    }

    .stat-card p {
        font-size: 22px;
        font-weight: 600;
        color: var(--accent);
        text-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
    }

.section-divider {
    border: none;
    height: 1px;
    width: 100%;
    margin: 60px auto 40px;
    background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.3), transparent);
    opacity: 0.6;
    animation: fadeInDivider 0.8s ease forwards;
}


@keyframes fadeInDivider {
    to {
        opacity: 0.6;
    }
}

    /*==========New Stats/Account Info Styles=======*/
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 50px;
    border-radius: 15px;
    width: 260px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-block:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,255,255,0.3);
    }

    .stat-block h3 {
        color: var(--accent);
        font-size: 20px;
        margin-bottom: 10px;
    }

    .stat-block p {
        font-size: 26px;
        font-weight: bold;
        color: #ffffff;
    }

/* Account Info */
.account-info {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.04);
    padding: 30px 20px;
    border-radius: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 20px rgba(0,255,255,0.1);
}

    .account-info h2 {
        color: #ffffff;
        margin-bottom: 20px;
    }

.affiliate-link label {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.link-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 15px;
    border-radius: 8px;
    overflow-x: auto;
}

    .link-container span {
        flex-grow: 1;
        color: #00ffff;
        font-family: monospace;
        font-size: 14px;
    }

    .link-container button {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 18px;
        margin-left: 10px;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

        .link-container button:hover {
            transform: scale(1.2);
            color: var(--accent);
        }

/* ========= Popups ========== */


/* ========= Animations ========= */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .stake-input,
    .action-buttons,
    .data-columns,
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
}
