Changes to cosmicscroll.pub.scroll.pub

ScrollHub
ScrollHub
23 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://cosmicscroll.pub
+ metaTags
+ editButton /edit.html
+ title Cosmic Scroll | Intergalactic AI & Robotics Learning
+ style.css
+
+ header
+ class cosmic-header
+ div
+ class nebula-bg
+ nav
+ div Cosmic Scroll
+ class logo
+ div
+ class nav-links
+ a Courses
+ href #courses
+ a Simulations
+ href #simulations
+ a Community
+ href #community
+ a Login
+ class cta-button
+ href login.html
+ div
+ class hero-content
+ h1 Explore the Cosmos of AI & Robotics
+ p Journey through interstellar knowledge with our advanced learning platform
+ a Begin Exploration
+ class primary-button
+ href courses.html
+ main
+ section
+ id courses
+ class cosmic-courses
+ h2 Galactic Learning Paths
+ div
+ class course-grid
+ div
+ class course-card
+ div 🚀
+ class course-icon
+ h3 Interstellar Robotics
+ p Master robotics in zero-gravity environments
+ a Enroll
+ class secondary-button
+ href course1.html
+ div
+ class course-card
+ div 🌌
+ class course-icon
+ h3 Quantum AI
+ p Harness quantum computing for AI systems
+ a Enroll
+ class secondary-button
+ href course2.html
+ div
+ class course-card
+ div 🪐
+ class course-icon
+ h3 Exoplanet Automation
+ p Build autonomous systems for alien worlds
+ a Enroll
+ class secondary-button
+ href course3.html
+ section
+ id simulations
+ class cosmic-sim
+ h2 Cosmic Simulations
+ div
+ class sim-container
+ canvas
+ id galaxy-canvas
+ div
+ class sim-controls
+ button Start Simulation
+ class sim-button
+ button Reset
+ class sim-button secondary
+ section
+ id community
+ class cosmic-community
+ h2 Join Our Stellar Community
+ div
+ class community-grid
+ div
+ class community-card
+ h3 Galactic Forums
+ p Connect with fellow space explorers
+ a Visit
+ class text-button
+ href forums.html
+ div
+ class community-card
+ h3 Live Events
+ p Attend our cosmic webinars
+ a View Schedule
+ class text-button
+ href events.html
+ div
+ class community-card
+ h3 Research Papers
+ p Access cutting-edge publications
+ a Browse
+ class text-button
+ href research.html
+ footer
+ div
+ class cosmic-footer
+ div
+ class footer-links
+ a About
+ href about.html
+ a Contact
+ href contact.html
+ a Privacy
+ href privacy.html
+ p Exploring the frontiers of knowledge since 3023
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "616cda79-d319-4640-bf4f-bb7b16ac449d",
+ "object": "chat.completion",
+ "created": 1750095861,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's my proposal for an advanced cosmological intergalactic themed robotics and AI learning platform:\n\n---domain---\ncosmicscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://cosmicscroll.pub\nmetaTags\neditButton /edit.html\ntitle Cosmic Scroll | Intergalactic AI & Robotics Learning\nstyle.css\n\nheader\n class cosmic-header\n div\n class nebula-bg\n nav\n div Cosmic Scroll\n class logo\n div\n class nav-links\n a Courses\n href #courses\n a Simulations\n href #simulations\n a Community\n href #community\n a Login\n class cta-button\n href login.html\n div\n class hero-content\n h1 Explore the Cosmos of AI & Robotics\n p Journey through interstellar knowledge with our advanced learning platform\n a Begin Exploration\n class primary-button\n href courses.html\nmain\n section\n id courses\n class cosmic-courses\n h2 Galactic Learning Paths\n div\n class course-grid\n div\n class course-card\n div 🚀\n class course-icon\n h3 Interstellar Robotics\n p Master robotics in zero-gravity environments\n a Enroll\n class secondary-button\n href course1.html\n div\n class course-card\n div 🌌\n class course-icon\n h3 Quantum AI\n p Harness quantum computing for AI systems\n a Enroll\n class secondary-button\n href course2.html\n div\n class course-card\n div 🪐\n class course-icon\n h3 Exoplanet Automation\n p Build autonomous systems for alien worlds\n a Enroll\n class secondary-button\n href course3.html\n section\n id simulations\n class cosmic-sim\n h2 Cosmic Simulations\n div\n class sim-container\n canvas\n id galaxy-canvas\n div\n class sim-controls\n button Start Simulation\n class sim-button\n button Reset\n class sim-button secondary\n section\n id community\n class cosmic-community\n h2 Join Our Stellar Community\n div\n class community-grid\n div\n class community-card\n h3 Galactic Forums\n p Connect with fellow space explorers\n a Visit\n class text-button\n href forums.html\n div\n class community-card\n h3 Live Events\n p Attend our cosmic webinars\n a View Schedule\n class text-button\n href events.html\n div\n class community-card\n h3 Research Papers\n p Access cutting-edge publications\n a Browse\n class text-button\n href research.html\nfooter\n div\n class cosmic-footer\n div\n class footer-links\n a About\n href about.html\n a Contact\n href contact.html\n a Privacy\n href privacy.html\n p Exploring the frontiers of knowledge since 3023\n\nscript.js\n---style.css---\n:root {\n --cosmic-primary: #0b0e23;\n --cosmic-secondary: #1a1f4b;\n --cosmic-accent: #4d3bff;\n --cosmic-highlight: #00f0ff;\n --cosmic-text: #e0e0ff;\n --cosmic-text-secondary: #a0a0c0;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n background-color: var(--cosmic-primary);\n color: var(--cosmic-text);\n margin: 0;\n line-height: 1.6;\n}\n\n.cosmic-header {\n position: relative;\n overflow: hidden;\n padding: 2rem 0;\n}\n\n.nebula-bg {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: radial-gradient(circle at 20% 50%, \n rgba(77, 59, 255, 0.2) 0%, \n rgba(0, 0, 0, 0) 50%),\n radial-gradient(circle at 80% 30%, \n rgba(0, 240, 255, 0.15) 0%, \n rgba(0, 0, 0, 0) 60%);\n z-index: -1;\n}\n\n.logo {\n font-size: 1.8rem;\n font-weight: 700;\n background: linear-gradient(90deg, var(--cosmic-highlight), var(--cosmic-accent));\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n align-items: center;\n}\n\n.nav-links a {\n color: var(--cosmic-text);\n text-decoration: none;\n transition: color 0.3s;\n}\n\n.nav-links a:hover {\n color: var(--cosmic-highlight);\n}\n\n.cta-button {\n background-color: var(--cosmic-accent);\n padding: 0.5rem 1.5rem;\n border-radius: 2rem;\n font-weight: 600;\n}\n\n.hero-content {\n max-width: 800px;\n margin: 4rem auto;\n text-align: center;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: linear-gradient(90deg, #fff, var(--cosmic-highlight));\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n}\n\n.hero-content p {\n font-size: 1.2rem;\n color: var(--cosmic-text-secondary);\n margin-bottom: 2rem;\n}\n\n.primary-button {\n background-color: var(--cosmic-accent);\n color: white;\n padding: 0.8rem 2rem;\n border-radius: 2rem;\n font-size: 1.1rem;\n font-weight: 600;\n text-decoration: none;\n display: inline-block;\n transition: transform 0.3s, box-shadow 0.3s;\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 15px rgba(77, 59, 255, 0.4);\n}\n\n.cosmic-courses, .cosmic-sim, .cosmic-community {\n padding: 4rem 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\nh2 {\n text-align: center;\n font-size: 2.5rem;\n margin-bottom: 3rem;\n position: relative;\n}\n\nh2::after {\n content: '';\n display: block;\n width: 100px;\n height: 3px;\n background: linear-gradient(90deg, var(--cosmic-accent), var(--cosmic-highlight));\n margin: 1rem auto 0;\n}\n\n.course-grid, .community-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n}\n\n.course-card, .community-card {\n background-color: var(--cosmic-secondary);\n border-radius: 1rem;\n padding: 2rem;\n transition: transform 0.3s, box-shadow 0.3s;\n border: 1px solid rgba(255, 255, 255, 0.05);\n}\n\n.course-card:hover, .community-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);\n}\n\n.course-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.secondary-button {\n display: inline-block;\n padding: 0.6rem 1.5rem;\n border-radius: 2rem;\n background-color: transparent;\n color: var(--cosmic-highlight);\n border: 1px solid var(--cosmic-highlight);\n text-decoration: none;\n margin-top: 1rem;\n transition: all 0.3s;\n}\n\n.secondary-button:hover {\n background-color: rgba(0, 240, 255, 0.1);\n}\n\n.cosmic-sim {\n background-color: var(--cosmic-secondary);\n}\n\n.sim-container {\n position: relative;\n height: 500px;\n border-radius: 1rem;\n overflow: hidden;\n margin-bottom: 1rem;\n}\n\n#galaxy-canvas {\n width: 100%;\n height: 100%;\n background-color: #000;\n}\n\n.sim-controls {\n display: flex;\n justify-content: center;\n gap: 1rem;\n}\n\n.sim-button {\n padding: 0.8rem 2rem;\n border-radius: 2rem;\n border: none;\n font-weight: 600;\n cursor: pointer;\n transition: all 0.3s;\n}\n\n.sim-button:first-child {\n background-color: var(--cosmic-accent);\n color: white;\n}\n\n.sim-button.secondary {\n background-color: transparent;\n color: var(--cosmic-highlight);\n border: 1px solid var(--cosmic-highlight);\n}\n\n.text-button {\n color: var(--cosmic-highlight);\n text-decoration: none;\n font-weight: 600;\n display: inline-block;\n margin-top: 1rem;\n}\n\n.cosmic-footer {\n padding: 3rem 2rem;\n background-color: var(--cosmic-secondary);\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 2rem;\n margin-bottom: 1.5rem;\n}\n\n.footer-links a {\n color: var(--cosmic-text-secondary);\n text-decoration: none;\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.5rem;\n }\n \n .nav-links {\n gap: 1rem;\n }\n \n .course-grid, .community-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Initialize galaxy simulation canvas\n const canvas = document.getElementById('galaxy-canvas');\n if (canvas) {\n const ctx = canvas.getContext('2d');\n canvas.width = canvas.offsetWidth;\n canvas.height = canvas.offsetHeight;\n \n // Create stars\n const stars = [];\n const starCount = 200;\n \n for (let i = 0; i < starCount; i++) {\n stars.push({\n x: Math.random() * canvas.width,\n y: Math.random() * canvas.height,\n radius: Math.random() * 1.5,\n vx: Math.random() * 0.5 - 0.25,\n vy: Math.random() * 0.5 - 0.25,\n brightness: Math.random()\n });\n }\n \n // Animation loop\n function animate() {\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n ctx.fillStyle = 'black';\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n \n // Draw stars\n stars.forEach(star => {\n ctx.beginPath();\n ctx.arc(star.x, star.y, star.radius, 0, Math.PI * 2);\n ctx.fillStyle = `rgba(255, 255, 255, ${star.brightness})`;\n ctx.fill();\n \n // Move stars\n star.x += star.vx;\n star.y += star.vy;\n \n // Wrap around screen\n if (star.x < 0) star.x = canvas.width;\n if (star.x > canvas.width) star.x = 0;\n if (star.y < 0) star.y = canvas.height;\n if (star.y > canvas.height) star.y = 0;\n });\n \n requestAnimationFrame(animate);\n }\n \n animate();\n \n // Handle window resize\n window.addEventListener('resize', function() {\n canvas.width = canvas.offsetWidth;\n canvas.height = canvas.offsetHeight;\n });\n }\n \n // Simulation controls\n const simButtons = document.querySelectorAll('.sim-button');\n simButtons.forEach(button => {\n button.addEventListener('click', function() {\n if (this.textContent === 'Start Simulation') {\n this.textContent = 'Pause Simulation';\n // Add more interactive simulation logic here\n } else if (this.textContent === 'Pause Simulation') {\n this.textContent = 'Resume Simulation';\n } else if (this.textContent === 'Resume Simulation') {\n this.textContent = 'Pause Simulation';\n } else if (this.textContent === 'Reset') {\n // Reset simulation logic\n }\n });\n });\n \n // Add subtle animations to course cards\n const courseCards = document.querySelectorAll('.course-card, .community-card');\n courseCards.forEach(card => {\n card.addEventListener('mousemove', function(e) {\n const rect = this.getBoundingClientRect();\n const x = e.clientX - rect.left;\n const y = e.clientY - rect.top;\n const centerX = rect.width / 2;\n const centerY = rect.height / 2;\n \n const angleX = (y - centerY) / 20;\n const angleY = (centerX - x) / 20;\n \n this.style.transform = `perspective(1000px) rotateX(${angleX}deg) rotateY(${angleY}deg) translateY(-5px)`;\n });\n \n card.addEventListener('mouseleave', function() {\n this.style.transform = 'perspective(1000px) rotateX(0) rotateY(0) translateY(-5px)';\n });\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 729,
+ "completion_tokens": 3067,
+ "total_tokens": 3796,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 729
+ },
+ "system_fingerprint": "fp_8802369eaa_prod0425fp8"
+ }
readme.scroll
Changed around line 1
+ # cosmicscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ the most advanced cosmological intergalactic themed robotics and ai learning platform
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "the most advanced cosmological intergalactic themed robotics and ai learning platform"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ // Initialize galaxy simulation canvas
+ const canvas = document.getElementById('galaxy-canvas');
+ if (canvas) {
+ const ctx = canvas.getContext('2d');
+ canvas.width = canvas.offsetWidth;
+ canvas.height = canvas.offsetHeight;
+
+ // Create stars
+ const stars = [];
+ const starCount = 200;
+
+ for (let i = 0; i < starCount; i++) {
+ stars.push({
+ x: Math.random() * canvas.width,
+ y: Math.random() * canvas.height,
+ radius: Math.random() * 1.5,
+ vx: Math.random() * 0.5 - 0.25,
+ vy: Math.random() * 0.5 - 0.25,
+ brightness: Math.random()
+ });
+ }
+
+ // Animation loop
+ function animate() {
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
+ ctx.fillStyle = 'black';
+ ctx.fillRect(0, 0, canvas.width, canvas.height);
+
+ // Draw stars
+ stars.forEach(star => {
+ ctx.beginPath();
+ ctx.arc(star.x, star.y, star.radius, 0, Math.PI * 2);
+ ctx.fillStyle = `rgba(255, 255, 255, ${star.brightness})`;
+ ctx.fill();
+
+ // Move stars
+ star.x += star.vx;
+ star.y += star.vy;
+
+ // Wrap around screen
+ if (star.x < 0) star.x = canvas.width;
+ if (star.x > canvas.width) star.x = 0;
+ if (star.y < 0) star.y = canvas.height;
+ if (star.y > canvas.height) star.y = 0;
+ });
+
+ requestAnimationFrame(animate);
+ }
+
+ animate();
+
+ // Handle window resize
+ window.addEventListener('resize', function() {
+ canvas.width = canvas.offsetWidth;
+ canvas.height = canvas.offsetHeight;
+ });
+ }
+
+ // Simulation controls
+ const simButtons = document.querySelectorAll('.sim-button');
+ simButtons.forEach(button => {
+ button.addEventListener('click', function() {
+ if (this.textContent === 'Start Simulation') {
+ this.textContent = 'Pause Simulation';
+ // Add more interactive simulation logic here
+ } else if (this.textContent === 'Pause Simulation') {
+ this.textContent = 'Resume Simulation';
+ } else if (this.textContent === 'Resume Simulation') {
+ this.textContent = 'Pause Simulation';
+ } else if (this.textContent === 'Reset') {
+ // Reset simulation logic
+ }
+ });
+ });
+
+ // Add subtle animations to course cards
+ const courseCards = document.querySelectorAll('.course-card, .community-card');
+ courseCards.forEach(card => {
+ card.addEventListener('mousemove', function(e) {
+ const rect = this.getBoundingClientRect();
+ const x = e.clientX - rect.left;
+ const y = e.clientY - rect.top;
+ const centerX = rect.width / 2;
+ const centerY = rect.height / 2;
+
+ const angleX = (y - centerY) / 20;
+ const angleY = (centerX - x) / 20;
+
+ this.style.transform = `perspective(1000px) rotateX(${angleX}deg) rotateY(${angleY}deg) translateY(-5px)`;
+ });
+
+ card.addEventListener('mouseleave', function() {
+ this.style.transform = 'perspective(1000px) rotateX(0) rotateY(0) translateY(-5px)';
+ });
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --cosmic-primary: #0b0e23;
+ --cosmic-secondary: #1a1f4b;
+ --cosmic-accent: #4d3bff;
+ --cosmic-highlight: #00f0ff;
+ --cosmic-text: #e0e0ff;
+ --cosmic-text-secondary: #a0a0c0;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ background-color: var(--cosmic-primary);
+ color: var(--cosmic-text);
+ margin: 0;
+ line-height: 1.6;
+ }
+
+ .cosmic-header {
+ position: relative;
+ overflow: hidden;
+ padding: 2rem 0;
+ }
+
+ .nebula-bg {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: radial-gradient(circle at 20% 50%,
+ rgba(77, 59, 255, 0.2) 0%,
+ rgba(0, 0, 0, 0) 50%),
+ radial-gradient(circle at 80% 30%,
+ rgba(0, 240, 255, 0.15) 0%,
+ rgba(0, 0, 0, 0) 60%);
+ z-index: -1;
+ }
+
+ .logo {
+ font-size: 1.8rem;
+ font-weight: 700;
+ background: linear-gradient(90deg, var(--cosmic-highlight), var(--cosmic-accent));
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: var(--cosmic-text);
+ text-decoration: none;
+ transition: color 0.3s;
+ }
+
+ .nav-links a:hover {
+ color: var(--cosmic-highlight);
+ }
+
+ .cta-button {
+ background-color: var(--cosmic-accent);
+ padding: 0.5rem 1.5rem;
+ border-radius: 2rem;
+ font-weight: 600;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: 4rem auto;
+ text-align: center;
+ }
+
+ .hero-content h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(90deg, #fff, var(--cosmic-highlight));
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ }
+
+ .hero-content p {
+ font-size: 1.2rem;
+ color: var(--cosmic-text-secondary);
+ margin-bottom: 2rem;
+ }
+
+ .primary-button {
+ background-color: var(--cosmic-accent);
+ color: white;
+ padding: 0.8rem 2rem;
+ border-radius: 2rem;
+ font-size: 1.1rem;
+ font-weight: 600;
+ text-decoration: none;
+ display: inline-block;
+ transition: transform 0.3s, box-shadow 0.3s;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 15px rgba(77, 59, 255, 0.4);
+ }
+
+ .cosmic-courses, .cosmic-sim, .cosmic-community {
+ padding: 4rem 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ h2 {
+ text-align: center;
+ font-size: 2.5rem;
+ margin-bottom: 3rem;
+ position: relative;
+ }
+
+ h2::after {
+ content: '';
+ display: block;
+ width: 100px;
+ height: 3px;
+ background: linear-gradient(90deg, var(--cosmic-accent), var(--cosmic-highlight));
+ margin: 1rem auto 0;
+ }
+
+ .course-grid, .community-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ }
+
+ .course-card, .community-card {
+ background-color: var(--cosmic-secondary);
+ border-radius: 1rem;
+ padding: 2rem;
+ transition: transform 0.3s, box-shadow 0.3s;
+ border: 1px solid rgba(255, 255, 255, 0.05);
+ }
+
+ .course-card:hover, .community-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
+ }
+
+ .course-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .secondary-button {
+ display: inline-block;
+ padding: 0.6rem 1.5rem;
+ border-radius: 2rem;
+ background-color: transparent;
+ color: var(--cosmic-highlight);
+ border: 1px solid var(--cosmic-highlight);
+ text-decoration: none;
+ margin-top: 1rem;
+ transition: all 0.3s;
+ }
+
+ .secondary-button:hover {
+ background-color: rgba(0, 240, 255, 0.1);
+ }
+
+ .cosmic-sim {
+ background-color: var(--cosmic-secondary);
+ }
+
+ .sim-container {
+ position: relative;
+ height: 500px;
+ border-radius: 1rem;
+ overflow: hidden;
+ margin-bottom: 1rem;
+ }
+
+ #galaxy-canvas {
+ width: 100%;
+ height: 100%;
+ background-color: #000;
+ }
+
+ .sim-controls {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ }
+
+ .sim-button {
+ padding: 0.8rem 2rem;
+ border-radius: 2rem;
+ border: none;
+ font-weight: 600;
+ cursor: pointer;
+ transition: all 0.3s;
+ }
+
+ .sim-button:first-child {
+ background-color: var(--cosmic-accent);
+ color: white;
+ }
+
+ .sim-button.secondary {
+ background-color: transparent;
+ color: var(--cosmic-highlight);
+ border: 1px solid var(--cosmic-highlight);
+ }
+
+ .text-button {
+ color: var(--cosmic-highlight);
+ text-decoration: none;
+ font-weight: 600;
+ display: inline-block;
+ margin-top: 1rem;
+ }
+
+ .cosmic-footer {
+ padding: 3rem 2rem;
+ background-color: var(--cosmic-secondary);
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 1.5rem;
+ }
+
+ .footer-links a {
+ color: var(--cosmic-text-secondary);
+ text-decoration: none;
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+
+ .course-grid, .community-grid {
+ grid-template-columns: 1fr;
+ }
+ }