/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: "Courier New", monospace;
    padding: 20px;
}

header {
    border: 4px solid #fff;
    padding: 20px;
    margin-bottom: 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.about-link {
    color: #fff;
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-size: 1rem;
    border: 2px solid #fff;
    padding: 5px 15px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.about-link:hover {
    background: #fff;
    color: #000;
}

h1 {
    font-size: 4rem;
    text-align: left;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
}

.manifesto {
    text-align: left;
    font-size: 1.2rem;
    margin-top: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.4;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.item {
    border: 2px solid #fff;
    padding: 8px;
    position: relative;
    transition: transform 0.3s;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
}

.item:hover {
    transform: scale(1.02);
}

.img-shield {
    position: relative;
    width: 100%;
    height: calc(100% - 60px);
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

.img-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    -webkit-user-drag: none;
    pointer-events: none;
}

.img-shield::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.item.blurred .img-cover {
    filter: blur(20px);
}

.item.sold::after {
    content: "SOLD";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    color: red;
    border: 4px solid red;
    padding: 10px;
}

.item-info {
    margin-top: 8px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.item-info h2 {
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add blur to text in blurred items */
.item.blurred .item-info {
    filter: blur(5px);
}

/* Adjust price display */
.item-info .price {
    margin-top: 4px;
    font-weight: bold;
}

#paypal-button-container {
    max-width: 300px;
    margin: 20px auto;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #000;
    margin: 3% auto;
    padding: 30px;
    border: 4px solid #fff;
    width: 95%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.close-button {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

.close-button:hover {
    color: #ff0000;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-main-shield {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.modal-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.modal-thumbnail {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid #fff;
    transition: transform 0.2s;
    flex-shrink: 0;
    -webkit-user-select: none;
    user-select: none;
}

.modal-thumbnail:hover {
    transform: scale(1.1);
}

/* Hide scrollbar but keep functionality */
.modal-thumbnails::-webkit-scrollbar {
    height: 0;
    width: 0;
}

.modal-info {
    padding: 20px;
    border: 2px solid #fff;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Make modal responsive */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
}

.brutal-button {
    background: #000;
    border: 3px solid #fff;
    color: #fff;
    padding: 15px 30px;
    font-family: "Courier New", monospace;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    width: 100%;
}

.brutal-button:hover {
    background: #fff;
    color: #000;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #fff;
}

.hidden {
    display: none;
}

#modal-paypal-container {
    margin-top: 20px;
}

.shipping-notice {
    font-size: 0.8rem;
    color: #ff0000;
    margin-top: 10px;
    font-style: italic;
}

/* Add new style for item number */
.item-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    border: 2px solid #fff;
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 1;
}

.modal-info a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.modal-info a:hover {
    opacity: 0.8;
}

img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.about-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.65rem;
    font-family: "Courier New", monospace;
    opacity: 0.3;
}

.about-footer a {
    color: #fff;
    text-decoration: none;
}

.about-footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
} 