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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
}

.confirmation-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
}

.animation-container {
    height: 200px;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}

.truck-animation {
    position: relative;
    height: 100%;
}

.truck {
    position: absolute;
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    animation: drive 8s linear infinite;
}

.truck-body {
    position: relative;
    width: 120px;
    height: 60px;
}

.truck-cab {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #4a90e2;
    border-radius: 5px;
    left: 0;
    top: 0;
}

.truck-box {
    position: absolute;
    width: 80px;
    height: 50px;
    background: #4a90e2;
    border-radius: 5px;
    left: 35px;
    top: 5px;
}

.wheels {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
}

.wheel {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.wheel:first-child {
    left: 15px;
}

.wheel:last-child {
    right: 15px;
}

.road {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #333;
}

.road::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px,
        #fff 20px,
        transparent 20px,
        transparent 40px
    );
    animation: roadMove 0.5s linear infinite;
}

.content {
    text-align: center;
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 600;
}

.status-container {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.status-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.status-item {
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 15px;
}

.status-icon {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-weight: bold;
}

.status-item.active .status-icon {
    background: #4a90e2;
}

.status-text {
    font-size: 0.9em;
    color: #666;
}

.status-item.active .status-text {
    color: #4a90e2;
    font-weight: 500;
}

.message {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info {
    color: #666;
    line-height: 1.6;
}

.contact-info a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

@keyframes drive {
    0% {
        left: -150px;
    }
    100% {
        left: 100%;
    }
}

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

@keyframes roadMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

@media (max-width: 600px) {
    .confirmation-card {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .status-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .status-container::before {
        display: none;
    }

    .status-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .status-icon {
        margin: 0;
    }
}

.delivery-info {
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.ebook-section, .physical-book-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.ebook-section:hover, .physical-book-section:hover {
    transform: translateY(-5px);
}

.ebook-section h2, .physical-book-section h2 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ebook-section h2 i, .physical-book-section h2 i {
    color: #4a90e2;
}

.ebook-section p, .physical-book-section p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4a90e2;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.download-button i {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .delivery-info {
        grid-template-columns: 1fr;
    }
    
    .ebook-section, .physical-book-section {
        padding: 20px;
    }
} 