

*, *::before, *::after {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 16px;
    color: #222;
    background-image: linear-gradient(135deg,
        #2c2c2c 0%, #555555 40%, #888888 70%, #b0b0b0 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
}


.page-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}


.navbar {
    width: 180px;
    min-width: 180px;
    background: linear-gradient(to bottom, #1a1a2e, #16213e, #0f3460);
    box-shadow: 3px 0 10px rgba(0,0,0,0.5);
    overflow: hidden;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.navbar li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 16px 18px;
    display: block;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.navbar a:hover {
    background-color: rgba(255,255,255,0.18);
    color: #ffffff;
    padding-left: 26px;
}

.navbar a:active  { background-color: rgba(233,69,96,0.5); color: #fff; }
.navbar a:visited { color: #b0c4de; }

.navbar li:first-child a { border-top: 3px solid #e94560; color: #fff; font-weight: 700; }
.navbar li:last-child  a { border-bottom: 3px solid #e94560; }


.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}


header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44,62,80,0.92);
    padding: 30px 20px;
    min-height: 100px;
    background-image: url(images/logotransparent.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 180px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

h1 {
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 2.4em;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    margin: 10px 0;
    line-height: 1.3;
}


.scroll-box-container {
    width: 90%;
    max-width: 760px;
    height: 160px;
    margin: 20px auto;
    border: 2px solid #0f3460;
    border-radius: 10px;
    overflow: auto;
    background-color: rgba(240,245,255,0.9);
    padding: 15px 20px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15), 0 3px 8px rgba(0,0,0,0.2);
}

.scroll-box-container p { margin: 0 0 10px; font-size: 1em; line-height: 1.6; color: #333; }

.scroll-box-label {
    font-size: 0.78em;
    color: #0f3460;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px auto 4px;
    width: 90%;
    max-width: 760px;
    display: block;
}


main {
    width: 90%;
    max-width: 860px;
    margin: 20px auto;
    padding: 30px 35px;
    background-color: rgba(255,255,255,0.93);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    border: 1px solid rgba(200,200,200,0.5);
}

main p  { font-size: 1.1em; line-height: 1.7em; color: #333; }
main h2 { font-size: 1.6em; color: #0f3460; margin-bottom: 10px; }


.info-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}


.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    color: #fff;
    border-radius: 10px;
    padding: 22px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 0.95em;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.info-card span  { font-size: 2em; margin-bottom: 8px; }


img {
    max-width: 100%;
    height: auto;
    display: block;
}

.savannah-bg,
.gsu-bg,
.shibuyahobbies{
    width: 90%;
    max-width: 700px;
    height: 280px;
    margin: 20px auto;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    display: block;
}

.savannah-bg  { background-image: url(images/SAVANNAH.webp); background-position: center top; }
.gsu-bg       { background-image: url(images/gsuarmstrong.jpg); }
.shibuyahobbies { background-image: url(images/shibuyahobbies.jpg); }




.education-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px 20px;
    align-items: start;
    margin: 20px 0;
}

.edu-label {
    font-weight: 700;
    color: #0f3460;
    font-size: 0.88em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 3px;
}

.edu-detail {
    border-left: 3px solid #e94560;
    padding-left: 14px;
    line-height: 1.6;
    color: #333;
    font-size: 1em;
}


.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}


.hobby-card {
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: #fff;
    border-radius: 10px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.hobby-card:hover { transform: translateY(-3px); }
.hobby-card .hobby-icon { font-size: 2.2em; flex-shrink: 0; }
.hobby-card .hobby-text h3 { margin: 0 0 4px; font-size: 1.05em; }
.hobby-card .hobby-text p  { margin: 0; font-size: 0.88em; opacity: 0.85; line-height: 1.5; background-color:#d4d4d499; font-weight: bold;  }


.educationp {
    padding: 20px 25px; margin: 20px 0; border: 2px solid #0f3460;
    border-radius: 10px; background-color: #d4d4d499;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2); font-size: 1.05em; line-height: 1.7; color: #222;
}

.hobbiesp {
    text-align: center; background-color: rgba(211,211,211,0.6);
    padding: 18px 25px; margin: 20px 0 8px; border: 2px solid #0f3460;
    border-radius: 10px; box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    font-size: 1.2em; font-weight: 600; color: #1a1a2e;
}

.ulhobbies {
    list-style-type: circle; text-align: center; list-style-position: inside;
    padding-left: 0; font-size: 1.1em; line-height: 2; color: #333;
}


.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}


.work-card {
    background: rgba(240,245,255,0.9);
    border: 2px solid #0f3460;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.work-card h3 { margin: 0; color: #0f3460; font-size: 1.05em; }
.work-card p  { margin: 0; font-size: 0.93em; line-height: 1.5; color: #444; }

.workp {
    padding: 20px 25px; margin: 20px 0; border: 2px solid #0f3460;
    border-radius: 10px; background-color: rgba(211,211,211,0.6);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2); font-size: 1.05em; line-height: 1.7; color: #222;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}


.contact-item {
    background: rgba(240,245,255,0.9);
    border: 2px solid #0f3460;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.contact-icon { font-size: 2em; }
.contact-item h3 { margin: 0; color: #0f3460; font-size: 0.95em; text-transform: uppercase; letter-spacing: 0.5px; }


.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    justify-content: flex-start;
}

.contacta {
    display: inline-block;
    text-decoration: none;
    background-color: rgba(15,52,96,0.85);
    color: #ffffff;
    padding: 12px 24px;
    border: 2px solid #1a1a2e;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-size: 1.05em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contacta:hover {
    background: linear-gradient(to right, #0f3460, #16213e);
    color: #ffffff;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.45);
}


main dl { padding: 10px 5px; margin: 0; }
main dt { font-size: 1.1em; color: #0f3460; font-weight: 700; margin-top: 15px; }
main dd { font-size: 1em; color: #444; margin-left: 20px; line-height: 1.6; }


footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 30px;
    background: linear-gradient(to right, #1a1a2e, #0f3460);
    color: #e0e0e0;
    padding: 20px 30px;
    margin-top: auto;
    border-top: 3px solid #e94560;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

footer h3 { font-size: 1.1em; color: #fff; margin: 0; }

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

footer a { color: #a8d8ea; text-decoration: none; font-size: 0.9em; line-height: 1.8; }
footer a:hover { color: #fff; text-decoration: underline; }


@media screen and (max-width: 900px) {

    .page-wrapper { flex-direction: column; }

    .navbar { width: 100%; min-width: unset; }

    .navbar ul { flex-direction: row; flex-wrap: wrap; }
    .navbar li { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); }
    .navbar a  { padding: 12px 14px; font-size: 0.88em; }
    .navbar a:hover { padding-left: 14px; }

    .info-card-grid { grid-template-columns: repeat(2, 1fr); }

    .education-grid { grid-template-columns: 1fr; }
    .edu-detail { border-left: none; border-top: 3px solid #e94560; padding-left: 0; padding-top: 8px; }

    h1 { font-size: 1.9em; }
    header { background-size: 120px auto; }

    .savannah-bg, .gsu-bg, .shibuyahobbies { height: 200px; }

    footer { grid-template-columns: 1fr; text-align: center; }
    .footer-links { align-items: center; }
}


@media screen and (max-width: 600px) {

    body { font-size: 15px; }

    header { background-image: none; padding: 20px 15px; }
    h1     { font-size: 1.5em; }

    .info-card-grid  { grid-template-columns: 1fr; }
    .hobbies-grid    { grid-template-columns: 1fr; }
    .work-grid       { grid-template-columns: 1fr; }
    .contact-grid    { grid-template-columns: 1fr; }

    .contact-buttons { flex-direction: column; }
    .contacta        { width: 100%; text-align: center; }

    main { width: 95%; padding: 20px 18px; }

    .savannah-bg, .gsu-bg, .shibuyahobbies { height: 160px; width: 95%; }
    

    .scroll-box-container { width: 95%; height: 140px; }
    .scroll-box-label     { width: 95%; }
    .navbar a             { padding: 10px 10px; font-size: 0.82em; }
    footer                { padding: 16px 15px; }
}


.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.97em;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.styled-table thead tr {
    background: linear-gradient(to right, #0f3460, #16213e);
    color: #ffffff;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.styled-table th,
.styled-table td {
    padding: 13px 18px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dde4ef;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #eef2fa;
}

.styled-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 3px solid #e94560;
}

.styled-table tbody tr:hover {
    background-color: #d4e0f5;
    transform: scale(1.01);
}

.table-caption {
    font-weight: 700;
    color: #0f3460;
    font-size: 1em;
    margin: 20px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.hobby-card:hover {
    transform: translateY(-5px) rotate(1deg) scale(1.03);
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.info-card:hover {
    transform: translateY(-6px) rotateX(8deg) scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.contact-item:hover .contact-icon {
    display: inline-block;
    transform: rotate(15deg) scale(1.3);
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: perspective(600px) rotateY(4deg) translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.hobby-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.info-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 8px 22px rgba(15,52,96,0.25);
    border-color: #e94560;
}

.details-section {
    margin: 16px 0;
    border: 2px solid #0f3460;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.details-section summary {
    padding: 14px 20px;
    background: linear-gradient(to right, #0f3460, #16213e);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05em;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.25s ease;
    user-select: none;
}

.details-section summary::-webkit-details-marker { display: none; }

.details-section summary::before {
    content: "▶";
    font-size: 0.75em;
    transition: transform 0.3s ease;
    display: inline-block;
}

.details-section[open] summary::before {
    transform: rotate(90deg);
}

.details-section summary:hover {
    background: linear-gradient(to right, #16213e, #e94560);
}

.details-section .details-body {
    padding: 18px 22px;
    background-color: rgba(240,245,255,0.95);
    color: #333;
    line-height: 1.7;
    font-size: 0.98em;
    border-top: 2px solid #e94560;
}

.details-body ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.details-body li {
    margin-bottom: 6px;
}

@media print {
    .navbar { display: none; }
    .page-wrapper { flex-direction: column; }
    body { background: white; color: black; }
    main { box-shadow: none; border: 1px solid #ccc; width: 100%; max-width: 100%; }
}



.form-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 3px solid #e94560;
}

.form-section h2 {
    font-size: 1.6em;
    color: #0f3460;
    margin-bottom: 6px;
}

.form-section p {
    color: #444;
    font-size: 1em;
    margin-bottom: 20px;
}

.contact-form {
    background: linear-gradient(160deg, #f4f7ff 0%, #eef2fa 100%);
    border: 2px solid #0f3460;
    border-radius: 14px;
    padding: 30px 32px;
    box-shadow: 0 6px 24px rgba(15, 52, 96, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.92em;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #e94560;
    margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #b0c4de;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    color: #222;
    background-color: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.15);
}

.contact-form input:valid:not(:placeholder-shown) {
    border-color: #2ecc71;
}

.contact-form input:invalid:not(:placeholder-shown) {
    border-color: #e94560;
}

.contact-form select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #b0c4de;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    color: #222;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f3460' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.contact-form select:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.15);
}

.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #b0c4de;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    color: #222;
    background-color: #fff;
    resize: vertical;
    min-height: 130px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.contact-form textarea:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.15);
}

.char-hint {
    font-size: 0.78em;
    color: #888;
    margin-top: 4px;
    text-align: right;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 6px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.97em;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #0f3460;
    cursor: pointer;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 6px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.97em;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.radio-label input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: #e94560;
    cursor: pointer;
}

.consent-group {
    background-color: rgba(15, 52, 96, 0.06);
    border: 1px solid #b0c4de;
    border-radius: 8px;
    padding: 12px 16px;
}

.consent-label {
    font-size: 0.93em !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.btn-submit {
    padding: 13px 32px;
    background: linear-gradient(to right, #0f3460, #16213e);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(15, 52, 96, 0.35);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    background: linear-gradient(to right, #e94560, #c0392b);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 69, 96, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-reset {
    padding: 13px 28px;
    background: transparent;
    color: #0f3460;
    border: 2px solid #0f3460;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-reset:hover {
    background-color: #0f3460;
    color: #fff;
}



@media screen and (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .checkbox-group,
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .form-section h2 {
        font-size: 1.3em;
    }

    .contact-form {
        border-radius: 10px;
        padding: 18px 14px;
    }
}




.live-clock {
    width: 90%;
    max-width: 760px;
    margin: 12px auto 0;
    background: rgba(15, 52, 96, 0.85);
    color: #fff;
    text-align: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.92em;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
}

.time-greeting {
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    color: #0f3460;
    margin: 12px 0 6px;
    background: linear-gradient(to right, #f4f7ff, #eef2fa);
    border-left: 4px solid #e94560;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fun-fact-box {
    text-align: center;
    background: rgba(15, 52, 96, 0.06);
    border: 2px dashed #0f3460;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 16px 0;
    font-style: italic;
    color: #0f3460;
    font-size: 1em;
    line-height: 1.5;
}

.fun-fact-btn {
    margin-top: 10px;
    padding: 9px 22px;
    background: linear-gradient(to right, #0f3460, #16213e);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(15,52,96,0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.fun-fact-btn:hover {
    background: linear-gradient(to right, #e94560, #c0392b);
    transform: translateY(-2px);
}

.total-credits {
    margin: 10px 0 0;
    font-weight: 700;
    color: #0f3460;
    text-align: right;
    font-size: 1em;
    padding-right: 4px;
}

.hobby-clicks {
    text-align: center;
    margin: 14px 0 0;
    font-weight: 700;
    color: #e94560;
    font-size: 1.05em;
    min-height: 1.4em;
}

#charCount {
    font-size: 0.78em;
    color: #888;
    margin-top: 4px;
    text-align: right;
    display: block;
}



.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.popup-box {
    background: #fff;
    width: 90%;
    max-width: 460px;
    border-radius: 14px;
    padding: 26px 28px 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.5);
    border-top: 6px solid #0f3460;
    text-align: center;
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.popup-success {
    border-top-color: #2ecc71;
}

.popup-error {
    border-top-color: #e94560;
}

.popup-box h3 {
    margin: 0 0 10px;
    color: #0f3460;
    font-size: 1.35em;
}

.popup-success h3 {
    color: #1f9b56;
}

.popup-error h3 {
    color: #e94560;
}

.popup-box p {
    color: #333;
    line-height: 1.6;
    margin: 6px 0;
}

.popup-box ul {
    color: #333;
    line-height: 1.6;
}

.popup-close-btn {
    margin-top: 16px;
    padding: 10px 28px;
    background: linear-gradient(to right, #0f3460, #16213e);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(15,52,96,0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.popup-close-btn:hover {
    background: linear-gradient(to right, #e94560, #c0392b);
    transform: translateY(-2px);
}
