* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    height: 100vh;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 2rem;
}

/* Special styling for index page to center content vertically */
body.index-page .center-content {
    flex: 1;
    margin: auto 0;
}

header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo {
    width: 102px;
    height: auto;
    transition: none;
    transform: rotate(45deg) translateX(12px) translateY(-4px);
    transform-origin: center center;
    display: block;
    margin: 0 auto;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.header-top {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-title-container .logo {
    margin: 0;
    vertical-align: middle;
    display: inline-block;
    align-self: center;
}

.logo-inline {
    width: 40px;
    height: 40px;
    user-select: none;
    -webkit-user-drag: none;
}

.logo-big {
    width: 60px !important;
    transform: rotate(45deg) translateX(7px) translateY(-15px) !important;
    transform-origin: center center !important;
    margin-top: 0;
}

/* Special header layout for non-index pages */
body:not(.index-page) header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

body:not(.index-page) h1 {
    margin-top: 0;
    text-align: center;
}

.back-button {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
}

h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 0;
    text-transform: lowercase;
    text-align: center;
    width: 100%;
}

.project-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.project-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
}

.project-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-top: 2px;
}

.project-content {
    flex: 1;
}

.project-content strong {
    font-weight: 600;
    text-transform: lowercase;
    display: inline;
    margin-bottom: 4px;
    text-align: left;
}

.project-content a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    position: relative;
    text-transform: lowercase;
    text-align: left;
}

.project-content a:hover strong {
    text-decoration: underline;
}

.project-content p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 0;
    text-align: left;
}

.coming-soon-text {
    font-weight: normal;
    font-size: 0.9em;
    margin-left: 0.5em;
}

nav {
    margin: 10px 0 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 2px;
    text-transform: lowercase;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.75rem;
    color: #777;
    width: 100%;
    text-transform: lowercase;
}

footer a {
    color: #555;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Counter styling - Frutiger Aero Pink Bubble */
.counter-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.counter-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffb3d1 0%, #ff8cc8 35%, #ff69b4 70%, #ff4da6 100%);
    background-size: 200% 200%;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 
        inset 0 1px 4px rgba(255, 255, 255, 0.7),
        inset 0 -1px 3px rgba(255, 105, 180, 0.4),
        inset 0 0 8px rgba(255, 255, 255, 0.2),
        0 2px 6px rgba(255, 105, 180, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.15),
        0 0 0 0.5px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: subtle-glow 3s ease-in-out infinite;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
}

.counter-bubble::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 15%;
    width: 50%;
    height: 40%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
    z-index: 1;
}

.counter-bubble::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 20%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    z-index: 1;
}

.counter-digits {
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 -1px 0 #000,
        0 1px 0 #000,
        -1px 0 0 #000,
        1px 0 0 #000;
    font-variant-numeric: tabular-nums;
    text-rendering: optimizeLegibility;
    line-height: 1;
    /* Add subtle pixelated effect */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.counter-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 4px rgba(255, 255, 255, 0.8),
        inset 0 -1px 3px rgba(255, 105, 180, 0.5),
        0 3px 8px rgba(255, 105, 180, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 0.5px rgba(255, 255, 255, 0.5);
}

.counter-bubble.counter-update {
    animation: counter-bounce 0.4s ease;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 
            inset 0 1px 4px rgba(255, 255, 255, 0.7),
            inset 0 -1px 3px rgba(255, 105, 180, 0.4),
            inset 0 0 8px rgba(255, 255, 255, 0.2),
            0 2px 6px rgba(255, 105, 180, 0.5),
            0 1px 3px rgba(0, 0, 0, 0.15),
            0 0 0 0.5px rgba(255, 255, 255, 0.4),
            0 0 8px rgba(255, 105, 180, 0.3);
    }
    50% {
        box-shadow: 
            inset 0 1px 5px rgba(255, 255, 255, 0.8),
            inset 0 -1px 4px rgba(255, 105, 180, 0.5),
            inset 0 0 10px rgba(255, 255, 255, 0.3),
            0 3px 8px rgba(255, 105, 180, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.2),
            0 0 0 0.5px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(255, 105, 180, 0.4);
    }
}

@keyframes counter-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    nav ul {
        flex-direction: row;
        gap: 40px;
    }
} 