* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    min-width: 1200px;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    min-width: 1200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
}

.content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    z-index: 1;
    flex: 1;
}

.logo-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-bar {
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff00;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.nav-item {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #00ff00;
    transform: scale(1.1);
}

.nav-item.active {
    color: #00ff00;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00ff00;
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.wallet-section {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff00;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.wallet-address {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-address span {
    margin-right: 10px;
    font-weight: bold;
}

.wallet-address input {
    background-color: rgba(0, 0, 0, 0.7);
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 5px 10px;
    flex-grow: 1;
    font-family: monospace;
}

.copy-btn {
    background-color: #00ff00;
    color: #000;
    border: none;
    padding: 5px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: #00cc00;
    transform: scale(1.05);
}

/* Pages Container */
.pages-container {
    width: 100%;
    max-width: 1200px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.page.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Home Page */
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    text-align: center;
    padding-top: 20px;
    overflow: visible;
}

.home-content h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    -webkit-text-stroke: 1px #000;
}

.token-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 10px;
}

.label {
    font-weight: bold;
}

.value {
    color: #00ff00;
}

/* Windows-style gallery */
.windows-gallery {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 50px;
}

.window-container {
    position: absolute;
    width: 320px;
    background-color: #000;
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    z-index: 1;
    cursor: move;
    overflow: hidden;
    max-width: 30%;
}

#window1 {
    top: 70px;
    left: 70px;
}

#window2 {
    top: 70px;
    right: 70px;
}

#window3 {
    top: 150px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 320px;
}

.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00ff00;
    color: #000;
    padding: 5px 10px;
    cursor: move;
    font-weight: bold;
    user-select: none;
}

.window-title {
    font-weight: bold;
}

.window-controls {
    display: flex;
}

.window-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.window-content {
    padding: 10px;
    max-height: 300px;
    overflow: hidden;
}

.window-content img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 240px;
    object-fit: contain;
}

/* Memes Page */
.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 100%;
    padding: 20px;
}

.meme-item {
    position: relative;
    border: 2px solid #00ff00;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.meme-item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.meme-item:hover img {
    transform: scale(1.1);
}

.meme-title {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #00ff00;
    padding: 5px;
    font-size: 14px;
    z-index: 1;
}

/* DEX Page */
.dex-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.dex-content h2 {
    color: #00ff00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.dex-image-container {
    width: 80%;
    max-width: 800px;
    border: 2px solid #00ff00;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.dex-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
}

.redirect-container {
    cursor: pointer;
}

.dex-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Pump Page */
.pump-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.pump-content h2 {
    color: #00ff00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.pump-image-container {
    width: 80%;
    max-width: 800px;
    border: 2px solid #00ff00;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pump-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
}

.pump-image {
    width: 100%;
    height: auto;
    display: block;
}

/* X Page */
.x-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.x-content h2 {
    color: #00ff00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.x-widget {
    margin-top: 20px;
}

.x-button {
    display: inline-block;
    background-color: #00ff00;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.x-button:hover {
    background-color: #00cc00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

.sound-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.sound-btn {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

.sound-btn img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* Popup styles */
#popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #00008b;
    border: 2px solid #fff;
    width: 80%;
    max-width: 500px;
    z-index: 100;
    box-shadow: 0 0 30px rgba(0, 0, 255, 0.7);
}

.popup-header {
    background-color: #00008b;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    font-weight: bold;
}

.urgent {
    color: #fff;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.2);
}

.popup-content {
    padding: 20px;
    text-align: center;
}

.alert-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    margin-right: 10px;
    vertical-align: top;
}

.alert-message {
    display: inline-block;
    text-align: left;
    width: calc(100% - 50px);
    margin-bottom: 20px;
}

.duck-image {
    margin: 20px 0;
}

.duck-image img {
    max-width: 100px;
    height: auto;
}

.call-to-action {
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0;
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.ok-btn, .cancel-btn {
    padding: 5px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ok-btn {
    background-color: #00ff00;
    color: #000;
    border: none;
    font-weight: bold;
}

.ok-btn:hover {
    background-color: #00cc00;
    transform: scale(1.05);
}

.cancel-btn:hover {
    background-color: #f0f0f0;
}

.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-bar {
        flex-wrap: wrap;
    }
    
    .nav-item {
        margin: 5px;
    }
    
    .meme-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .home-content h1 {
        font-size: 2.5rem;
    }
}
