/* Regular font */
@font-face {
    font-family: "Play";
    src: url("/Styles/Fonts/Play-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Bold font */
@font-face {
    font-family: "Play";
    src: url("/Styles/Fonts/Play-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Play", sans-serif;
}

/* Body styling */
body {
    background: radial-gradient(circle at top, #1e1e24, #0f0f12);
    color: #e4e4e7;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1, h2 {
    font-family: "Play", sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Title bar */
#titleBar {
    position: absolute;
    top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#titleLogo {
    width: 36px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

h1 {
    font-size: 1.6rem;
    color: #c084fc;
    letter-spacing: 1px;
}

#logo {
    width: 80px;                 /* size of logo */
    margin-bottom: 10px;

    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
    transition: transform 0.2s ease;
}

/* subtle hover effect */
#logo:hover {
    transform: scale(1.05);
}

/* Main box */
#Box1 {
    background: linear-gradient(145deg, #1a1a1f, #121216);
    border-radius: 20px;
    padding: 40px;        /* ⬅ more inner space */
    width: 420px;         /* ⬅ wider box */

    text-align: center;

    box-shadow:
        0 0 25px rgba(168, 85, 247, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.02);
}

/* Subtitle */
#Box1 h2 {
    margin-bottom: 20px;
    color: #a78bfa;
}

/* Key display box */
#Keybox {
    background: #0f0f14;
    border-radius: 12px;
    padding: 20px;          /* ⬅ bigger inside */
    margin-bottom: 25px;

    font-size: 1.2rem;      /* ⬅ bigger text */
}

/* Glow on hover */
#Keybox:hover {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transform: scale(1.02);
}

/* Key text */
#keyText {
    font-family: "Play", sans-serif;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 3px;
    color: #e9d5ff;
    user-select: none;
}

/* Button */
button {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    border: none;
    border-radius: 12px;
    padding: 12px;
    width: 100%;

    color: white;
    font-weight: bold;
    cursor: pointer;

    transition: all 0.2s ease;
}

/* Button hover */
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

/* Button click */
button:active {
    transform: scale(0.97);
}

/* My Keys button */
#navLinks {
    margin-top: 10px;
    width: 100%;
}

.btn-dash {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
}

.btn-dash:hover {
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

#Box1 > a {
    display: block;
    text-decoration: none;
}

/* Status message */
#statusMsg {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 14px 0 18px;
    min-height: 1.2em;
    transition: color 0.3s;
}

/* Two-button row */
#btnRow {
    display: flex;
    gap: 10px;
}

#btnRow .btn-provider {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: 11px 8px;
}

.btn-linkvertise {
    background: linear-gradient(135deg, #d97706, #92400e);
}
.btn-linkvertise:hover {
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.55);
}

.btn-workink {
    background: linear-gradient(135deg, #16a34a, #14532d);
}
.btn-workink:hover {
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.55);
}

/* Duration badge */
.badge {
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 0.7rem;
    font-weight: normal;
    letter-spacing: 0.5px;
}