:root {
    --primary-color: #2d7dd2;
    --primary-dark: #1e5a9e;
    --secondary-color: #4ecdc4;
    --background: #0a0e27;
    --background-light: #13182e;
    --background-card: rgba(19, 24, 46, 0.8);
    --background-card-hover: rgba(19, 24, 46, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #7a8ba3;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #2d7dd2 0%, #4ecdc4 100%);
    --gradient-background: linear-gradient(135deg, #0a0e27 0%, #13182e 50%, #1a1f3a 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: 
        var(--gradient-background),
        radial-gradient(4px 4px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(3px 3px at 60% 70%, rgba(45, 125, 210, 0.6), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(78, 205, 196, 0.5), transparent),
        radial-gradient(3px 3px at 80% 10%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(4px 4px at 90% 60%, rgba(45, 125, 210, 0.5), transparent),
        radial-gradient(2px 2px at 33% 80%, rgba(78, 205, 196, 0.6), transparent),
        radial-gradient(3px 3px at 10% 90%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 70% 20%, rgba(138, 43, 226, 0.5), transparent),
        radial-gradient(3px 3px at 40% 40%, rgba(45, 125, 210, 0.4), transparent),
        radial-gradient(2px 2px at 15% 60%, rgba(78, 205, 196, 0.5), transparent);
    background-size: 
        100% 100%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%,
        200% 200%;
    background-position: 
        0% 0%,
        0% 0%, 100% 0%, 0% 100%, 100% 100%, 50% 50%, 0% 50%, 100% 50%, 50% 0%, 30% 70%, 70% 30%;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    animation: particleMove 20s ease-in-out infinite;
}

/* Animated background layers */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(45, 125, 210, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundMove 15s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(45, 125, 210, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(78, 205, 196, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundRotate 25s linear infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Floating orbs */
.container::before,
.container::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.container::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 125, 210, 0.5) 0%, rgba(45, 125, 210, 0.2) 40%, transparent 70%);
    top: -250px;
    left: -250px;
    animation: floatOrb1 18s ease-in-out infinite;
}

.container::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.5) 0%, rgba(78, 205, 196, 0.2) 40%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation: floatOrb2 22s ease-in-out infinite;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.6s ease-out;
}

.logo {
    display: inline-block;
    height: 2.5rem;
    width: auto;
    color: var(--text-primary);
    fill: currentColor;
    margin-bottom: 0.5rem;
}

.logo path {
    fill: currentColor;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    letter-spacing: -0.01em;
}

/* Cards */
.card {
    background: var(--background-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 
        var(--shadow-md),
        0 0 0 0 rgba(45, 125, 210, 0);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(45, 125, 210, 0.3), rgba(78, 205, 196, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(45, 125, 210, 0.2),
        0 0 60px rgba(78, 205, 196, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.notification-card {
    text-align: center;
    animation-delay: 0.1s;
}

.alternatives-card {
    animation-delay: 0.2s;
}

.announcement-card {
    animation-delay: 0.3s;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon {
    width: 64px;
    height: 64px;
    color: #ff6b6b;
    animation: pulse 2s ease-in-out infinite;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Alternatives */
.alternatives-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alternative-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.alternative-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alternative-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
}

.alternative-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alternative-content {
    flex: 1;
}

.alternative-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.alternative-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.alternative-item:hover .arrow-icon {
    transform: translateX(4px);
}

/* Announcement */
.announcement-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.announcement-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
}

.announcement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.announcement-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.announcement-item:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 0.8s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes backgroundMove {
    0% {
        background-position: 0% 0%, 100% 100%;
        opacity: 0.7;
        transform: scale(1);
    }
    33% {
        background-position: 30% 40%, 70% 60%;
        opacity: 0.9;
        transform: scale(1.1);
    }
    66% {
        background-position: 60% 20%, 40% 80%;
        opacity: 0.8;
        transform: scale(0.95);
    }
    100% {
        background-position: 100% 100%, 0% 0%;
        opacity: 0.7;
        transform: scale(1);
    }
}

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

@keyframes particleMove {
    0%, 100% {
        background-position: 
            0% 0%,
            0% 0%, 100% 0%, 0% 100%, 100% 100%, 50% 50%, 0% 50%, 100% 50%, 50% 0%, 30% 70%, 70% 30%;
    }
    25% {
        background-position: 
            0% 0%,
            25% 25%, 75% 25%, 25% 75%, 75% 75%, 50% 50%, 25% 50%, 75% 50%, 50% 25%, 40% 60%, 60% 40%;
    }
    50% {
        background-position: 
            0% 0%,
            50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
    }
    75% {
        background-position: 
            0% 0%,
            75% 25%, 25% 75%, 75% 75%, 25% 25%, 50% 50%, 75% 50%, 25% 50%, 50% 75%, 60% 40%, 40% 60%;
    }
}

@keyframes floatOrb1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(150px, 200px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translate(300px, 100px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(100px, 300px) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes floatOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-200px, -150px) scale(1.3);
        opacity: 0.7;
    }
    50% {
        transform: translate(-100px, -300px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(-300px, -100px) scale(1.1);
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .logo {
        height: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-description {
        font-size: 1rem;
    }

    .alternative-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .arrow-icon {
        transform: rotate(90deg);
    }

    .alternative-item:hover .arrow-icon {
        transform: rotate(90deg) translateX(4px);
    }

    .announcement-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .announcement-item:hover .arrow-icon {
        transform: rotate(90deg) translateX(4px);
    }
}

@media (max-width: 480px) {
    .logo {
        height: 1.75rem;
    }

    .card {
        padding: 1.25rem;
    }

    .icon {
        width: 48px;
        height: 48px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
