/* ==============================
   ProvatShare - Global Styles
   ============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --card: #101010;
    --card-hover: #161616;
    --text: #ffffff;
    --muted: #9b9b9b;
    --blue: #168cff;
    --green: #8cff00;
    --border: #252525;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, #101b20 0%, #050505 45%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* ==============================
   Home
   ============================== */

.home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.home h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;

    background: linear-gradient(
        90deg,
        #168cff,
        #20d9d2,
        #9cff00
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    margin-top: 8px;
    color: #d8d8d8;
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.description {
    max-width: 550px;
    margin: 20px auto 35px;
    color: var(--muted);
    line-height: 1.7;
}


/* ==============================
   Send / Receive Cards
   ============================== */

.action-buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 650px;
}

.action-card {
    flex: 1;
    padding: 35px 25px;

    background: rgba(16, 16, 16, 0.85);
    border: 1px solid var(--border);
    border-radius: 20px;

    transition: 0.25s ease;
}

.action-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
    border-color: #168cff;
    box-shadow: 0 15px 50px rgba(0, 140, 255, 0.12);
}

.action-card:nth-child(2):hover {
    border-color: var(--green);
    box-shadow: 0 15px 50px rgba(140, 255, 0, 0.10);
}

.action-card .icon {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

.action-card h2 {
    font-size: 25px;
    margin-bottom: 8px;
}

.action-card p {
    color: var(--muted);
}


/* ==============================
   Common Page
   ============================== */

.send-page,
.receive-page {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 40px 20px 70px;
}

.back {
    display: inline-block;
    color: #aaa;
    margin-bottom: 35px;
    transition: 0.2s;
}

.back:hover {
    color: white;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--muted);
}


/* ==============================
   Buttons
   ============================== */

.primary-button {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 16px;

    color: white;
    font-size: 16px;
    font-weight: 700;

    background: linear-gradient(
        90deg,
        #087cff,
        #00b7ff
    );

    transition: 0.25s;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 140, 255, 0.25);
}


/* ==============================
   File List
   ============================== */

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 35px;
    color: #666;
    border: 1px dashed #292929;
    border-radius: 15px;
}


/* ==============================
   Utilities
   ============================== */

.hidden {
    display: none !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ==============================
   Mobile
   ============================== */

@media (max-width: 650px) {

    .home h1 {
        font-size: 38px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .send-page,
    .receive-page {
        padding: 25px 15px 50px;
    }

    .page-header h1 {
        font-size: 34px;
    }
}

/* Final light-mode overrides */
body { background: radial-gradient(circle at top, #e7f2ff 0%, var(--bg) 46%, #fff 100%); }
.action-card { background: rgba(255,255,255,.9); }
.back { color: #667085; }.back:hover { color: var(--text); }

/* Mobile layout */
@media (max-width: 650px) {
    .site-logo { top: 14px; left: 16px; font-size: 14px; }
    .site-logo img { width: 30px; height: 30px; }
    .home { justify-content: flex-start; padding: 105px 18px 40px; }
    .home h1 { font-size: 38px; }
    .tagline { font-size: 11px; letter-spacing: 2px; }
    .description { margin: 16px auto 28px; line-height: 1.55; }
    .action-buttons { gap: 14px; }
    .action-card { padding: 24px 18px; }
    .action-card .icon { font-size: 38px; margin-bottom: 8px; }
    .send-page, .receive-page { padding: 78px 16px 42px; }
    .back { margin-bottom: 24px; }
    .page-header { margin-bottom: 22px; }
    .page-header h1 { font-size: 34px; }
    .section-header { gap: 12px; align-items: flex-start; }
    .primary-button { padding: 15px 12px; }
}

/* Light theme and persistent brand */
:root { --bg: #f6f9ff; --card: #fff; --card-hover: #f4f8ff; --text: #172033; --muted: #667085; --blue: #1976e8; --green: #4cae4f; --border: #dce5f2; }
body { background: radial-gradient(circle at top, #e7f2ff 0%, var(--bg) 46%, #fff 100%); }
.site-logo { position: fixed; z-index: 10; top: 22px; left: 28px; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 16px; font-weight: 800; }
.site-logo img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; box-shadow: 0 3px 10px rgba(25, 118, 232, .15); }
.tagline { color: #526075; }
.action-card { background: rgba(255,255,255,.9); box-shadow: 0 6px 24px rgba(44, 73, 117, .06); }
.back { color: #667085; }.back:hover { color: var(--text); }
.empty-state { color: var(--muted); border-color: #b9c8db; }
@media (max-width:650px) { .site-logo { top:14px; left:16px; } }
