body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #1E1E1E; /* Dark background like in the image */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background-image: radial-gradient(circle, #333333 1px, transparent 1px);
    background-size: 30px 30px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Light mode styles */
body.light-mode {
    background-color: #F5F5F5;
    color: #333;
    background-image: radial-gradient(circle, #BBBBBB 1px, transparent 1px); /* Darker dots in light mode */
}

body.light-mode .selection-handle {
    border: 1px solid #0B99FF;
}

body.light-mode .cursor-label {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Panel open state */
body.panel-open {
    transform: translateX(0);
}

/* Profile header styling */
.profile-header {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
    flex-direction: row-reverse; /* Swap order */
    transition: transform 0.3s ease;
}

body.panel-open .profile-header {
    transform: translateX(0);
}

.profile-image {
    width: 40px;
    height: 40px;
    background-color: #22DC85; /* Updated to new bright green color */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-letter {
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.profile-name {
    font-weight: 500; /* Reduced weight as requested */
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}

.chevron-down {
    transition: transform 0.3s ease;
}

.profile-name:hover .chevron-down {
    transform: translateY(2px);
}

/* Dropdown menu styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(42, 42, 42, 0.85);
    border-radius: 8px; /* Standardized border radius */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 150px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 300; /* Reduced weight as requested */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #3A3A3A;
}

.dropdown-divider {
    height: 1px;
    background-color: #3A3A3A;
    margin: 4px 0;
}

/* Light mode dropdown */
body.light-mode .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

body.light-mode .dropdown-item:hover {
    background-color: #F0F0F0;
}

body.light-mode .dropdown-divider {
    background-color: #E0E0E0;
}

/* Side panel styles */
.side-panel {
    position: fixed;
    top: 15px;
    left: -280px; /* Hide completely off-screen */
    width: 280px;
    height: calc(100vh - 30px);
    background-color: rgba(37, 37, 37, 0.85); /* More transparency */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Modern shadow */
    z-index: 1001;
    transition: transform 0.3s ease, left 0.3s ease;
    overflow: hidden; /* Prevent scrolling */
    border-radius: 8px; /* Standardized border radius */
    backdrop-filter: blur(10px); /* Blur effect for background */
}

.side-panel.active {
    left: 15px;
    transform: translateX(0);
}

.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.close-panel {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-panel:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.side-panel-content {
    padding: 20px;
    height: calc(100vh - 100px); /* Adjust for header height and margins */
    overflow-y: auto; /* Enable scrolling if needed */
}

/* Modern scrollbar for side panel */
.side-panel-content::-webkit-scrollbar {
    width: 6px;
}

.side-panel-content::-webkit-scrollbar-track {
    background: transparent;
}

.side-panel-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.side-panel-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.about-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-icon {
    margin-right: 16px;
    color: #0B99FF;
    flex-shrink: 0;
}

.about-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.about-text p {
    margin: 0;
    font-size: 14px;
    color: #BBBBBB;
    line-height: 1.5;
}

/* Light mode side panel */
body.light-mode .side-panel {
    background-color: rgba(255, 255, 255, 0.85);
    border-left: none;
}

body.light-mode .side-panel-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .about-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .about-text p {
    color: #666666;
}

body.light-mode .close-panel:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .side-panel-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .side-panel-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

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

body.light-mode .overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.container {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

body.panel-open .container {
    transform: translateX(0);
}

h1 {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    transition: font-size 0.3s ease;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(11, 153, 255, 0.1);
    border: 2px solid #0B99FF;
    border-radius: 4px;
}

/* Selection handles */
.handle-nw, .handle-ne, .handle-sw, .handle-se {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border: 1px solid #0B99FF;
    border-radius: 2px;
    z-index: 11;
    cursor: pointer;
}

.handle-nw { top: -5px; left: -5px; }
.handle-ne { top: -5px; right: -5px; }
.handle-sw { bottom: -5px; left: -5px; }
.handle-se { bottom: -5px; right: -5px; }

h2 {
    font-size: 1.3rem; /* Smaller subtitle font size */
    margin-bottom: 2rem;
    font-weight: 400;
    color: #BBBBBB;
    font-family: 'Plus Jakarta Sans', sans-serif;
    max-width: 100%; /* Increase from 80% to 100% */
    margin-left: auto;
    margin-right: auto;
    white-space: normal; /* Allow line breaks */
    overflow: visible; /* Show all content */
    text-overflow: clip; /* Don't use ellipsis */
    padding: 0; /* Remove any padding */
}

body.light-mode h2 {
    color: #666666;
}

.satisfy {
    font-family: 'Satisfy', cursive;
    font-weight: 400;
    font-size: 2rem;
    color: #BBBBBB;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.badge {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
}

.green {
    background-color: #22DC85; /* Updated to new bright green color */
}

.blue {
    background-color: #FF58CD; /* Updated to new bright pink color */
}

.orange {
    background-color: #F7AC09; /* Updated to new bright orange color */
}

.contact-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: none;
    background-color: #0B99FF; /* Updated to new blue color as requested */
    color: white;
    cursor: pointer;
    box-shadow: none; /* Removed shadow as requested */
    transition: transform 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.cursor {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    opacity: 0; /* Start with opacity 0 */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, opacity 0.5s ease; /* Add opacity transition */
    animation: fadeIn 0.8s forwards; /* Add fade in animation */
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

body.panel-open .cursor {
    transform: translateX(0);
}

#cursor1, #cursor2, #cursor3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cursor label styles */
.cursor-label {
    position: absolute;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    pointer-events: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: transform 0.2s ease, opacity 0.5s ease; /* Add opacity transition */
    left: 30px;
    top: -5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    opacity: 0; /* Start with opacity 0 */
    animation: fadeInLabel 1s 0.3s forwards; /* Add delayed fade in animation */
}

@keyframes fadeInLabel {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Figma-style floating toolbar */
.figma-toolbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(42, 42, 42, 0.85);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 100;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

body.panel-open .figma-toolbar {
    transform: translateX(-50%);
}

.toolbar-item {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    color: #BBBBBB;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin: 0 2px;
}

.toolbar-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
}

.toolbar-item:hover {
    background-color: #3A3A3A;
    color: white;
}

.toolbar-item.active {
    background-color: #3A3A3A;
    color: #0B99FF;
}

.toolbar-divider {
    width: 1px;
    height: 24px;
    background-color: #3A3A3A;
    margin: 0 8px;
}

/* Theme toggle icons */
.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

body.light-mode .sun-icon {
    display: none;
}

body.light-mode .moon-icon {
    display: block;
}

/* Light mode toolbar */
body.light-mode .figma-toolbar {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

body.light-mode .toolbar-item {
    color: #666666;
}

body.light-mode .toolbar-item:hover {
    background-color: #F0F0F0;
    color: #333333;
}

body.light-mode .toolbar-item.active {
    background-color: transparent;
    color: #666666;
}

body.light-mode .toolbar-divider {
    background-color: #E0E0E0;
}

/* Logout animation */
.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111111; /* Solid dark color without transparency */
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.logout-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear;
}

.logout-loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 4px solid #0B99FF;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.logout-message {
    color: white;
    font-size: 18px;
    text-align: center;
    max-width: 300px;
    line-height: 1.5;
    margin-bottom: 30px; /* Add space for the return link */
}

.return-link {
    color: #0B99FF;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 16px;
    border: none; /* Remove border */
    border-radius: 4px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.return-link:hover {
    color: white;
    background-color: transparent; /* Remove background on hover */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .cursor, .cursor-label {
        will-change: transform, left, top;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 1.1rem; /* Even smaller on mobile */
        max-width: 90%;
        white-space: normal; /* Allow line breaks on mobile */
    }
    
    .cursor-label {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .figma-toolbar {
        bottom: 20px;
        padding: 8px;
    }
    
    .toolbar-item {
        width: 36px;
        height: 36px;
    }
} 