body {
    background-image: url('/PunkPatchBG.png');
    background-color: #FFB7E5; /* soft bubblegum pink fallback */
    color: #FFFFFF;
    font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
}

/* --- Unified stitched border style --- */
* {
    box-sizing: border-box;
}

.container,
.header,
.footer,
.content,
.sidebar {
    border: 3px dashed #FFFFFF; /* consistent “stitched floss” border */
    border-radius: 20px;
}

/* --- Links --- */
a {
    color: #FFC1F0; /* light bubblegum pink */
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:visited {
    color: #FFAAE8; /* slightly darker for visited links */
}

a:hover, a:active {
    color: #FFFFFF; /* clean white hover */
    text-shadow: 0 0 10px #FFC1F0; /* soft glow that matches bubblegum pink */
}

/* --- Focus: keyboard-friendly only --- */
:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px dashed #FFFFFF;
    outline-offset: 3px;
}

/* --- Main container --- */
.container {
    width: 1200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 25px rgba(255, 79, 216, 0.4);
}

/* --- Sub-sections --- */
.header, .footer, .content, .sidebar {
    background-color: rgba(255, 182, 233, 0.15);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 10px;
}

/* --- Sidebar --- */
.sidebar {
    width: 150px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20px 0 0 0;
    padding: 15px;
}

/* --- Main content --- */
.content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 18px;
}

/* --- Images --- */
img {
    border: none !important;
    outline: none !important;
    border-radius: 0;
    box-shadow: 0 0 0px rgba(255, 79, 216, 0.3);
}

/* --- Layout helpers --- */
.clearfix {
    display: flex;
    gap: 10px;
}

/* --- Skip link --- */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FFFFFF;
    color: #000;
    padding: 8px;
    z-index: 100;
    border-radius: 5px;
    border: 3px dashed #FFFFFF;
}

.skip-to-content:focus {
    top: 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .clearfix {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .clearfix {
        flex-direction: column;
    }
}
