/* Windplex - Main Stylesheet */

:root {
    --primary-color: #2a7fff;
    --secondary-color: #1a5bb8;
    --accent-color: #ff6b35;
    --dark-color: #121826;
    --light-color: #f8f9fa;
    --medium-color: #2d3748;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), #1e293b);
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--light-color);
    background-color: var(--dark-color);
    line-height: 1.6;
    padding-top: 76px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'MedievalSharp', cursive;
    font-weight: bold;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    text-align: center;
    margin-bottom: 3rem;
}

/* Navigation */
.navbar {
    background-color: rgba(18, 24, 38, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.8rem;
    color: var(--light-color) !important;
}

.navbar-brand .brand-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(42, 127, 255, 0.5);
}

.nav-link {
    color: #cbd5e0 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
}

.nav-connect-btn {
    margin-left: 1rem;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(42, 127, 255, 0.15), transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #a0aec0;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: bold;
}

/* Server Info Card */
.server-info-card {
    background-color: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(42, 127, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #f59e0b; /* Default to checking status (yellow) */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #f59e0b;
    transition: all 0.3s ease;
}

.status-dot.online {
    background-color: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

.status-dot.offline {
    background-color: var(--danger-color);
    box-shadow: 0 0 10px var(--danger-color);
}

.status-text {
    color: #f59e0b; /* Default to checking status color */
    transition: all 0.3s ease;
}

.status-text.online {
    color: var(--success-color);
}

.status-text.offline {
    color: var(--danger-color);
}

.server-ip h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.ip-address {
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem;
    font-family: monospace;
    font-size: 1.5rem;
    text-align: center;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.server-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--light-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #a0aec0;
}

.server-latency {
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Features */
.features-preview {
    background-color: #1a202c;
}

.feature-card {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.feature-link:hover {
    color: #cbd5e0;
}

/* Connect Section */
.connect-section {
    background-color: var(--dark-color);
}

.connect-steps .step {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.server-address {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 0.5rem;
    font-family: monospace;
}

.connect-card {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 2.5rem;
    border: 2px solid var(--primary-color);
}

.server-ip-display {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.2rem;
    font-size: 1.8rem;
    font-family: monospace;
    text-align: center;
    color: var(--light-color);
}

.version-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.version-badges .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.server-status-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-dot-small {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f59e0b;
    transition: all 0.3s ease;
}

.status-dot-small.online {
    background-color: var(--success-color);
}

.status-dot-small.offline {
    background-color: var(--danger-color);
}

/* Page Header */
.page-header {
    background: var(--gradient-dark), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    color: #cbd5e0;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Detail Cards */
.feature-detail-card {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-detail-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-detail-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.mini-feature-card {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mini-feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.mini-feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mini-feature-card h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Rules */
.rules-container {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 3rem;
}

.rule-category-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
}

.rule-category-title i {
    color: var(--primary-color);
}

.rule-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.rule-item ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.rule-item li {
    margin-bottom: 0.3rem;
}

.enforcement-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--danger-color);
}

/* Footer */
.footer {
    background-color: #121826;
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-color);
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.footer-links {
    list-style-type: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 127, 255, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: bold;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: bold;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}