/* Kingdom IO War Cry: Sacred Digital Warfare */
/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: rgba(255, 255, 255, 0.95);
    min-height: 100vh;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Hamburger Menu Button */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Hide hamburger menu on desktop since sidebar is visible */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Sidebar - Vertical Navigation */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(96, 165, 250, 0.2);
}

/* Hide sidebar on mobile by default */
@media (max-width: 768px) {
    .sidebar {
        left: -280px;
    }
    
    .sidebar.active {
        left: 0;
    }
}

.sidebar-header {
    padding: 30px 20px 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.app-logo {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.app-logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
    border-radius: 50%;
}

.app-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.app-subtitle {
    font-size: 0.85rem;
    color: rgba(96, 165, 250, 0.8);
    margin-left: 52px;
    font-weight: 500;
}

.nav-list {
    list-style: none;
    padding: 20px 0;
    flex-grow: 1;
    overflow-y: auto;
}

.nav-item {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 2px 0;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item:hover {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid rgba(255, 215, 0, 0.8);
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.15), rgba(255, 215, 0, 0.1));
    border-left: 3px solid #ffd700;
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.nav-icon {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.3));
}

.nav-item.active .nav-icon {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.nav-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05) 0%, transparent 100%);
}

.data-sovereignty {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.data-sovereignty-icon {
    margin-right: 10px;
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.5));
}

/* Overlay for mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 80px 30px 30px;
    transition: all 0.3s ease;
    min-height: 100vh;
    margin-left: 280px; /* Account for sidebar width on desktop */
}

/* Adjust main content for mobile */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 100px 20px 30px;
    }
}

.module {
    display: none;
    animation: fadeIn 0.6s ease;
}

.module.active {
    display: block;
}

/* Welcome Header */
.welcome-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
}

.welcome-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.welcome-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.6);
    border: 3px solid rgba(96, 165, 250, 0.3);
}

.welcome-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

@media (max-width: 768px) {
    .welcome-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-text {
        text-align: center;
    }
    
    .welcome-logo {
        width: 100px;
        height: 100px;
    }
}

.welcome-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 300;
    background: linear-gradient(45deg, #60a5fa, #3b82f6, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.divine-blue-glow {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
    font-weight: 600;
}

.scripture {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    font-style: italic;
    line-height: 1.5;
}

/* Kingdom Codes Grid */
.kingdom-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Code 007 Container - Centered Standalone */
.code-007-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.code-007 {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.kingdom-code-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
}

.kingdom-code-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kingdom-code-card:hover::before {
    opacity: 1;
}

.kingdom-code-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

.code-number {
    font-size: 0.9rem;
    color: rgba(96, 165, 250, 0.8);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.code-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Manifesto Styles */
.manifesto-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
}

.manifesto-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ffd700, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.manifesto-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.manifesto-content h3 {
    color: #ffd700;
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.manifesto-content h4 {
    color: #60a5fa;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.manifesto-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.manifesto-content li {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Activation Page Styles */
.activation-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.activation-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd700, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.activation-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.activation-button {
    padding: 20px 40px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.activation-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    animation: bounce 0.6s ease-in-out;
}

.servant-os-button {
    font-size: 1.1rem;
    padding: 25px 50px;
    text-transform: none;
    letter-spacing: 0.5px;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(-3px) scale(1.05);
    }
    40% {
        transform: translateY(-8px) scale(1.08);
    }
    80% {
        transform: translateY(-5px) scale(1.06);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.3);
    backdrop-filter: blur(20px);
}

.modal-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-button:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

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

    .kingdom-codes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .manifesto-container {
        padding: 25px;
    }

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

    .activation-title {
        font-size: 2.2rem;
    }
}

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

@keyframes glow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
    }
    50% { 
        text-shadow: 0 0 30px rgba(96, 165, 250, 0.8), 0 0 40px rgba(96, 165, 250, 0.3);
    }
}

.divine-blue-glow {
    animation: glow 3s ease-in-out infinite;
}



.sacred-footer-scripture {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
}

.sacred-footer-scripture p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.5;
    animation: glow 3s ease-in-out infinite;
}

.dashboard-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}



/* Activation Section Styles */
.activation-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.activation-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.activation-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.activation-text:last-of-type {
    margin-bottom: 40px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.servant-os-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.3rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    text-transform: none;
    letter-spacing: 0.5px;
    margin: 20px 0 40px;
    width: 100%;
    max-width: 400px;
}

.servant-os-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.mission-reminder {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(30, 41, 59, 0.3) 100%);
    border-radius: 15px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.mission-reminder p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.mission-reminder p:first-child {
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-scripture {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 30px;
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.2);
}

@media (max-width: 768px) {
    .activation-container {
        padding: 40px 20px;
    }
    
    .activation-title {
        font-size: 2rem;
    }
    
    .activation-text {
        font-size: 1.1rem;
    }
    
    .servant-os-button {
        width: 100%;
        padding: 18px 30px;
        font-size: 1.2rem;
    }
}



/* Babylon Tech Warning Module Styles */
.babylon-warning-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
}

.babylon-warning-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ff4d4d, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 77, 77, 0.5);
}

.babylon-warning-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.babylon-warning-content .section-title {
    color: #ffd700;
    margin: 30px 0 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
}

.babylon-warning-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.babylon-warning-content li {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Collapsible Section */
.collapsible-button {
    background-color: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.2rem;
    transition: 0.4s;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
}

.collapsible-button:hover {
    background-color: rgba(96, 165, 250, 0.4);
}

.collapsible-button:after {
    content: '\002B'; /* Unicode character for a plus sign */
    color: #60a5fa;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.collapsible-button.active:after {
    content: '\2212'; /* Unicode character for a minus sign */
}

.collapsible-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: rgba(15, 23, 42, 0.7);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Share Button */
.share-button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.5);
}

/* Servant OS CTA Button */
.servant-os-cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.servant-os-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.servant-os-cta-button:hover::before {
    left: 100%;
}

.servant-os-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-3px) scale(1.05);
    }
    50% {
        transform: translateY(-3px) scale(1.08);
    }
}


