:root {
    --primary-color: #0a7c6e;     /* Green */
    --secondary-color: #1e5f8a;    /* Blue */
    --text-color: #333;
    --background-color: #f0f8f5;    /* Light green tint */
    --card-background: #ffffff;
    --card-hover: #e6f7f0;          /* Light green hover */
    --accent-color: #f9c846;       /* Yellow */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    margin-bottom: 15px;
    box-shadow: 0 0 0 3px var(--accent-color);
}

.profile h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.bio {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Countdown styles */
.countdown-container {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.countdown-container h2 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.countdown-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
}

.countdown-simple span:first-child {
    color: var(--primary-color);
}

#days-remaining {
    color: var(--accent-color);
    margin-left: 5px;
}

/* Meeting image */
.meeting-image {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.meeting-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
}

/* Avatar CTA button - Premium Golden Style */
.avatar-cta {
    margin-bottom: 16px;
    perspective: 1000px;
}

.avatar-cta .content-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f9c846 0%, #f5a623 50%, #f9c846 100%);
    background-size: 200% 200%;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.3px;
    border-radius: 12px;
    margin-top: 0;
    border: none;
    box-shadow:
        0 4px 15px rgba(249, 200, 70, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-glow 3s ease-in-out infinite, gradient-shift 4s ease infinite;
}

/* Shimmer effect */
.avatar-cta .content-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
}

/* Sparkle particles */
.avatar-cta .content-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px);
    background-size: 20px 20px, 30px 30px;
    background-position: 0 0, 10px 10px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.avatar-cta .content-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(249, 200, 70, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #ffe066 0%, #f9c846 50%, #f5a623 100%);
}

.avatar-cta .content-button:hover::after {
    opacity: 0.6;
    animation: sparkle-float 1.5s ease-in-out infinite;
}

.avatar-cta .content-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 2px 10px rgba(249, 200, 70, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes shimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 4px 15px rgba(249, 200, 70, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow:
            0 4px 25px rgba(249, 200, 70, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes sparkle-float {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(3deg);
    }
}

/* Content blocks shared styles */
.content-block {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.block-image {
    margin-bottom: 15px;
}

.block-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.block-content h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.block-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.block-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
    max-width: 500px;
}

.content-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 2px solid transparent;
    color: white;
}

.content-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .content-block {
        flex-direction: row;
        text-align: left;
        padding: 30px;
    }
    
    .block-image {
        margin-right: 30px;
        margin-bottom: 0;
    }
    
    .block-content {
        flex: 1;
    }
}

/* Candidacy specific styles */
.candidacy-container {
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--secondary-color);
}

.candidacy-container .block-image img {
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 3px var(--accent-color);
}

.candidacy-container .block-content h2 {
    color: var(--primary-color);
}

.candidacy-container .block-content h3 {
    color: var(--secondary-color);
}

.candidacy-container .content-button {
    background-color: var(--primary-color);
}

.candidacy-container .content-button:hover {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Manifesto specific styles */
.manifesto-container {
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--accent-color);
}

.manifesto-container.no-image {
    padding: 30px;
}

.manifesto-container .block-image img {
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.full-width {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .full-width {
        text-align: left;
    }
}

.manifesto-container .block-content h2 {
    color: var(--secondary-color);
}

.manifesto-container .block-content h3 {
    color: var(--primary-color);
}

.manifesto-container .content-button {
    background-color: var(--secondary-color);
}

.manifesto-container .content-button:hover {
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

/* Program specific styles */
.program-container {
    border-left: 4px solid var(--accent-color);
    border-right: 4px solid var(--primary-color);
}

.program-container .block-image img {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 3px var(--accent-color);
}

.program-container .block-content h2 {
    color: var(--accent-color);
}

.program-container .block-content h3 {
    color: var(--primary-color);
}

.program-container .content-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 600;
}

.program-container .content-button:hover {
    background-color: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--card-background);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.link-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--accent-color);
}

.link-card i {
    font-size: 20px;
    margin-right: 15px;
    color: var(--secondary-color);
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: var(--secondary-color);
    padding-top: 20px;
    border-top: 1px solid var(--card-hover);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .profile h1 {
        font-size: 24px;
    }
    
    .link-card {
        padding: 14px 16px;
    }
}

/* Animation for links */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }
.link-card:nth-child(7) { animation-delay: 0.7s; }
.link-card:nth-child(8) { animation-delay: 0.8s; }
