:root {
    --primary-color: #4a5568;
    --secondary-color: #2d3748;
    --accent-color: #805ad5;
    --dark-color: #1a202c;
    --container-bg: #2d3748;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
    min-height: 100vh;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    background: var(--container-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 40px;
}

.logo-section {
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

.navigation-section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.nav-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.nav-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.nav-item::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: left 0.5s;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.nav-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.3));
}

.nav-label {
    font-size: 1.4em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-description {
    font-size: 0.9em;
    opacity: 0.9;
    text-align: center;
    margin-top: 5px;
}

.powp-section {
    margin-top: 40px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.powp-link {
    display: inline-block;
    text-decoration: none;
}

.powp-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: var(--transition);
    opacity: 0.8;
}

.powp-link:hover .powp-image {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
    opacity: 1;
}

.footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.7;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 30px 20px;
    }

    .logo {
        max-width: 250px;
    }

    .nav-title {
        font-size: 1.8em;
    }

    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-item {
        padding: 25px 15px;
    }

    .nav-icon {
        width: 60px;
        height: 60px;
    }

    .nav-label {
        font-size: 1.2em;
    }

    .powp-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px 15px;
    }

    .logo {
        max-width: 200px;
    }

    .nav-title {
        font-size: 1.5em;
    }

    .nav-icon {
        width: 50px;
        height: 50px;
    }

    .nav-label {
        font-size: 1.1em;
    }

    .powp-image {
        max-width: 120px;
    }
}
