/* Discord Integration Styles */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Floating Discord Widget */
.discord-float-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.discord-join-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #5865F2;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.discord-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    background: #4752C4;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-red);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    background: var(--blood-red);
}

.discord-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: var(--ghost-white);
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid var(--accent-red);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.discord-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--accent-red);
}

.discord-float-widget:hover .discord-tooltip {
    opacity: 1;
    visibility: visible;
}



/* Discord Modal */
.discord-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
}

.discord-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes discordModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.discord-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.discord-close:hover {
    background: #e0e0e0;
    color: #333;
}

.discord-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.discord-server-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.discord-server-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-header h3 {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.discord-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.discord-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #3ba55c;
    border-radius: 50%;
    margin-right: 5px;
}

/* Discord Perks Section */
.discord-perks {
    padding: 24px 32px;
    border-bottom: 1px solid #e0e0e0;
}

.discord-perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.perk-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.perk-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.perk-item i {
    color: #5865F2;
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

.perk-item span {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
}



/* Discord Stats Section */
.discord-stats {
    padding: 20px 32px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #5865F2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Discord Actions */
.discord-actions {
    padding: 24px 32px 32px;
    display: flex;
    justify-content: center;
}

.btn-join-discord {
    background: #5865F2;
    border: 1px solid #5865F2;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    min-width: 200px;
    justify-content: center;
}

.btn-join-discord:hover {
    background: #4752C4;
    border-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.25);
}

.btn-join-discord i {
    font-size: 16px;
}

.discord-share {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 15px 25px;
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: skew(-5deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-share:hover {
    background: var(--accent-red);
    color: var(--ghost-white);
    transform: skew(-5deg) translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

/* Social Proof */
.discord-social-proof {
    padding: 20px 30px;
    border-top: 1px solid var(--shadow-gray);
}

.discord-recent-joins {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ghost-white);
    font-size: 14px;
    justify-content: center;
}

.discord-avatars {
    display: flex;
    gap: 5px;
}

.discord-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
}

/* Share Widgets */
.discord-share-widget {
    background: var(--secondary-dark);
    border: 2px solid var(--accent-red);
    border-radius: 15px;
    margin: 20px 0;
    overflow: hidden;
}

.discord-share-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.discord-share-icon {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.discord-share-text {
    flex: 1;
}

.discord-share-text strong {
    color: var(--ghost-white);
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.discord-share-text p {
    color: var(--ghost-white);
    opacity: 0.8;
    margin: 0;
    font-size: 14px;
}

.discord-share-btn {
    background: var(--accent-red);
    border: none;
    color: var(--ghost-white);
    padding: 12px 20px;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-share-btn:hover {
    background: var(--blood-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.discord-badge {
    background: var(--ghost-white);
    color: var(--accent-red);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

/* Community Showcase */
.discord-community-showcase {
    background: var(--secondary-dark);
    padding: 30px;
    margin: 40px 0;
    border-radius: 20px;
    border: 2px solid var(--accent-red);
}

.discord-community-header {
    text-align: center;
    margin-bottom: 25px;
}

.discord-community-header h3 {
    color: var(--accent-red);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.discord-community-header p {
    color: var(--ghost-white);
    opacity: 0.9;
    font-size: 16px;
}

.discord-live-chat-preview {
    background: var(--primary-dark);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--shadow-gray);
    max-height: 200px;
    overflow-y: auto;
}

.discord-message {
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.discord-message:hover {
    background: var(--secondary-dark);
}

.discord-message.dev-message {
    background: rgba(139, 0, 0, 0.1);
    border-left: 3px solid var(--accent-red);
}

.discord-message-user {
    font-weight: bold;
    color: var(--accent-red);
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discord-message-time {
    font-size: 12px;
    color: var(--ghost-white);
    opacity: 0.6;
    font-weight: normal;
}

.discord-message-content {
    color: var(--ghost-white);
    font-size: 14px;
    line-height: 1.4;
}

.discord-join-chat {
    width: 100%;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: none;
    color: white;
    padding: 15px 25px;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: skew(-5deg);
}

.discord-join-chat:hover {
    background: linear-gradient(135deg, #4752C4, #5865F2);
    transform: skew(-5deg) translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

/* Notifications */
.discord-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    max-width: 350px;
    animation: discordNotifSlideIn 0.5s ease-out;
}

@keyframes discordNotifSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.discord-notif-content {
    background: var(--primary-dark);
    border: 2px solid var(--accent-red);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.discord-notif-content i {
    color: #5865F2;
    font-size: 20px;
    flex-shrink: 0;
}

.discord-notif-content span {
    color: var(--ghost-white);
    font-size: 14px;
    flex: 1;
}

.discord-notif-content button {
    background: none;
    border: none;
    color: var(--ghost-white);
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.discord-notif-content button:hover {
    opacity: 1;
}

/* Incentive Notifications */
.discord-scroll-incentive {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 1500;
    animation: discordIncentiveSlideIn 0.5s ease-out;
}

@keyframes discordIncentiveSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.discord-incentive-content {
    background: var(--primary-dark);
    border: 2px solid var(--accent-red);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.discord-incentive-content i {
    color: #5865F2;
    font-size: 24px;
}

.discord-incentive-content span {
    color: var(--ghost-white);
    font-size: 14px;
    line-height: 1.4;
}

.discord-incentive-content button {
    background: var(--accent-red);
    border: none;
    color: var(--ghost-white);
    padding: 10px 20px;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: skew(-5deg);
}

.discord-incentive-content button:hover {
    background: var(--blood-red);
    transform: skew(-5deg) translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

/* Welcome Bonus */
.discord-welcome-bonus {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
    animation: discordBonusZoomIn 0.8s ease-out;
}

@keyframes discordBonusZoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.discord-bonus-content {
    background: var(--primary-dark);
    border: 3px solid var(--accent-red);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.discord-bonus-content h3 {
    color: var(--accent-red);
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Metal Mania', cursive;
}

.discord-bonus-content p {
    color: var(--ghost-white);
    margin-bottom: 20px;
    font-size: 16px;
}

.discord-bonus-rewards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.discord-reward {
    background: var(--secondary-dark);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--accent-red);
    color: var(--ghost-white);
    font-size: 14px;
    font-weight: bold;
}

/* Modern Share Modal */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    font-family: 'Poppins', sans-serif;
}

.share-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.share-close:hover {
    background: #e0e0e0;
    color: #333;
}

.share-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.share-header h3 {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.share-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.share-preview {
    padding: 25px 30px;
    border-bottom: 1px solid var(--shadow-gray);
}

.share-preview h4 {
    color: var(--accent-red);
    font-size: 18px;
    margin-bottom: 15px;
}

.share-preview-content {
    background: var(--secondary-dark);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--shadow-gray);
    color: var(--ghost-white);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
}

.share-platforms {
    padding: 24px 32px 32px;
}

.share-platforms h4 {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: 'Poppins', sans-serif;
}

.platform-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.platform-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 16px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.platform-btn i {
    font-size: 20px;
    margin-bottom: 4px;
}

.platform-btn span {
    font-size: 12px;
    font-weight: 500;
}

.platform-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.platform-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #bc1888;
    color: white;
}

.platform-btn.facebook:hover {
    background: #4267b2;
    border-color: #4267b2;
    color: white;
}

.platform-btn.tiktok:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.platform-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.platform-btn.copy:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}





/* Responsive Design */
@media (max-width: 768px) {
    .discord-float-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .discord-join-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .share-btn {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }
    
    .discord-modal {
        width: 95%;
        margin: 10px;
    }
    
    .discord-tooltip {
        display: none;
    }
    
    .share-modal {
        width: 95%;
        margin: 20px;
        max-width: none;
    }
    
    .share-header {
        padding: 24px 24px 20px;
    }
    
    .share-platforms {
        padding: 20px 24px 24px;
    }
    
    .platform-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .platform-btn {
        padding: 14px 10px;
    }
    
    .platform-btn i {
        font-size: 18px;
    }
    
    .platform-btn span {
        font-size: 11px;
    }
}