/* CSS Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning-color: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --info-color: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.1);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.announcement-image-container {
    display: flex;
    justify-content: center; /* căn giữa ngang */
    align-items: center;
    width: 100%;
}

.announcement-image {
    max-width: 100%;   /* tự resize theo màn hình */
    height: auto;      /* giữ đúng tỉ lệ ảnh */
    display: block;
}

/* Announcement Card */
.announcement-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: slideUp 0.8s ease-out;
}

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

/* Card Header */
.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

.bell-icon {
    width: 40px;
    height: 40px;
    color: white;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0);
    }
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Main Title */
.main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
}

/* Domain Transition */
.domain-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.domain-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px;
    border-radius: 16px;
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-box:hover {
    transform: translateY(-4px);
}

.old-domain {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
}

.new-domain {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
}

.domain-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.domain-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.arrow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* Effective Date */
.effective-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.calendar-icon {
    width: 24px;
    height: 24px;
    color: #7c3aed;
}

.effective-date strong {
    color: #7c3aed;
    font-weight: 700;
}

/* Info Cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.info-card.success {
    background: var(--success-bg);
    border-left: 4px solid var(--success-color);
}

.info-card.warning {
    background: var(--warning-bg);
    border-left: 4px solid var(--warning-color);
}

.info-card.info {
    background: var(--info-bg);
    border-left: 4px solid var(--info-color);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card.success .info-icon {
    background: var(--success-color);
}

.info-card.warning .info-icon {
    background: var(--warning-color);
}

.info-card.info .info-icon {
    background: var(--info-color);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer Message */
.footer-message {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-message p {
    font-size: 1.125rem;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Countdown Section */
.countdown-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.countdown-section h2 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0.9;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

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

    .announcement-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .domain-transition {
        flex-direction: column;
    }

    .domain-box {
        width: 100%;
        min-width: auto;
    }

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

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .bell-icon {
        width: 32px;
        height: 32px;
    }

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

    .effective-date {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-item {
        min-width: 50px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
}
