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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #121014 0%, #9ea9f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
    padding: 40px 20px;
}

body.bg-image {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    margin-bottom: 40px;
}

.redirect-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 60px 80px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.6s ease-out;
}

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

.icon-wrapper {
    margin-bottom: 32px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.url-display {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.new-url {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.countdown-wrapper {
    margin-bottom: 32px;
    opacity: 1.0;
    pointer-events: none;
}

.countdown-text {
    color: rgba(255, 255, 255, 1.0);
    font-size: 16px;
    margin-bottom: 16px;
}

.countdown {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 1.0);
    animation: none;
}

.manual-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 16px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    padding: 15px 31px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.footer-section {
    margin-top: 48px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.contact-info {
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.contact-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.2);
}

/* Individual social media color accents on hover */
.social-link:hover[aria-label="Twitter"] {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.social-link:hover[aria-label="Instagram"] {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-link:hover[aria-label="LinkedIn"] {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.social-link:hover[aria-label="GitHub"] {
    background: linear-gradient(135deg, #333, #24292E);
}

/* Background animation */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.explanation-section {
    text-align: left;
    margin: 40px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.explanation-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: white;
}

.explanation-section p {
    margin-bottom: 16px;
    font-size: 16px;
}

.explanation-section ul {
    margin: 20px 0;
    padding-left: 24px;
}

.explanation-section li {
    margin-bottom: 8px;
    font-size: 16px;
}

.learn-more-card {
    max-width: 600px;
    padding: 60px 60px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Social Redirect Specific Styles */
.social-redirect-card {
    max-width: 800px;
    padding: 60px 40px;
}

.social-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.social-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.social-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon-wrapper {
    transform: scale(1.1);
}

.social-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.social-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.follow-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-card:hover .follow-btn {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.newsletter-section {
    margin: 48px 0;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.newsletter-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Add these new styles for the social redirect page */

.redirect-info {
    max-width: 500px;
    margin: 0 auto;
}

.platform-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.platform-details h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.handle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.redirect-countdown {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.redirect-countdown > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.countdown-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.redirect-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 8px;
}

.redirect-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.redirect-actions .manual-link {
    margin-right: 0;
}

@media (max-width: 600px) {
    body {
        padding: 20px;
    }
    
    .container {
        padding: 10px;
        margin-bottom: 20px;
    }
    
    .redirect-card {
        padding: 40px 30px;
        margin: 10px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .new-url {
        font-size: 14px;
    }
    
    .contact-info {
        margin: 0 10px 32px;
    }
    
    .social-links {
        gap: 16px;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .manual-link {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .learn-more-card {
        padding: 40px 30px;
    }
    
    .explanation-section {
        margin: 30px 0;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .manual-link,
    .action-buttons .learn-more-btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .social-redirect-card {
        padding: 40px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .platform-preview {
        padding: 30px 20px;
    }
    
    .platform-details h2 {
        font-size: 24px;
    }
    
    .handle {
        font-size: 18px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .redirect-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Background image support */
body.bg-image {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Ensure content is readable over background images */
.redirect-card,
.communities-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* When using background images, make floating shapes more subtle */
body.bg-image .floating-shape {
    opacity: 0.3;
}

/* Ensure text remains readable */
body.bg-image .title,
body.bg-image .subtitle,
body.bg-image .platform-details h2,
body.bg-image .platform-details .handle,
body.bg-image .description {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}