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

:root {
    --primary-dark: #0e0b2b;
    --primary: #2d1b69;
    --primary-light: #4e3a99;
    --accent: #ff36ab;
    --accent-light: #ff7fd1;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --card-bg: #13112b;
    --card-light: #211c47;
    --success: #00c896;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-dark);
    background-image: radial-gradient(circle at top right, var(--primary), var(--primary-dark) 70%);
    min-height: 100vh;
    color: var(--text-light);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

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

.decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated elements */
.animated-element {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.hammer {
    width: 40px;
    height: 40px;
    animation: hammerAnimation 3s infinite ease-in-out;
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.wrench {
    width: 35px;
    height: 35px;
    animation: wrenchAnimation 4s infinite ease-in-out;
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.helmet {
    width: 45px;
    height: 45px;
    animation: helmetAnimation 5s infinite ease-in-out;
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.blueprint {
    width: 50px;
    height: 50px;
    animation: blueprintAnimation 6s infinite ease-in-out;
    filter: drop-shadow(0 0 8px var(--accent-light));
}

.crane {
    width: 60px;
    height: 60px;
    animation: craneAnimation 10s infinite linear;
    filter: drop-shadow(0 0 8px var(--accent-light));
}

/* Glowing orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.6;
    z-index: 0;
}

.orb-1 {
    width: 150px;
    height: 150px;
    background-color: var(--accent);
    top: 10%;
    right: 15%;
    animation: floatAnimation 8s infinite ease-in-out;
}

.orb-2 {
    width: 100px;
    height: 100px;
    background-color: var(--primary-light);
    bottom: 15%;
    left: 10%;
    animation: floatAnimation 6s infinite ease-in-out reverse;
}

.orb-3 {
    width: 80px;
    height: 80px;
    background-color: var(--success);
    top: 60%;
    right: 5%;
    animation: floatAnimation 10s infinite ease-in-out;
}

@keyframes floatAnimation {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

@keyframes hammerAnimation {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(20deg); }
}

@keyframes wrenchAnimation {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(20px) rotate(-30deg); }
}

@keyframes helmetAnimation {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@keyframes blueprintAnimation {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
}

@keyframes craneAnimation {
    0% { transform: translateX(-100vw); }
    100% { transform: translateX(100vw); }
}

/* Main card */
.card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
    width: 95%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    overflow-y: auto;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card::-webkit-scrollbar {
    width: 8px;
}

.card::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.card::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.card::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.logo-container {
    background-color: var(--text-light);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
               0 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    max-width: 220px;
    max-height: 220px;
    object-fit: contain;
}

.title {
    color: var(--text-light);
    font-size: 38px;
    font-weight: 700;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 15px rgba(255, 54, 171, 0.6);
    letter-spacing: 0.5px;
}

.year {
    color: var(--accent);
    font-size: 80px;
    font-weight: 700;
    margin: 15px 0;
    animation: glowAnimation 2s infinite alternate ease-in-out;
    text-shadow: 0 0 15px var(--accent-light);
    letter-spacing: 2px;
}

@keyframes glowAnimation {
    0% { text-shadow: 0 0 10px var(--accent-light); }
    100% { text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-light); }
}

.message {
    color: var(--text-light);
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-box {
    background-color: var(--card-light);
    border-radius: 15px;
    padding: 25px 20px;
    flex: 1;
    min-width: 150px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-light);
    opacity: 0.5;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.9;
    font-weight: 500;
}

.values {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 35px 0;
}

.value-item {
    background-color: var(--primary-light);
    color: var(--text-light);
    padding: 18px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: default;
    border-left: 5px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.value-item:hover {
    transform: translateX(8px);
    background-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.value-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tool-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 40px 0;
}

.tool-icon {
    font-size: 32px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.tool-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tool-icon:hover {
    transform: rotate(15deg) scale(1.15);
    background-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.tool-icon:hover::after {
    transform: translateX(100%);
}

.cta {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent), var(--primary-light));
    color: var(--text-light);
    padding: 18px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-top: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, var(--accent-light), var(--accent));
}

.cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cta:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .card {
        padding: 30px 20px;
        width: 95%;
        margin: 15px;
    }
    
    .title {
        font-size: 26px;
        flex-wrap: wrap;
    }
    
    .year {
        font-size: 48px;
    }
    
    .message {
        font-size: 14px;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-box {
        width: 100%;
    }
    
    .value-item {
        padding: 10px;
        font-size: 14px;
    }
    
    .tool-icons {
        flex-wrap: wrap;
    }
    
    .cta {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .card {
        padding: 20px 15px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .title {
        font-size: 22px;
    }
    
    .year {
        font-size: 40px;
    }
    
    .animated-element {
        display: none;
    }
}
