* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --gucci-orange: #FF9900;
    --gucci-blue: #00A8E1;
    --gucci-dark: #232f3e;
    --gucci-teal: #1AA6B7;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --white: #ffffff;
    --border-radius: 8px;
}

body {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    min-height: 100vh;
}

/* Remove sublinhado e estilo de link de todos os botões/links do app */
#app a {
    text-decoration: none;
    color: inherit;
}
#app a.btn.primary { color: var(--white); }
#app a.btn.secondary { color: var(--gucci-dark); }
#app a:focus { outline: none; }
.form-footer a { color: var(--gucci-blue) !important; }
.form-footer a:hover { text-decoration: underline; }

#app {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--white);
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.page {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.page.active {
    display: flex;
}

.msg { padding: 10px; border-radius: var(--border-radius); margin-bottom: 15px; }
.msg.success { background: #d4edda; color: #155724; }
.msg.error { background: #f8d7da; color: #721c24; }

.top-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--gucci-dark), var(--gucci-blue));
}

.content {
    flex: 1;
    padding: 20px;
    position: relative;
    z-index: 1;
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
    background-color: var(--white);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 80px;
    height: auto;
}

h1 {
    text-align: center;
    color: var(--gucci-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-weight: 300;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gucci-orange);
}

input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--gucci-blue);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn.primary {
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    color: var(--white);
}

.btn.secondary {
    background-color: var(--gucci-orange);
    color: var(--gucci-dark);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.form-footer a {
    color: var(--gucci-blue);
    text-decoration: none;
    font-size: 14px;
}

/* Home page specific styles */
.balance-section {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.balance-card {
    flex: 1;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.balance-card h3 {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-weight: 500;
}

.balance-card h2 {
    font-size: 20px;
    color: var(--gucci-blue);
    font-weight: 700;
}

.profit-rate {
    color: var(--gucci-blue);
    font-size: 12px;
    font-weight: 600;
}

.actions-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.action-button i {
    font-size: 24px;
    color: var(--gucci-blue);
    margin-bottom: 5px;
    background-color: rgba(0, 168, 225, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button .action-icon {
    font-size: 18px;
    font-weight: 700;
    color: var(--gucci-blue);
    margin-bottom: 5px;
    background-color: rgba(0, 168, 225, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button span {
    font-size: 12px;
    color: var(--dark-gray);
}

.products-section {
    padding-bottom: 70px;
}

.products-section h2 {
    font-size: 20px;
    color: var(--gucci-dark);
    margin-bottom: 5px;
}

.products-section > p {
    text-align: left;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-cards {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 5px 0;
}

.product-card {
    min-width: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: var(--light-gray);
}

.product-card h3 {
    font-size: 16px;
    padding: 10px 15px 5px;
    color: var(--gucci-dark);
}

.product-card p {
    font-size: 14px;
    padding: 0 15px;
    margin-bottom: 5px;
    text-align: left;
}

.product-card button,
.product-card a.btn {
    margin: 10px 15px 15px;
    width: calc(100% - 30px);
    display: block;
    text-align: center;
}

.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 12px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 22px;
    display: block;
}

.nav-item.active {
    color: var(--gucci-blue);
}

.nav-item.active .nav-icon {
    opacity: 1;
}

.pix-info, .withdrawal-form, .affiliate-stats, .transaction-filters {
    margin-bottom: 25px;
}

.deposit-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    overflow-x: auto;
}

.deposit-method-card {
    min-width: 120px;
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.deposit-method-card strong {
    color: var(--gucci-dark);
    font-size: 14px;
}

.deposit-method-card span {
    color: #777;
    font-size: 11px;
    margin-top: 2px;
}

.deposit-method-card.active {
    border-color: var(--gucci-blue);
    background: rgba(0, 168, 225, 0.08);
}

.withdraw-key-methods {
    display: flex;
    gap: 10px;
    margin: 4px 0 18px;
}

.withdraw-key-card {
    flex: 1;
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gucci-dark);
    cursor: pointer;
}

.withdraw-key-card.active {
    border-color: var(--gucci-blue);
    background: rgba(0, 168, 225, 0.08);
    color: var(--gucci-blue);
}

.pix-amount, .pix-qrcode, .pix-key {
    margin-bottom: 20px;
}

.pix-qrcode h3, .pix-key h3, .pix-amount h3 {
    margin-bottom: 10px;
    color: var(--gucci-dark);
    font-size: 16px;
}

.qrcode-container {
    background-color: var(--white);
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-gray);
}

.qrcode-placeholder i {
    font-size: 100px;
    color: var(--gucci-blue);
    margin-bottom: 10px;
}

.deposit-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.deposit-modal.active {
    display: block;
}

.welcome-group-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
}

.welcome-group-modal.active {
    display: block;
}

.welcome-group-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.welcome-group-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px 14px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.welcome-group-content p {
    margin-bottom: 12px;
}

.welcome-group-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #efefef;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.welcome-group-hide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.welcome-group-hide input {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    accent-color: var(--gucci-blue);
    flex: 0 0 16px;
}

.deposit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.deposit-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 430px);
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.deposit-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #efefef;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.deposit-modal-content h3 {
    margin: 5px 24px 14px;
    font-size: 18px;
    color: var(--gucci-dark);
}

.deposit-modal-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.deposit-modal-qrcode img {
    width: 260px;
    height: 260px;
    max-width: 72vw;
    max-height: 72vw;
    border-radius: 12px;
}

.deposit-modal-crypto-info {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gucci-dark);
}

#pix-copia-cola-modal {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    font-size: 12px;
    resize: none;
}

.key-container, .link-container {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
}

.pix-key-value, .link-value {
    flex: 1;
    font-size: 14px;
    margin: 0;
    text-align: left;
    font-weight: 500;
}

.link-input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 14px;
    padding: 0;
    color: var(--dark-gray);
}

.btn-copy {
    background: none;
    border: none;
    color: var(--gucci-blue);
    font-size: 18px;
    cursor: pointer;
}

.affiliate-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 168, 225, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
}

.bonus-page .bonus-content {
    background: linear-gradient(180deg, #fff8dc 0%, #fff 26%);
}

.bonus-highlight-card {
    background: linear-gradient(135deg, #f5d36b, #d9a636);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
    color: #3f2d00;
    box-shadow: 0 8px 22px rgba(185, 132, 27, 0.28);
}

.bonus-highlight-card h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.bonus-highlight-card h2 {
    font-size: 34px;
    margin-bottom: 6px;
}

.bonus-highlight-card p {
    margin: 0;
    color: #3f2d00;
    font-weight: 500;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-bottom: 72px;
}

.bonus-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0d89a;
    box-shadow: 0 3px 10px rgba(170, 126, 35, 0.18);
}

.bonus-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.bonus-card-body {
    padding: 10px;
}

.bonus-card-body h3 {
    font-size: 14px;
    margin-bottom: 4px;
    color: #7a4f00;
}

.bonus-value {
    font-size: 18px;
    font-weight: 700;
    color: #be7d00;
    margin-bottom: 5px;
}

.bonus-rule {
    font-size: 11px;
    margin-bottom: 10px;
    color: #8f6a23;
}

.bonus-status {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.bonus-status.claimed {
    background: #d4edda;
    color: #155724;
}

.bonus-status.locked {
    background: #f8d7da;
    color: #842029;
}

.balance-info {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.balance-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.balance-info h2 {
    font-size: 24px;
    color: var(--gucci-blue);
}

.affiliate-stats {
    display: flex;
    gap: 15px;
}

.stat-card {
    flex: 1;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px;
}

.affiliate-link, .commission-info, .affiliate-list {
    margin-bottom: 25px;
}

.affiliate-link h3, .commission-info h3, .affiliate-list h3 {
    margin-bottom: 10px;
    color: var(--gucci-dark);
    font-size: 16px;
}

.commission-levels {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.level {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.level:last-child {
    border-bottom: none;
}

.level-name {
    font-weight: 500;
}

.level-rate {
    color: var(--gucci-blue);
    font-weight: 600;
}

.affiliate-table {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.affiliate-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.affiliate-item:last-child {
    border-bottom: none;
}

.affiliate-earnings {
    color: var(--gucci-blue);
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: var(--light-gray);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    color: var(--white);
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.income .transaction-icon {
    background-color: rgba(0, 168, 225, 0.1);
    color: var(--gucci-blue);
}

.expense .transaction-icon {
    background-color: rgba(255, 153, 0, 0.1);
    color: var(--gucci-orange);
}

.profit .transaction-icon {
    background-color: rgba(0, 168, 225, 0.15);
    color: var(--gucci-blue);
}

.transaction-info {
    flex: 1;
}

.transaction-info h4 {
    margin: 0;
    font-size: 14px;
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 12px;
    color: #777;
}

.transaction-amount {
    font-weight: 600;
    font-size: 16px;
}

.income .transaction-amount, .profit .transaction-amount {
    color: var(--gucci-blue);
}

.expense .transaction-amount {
    color: var(--gucci-orange);
}

/* Products page styles */
.category-buttons {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 20px;
}

.category-btn {
    background-color: var(--light-gray);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.category-btn.active {
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 70px;
}

.product-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    color: var(--white);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Wallet page styles */
.wallet-summary {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.summary-card {
    flex: 1;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wallet-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.wallet-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--gucci-blue);
}

.wallet-action-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.investments-list {
    margin-bottom: 70px;
}

.investments-list h3 {
    margin-bottom: 15px;
    color: var(--gucci-blue);
}

.investment-item {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 10px;
}

.investment-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

.investment-details {
    flex: 1;
}

.investment-details h4 {
    margin: 0;
    margin-bottom: 5px;
}

.investment-details p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

.investment-value .value {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.investment-value .profit {
    margin: 0;
    color: var(--gucci-blue);
    font-size: 14px;
    text-align: right;
}

/* Profile page styles */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gucci-blue);
    margin-bottom: 15px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header h2 {
    margin: 0;
    margin-bottom: 5px;
    color: var(--gucci-dark);
}

.profile-header p {
    margin: 0;
    color: var(--gucci-blue);
    font-weight: 500;
}

.profile-sections {
    margin-bottom: 30px;
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section h3 {
    margin-bottom: 15px;
    color: var(--gucci-dark);
    font-size: 18px;
}

.profile-field {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.field-label {
    flex: 1;
    font-weight: 500;
}

.field-value {
    color: #777;
    margin-right: 10px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.4s;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.toggle-switch input:checked + label {
    background-color: var(--gucci-blue);
}

.toggle-switch input:checked + label:before {
    transform: translateX(26px);
}

#logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
}

#logout-btn i {
    margin-right: 10px;
}

/* Check-in page styles */
.checkin-card {
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 168, 225, 0.3);
}

.reward-amount {
    margin-bottom: 25px;
}

.coin-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.coin-icon i {
    font-size: 40px;
    color: var(--gucci-dark);
}

.reward-amount h2 {
    font-size: 36px;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.reward-amount p {
    margin: 0;
    opacity: 0.9;
}

.checkin-status {
    margin-bottom: 25px;
}

.status-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.status-circle.available {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.status-circle.claimed {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.status-circle.waiting {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.status-circle i {
    font-size: 24px;
    color: white;
}

.checkin-status h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.checkin-status p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.checkin-card .btn {
    background-color: white;
    color: var(--gucci-blue);
    font-weight: 700;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.checkin-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.checkin-card .btn:disabled {
    background-color: rgba(255, 255, 255, 0.5);
    color: rgba(0, 168, 225, 0.5);
    cursor: not-allowed;
}

.checkin-card .btn i {
    margin-right: 10px;
}

.checkin-streak {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.checkin-streak h3 {
    margin: 0 0 15px 0;
    color: var(--gucci-blue);
    font-size: 16px;
}

.streak-counter {
    margin-bottom: 15px;
}

.streak-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--gucci-blue);
    line-height: 1;
}

.streak-counter p {
    margin: 5px 0 0 0;
    color: var(--dark-gray);
    font-size: 14px;
}

.streak-bonus {
    background-color: rgba(0, 168, 225, 0.1);
    border-radius: 20px;
    padding: 10px 15px;
}

.streak-bonus p {
    margin: 0;
    color: var(--gucci-blue);
    font-size: 14px;
    font-weight: 600;
}

.streak-bonus i {
    color: var(--gucci-teal);
    margin-right: 5px;
}

.checkin-history {
    margin-bottom: 70px;
}

.checkin-history h3 {
    margin-bottom: 15px;
    color: var(--gucci-dark);
    font-size: 16px;
}

.history-list {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.history-item:last-child {
    border-bottom: none;
}

.history-date .day {
    font-weight: 600;
    color: var(--dark-gray);
    display: block;
}

.history-date .time {
    font-size: 12px;
    color: #777;
}

.history-amount {
    font-weight: 600;
    font-size: 16px;
}

.history-amount.claimed {
    color: var(--gucci-blue);
}

.history-amount.pending {
    color: var(--gucci-teal);
}

/* Floating chat icon */
.floating-chat-icon {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 168, 225, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 168, 225, 0.4);
}

.floating-chat-icon i {
    color: white;
    font-size: 24px;
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--gucci-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

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

/* Community page styles */
.chat-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.chat-header h1 {
    margin-bottom: 5px;
}

.chat-header p {
    margin-bottom: 15px;
    font-size: 14px;
}

.online-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(0, 168, 225, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--gucci-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.online-counter span {
    font-size: 12px;
    color: var(--gucci-blue);
    font-weight: 600;
    margin: 0;
}

.chat-container {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    height: 400px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.chat-messages {
    height: 100%;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    margin-bottom: 15px;
}

.message.my-message {
    justify-content: flex-end;
}

.message.my-message .message-content {
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    color: white;
    margin-left: 40px;
}

.message.my-message .message-name {
    color: rgba(255, 255, 255, 0.9);
}

.message.my-message .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    background-color: white;
    padding: 12px 15px;
    border-radius: 18px;
    max-width: 70%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.message-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--gucci-blue);
}

.message-time {
    font-size: 11px;
    color: #999;
}

.message-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.typing-indicator {
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
}

.typing-content {
    background-color: white;
    padding: 12px 15px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.typing-name {
    font-size: 12px;
    color: var(--gucci-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background-color: var(--gucci-blue);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input-container {
    margin-bottom: 15px;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chat-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    background: transparent;
}

.input-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.emoji-btn, .send-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.emoji-btn {
    background-color: var(--light-gray);
    color: var(--gucci-blue);
}

.emoji-btn:hover {
    background-color: rgba(0, 168, 225, 0.1);
}

.send-btn {
    background: linear-gradient(135deg, var(--gucci-blue), var(--gucci-teal));
    color: white;
}

.send-btn:hover {
    transform: scale(1.05);
}

.emoji-picker {
    position: absolute;
    bottom: 70px;
    right: 20px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    z-index: 1000;
}

.emoji {
    font-size: 20px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.emoji:hover {
    background-color: var(--light-gray);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .floating-chat-icon {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .chat-container {
        height: 350px;
    }
    
    .message-content {
        max-width: 85%;
    }
}