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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for rocket trail */
}

/* Custom Rocket Cursor */
#cursor-trail {
	position: fixed;
	width: 36px;
	height: 36px;
	pointer-events: none;
	z-index: 10050; /* Above overlays and share UI */
	transition: transform 0.08s linear;
	left: 0;
	top: 0;
	will-change: transform;
}

#cursor-trail::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-image: url('rocket.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 6px rgba(227, 24, 55, 0.4));
}

/* Larger rocket inside checkmark containers */
.checkmark-container .rocket {
	width: 28px !important;
	height: 28px !important;
	background-image: url('rocket.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* Ensure custom cursor on overlays */
.progress-card {
	cursor: none;
}
.progress-card * {
	cursor: none !important;
}

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

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.isru-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.isru-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    background: transparent;
    padding: 8px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.1) brightness(1.05);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: contrast(1.2) brightness(1.1);
}

h1 {
    font-size: 2rem;
    font-weight: 400;
    color: #cccccc;
    letter-spacing: 0.1em;
}

/* Audio Controls */
.audio-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.audio-btn {
    padding: 0.5rem 1rem;
    background: #333333;
    border: 2px solid #444444;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background: #444444;
    border-color: #555555;
    transform: translateY(-2px);
}

.audio-btn.active {
    background: #e31837;
    border-color: #e31837;
}

/* Checklist Container */
.checklist-container {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #333333;
    perspective: 1000px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Task Items with 3D Effects */
.task {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #0f0f0f;
    border-radius: 8px;
    border: 2px solid #333333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg);
}

.task:hover {
    background: #1f1f1f;
    border-color: #444444;
    transform: perspective(1000px) rotateX(5deg) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.task.completed {
    background: #0f0f0f;
    border-color: #666666;
    transform: perspective(1000px) rotateX(0deg) scale(0.98);
}

/* Task Icons with Enhanced Styling */
.task-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.task:hover .task-icon {
    transform: scale(1.1) rotate(5deg);
}

.task-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.1) brightness(1.05);
    transition: all 0.3s ease;
}

.task:hover .task-image {
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1.1);
}

/* Task Content with Timestamps */
.task-content {
    flex: 1;
}

.task-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.task-content p {
    font-size: 0.9rem;
    color: #aaaaaa;
    font-weight: 400;
}

.task-timestamp {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Checkmark Container with Enhanced Animations */
.checkmark-container {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rocket {
    font-size: 2.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.5);
    transition: all 0.5s ease;
    position: absolute;
}

.checkmark {
    font-size: 2.5rem;
    color: #666666;
    opacity: 0.6;
    transition: all 0.3s ease;
    position: absolute;
}

.task.completed .rocket {
    opacity: 1;
    transform: translateY(-20px) scale(1.2);
    animation: rocketLaunch 1s ease-out;
}

.task.completed .checkmark {
    opacity: 0;
    transform: scale(0);
}

@keyframes rocketLaunch {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
}

/* Progress Bar with Enhanced Styling */
.progress-container {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #333333;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    border-radius: 5px;
    transition: width 0.5s ease;
    width: 0%;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.progress-text {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.completed-count {
    color: #ffffff;
    font-weight: 600;
}

/* Streak Counter */
.streak-counter {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.reset-button, .share-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #333333;
    border: 2px solid #444444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.reset-button:hover, .share-button:hover {
    background: #444444;
    border-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Keep rocket cursor on all action buttons */
.reset-button, .share-button {
	cursor: none !important;
}

/* Ripple Effect */
.reset-button::before, .share-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.reset-button:active::before, .share-button:active::before {
    width: 300px;
    height: 300px;
}

/* Flying Rocket Animation */
.flying-rocket {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 1000;
    animation: flyRocket 3s linear forwards;
}

@keyframes flyRocket {
    0% {
        transform: translateX(-100px) translateY(100vh) rotate(45deg);
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-100px) rotate(45deg);
        opacity: 0;
    }
}

/* Particle Effects */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 2s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

/* Drag and Drop Styling */
.task.dragging {
    opacity: 0.5;
    transform: perspective(1000px) rotateX(10deg) scale(0.95);
}

.task.drag-over {
    border-color: #e31837;
    background: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo-image {
        height: 80px;
        padding: 6px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .checklist-container {
        padding: 1.5rem;
    }
    
    .task {
        padding: 1rem;
        gap: 1rem;
    }
    
    .task-icon {
        width: 50px;
        height: 50px;
        padding: 6px;
    }
    
    .rocket, .checkmark {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .reset-button, .share-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .task {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .task-content {
        order: 2;
    }
    
    .checkmark-container {
        order: 1;
    }
    
    .logo-image {
        height: 70px;
        padding: 5px;
    }
    
    .audio-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
} 

/* Ambient Starfield */
#ambient-stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	opacity: 0.6;
	transition: opacity 0.4s ease, transform 0.2s ease;
}

.star {
	position: absolute;
	width: 2px;
	height: 2px;
	background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 60%, rgba(255,255,255,0) 100%);
	border-radius: 50%;
	box-shadow: 0 0 6px rgba(255,255,255,0.6);
	animation: twinkle 2s ease-in-out infinite, starDrift 60s linear infinite;
}

@keyframes twinkle {
	0%, 100% { opacity: 0.6; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.3); }
}

@keyframes starDrift {
	0% { transform: translateY(0); }
	100% { transform: translateY(-200px); }
}

/* Celebration Animations */
@keyframes celebrationEntrance {
	0% {
		opacity: 0;
		transform: scale(0.5) rotate(-10deg);
	}
	100% {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

@keyframes confettiFall {
	0% {
		transform: translateY(-10px) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(100vh) rotate(720deg);
		opacity: 0;
	}
}

@keyframes celebrationRocket {
	0% {
		transform: translate(0, 0) rotate(var(--rotation));
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translate(var(--endX), var(--endY)) rotate(var(--rotation));
		opacity: 0;
	}
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
	.task {
		padding: 1.2rem;
		margin: 0.8rem 0;
		min-height: 60px; /* Ensure minimum tap target size */
		-webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
		touch-action: manipulation; /* Optimize touch behavior */
		cursor: pointer; /* Show pointer cursor on mobile */
		position: relative; /* Ensure proper positioning */
		z-index: 1; /* Ensure clickability */
	}
	
	.task:hover {
		transform: none; /* Disable hover effects on mobile */
		box-shadow: none;
	}
	
	.task-icon {
		width: 60px;
		height: 60px;
		pointer-events: none; /* Don't interfere with task clicks */
	}
	
	.checkmark-container {
		width: 60px;
		height: 60px;
		pointer-events: none; /* Don't interfere with task clicks */
	}
	
	/* Improve button sizes for mobile */
	button {
		min-height: 44px; /* iOS recommended minimum */
		min-width: 44px;
	}
	
	/* Better spacing for mobile */
	.made-by-footer {
		padding: 1rem;
	}
	
	.made-by-content {
		flex-direction: column;
		gap: 1rem;
		align-items: center;
	}
}

/* Mobile device specific styles */
.mobile-device .task {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-drag: none;
}

/* Prevent text selection on mobile */
.mobile-device * {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Allow text selection in specific areas if needed */
.mobile-device .task-content h3,
.mobile-device .task-content p {
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

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

.made-by-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.made-by-text {
    color: #888;
    font-size: 0.9rem;
    font-weight: 400;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.instagram-link {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.isru-link {
    background: #e31837;
    border-color: transparent;
}

.isru-link:hover {
    background: #c41230;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

.isru-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ISRU Logo Link Hover Effects */
.isru-logo-link {
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 10px;
    cursor: none;
}

.isru-logo-link:hover {
    transform: translateY(-5px) scale(1.05);
}

.isru-logo-link img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 rgba(227, 24, 55, 0));
}

.isru-logo-link:hover img {
    filter: drop-shadow(0 0 20px rgba(227, 24, 55, 0.8));
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .made-by-footer {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .made-by-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
} 