/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: transparent;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #fff;
}

/* Container principal */
.main-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Background animado */
.background-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.social-link {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 15px;
    min-height: 100vh;
}

.layout-container {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

/* Left section - Logo */
.left-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.large-logo {
    text-align: center;
}

.main-logo-large {
    max-width: 480px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: float-bounce 3s ease-in-out infinite;
}

.main-logo-large:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    animation-play-state: paused;
}

/* Right section - Content */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Corporate text */
.corporate-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.description {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #666666;
    text-align: justify;
}

/* Text and code container */
.text-code-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.text-content {
    flex: 1;
}

/* Code card styles */
.code-card {
    flex: 0 0 300px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.code-header {
    background: #e9ecef;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca3f;
}

.code-title {
    color: #495057;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.code-content {
    padding: 16px;
    background: #ffffff;
}

.code-content pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #212529;
}

.code-content code {
    color: #212529;
}

.keyword {
    color: #0066cc;
    font-weight: bold;
}

.variable {
    color: #0080ff;
}

.function {
    color: #795548;
}

.string {
    color: #008000;
}

/* Mockups section */
.mockups-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mockups-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.mockup-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 10px 25px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Ensure anchor links inside cards don't show blue underline and inherit colors */
.mockup-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mockup-link:visited,
.mockup-link:hover,
.mockup-link:active,
.mockup-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.mockup-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mockup-image {
    margin-bottom: 10px;
}

.mockup-img {
    width: 100%;
    max-width: 210px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.mockup-item:hover .mockup-img {
    transform: scale(1.1);
}

.mockup-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #666666;
    font-weight: 600;
}

/* Coming Soon styles */
.coming-soon {
    opacity: 0.8;
}

.coming-soon-icon {
    width: 210px;
    height: 210px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

.coming-soon .mockup-info h3 {
    color: #666666;
    font-style: italic;
}

.mockup-info p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animações */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes float-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.left-section { animation: fadeInLeft 1s ease-out; }
.right-section { animation: fadeInRight 1s ease-out; }
.corporate-text { animation: fadeInUp 1s ease-out 0.3s both; }
.mockups-section { animation: fadeInUp 1s ease-out 0.6s both; }

/* Responsividade */
@media (max-width: 1400px) {
    .mockups-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .layout-container {
        gap: 60px;
        max-width: 1200px;
    }
    .main-logo-large {
        max-width: 420px;
    }
}

@media (max-width: 968px) {
    .layout-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .main-content {
        padding: 80px 30px 15px;
    }
    .header {
        padding: 15px 30px;
    }
    .text-code-container {
        flex-direction: column;
        gap: 20px;
    }
    .code-card {
        flex: none;
        max-width: 100%;
    }
    .main-logo-large { max-width: 360px; }
    .mockups-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-content { padding: 70px 20px 15px; }
    .header { padding: 15px 20px; }
    .social-links { gap: 15px; }
    .corporate-text,
    .mockups-section { padding: 25px; }
    .description { font-size: 1rem; }
    .main-logo-large { max-width: 250px; }
}

@media (max-width: 480px) {
    .main-content { padding: 60px 15px 15px; }
    .header { padding: 10px 15px; }
    .corporate-text,
    .mockups-section { padding: 20px; }
    .main-logo-large { max-width: 200px; }
    .mockup-img { width: 210px; height: 210px; }
    .social-link { padding: 8px; }
    .social-link svg { width: 18px; height: 18px; }
}

/* --- Donation Page & Button Styles --- */
.donate-btn-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(255, 95, 86, 0.2);
    border: 1px solid rgba(255, 95, 86, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.donate-btn-link:hover {
    background: rgba(255, 95, 86, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 95, 86, 0.3);
}

.donate-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.donate-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.donate-header {
    margin-bottom: 30px;
}

.heart-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.3);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.donate-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.donate-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
}

.custom-amount {
    margin-bottom: 30px;
    text-align: left;
}

.custom-amount label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

#custom-donation {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 15px 15px 35px;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#custom-donation:focus {
    border-color: #ff5f56;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: #ff5f56;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 25px;
}

.btn-checkout:hover {
    background: #ff473e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 95, 86, 0.4);
}

.crypto-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.crypto-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    text-align: left;
}

.crypto-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crypto-addr {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-badge {
    padding: 10px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

.crypto-badge.btc {
    background: #f7931a;
}

.crypto-addr input {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    font-size: 0.85rem;
    font-family: monospace;
    outline: none;
    cursor: pointer;
}

.crypto-addr input:focus {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
    .donate-btn-link .donate-text {
        display: none;
    }
}
