@charset "UTF-8";
@viewport {
    width: device-width;
    zoom: 1.0;
  }
  
/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #008080; /* Windows 98 teal background */
    overflow-x: hidden;
    font-family: 'MS Sans Serif', Arial, sans-serif;
}

.desktop {
    width: 100%;
    min-height: 100vh;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Main window */
.main-window {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Site content layout */
.site-content {
    display: flex;
    flex-wrap: wrap;
}

/* Column layout */
.column {
    padding: 5px;
}

.left-column, .right-column {
    width: 20%;
    min-width: 150px;
}

.center-column {
    width: 60%;
    flex: 1;
    min-width: 300px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .left-column, .right-column {
        width: 25%;
    }
    .center-column {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .site-content {
        flex-direction: column;
    }
    .left-column, .right-column, .center-column {
        width: 100%;
    }
}

/* Statue images */
.statue-img {
    width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
    border: 1px solid #888;
    background-color: #c0c0c0;
}

/* Additional side windows */
.additional-window {
    margin-top: 15px;
    margin-bottom: 15px;
}

.fill-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* MP3 Player */
.mp3-player {
    margin-bottom: 10px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.player-controls button {
    min-width: 30px;
}

.player-controls label {
    margin-left: 5px;
}

.player-controls input[type="range"] {
    flex: 1;
    min-width: 50px;
}

.progress {
    margin: 5px;
}

/* Tab styling */
.tabs {
    display: flex;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.tab {
    padding: 5px 10px;
    background-color: #c0c0c0;
    border: 1px solid #000;
    border-bottom: none;
    margin-right: 4px;
    cursor: pointer;
}

.tab.active {
    background-color: #dfdfdf;
    position: relative;
    border-bottom: 1px solid #dfdfdf;
    z-index: 3;
}

.tab-content {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.tab-content.active {
    display: flex;
}

/* Hero section */
.hero-section {
    text-align: center;
    padding: 15px;
    position: relative;
}

.greek-title {
    font-size: 2.5rem;
    font-family: 'Times New Roman', serif;
    margin: 10px 0;
    color: #000;
    letter-spacing: 2px;
}

.buy-panel {
    margin: 15px auto;
    max-width: 200px;
    text-align: center;
    padding: 10px;
}

.buy-button {
    padding: 6px 12px;
    font-weight: bold;
    margin-top: 5px;
}

/* Greek key border */
.greek-key-border {
    position: relative;
    margin: 15px;
    padding: 10px;
}

/* Scrolling images */
.scrolling-images-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: inset 2px;
    padding: 5px 0;
}

.scrolling-images {
    display: flex;
    gap: 10px;
    animation: scroll 30s linear infinite;
    padding: 5px;
    width: fit-content;
}

.scrolling-images img {
    height: 100px;
    width: auto;
    border: 2px solid #888;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Token info styling */
.coin-info .window-body {
    padding: 8px;
}

.coin-info .field-row {
    display: flex;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.coin-info label {
    margin-right: 4px;
    white-space: nowrap;
}

#contract-address {
    flex: 1;
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-width: 0;
}

#copy-address {
    margin-left: 4px;
    white-space: nowrap;
    font-size: 11px;
    padding: 1px 4px;
}

.copy-notification {
    color: #008000;
    font-size: 11px;
    margin-top: 4px;
    height: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Status bar */
.main-status-bar {
    display: flex;
    flex-wrap: wrap;
}

.status-bar-field {
    margin-right: 10px;
    white-space: nowrap;
}

/* Helper classes */
.hidden {
    display: none;
}

/* Fix for specific elements on small screens */
@media (max-width: 500px) {
    .greek-title {
        font-size: 1.8rem;
    }
    
    .player-controls {
        justify-content: center;
    }
    
    #contract-address {
        font-size: 8px;
    }
}
/* Fix for scrolling images on small screens */
@media (max-width: 500px) {
    /* Improve container height and scrolling behavior */
    .scrolling-images-container {
        height: auto !important;
        min-height: 100px;
        overflow: visible;
        padding: 5px 0;
        border: inset 2px;
    }
    
    /* Fix the scrolling images display */
    .scrolling-images {
        display: flex;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 5px;
        animation: none; /* Disable animation on small screens */
        height: auto;
        max-height: 100px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    /* Better image sizing */
    .scrolling-images img {
        height: 80px;
        width: auto;
        display: inline-block;
        margin-right: 8px;
        flex-shrink: 0;
        object-fit: cover;
    }
    
    /* Add visible scrollbars */
    .scrolling-images::-webkit-scrollbar {
        height: 8px;
        background-color: #c0c0c0;
    }
    
    .scrolling-images::-webkit-scrollbar-thumb {
        background-color: #888;
        border: 1px outset #fff;
    }
    
    /* Add shadow indicators for scrollability */
    .scrolling-images-container::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 20px;
        background: linear-gradient(to right, transparent, #c0c0c0);
        pointer-events: none;
    }
    
    .scrolling-images-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 20px;
        background: linear-gradient(to left, transparent, #c0c0c0);
        pointer-events: none;
        z-index: 1;
    }
    
    /* Make the container position relative for shadow positioning */
    .scrolling-images-container {
        position: relative;
    }
    
    /* Ensure window-body has proper padding */
    .gallery-window .window-body {
        padding: 5px;
        overflow: hidden;
    }
}

/* Mobile-specific improvements */
@media (max-width: 767px) {
    /* Change layout for mobile */
    .site-content {
        flex-direction: column;
    }
    
    .column {
        width: 100%;
        padding: 3px;
    }
    
    .left-column, .right-column {
        display: none; /* Hide side columns on mobile */
    }
    
    /* Fix the scrolling banner */
    .scrolling-images-container {
        height: auto;
        max-width: 100%;
        overflow-x: auto;
    }
    
    .scrolling-images {
        animation: none; /* Disable auto-scrolling on mobile */
        width: max-content;
        padding: 5px;
        overflow-x: auto;
    }
    
    .scrolling-images img {
        height: 80px; /* Smaller images for mobile */
        margin-right: 5px;
    }
    
    /* Improve MP3 player controls */
    .player-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .player-controls button {
        min-width: 40px;
        min-height: 30px;
        font-size: 1.1em;
        padding: 5px;
    }
    
    /* Improve window layout */
    .window-body {
        padding: 5px;
    }
    
    /* Adjust title bar for better mobile display */
    .title-bar-text {
        font-size: 14px;
    }
    
    /* Make contract info more readable */
    #contract-address {
        width: 100%;
        margin: 5px 0;
    }
    
    .field-row {
        flex-wrap: wrap;
    }
    
    /* Improve status bar */
    .status-bar-field {
        font-size: 12px;
    }
    
    /* Improve button sizes for touch */
    button {
        min-height: 30px;
        min-width: 40px;
    }
    
    /* Add special mobile layout for MP3 player */
    .mp3-player .window-body {
        display: flex;
        flex-direction: column;
    }
}

/* Small phone screens */
@media (max-width: 390px) {
    .main-window {
        width: 98%;
        margin: 0 auto;
        border-width: 1px;
    }
    
    .greek-title {
        font-size: 1.5rem;
    }
    
    /* Make scrollable horizontal area for very small screens */
    .scrolling-images {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .scrolling-images::-webkit-scrollbar {
        height: 6px;
    }
    
    .scrolling-images::-webkit-scrollbar-thumb {
        background: #888;
    }
}
.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links p {
    margin: 0;
    padding: 0;
}

.social-links a {
    color: blue;
    text-decoration: none;
    display: block;
    padding: 3px 5px;
}

.social-links a:hover {
    background-color: #000080;
    color: white;
}

/* Windows 98 style for visited links */
.social-links a:visited {
    color: purple;
}

.social-links a:visited:hover {
    color: white;
}
/* Mobile socials styling */
@media (max-width: 767px) {
    /* Show mobile socials only on small screens */
    .mobile-socials {
        display: block !important;
        margin: 10px auto;
        max-width: 95%;
    }
    
    /* Hide the desktop socials on mobile */
    .statue-info {
        display: none;
    }
    
    .social-links-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .mobile-social-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #808080;
        background-color: #c0c0c0;
        border-radius: 0;
        box-shadow: 1px 1px 0px #ffffff inset, -1px -1px 0px #707070 inset;
    }
    
    .mobile-social-item:active {
        box-shadow: 1px 1px 0px #707070 inset, -1px -1px 0px #ffffff inset;
        background-color: #b0b0b0;
    }
    
    .social-icon {
        margin-right: 5px;
        font-size: 1.2em;
    }
    
    .social-links-mobile a {
        text-decoration: none;
        color: black;
    }
}

/* Extra small screens */
@media (max-width: 374px) {
    .social-links-mobile {
        grid-template-columns: 1fr;
    }
}
