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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 48px;
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
}

.tagline {
    font-size: 16px;
    opacity: 0.9;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a2e;
    text-align: center;
}

.description {
    color: #666;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.6;
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-icon {
    font-size: 24px;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-large {
    font-size: 18px;
    padding: 18px 24px;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-copy {
    width: auto;
    padding: 12px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #764ba2;
}

/* Buy Section */
.buy-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.buy-section p {
    margin-bottom: 15px;
    color: #666;
}

/* Timer */
.timer-block {
    text-align: center;
    margin-bottom: 25px;
}

.timer {
    font-size: 56px;
    font-weight: 700;
    color: #667eea;
    font-family: 'Courier New', monospace;
}

.timer-label {
    color: #888;
    margin-top: 5px;
}

/* Sub Info */
.sub-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    font-weight: 600;
    color: #333;
}

/* URL Block */
.sub-url-block {
    margin-bottom: 25px;
}

.sub-url-block label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.url-copy {
    display: flex;
    gap: 10px;
}

.url-copy input {
    flex: 1;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    font-family: monospace;
}

.url-copy input:focus {
    outline: none;
    border-color: #667eea;
}

.hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
}

/* Instruction */
.instruction {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.instruction h4 {
    color: #856404;
    margin-bottom: 12px;
}

.instruction ol {
    margin-left: 20px;
    line-height: 1.8;
    color: #856404;
}

.instruction ul {
    margin-top: 5px;
    margin-left: 20px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Loading */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

/* Error Message */
.error-message {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f44336;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    align-items: center;
    gap: 15px;
    max-width: 90%;
}

.btn-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: auto;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .logo h1 {
        font-size: 28px;
    }
    
    .logo-icon {
        font-size: 36px;
    }
    
    .card {
        padding: 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .timer {
        font-size: 42px;
    }
    
    .url-copy {
        flex-direction: column;
    }
    
    .btn-copy {
        width: 100%;
    }
}
