/* =======================
   General Reset & Body
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #00bfff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =======================
   Container
======================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* =======================
   Header & Navigation
======================= */
header {
    background-color: #1e1e1e;
    padding: 15px 0;
    border-bottom: 2px solid #00bfff;
}

.login-area {
    margin-right: auto;
}

.site-nav {
    flex: 1;
    text-align: center;
    order: 2;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0ff;
}

.navbar {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.nav-btn {
    padding: 8px 14px;
    border: 2px solid #0ff;
    border-radius: 8px;
    color: #0ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-btn:hover {
    background-color: #0ff;
    color: black;
    box-shadow: 0 0 10px #0ff;
}

.nav-btn.active {
    background-color: #0ff;
    color: black;
    box-shadow: 0 0 10px #0ff;
}

/* =======================
   User / Login Area
======================= */
.user-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 3; /* Far right */
    gap: 4px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pfp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0ff;
}

.user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.username {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.role-badge {
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
}

.role-badge.owner { color: #0bf; font-weight: bold; }
.role-badge.developer { color: #f33; font-weight: bold; }
.role-badge.moderator { color: #0f0; font-weight: bold; }

/* Glow Buttons (Login / Logout / Development) */
.btn-glow {
    padding: 8px 14px;
    border: 2px solid #0ff;
    border-radius: 8px;
    text-decoration: none;
    color: #0ff;
    font-weight: bold;
    transition: 0.3s;
}

.btn-glow:hover {
    background-color: #0ff;
    color: black;
    box-shadow: 0 0 10px #0ff;
}

/* =======================
   Buttons & Neon
======================= */
.btn,
.btn-neon {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn {
    background-color: #00bfff;
    color: #121212;
}

.btn:hover {
    background-color: #009acd;
}

.btn-neon {
    border: 2px solid #0ff;
    color: #0ff;
}

.btn-neon:hover {
    background-color: #0ff;
    color: #000;
    box-shadow: 0 0 15px #0ff;
}

/* =======================
   Hero Section
======================= */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
}

.hero h1 {
    font-size: 3rem;
    color: #0ff;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 20px;
}

/* =======================
   Sections
======================= */
h2 {
    margin-bottom: 15px;
    color: #00bfff;
}

section {
    margin-bottom: 30px;
}

/* =======================
   Grids
======================= */
.showcase-grid,
.showcase-preview .grid,
.grid,
.pricing-grid {
    display: grid;
    gap: 20px;
}

.showcase-grid,
.showcase-preview .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid,
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pricing-grid {
    gap: 25px;
    margin-top: 40px;
}

/* =======================
   Cards
======================= */
.card,
.pricing-card {
    position: relative;
    background: #1a1a1a;
    border: 2px solid #0ff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card img,
.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.card:hover,
.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #0ff;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #0ff;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}

.card.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #888;
    font-size: 1rem;
}

/* =======================
   Flip Cards
======================= */
.flip-card {
    perspective: 1000px;
    width: 100%;
    aspect-ratio: 4/5;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* =======================
   Pricing Cards/Table
======================= */
.pricing-card {
    padding: 20px;
    border-radius: 12px;
    color: #0ff;
}

.pricing-card h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.pricing-card p {
    margin-bottom: 10px;
}

.pricing-card .note {
    font-size: 0.85rem;
    color: #888;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #0ff;
    padding: 10px;
    text-align: left;
}

.pricing-table th {
    background-color: #1e1e1e;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* =======================
   Reviews
======================= */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card {
    background-color: #1e1e1e;
    padding: 15px;
    border-left: 4px solid #00bfff;
    border-radius: 5px;
}

.review-author {
    margin-top: 10px;
    font-style: italic;
    color: #00bfff;
}

/* =======================
   Contact / Discord Widget
======================= */
.contact-container {
    margin: 50px auto;
    max-width: 1000px;
    text-align: center;
    color: #fff;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-info .btn-neon {
    margin-top: 10px;
}

.discord-widget-container {
    display: flex;
    justify-content: center;
}

.discord-widget-container iframe {
    width: 100%;
    max-width: 350px;
    height: 500px;
    border-radius: 10px;
}

/* =======================
   Footer
======================= */
footer {
    background-color: #1e1e1e;
    padding: 15px 0;
    border-top: 2px solid #00bfff;
    text-align: center;
    margin-top: 30px;
}
