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

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #004499;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --success-color: #28a745;
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-orange: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-green: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-red: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-cyan: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.logo {
	flex: 0 0 auto;
	width: clamp(60px, 10vw, 120px);
    max-width: 100%;
    height: auto;
    display: block;
}
.navbar {
    background: var(--bg-white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-blue);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    font-weight: bold;
    position: relative;
    padding: 0.5rem 0;
	cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
}

/* Social Media in Navbar */
.social-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: var(--text-dark);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    overflow: visible;
}

.social-icon:hover {
    color: var(--primary-blue);
}

/* Banner Section */
.banner {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 2;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.banner-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: white;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.ip-container {
    display: inline-block;
    position: relative;
}

.ip-display {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
	border-radius: 12px;
    overflow: hidden;
}

.ip-display:hover {
    opacity: 0.95;
}

.ip-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.ip-address {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-blue);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--secondary-blue);
}

.copy-feedback {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
    top: -60px;
}

/* Main Content */
.main-content {
    padding: 0;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    color: white;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.welcome-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.9;
    margin-top: 2rem;
}

.welcome-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Dual Section */
.dual-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.feature-icon-large {
    font-size: 4rem;
    margin: 1rem 0;
    text-align: center;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dual-item {
    padding: 3rem;
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
}

.dual-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.95;
    z-index: 1;
}

.gradient-blue::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-purple::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dual-content {
    position: relative;
    z-index: 2;
}

.dual-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.dual-paragraph {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Horizontal Cards */
.horizontal-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.horizontal-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    flex: 0 0 300px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.gradient-orange .card-image::after {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-green .card-image::after {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.gradient-red .card-image::after {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Gradient Section */
.gradient-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 2.5rem;
    border-radius: 12px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.95;
    z-index: 1;
}

.gradient-cyan::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-blue::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-purple::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-orange::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-green::before {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.gradient-red::before {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box > * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Join Section Module */
.join-section-module {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.join-content {
    max-width: 900px;
    margin: 0 auto;
}

.join-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: white;
}

.join-text {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.join-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.content-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: bold;
}

.content-paragraph {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.content-paragraph strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.text-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Image Containers */
.image-container {
    margin: 2rem 0;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Placeholder for missing images */
.content-image[src=""],
.content-image:not([src]) {
    min-height: 400px;
    background: var(--bg-light);
    border: 2px dashed var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-image[src=""]::after,
.content-image:not([src])::after {
    content: 'Image Placeholder';
    color: var(--text-light);
    font-size: 1rem;
    position: absolute;
}

/* Social Media Section */
.social-section {
    background: var(--bg-light);
    padding: 3rem 0;
    margin: 4rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
}

.social-link svg {
    color: var(--primary-blue);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: block;
    overflow: visible;
}

.social-link:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    border-top: 2px solid var(--primary-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-link svg {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    display: block;
    overflow: visible;
    flex-shrink: 0;
}

.footer-social-link:hover {
    color: var(--primary-blue);
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

.discord-footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.discord-footer-link span {
    font-size: 1.1rem;
}

.discord-footer-link:hover {
    color: #5865F2;
}

.discord-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
}

.discord-social-link span {
    font-size: 1.5rem;
}

.discord-social-link:hover {
    color: #5865F2;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: var(--text-light);
}

/* Events Feed Styles */
.events-feed {
    background: #f0f2f5;
    min-height: 100vh;
    padding: 2rem 0;
}

.feed-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.feed-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.feed-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feed-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.event-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e4e6eb;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-gradient {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.post-author {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.post-time {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-menu {
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.post-menu:hover {
    background: #f0f2f5;
}

.post-content {
    padding: 1rem 1.5rem;
}

.post-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.event-detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 1.2rem;
}

.post-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background: #f0f2f5;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-actions {
    display: flex;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-top: 1px solid #e4e6eb;
}

.action-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.join-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.join-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.info-btn {
    background: white;
    border: 2px solid #e4e6eb;
    color: var(--text-dark);
}

.info-btn:hover {
    background: #f0f2f5;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.2rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .ip-address {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .content-paragraph {
        font-size: 1rem;
    }

    .social-nav {
        gap: 0.75rem;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        padding: 0.75rem;
    }

    .dual-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-card {
        flex-direction: column;
    }

    .card-image {
        flex: 0 0 200px;
    }

    .stats-row {
        gap: 1rem;
    }

    .stat-item {
        min-width: 120px;
    }

    .banner {
        min-height: 400px;
        padding: 4rem 1rem;
    }

    .feed-title {
        font-size: 2rem;
    }

    .post-header {
        padding: 1rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }

    .post-image {
        max-height: 300px;
    }
}
