* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --eclipse-dark: #0a0d17;
    --eclipse-darker: #050709;
    --eclipse-accent: #FF5722;
    --eclipse-accent-light: #FF7A50;
    --eclipse-accent-dark: #E64A19;
    --discord-blue: #5865F2;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #d0d9e8;
    --text-tertiary: #a4c0e0;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.12);
    --backdrop-blur: 15px;
    --transition-smooth: all 0.3s ease;
    --shadow-normal: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-elevated: 0 30px 50px -12px rgba(0, 0, 0, 0.7);
}

body {
    background: linear-gradient(145deg, #0b1120, #030712);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0;
}

/* Particles background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container principal */
.success-container {
    max-width: 900px;
    width: 100%;
    background: var(--glass-bg);
    border-radius: 20px;
    padding: clamp(35px, 5vw, 60px);
    text-align: center;
    box-shadow: var(--shadow-normal);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.success-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1.5px;
    background: linear-gradient(
        45deg, 
        transparent, 
        rgba(255, 87, 34, 0.4), 
        transparent
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
}

.success-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 150%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.15) 0%, transparent 70%);
    opacity: 0.5;
    transform: translateX(-50%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.success-container:hover {
    box-shadow: var(--shadow-elevated),
                0 0 40px rgba(255, 87, 34, 0.2);
    transform: translateY(-5px);
}

/* Header da seção */
.success-header {
    margin-bottom: 40px;
    position: relative;
}

.success-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.success-icon {
    font-size: clamp(60px, 8vw, 80px);
    color: var(--success-green);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite ease-in-out, glow 3s infinite alternate;
    filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.5));
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, transparent, var(--success-green), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 12s linear infinite;
}

.success-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    filter: blur(10px);
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.3)); }
    to { filter: drop-shadow(0 0 35px rgba(16, 185, 129, 0.7)); }
}

.success-title {
    font-size: clamp(32px, 5vw, 42px);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e8e8ec);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    line-height: 1.2;
}

.success-message {
    font-size: clamp(18px, 3vw, 20px);
    color: var(--text-secondary);
    max-width: 85%;
    margin: 0 auto;
    font-weight: 400;
}

/* Licença */
.license-details {
    margin: 30px 0 50px;
    transition: var(--transition-smooth);
    transform: translateY(30px);
    opacity: 0;
}

.license-details.revealed {
    transform: translateY(0);
    opacity: 1;
}

.license-card {
    position: relative;
    background: linear-gradient(145deg, rgba(18, 29, 51, 0.9), rgba(10, 15, 25, 0.8));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.license-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.2), transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.license-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(255, 87, 34, 0.2);
}

.license-card-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.license-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.license-badge {
    background: linear-gradient(135deg, #FF7A50, #FF5722);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.license-card-body {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.license-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-align: left;
}

.license-key-container {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 10px;
    padding: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.license-key {
    font-family: 'Arial Monospace', monospace;
    font-size: 20px;
    letter-spacing: 1.5px;
    color: var(--eclipse-accent-light);
    font-weight: 600;
    flex-grow: 1;
    text-align: center;
    user-select: all;
}

.copy-button {
    background: linear-gradient(135deg, #FF7A50, #FF5722);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.25);
    margin-left: 15px;
}

.copy-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 87, 34, 0.4);
}

.copy-button i {
    font-size: 18px;
}

.license-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.license-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    text-align: left;
}

.license-info-item i {
    font-size: 22px;
    color: var(--eclipse-accent);
}

.license-info-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Seção de passos */
.steps-section {
    margin: 50px 0;
}

.steps-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.steps-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--eclipse-accent-light), var(--eclipse-accent));
    border-radius: 3px;
}

.steps {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.step {
    background: var(--glass-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    transform: translateY(40px);
    opacity: 0;
    backdrop-filter: blur(10px);
    position: relative;
}

.step.revealed {
    transform: translateY(0);
    opacity: 1;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(255, 87, 34, 0.1);
    border-color: rgba(255, 87, 34, 0.2);
}

.step-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(255, 87, 34, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.step-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--eclipse-accent-light), var(--eclipse-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.step-icon span {
    font-size: 20px;
    font-weight: 700;
    color: var(--eclipse-accent);
}

.step-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.step-content {
    padding: 25px;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
}

.step-content strong {
    color: var(--eclipse-accent-light);
    font-weight: 600;
}

.step p:last-of-type {
    margin-bottom: 0;
}

/* Nota importante */
.important-note {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    position: relative;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
    box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.important-note-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.important-note-header i {
    color: var(--warning-yellow);
    font-size: 22px;
}

.important-note strong {
    color: var(--warning-yellow);
    font-weight: 700;
    font-size: 19px;
}

.important-note p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.important-note:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25),
                0 0 20px rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Botão de download */
.download-button {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 12px 25px rgba(5, 150, 105, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: white;
    margin-top: 20px;
    font-size: 17px;
    letter-spacing: 0;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.download-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(5, 150, 105, 0.4),
        0 0 0 3px rgba(5, 150, 105, 0.2);
}

.download-button:hover::before {
    left: 100%;
}

.download-button i {
    font-size: 20px;
}

/* Container de suporte */
.support-container {
    margin: 45px 0 35px;
    padding: 30px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-normal);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.support-container.revealed {
    transform: translateY(0);
    opacity: 1;
}

.support-container h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.3;
}

.support-container p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    min-width: 150px;
    width: 180px;
    text-decoration: none;
    text-align: center;
}

.support-button i {
    font-size: 22px;
    width: 24px;
    text-align: center;
}

.support-button span {
    flex: 1;
    text-align: center;
}

/* Link de voltar */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    margin-top: 30px;
    transition: var(--transition-smooth);
    padding: 10px 20px;
    border-radius: 10px;
}

.back-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(-5px);
}

/* Toast notification */
.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(16, 185, 129, 0.3),
                0 0 15px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    font-weight: 600;
    font-size: 16px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast i {
    font-size: 20px;
}

/* Media queries */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .success-container {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .success-title {
        font-size: 28px;
    }
    
    .success-message {
        max-width: 100%;
        font-size: 16px;
    }
    
    .license-card-header,
    .license-card-body,
    .step-content,
    .step-header {
        padding: 18px;
    }

    .license-key {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .license-info {
        grid-template-columns: 1fr;
    }
    
    .support-options {
        flex-direction: column;
    }
    
    .support-button {
        width: 100%;
    }
    
    .download-button {
        width: 100%;
        padding: 14px 20px;
    }

    .steps-title {
        font-size: 26px;
    }
    
    .step-header h3 {
        font-size: 20px;
    }
    
    .support-container h3 {
        font-size: 24px;
    }
    
    .tutorial-button {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .important-note-header strong {
        font-size: 17px;
    }
}

@media (min-width: 769px) {
    .steps {
        display: grid;
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .success-title {
        font-size: 26px;
    }
    
    .success-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .success-icon {
        font-size: 50px;
    }
    
    .steps-title {
        font-size: 24px;
    }
    
    .license-card-header h2 {
        font-size: 20px;
    }
    
    .license-badge {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .copy-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .toast {
        padding: 12px 20px;
        font-size: 14px;
        right: 20px;
        top: 20px;
    }
}

/* Animations for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botões de suporte */
.discord-button {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    box-shadow: 0 12px 25px rgba(88, 101, 242, 0.25);
    position: relative;
    overflow: hidden;
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.discord-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(88, 101, 242, 0.35),
                0 0 0 3px rgba(88, 101, 242, 0.2);
}

.discord-button:hover::before {
    left: 100%;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.25);
    position: relative;
    overflow: hidden;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(37, 211, 102, 0.35),
                0 0 0 3px rgba(37, 211, 102, 0.2);
}

.whatsapp-button:hover::before {
    left: 100%;
}

.tutorial-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin: 20px auto 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: pulse-red 2s infinite;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    border: 2px solid rgba(255, 0, 0, 0.6);
    text-transform: uppercase;
    font-size: 14px;
}

.tutorial-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    animation: none;
}

.tutorial-button i {
    font-size: 1.2rem;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    }
}

.step-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Melhorias na acessibilidade */
.copy-button:focus, 
.download-button:focus, 
.support-button:focus,
.tutorial-button:focus,
.back-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.step:hover .step-icon {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.3), rgba(255, 87, 34, 0.2));
}

.step:hover .step-header h3 {
    color: var(--eclipse-accent-light);
} 