/* Base Styles */
:root {
    --primary-color: #2d4a14;         /* Darker shade of the accent color */
    --secondary-color: #3e6a1e;      /* Slightly lighter shade */
    --accent-color: #77c241;         /* The requested green */
    --accent-light: #a0d67a;         /* Lighter variant for hover states */
    --accent-dark: #5a9a2d;          /* Darker variant for active states */
    --text-color: #e0e0e0;
    --background-dark: #121212;
    --card-bg: rgba(30, 40, 20, 0.7); /* Slightly green-tinted dark background */
    --transition: all 0.3s ease;
}

/* Tagline secret-code illumination */
.tag-letters { display: inline-flex; gap: 0.1em; }
.tag-letter { opacity: 0.35; transition: transform 0.15s ease, opacity 0.15s ease, text-shadow 0.15s ease; }
.tag-letter.active {
    opacity: 1;
    transform: scale(1.15);
    text-shadow: 0 0 8px #a0d67a, 0 0 16px #77c241;
}
.tagline.flash {
    animation: taglineFlash 700ms ease-in-out 1;
}
@keyframes taglineFlash {
    0% { filter: brightness(1); }
    30% { filter: brightness(2); }
    60% { filter: brightness(0.9); }
    100% { filter: brightness(1); }
}

/* GCPC title link */
.title-link {
    text-decoration: none;
    display: inline-flex;
    transition: all 0.3s ease;
}

.title-link:hover .title-word {
    filter: brightness(1.3);
    text-shadow: 0 0 20px var(--accent-color);
}

.title-link:hover .letter {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.05);
}

.title-link:active .letter {
    transform: translateY(0) scale(1);
}

/* Unlock toast for secret code success */
.unlock-toast {
    position: fixed;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0,255,255,0.5);
    color: #00ffff;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(0,255,255,0.7);
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(0,255,255,0.25);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    animation: unlockToastPop 900ms ease-out forwards;
}

@keyframes unlockToastPop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); filter: brightness(1); }
    25% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.3); }
    60% { opacity: 1; transform: translate(-50%, -50%) scale(1.0); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.98); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-dark);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

canvas#nodeGraph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Header Container - prevents layout shift */
#header-container {
    min-height: 400px; /* Approximate header height with nav */
}

/* Header Styles */
header {
    text-align: center;
    padding: 4rem 0 2rem 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation Menu */
.main-nav {
    margin-top: 0.5rem;
    width: 100%;
    max-width: 600px;
}

.nav-container {
    background: rgba(30, 40, 20, 0.7);
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3),
                inset 0 0 20px rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-container:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5),
                inset 0 0 30px rgba(255, 0, 255, 0.1);
    border-color: #ff00ff;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    font-size: 1.4rem;
    color: #00ffff;
    transition: all 0.3s ease;
}

.nav-link span {
    font-size: 0.85rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ff00ff;
    background: rgba(255, 0, 255, 0.1);
    transform: translateY(-3px);
}

.nav-link:hover i {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    transform: scale(1.1);
}

.nav-link:hover span {
    opacity: 1;
    color: #a0d67a;
}

.nav-link:active {
    transform: translateY(-1px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .nav-link {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .nav-link i {
        font-size: 1.1rem;
    }
    
    .nav-link span {
        font-size: 0.9rem;
    }
}

h1 {
    font-size: 3.5rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    line-height: 1.2;
    perspective: 1000px;
    padding-top: 0.5em;
    overflow: visible;
    transition: font-size 0.3s ease;
}

h1 .title-word {
    display: inline-flex;
    position: relative;
    white-space: nowrap;
    padding: 0 0.2em;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Apply bounce animation to each letter */
h1 .letter {
    display: inline-block;
    transform-origin: 50% 100%;
    animation: bounce 3s infinite;
    padding: 0 0.05em;
    margin: 0 -0.05em;
    background: inherit;
    -webkit-background-clip: inherit;
    background-clip: inherit;
    -webkit-text-fill-color: inherit;
    will-change: transform;
}

/* Create staggered animation for each letter with random delays and durations */
h1 .letter:nth-child(1) { animation-delay: 0.1s; animation-duration: 2.8s; }
h1 .letter:nth-child(2) { animation-delay: 0.2s; animation-duration: 3.1s; }
h1 .letter:nth-child(3) { animation-delay: 0.15s; animation-duration: 2.9s; }
h1 .letter:nth-child(4) { animation-delay: 0.25s; animation-duration: 3.2s; }
h1 .letter:nth-child(5) { animation-delay: 0.05s; animation-duration: 2.7s; }
h1 .letter:nth-child(6) { animation-delay: 0.3s; animation-duration: 3s; }
h1 .letter:nth-child(7) { animation-delay: 0.2s; animation-duration: 2.9s; }
h1 .letter:nth-child(8) { animation-delay: 0.1s; animation-duration: 3.1s; }
h1 .letter:nth-child(9) { animation-delay: 0.25s; animation-duration: 2.8s; }
h1 .letter:nth-child(10) { animation-delay: 0.15s; animation-duration: 3.2s; }

h1 .heart {
    margin: 0 0.5rem;
    font-size: 3rem;
    line-height: 1;
    position: relative;
    display: inline-block;
    animation: float 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    }
    25% { 
        transform: translateY(-20px) rotate(5deg) scale(1.1);
        animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    }
    50% { 
        transform: translateY(0) rotate(0deg) scale(1);
        animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    }
    75% { 
        transform: translateY(-10px) rotate(-5deg) scale(1.05);
        animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tagline {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 2.5rem;
    color: #77c241;
    margin: 2rem 0 4rem 0;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0 1rem;
    position: relative;
    display: inline-block;
    text-shadow: 4px 4px 0px #4a7a29;
    letter-spacing: 2px;
    line-height: 1.4;
    transform: perspective(500px) rotateX(10deg);
    animation: float 2s ease-in-out infinite;
    background: rgba(30, 40, 20, 0.7);
}

/* Pixel border effect */
.tagline::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 4px solid #77c241;
    border-image: linear-gradient(45deg, var(--accent-color), var(--accent-light)) 4;
    image-rendering: pixelated;
    z-index: -1;
    animation: borderPulse 4s linear infinite;
}

/* Pixel dot pattern background */
.tagline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    z-index: -2;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: perspective(500px) rotateX(10deg) translateY(0); }
    50% { transform: perspective(500px) rotateX(10deg) translateY(-10px); }
}

@keyframes borderPulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* Project Grid */
.projects {
    margin: 4rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #00ffff;
}

.project-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ffff; /* Cyan color to match Projects section */
    transition: var(--transition);
}

.project-card:hover i {
    color: #ffffff;
}

.project-card h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.project-card p {
    color: #aaa;
    font-size: 0.9rem;
}

.project-card .project-link {
    display: inline-block;
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #00ffff;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.project-card:hover .project-link {
    background: #00ffff;
    color: #000;
    transform: translateY(-2px);
}

.coming-soon {
    opacity: 0.8;
}

/* Content Box Shared Styles */
.content-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-top: 1.5rem;
}

/* Projects Section */
.projects .content-box {
    border: 1px solid #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.projects h2::after {
    background: linear-gradient(90deg, #00ffff, #00cccc);
}

/* Documents Section */
.documents .content-box {
    border: 1px solid #FFA500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.documents h2::after {
    background: linear-gradient(90deg, #ff00ff, #cc00cc);
}

/* About Section */
.about .content-box {
    border: 1px solid #77c241;
    box-shadow: 0 0 10px rgba(119, 194, 65, 0.3);
}

.about h2::after {
    background: linear-gradient(90deg, #77c241, #5a9a2e);
}

/* Document Grid */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.document-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #FFA500;
}

.document-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFA500; /* Orange for Documents section */
    transition: var(--transition);
}

.document-card:hover i,
.document-card:hover i {
    color: #ffffff;
}

.document-card .guide-link {
    display: inline-block;
    color: #FFA500;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #FFA500;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.document-card:hover .guide-link {
    background: #FFA500;
    color: #000;
    transform: translateY(-2px);
}

.document-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.document-card p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

/* Section Headers */
.about h2, .projects h2, .documents h2 {
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

/* Section Title Underlines */
.about h2::after, 
.projects h2::after, 
.documents h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 3px;
}

.about h2::after {
    background: linear-gradient(90deg, #77c241, #5a9a2e);
}

.projects h2::after {
    background: linear-gradient(90deg, #00ffff, #00cccc);
}

.documents h2::after {
    background: linear-gradient(90deg, #FFA500, #CC8400);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3rem;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    min-width: 150px;
    transition: var(--transition);
    border: 1px solid rgba(119, 194, 65, 0.2);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #77c241;
}

.stat-item i {
    font-size: 2rem;
    color: #77c241; /* Green color to match About section */
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.stat-item:hover i {
    color: #ffffff;
}

.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: white;
}

.stat-item p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.heart {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    text-shadow: none !important;
    font-size: 1.2em;
    vertical-align: middle;
    line-height: 1;
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        gap: 0.3rem;
    }
    
    h1 .heart {
        font-size: 2.2rem;
        margin: 0 0.3rem;
    }
    
    .tagline {
        font-size: 1.5rem;
        margin: 1.5rem 0 3rem 0;
    }
    
    .tag-letters {
        gap: 0.05em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    h1 .heart {
        font-size: 1.8rem;
        margin: 0 0.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin: 1rem 0 2rem 0;
    }
    
    .container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
        margin-bottom: 1rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Connectivity Guide Section */
.connectivity-guide {
    margin: 4rem 0;
}

.connectivity-guide .content-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-top: 1.5rem;
    border: 1px solid #77c241;
    box-shadow: 0 0 10px rgba(119, 194, 65, 0.3);
}

.connectivity-guide h2 {
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.connectivity-guide h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #77c241, #5a9a2e);
    border-radius: 3px;
}

/* Section Titles and Descriptions */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem 0 1rem 0;
    color: #77c241;
    border-left: 4px solid #77c241;
    padding-left: 1rem;
}

.section-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.note {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

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

.instruction-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(119, 194, 65, 0.2);
    transition: var(--transition);
}

.instruction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #77c241;
}

.instruction-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.instruction-list {
    list-style: decimal inside;
    padding-left: 0;
}

.instruction-list li {
    margin: 0.5rem 0;
    color: #ddd;
    padding-left: 0.5rem;
}

.highlight {
    color: #77c241;
    font-weight: 600;
}

/* iOS and Android specific styling */
.ios-card {
    border-left: 4px solid #007AFF;
}

.android-card {
    border-left: 4px solid #3DDC84;
}

.ios-card h4 {
    color: #007AFF;
}

.android-card h4 {
    color: #3DDC84;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.app-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(119, 194, 65, 0.2);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #77c241;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.app-header i {
    font-size: 1.5rem;
    color: #77c241;
}

.app-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.app-subtitle {
    color: #77c241;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-features li {
    margin: 0.5rem 0;
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.4;
}

.app-features strong {
    color: #77c241;
}

/* App-specific colors */
.signal-card .app-header i {
    color: #3a76f0;
}

.signal-card .app-header h4 {
    color: #3a76f0;
}

.whatsapp-card .app-header i {
    color: #25d366;
}

.whatsapp-card .app-header h4 {
    color: #25d366;
}

.threema-card .app-header i {
    color: #ff6600;
}

.threema-card .app-header h4 {
    color: #ff6600;
}

/* Connectivity Footer */
.connectivity-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(119, 194, 65, 0.2);
    text-align: center;
}

.connectivity-tip p {
    margin: 0.5rem 0;
    color: #ccc;
}

.connectivity-tip strong {
    color: #77c241;
    font-size: 1.1rem;
}

.tip-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #aaa !important;
}

/* Main Footer */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Guides Page Styles */
.guides-hero {
    margin: 4rem 0 2rem 0;
    text-align: center;
}

.guides-hero h2 {
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
}

.guides-hero h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #77c241, #5a9a2e);
    border-radius: 3px;
}

.guides-hero .content-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-top: 1.5rem;
    border: 1px solid #77c241;
    box-shadow: 0 0 10px rgba(119, 194, 65, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Guide Sections */
.connectivity-section,
.security-section,
.development-section,
.productivity-section {
    margin: 4rem 0;
}

.connectivity-section h2,
.security-section h2,
.development-section h2,
.productivity-section h2 {
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.connectivity-section h2::after,
.security-section h2::after,
.development-section h2::after,
.productivity-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 3px;
}

/* Section-specific colors */
.connectivity-section h2::after {
    background: linear-gradient(90deg, #77c241, #5a9a2e);
}

.security-section h2::after {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.development-section h2::after {
    background: linear-gradient(90deg, #2196f3, #1976d2);
}

.productivity-section h2::after {
    background: linear-gradient(90deg, #9c27b0, #7b1fa2);
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guide-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(119, 194, 65, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #77c241;
}

.guide-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #77c241;
    transition: var(--transition);
}

.guide-card:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.guide-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.guide-card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.guide-link {
    display: inline-block;
    color: #77c241;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #77c241;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.guide-link:hover {
    background: #77c241;
    color: #000;
    transform: translateY(-2px);
}

/* Coming Soon Cards */
.guide-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.guide-card.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(119, 194, 65, 0.2);
    color: #77c241;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.guide-card.coming-soon .guide-link {
    display: none;
}

/* Connectivity-specific styling */
.connectivity-card {
    border: 1px solid rgba(119, 194, 65, 0.3);
}

.connectivity-card:hover {
    border-color: #77c241;
    box-shadow: 0 5px 15px rgba(119, 194, 65, 0.2);
}

/* Security-specific styling */
.security-section .guide-card {
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.security-section .guide-card:hover {
    border-color: #ff6b35;
}

/* Development-specific styling */
.development-section .guide-card {
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.development-section .guide-card:hover {
    border-color: #2196f3;
}

/* Productivity-specific styling */
.productivity-section .guide-card {
    border: 1px solid rgba(156, 39, 176, 0.2);
}

.productivity-section .guide-card:hover {
    border-color: #9c27b0;
}

/* Back to Guides Section */
.back-to-guides {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(119, 194, 65, 0.2);
    text-align: center;
}

.back-to-guides h3 {
    color: #77c241;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.back-to-guides p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.guides-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #77c241;
    text-decoration: none;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border: 2px solid #77c241;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.guides-link:hover {
    background: #77c241;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(119, 194, 65, 0.3);
}

.guides-link i {
    font-size: 0.8rem;
}

/* Flappy Node Game Overlay */
.flappy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.flappy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 1rem;
}

.flappy-header h3 {
    color: #00ffff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.flappy-close {
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.flappy-close:hover {
    background: #00ffff;
    color: #000;
    transform: scale(1.1);
}

#flappyCanvas {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 600px;
    aspect-ratio: 4 / 3;
    border: 2px solid #00ffff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.flappy-hint {
    color: #e0e0e0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    opacity: 0.7;
}
