/* EPIC SPACE BACKGROUND */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px #00ffff; }
    50% { box-shadow: 0 0 40px #00ffff, 0 0 60px #0088ff; }
}

/* BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(ellipse at center, #0a0a2a 0%, #000016 70%);
    color: white;
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    overflow-x: hidden;
}

/* STARFIELD */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle infinite alternate;
}

/* MAIN CONTAINER */
.container {
    text-align: center;
    padding-top: 15vh;
    position: relative;
    z-index: 1;
}

/* TITLE WITH GLITCH EFFECT */
.title {
    font-size: 6rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #0088ff;
    letter-spacing: 5px;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.title::before {
    content: "ORBIT";
    position: absolute;
    left: 2px;
    top: -2px;
    color: #ff00ff;
    z-index: -1;
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.subtitle {
    font-size: 1.8rem;
    color: #88ffff;
    margin-bottom: 70px;
    text-shadow: 0 0 10px rgba(136, 255, 255, 0.7);
}

/* 3D ROTATING GLOBE */
.globe-container {
    margin: 50px auto;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.globe {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

.globe::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, #1a5fb4, transparent 70%);
    border-radius: 50%;
    box-shadow: 
        inset 0 0 60px rgba(0, 212, 255, 0.7),
        0 0 100px rgba(0, 136, 255, 0.5);
}

.globe::after {
    content: '';
    position: absolute;
    width: 102%;
    height: 102%;
    border-radius: 50%;
    border: 2px dashed rgba(0, 212, 255, 0.4);
    animation: rotate3d 15s linear infinite reverse;
}

/* BUTTONS */
.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 70px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 35px;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* INDIVIDUAL BUTTON COLORS */
.download-btn {
    background: linear-gradient(135deg, #00ffff, #0088ff);
    color: white;
    animation: glow 2s infinite;
}

.about-btn {
    background: transparent;
    border: 2px solid #00ff88;
    color: #00ff88;
}

.about-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: scale(1.05);
}

.contact-btn {
    background: transparent;
    border: 2px solid #ff0088;
    color: #ff0088;
}

.contact-btn:hover {
    background: rgba(255, 0, 136, 0.1);
    transform: scale(1.05);
}

.btn:hover {
    transform: translateY(-5px);
}

/* PAGE LAYOUTS */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 50px;
    position: relative;
    z-index: 1;
}

.back-btn {
    display: inline-block;
    color: #88ffff;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #00ffff;
}

.page-title {
    font-size: 3.5rem;
    color: #00ffff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 20px #00ffff;
}

/* ABOUT PAGE */
.about-card {
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.about-card h2 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.about-card p {
    color: #ccd6f6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.journey-list {
    list-style: none;
    padding-left: 0;
}

.journey-list li {
    color: #88ffff;
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.journey-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tech-item {
    background: rgba(0, 212, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.tech-item h3 {
    color: #00ffff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.tech-item p {
    color: #88ffff;
    font-size: 1rem;
}

/* CONTACT PAGE */
.contact-card {
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.contact-card h2 {
    color: #ff0088;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-card ul {
    list-style: none;
    padding-left: 20px;
}

.contact-card li {
    color: #ccd6f6;
    padding: 5px 0;
    position: relative;
}

.contact-card li::before {
    content: "•";
    color: #ff0088;
    position: absolute;
    left: -15px;
}

.email-link {
    display: inline-block;
    color: #00ffff;
    font-size: 1.3rem;
    text-decoration: none;
    margin: 10px 0;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.email-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00ffff;
}

.response-time {
    color: #8892b0;
    font-style: italic;
    font-size: 0.9rem;
}

/* ACTION BUTTONS FOR PAGES */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .title { font-size: 4rem; }
    .globe-container { width: 250px; height: 250px; }
    .buttons { flex-direction: column; align-items: center; }
    .btn { width: 80%; }
}