body {
    background-color: #d4c8aa; /* Darker earthy background */
    color: #654321;
    font-family: "Comic Sans MS", "Papyrus", fantasy;
    margin: 0;
    padding: 20px;
}

h1 {
    color: #2e5c2e;
    text-align: center;
    font-size: 3.5em;
    margin-bottom: 30px;
    text-shadow: 3px 3px 0px #ff8c42;
    letter-spacing: 5px;
    transform: rotate(-2deg);
}

h2 {
    color: #5f8575;
    border-bottom: 4px dotted #d35400;
    padding-bottom: 5px;
    font-size: 2.2em;
    transform: skewX(-5deg);
}

h3 {
    color: #8b4513;
    font-size: 1.8em;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
    transform: rotate(1deg);
}

p {
    line-height: 1.6;
    font-size: 1.1em;
    margin: 10px 0;
}

a {
    color: #b35900;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff8c42;
    text-decoration: underline wavy #2e5c2e;
    font-size: 1.1em;
    animation: rainbow 2s infinite;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
    margin: 20px 0;
}

.info-table .photo-cell {
    padding: 10px;
    width: auto;
    height: auto;
    overflow: visible;
}

.info-table .photo-cell img {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 8px 8px 0px #d35400;
    border: 5px solid #5f8575;
}

.info-table .photo-cell img:hover {
    z-index: 10;
    position: relative;
}

.activities-table tr {
    background-color: rgba(95, 133, 117, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.activities-table td {
    padding: 15px;
    vertical-align: top;
}

img {
    border-radius: 15px;
    border: 5px solid #5f8575;
    box-shadow: 8px 8px 0px #d35400;
    transition: transform 0.3s ease;
}

img:hover {
    transform: rotate(-3deg) scale(1.02);
    animation: spin 5s infinite linear;
}

.photo-cell {
    position: relative;
    width: 400px;
    height: 400px;
    overflow: hidden;
}

.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-cell::after {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #d35400;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    font-size: 1em;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.photo-cell:hover::after {
    opacity: 1;
}

.bio-text {
    background-color: rgba(46, 92, 46, 0.1);
    padding: 20px;
    border-radius: 15px;
    border-left: 10px solid #d35400;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

@keyframes rainbow {
    0% { color: #b35900; }
    25% { color: #d35400; }
    50% { color: #ff8c42; }
    75% { color: #d35400; }
    100% { color: #b35900; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-heading:hover {
    animation: wiggle 0.5s infinite;
    cursor: pointer;
}

footer {
    margin-top: 40px;
    text-align: center;
    font-style: italic;
    background-color: rgba(211, 84, 0, 0.1);
    padding: 15px;
    border-radius: 15px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
}

.music-player {
    background-color: rgba(46, 92, 46, 0.2);
    border: 3px dashed #5f8575;
    text-align: center;
    padding: 10px;
    margin: 20px 0;
    border-radius: 10px;
}

.status-update {
    background-color: rgba(211, 84, 0, 0.2);
    border: 2px solid #d35400;
    border-radius: 10px;
    padding: 5px 15px;
    font-style: italic;
    margin-top: 15px;
}

.tunes-section {
    background-color: rgba(46, 92, 46, 0.2);
    border: 5px solid #5f8575;
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
}

.tunes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tune-box {
    background-color: rgba(211, 84, 0, 0.2);
    border: 2px solid #d35400;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
}

.tune-box a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: 0;
    z-index: 1;
}

.tune-box:hover {
    transform: rotate(5deg) scale(1.05);
    background-color: rgba(211, 84, 0, 0.4);
    animation: wiggle 1s infinite;
}

.visitor-counter {
    font-family: "Courier New", monospace;
    background-color: #5f8575;
    color: #e9e2d0;
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid #2e5c2e;
    margin-top: 10px;
}

marquee {
    background-color: rgba(95, 133, 117, 0.2);
    padding: 5px;
    border-top: 2px dashed #5f8575;
    border-bottom: 2px dashed #5f8575;
}

blink {
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}