/* ==========================================================
   GLOBAL
========================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}


/* ==========================================================
   LAYOUT
========================================================== */

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.layout {
    display: flex;
    flex: 1;
}

.content {
    flex: 1;
    padding: 25px;
}


/* ==========================================================
   SIDEBAR
========================================================== */

.sidebar {
    width: 230px;
    background: #111827;
    border-right: 1px solid #1f2937;
    padding: 18px;
}

.logo {
    font-size: 17px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #1f2937;
    margin-bottom: 15px;
}

.title {
    margin: 15px 0 8px;
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
}

.sidebar a {
    display: block;
    margin-bottom: 4px;
    padding: 9px 12px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 5px;
}

.sidebar a:hover {
    background: #1e293b;
    color: #fff;
}


/* ==========================================================
   FOOTER
========================================================== */

footer {
    background: #111827;
    border-top: 1px solid #1f2937;
    color: #64748b;
    padding: 10px;
    text-align: center;
    font-size: 11px;
}


/* ==========================================================
   COMMON COMPONENTS
========================================================== */

.card {
    padding: 20px;
    background: #1a253f;
    border-radius: 12px;
    box-shadow: 5px 5px 15px #0000007a;
}


/* ==========================================================
   LTD PAGE
========================================================== */

.ltd-page {
    max-width: 80%;
    margin: 30px auto;
}

.ltd-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nav-button {
    padding: 12px 20px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
}

.nav-button:hover {
    background: #1e293b;
}

.ltd-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ltd-title h1 {
    margin: 0;
    font-size: 30px;
}

.ltd-badge {
    max-width: 60px;
    max-height: 60px;
    cursor: pointer;
}

.ltd-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    padding: 20px 0;
}


/* ==========================================================
   IMAGE AREA
========================================================== */

.ltd-image-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.ltd-main-image {
    max-width: 250px;
    image-rendering: pixelated;
    transition: .3s ease;
}


/* ==========================================================
   FLIP BUTTON
========================================================== */

.flip-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 42px;
    height: 42px;

    background: #0f172a;
    color: #fff;

    border: none;
    border-radius: 50%;

    cursor: pointer;
    font-size: 20px;
    font-weight: bold;

    transition: .2s;
}

.flip-button:hover {
    background: #1e293b;
    transform: scale(1.1);
}


/* ==========================================================
   STATS
========================================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    padding: 15px;
    background: #2d3a57;
    border-radius: 8px;
}

.stat span {
    color: #50a9d5;
    font-size: 20px;
    font-weight: 600;
}

.stat strong {
    margin-top: 4px;
    font-size: 13px;
}


/* ==========================================================
   OWNERSHIP TABLE
========================================================== */

.owner-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.owner-table th {
    padding: 12px;
    background: #2d3a57;
    text-align: left;
}

.owner-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.owner-table tr:hover {
    background: #495777;
}

.owner-info {
    color: #63c7ef;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    background: #2d3a57;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================================
   COPY ALERT
========================================================== */

.copy-alert {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;

    padding: 12px 18px;

    background: #181a1b;
    color: #fff;

    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);

    font-size: 14px;
    font-weight: 600;

    animation: fadeIn .2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 900px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .ltd-page {
        max-width: 95%;
    }

    .ltd-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats {
        grid-template-columns: 1fr;
    }
}