/* ==== Global ==== */
* { box-sizing: border-box; }
body {
    background-color: #111;
    color: #fff;
    font-family: 'Segue UI', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

/* ==== Nav ==== */
nav {
    display: flex;
    align-items: center;
    background-color: #111;
    padding: 12px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.logo-link { margin-right: auto; }
.logo { height: 42px; width: auto; }

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0 0 0 auto;
    padding: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
nav a:hover {
    color: #00ff9d;
    transform: scale(1.05);
}

/* ==== Landing Page ==== */
.landing {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    min-height: 80vh;
}
.landing-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}
.landing h1 {
    margin: 0 0 16px;
    font-size: 2.4rem;
    color: #00ff9d;
    text-shadow: 0 0 8px rgba(0,255,157,0.3);
}
.landing p {
    margin: 0 0 24px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-img {
    width: 100%;
    max-height: 1920px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    display: block;
}

/* ==== Store Page ==== */
.store h1 {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    color: #00ff9d;
    font-size: 2.2rem;
    text-shadow: 0 0 8px rgba(0,255,157,0.3);
}

.items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.item-card {
    background-color: #111;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid #222;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.item-card:hover {
    transform: translateY(-6px) scale(1.03);
    background-color: #008c5a;
    border-color: #00ff9d;
    box-shadow: 0 8px 25px rgba(0,140,90,0.4);
}

.item-card h3 {
    font-size: 1.25rem;
    margin: 12px 0 8px;
    word-wrap: break-word;
}

.item-card p {
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 8px 0;
    flex-grow: 1;
    word-wrap: break-word;
    white-space: normal;
}

.item-card .price {
    font-weight: bold;
    font-size: 1.15rem;
    color: #00ff9d;
    margin: 10px 0;
}

.item-card .btn {
    margin-top: auto;
    align-self: center;
}

.item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background-color: #00734d;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.btn:hover {
    background-color: #005a38;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ==== Modal ==== */
.final-center-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.final-center-modal.open { display: flex; }

.final-panel {
    background: #0a0a0a;
    border: 2px solid #00ff9d;
    border-radius: 14px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0,255,157,0.7);
    font-family: Arial, sans-serif;
}

.final-panel h3 {
    margin: 0 0 18px;
    color: #00ff9d;
    font-size: 1.6rem;
    text-shadow: 0 0 12px #00ff9d;
}

.final-panel p {
    margin: 10px 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.final-panel code {
    background: #111;
    color: #00ff9d;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.final-close {
    margin-top: 24px;
    width: 100%;
    background: #00734d;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
}
.final-close:hover {
    background: #00ff9d;
    color: black;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
    nav { padding: 10px 16px; flex-wrap: wrap; }
    nav ul { gap: 16px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
    .landing h1 { font-size: 2rem; }
    .hero-img { max-height: 200px; }
    .item-card { width: 100%; max-width: 300px; height: auto; }
    .final-panel { padding: 20px; }
    .status-grid { grid-template-columns: 1fr; }
    .action-buttons { flex-direction: column; }
}

/* ==== Rules Page ==== */
.rules-page { padding: 40px 20px; max-width: 1000px; margin: 0 auto; text-align: center; }
.rules-page h1 { font-size: 2.6rem; color: #00ff9d; text-shadow: 0 0 10px rgba(0,255,157,0.4); margin-bottom: 8px; }
.subtitle { font-size: 1.1rem; color: #aaa; margin-bottom: 30px; }
.rule-card { background: #111; padding: 20px; border-radius: 12px; border: 1px solid #222; text-align: left; transition: all 0.2s; }
.rule-card:hover { border-color: #00ff9d; box-shadow: 0 0 15px rgba(0,255,157,0.3); }
.rule-card h3 { color: #00ff9d; margin: 0 0 10px; font-size: 1.3rem; }
.rule-card ul { margin: 10px 0; padding-left: 20px; }
.rule-card li { margin: 6px 0; }
.final-warning { background: linear-gradient(135deg, #1a0000, #003300); padding: 20px; border-radius: 12px; border: 1px solid #00ff9d; margin-top: 30px; font-weight: bold; color: #ff6666; }

/* ==== Live Server Status ==== */
.server-status { background: #111; padding: 24px; border-radius: 14px; margin: 32px auto; max-width: 700px; border: 1px solid #222; text-align: center; }
.server-status h2 { color: #00ff9d; margin: 0 0 18px; font-size: 1.7rem; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.status-item { background: #222; padding: 14px; border-radius: 10px; font-size: 0.98rem; }
.status-item strong { color: #00ff9d; display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* ==== Community Call ==== */
.community-call { text-align: center; padding: 40px 20px; background: linear-gradient(135deg, #111, #0a0a0a); border-radius: 14px; margin: 40px auto; max-width: 800px; }
.community-call h2 { color: #00ff9d; font-size: 2rem; margin-bottom: 12px; }
.community-call p { color: #ccc; margin-bottom: 24px; }
.action-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==== Snake Overlay ==== */
.snake-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 999999; display: flex; justify-content: center; align-items: center; padding: 20px; backdrop-filter: blur(5px); }
.snake-container { background: #0a0a0a; border: 3px solid #00ff9d; border-radius: 16px; padding: 20px; max-width: 500px; width: 100%; text-align: center; box-shadow: 0 0 40px rgba(0,255,157,0.6); }
.snake-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: #00ff9d; font-size: 1.4rem; }
.snake-header h3 { margin: 0; text-shadow: 0 0 10px #00ff9d; }
#snakeScore { font-weight: bold; margin-right: 10px; }
.snake-btn { background: #00734d; color: white; border: none; padding: 6px 12px; border-radius: 8px; font-size: 0.9rem; cursor: pointer; margin-left: 6px; }
.snake-btn:hover { background: #00ff9d; color: black; }
.snake-btn.close { background: #330000; }
.snake-btn.close:hover { background: #ff6666; }
#snakeCanvas { background: #111; border: 2px solid #00ff9d; border-radius: 10px; image-rendering: pixelated; }
.snake-instructions { margin-top: 12px; font-size: 0.9rem; color: #aaa; }

/* ==== Footer ==== */
.site-footer { background: #0a0a0a; color: #aaa; text-align: center; padding: 20px 10px; font-size: .9rem; margin-top: 40px; border-top: 1px solid #222; }
.site-footer a { color: #00ff9d; text-decoration: none; margin: 0 4px; }
.site-footer a:hover { text-decoration: underline; }

/* ==== Policy Page ==== */
.policy-page { max-width: 800px; margin: 40px auto; padding: 0 20px; text-align: center; }
.policy-page h1 { color: #00ff9d; font-size: 2.2rem; margin-bottom: 24px; }

/* ==== FAQ Accordion ==== */
.faq-section { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.faq { margin: 16px 0; padding: 12px; background: #222; border-radius: 8px; border-left: 4px solid #00ff9d; }
.faq summary { cursor: pointer; font-weight: bold; color: #00ff9d; font-size: 1.1rem; }
.faq[open] summary { margin-bottom: 8px; }
.faq p { margin: 0; color: #ddd; }

/* ==== Page Transitions ==== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ==== One Click Join ==== */
.one-click-join { text-align: center; margin: 40px auto; max-width: 600px; padding: 20px; background: #111; border: 1px solid #222; border-radius: 12px; }
.one-click-join h3 { color: #00ff9d; margin-bottom: 16px; }
.join-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.join-btn { background: #00ff9d; color: black; border: none; padding: 14px 24px; border-radius: 10px; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: all 0.2s; min-width: 180px; }
.join-btn:hover { background: #00cc7a; transform: scale(1.05); }
.join-note { font-size: 0.9rem; color: #aaa; margin-top: 12px; }

/* ==== Store Badges ==== */
.badge { position: absolute; top: 8px; right: 8px; background: #ff6666; color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; z-index: 1; }
.item-card { position: relative; }

.server-news { max-width: 800px; margin: 40px auto; padding: 20px; }
.news-card { background: #222; padding: 16px; border-radius: 10px; margin: 12px 0; }
.news-card h3 { color: #00ff9d; margin-bottom: 6px; }
.news-card span { font-size: 0.85rem; color: #aaa; }

.partner-logo {
    text-align: center;
    margin: 0 auto 16px;
}

.partner-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00ff9d;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.4);
    transition: transform 0.2s ease;
}

.news-card:hover .partner-logo img {
    transform: scale(1.1);
}

/* Centered Popup Modal */
.preview-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.preview-modal-box {
  background: #181818;
  border: 1px solid #444;
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 28px 32px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  font-size: 38px;
  color: #888;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-preview-img-wrapper {
  text-align: center;
  margin: 18px 0 24px;
}

#modalMainImage {
  max-width: 100%;
  max-height: 380px;
  border-radius: 8px;
  border: 1px solid #333;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.modal-description {
  color: #ccc;
  line-height: 1.5;
  margin: 0 0 20px;
}

.modal-included-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.modal-included-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #ddd;
}

.modal-included-list li:before {
  content: "•";
  color: #00ff9d;
  position: absolute;
  left: 0;
  font-size: 1.4em;
  line-height: 1;
}

.modal-price {
  font-size: 1.5em;
  font-weight: bold;
  color: #00ff9d;
  text-align: center;
  margin-top: 12px;
}

.vyse-showcase-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #0a0a0a, #111);
    text-align: center;
}

.vyse-title {
    font-size: 2.6rem;
    color: #00ff9d;
    text-shadow: 0 0 14px rgba(0,255,157,0.6);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.vyse-subtitle {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vyse-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto 50px;
}

.vyse-gallery img {
    width: 100%;
    height: 320px;                /* ← choose your desired height */
    object-fit: cover;            /* crops to fill nicely without distortion */
    object-position: center;
    border-radius: 14px;
    border: 2px solid #222;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.vyse-gallery img:hover {
    transform: scale(1.04) translateY(-8px);
    border-color: #00ff9d;
    box-shadow: 0 16px 45px rgba(0,255,157,0.35);
}

.vyse-discord-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.vyse-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #00ff9d;
    color: #000;
    font-weight: bold;
    font-size: 1.18rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(0,255,157,0.3);
}

.vyse-btn:hover {
    background: #00e68a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,255,157,0.5);
}

.vyse-channel-link {
    color: #00ff9d;
    text-decoration: underline;
    font-weight: 500;
}

.vyse-channel-link:hover {
    color: #00e68a;
}