/* Extended View Counter Styles - 10 New Unique Designs */

/* Style 7: Glassmorphism (Modern Glass Effect) */
.aft-view-count.style-glassmorphism {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 6px 16px !important;
    border-radius: 15px !important;
    color: #333 !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    display: inline-flex !important;
    position: relative !important;
}

.aft-view-count.style-glassmorphism::before {
    content: '👁️';
    position: absolute;
    left: -25px;
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.aft-view-count.style-glassmorphism a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Style 8: Cyberpunk Glitch */
.aft-view-count.style-cyberpunk {
    background: #0a0a0a !important;
    padding: 5px 15px !important;
    border: 2px solid #00ffff !important;
    color: #00ffff !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    position: relative !important;
    display: inline-flex !important;
    overflow: hidden !important;
}

.aft-view-count.style-cyberpunk::before,
.aft-view-count.style-cyberpunk::after {
    content: attr(data-views);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.aft-view-count.style-cyberpunk::before {
    animation: glitch-1 0.5s infinite;
    color: #ff00ff !important;
    z-index: -1;
}

.aft-view-count.style-cyberpunk::after {
    animation: glitch-2 0.5s infinite;
    color: #00ff00 !important;
    z-index: -1;
}

@keyframes glitch-1 {
    0%, 100% { clip: rect(0, 0, 0, 0); }
    20% { clip: rect(10px, 9999px, 40px, 0); transform: translateX(2px); }
    40% { clip: rect(25px, 9999px, 35px, 0); transform: translateX(-2px); }
    60% { clip: rect(5px, 9999px, 45px, 0); transform: translateX(1px); }
}

@keyframes glitch-2 {
    0%, 100% { clip: rect(0, 0, 0, 0); }
    30% { clip: rect(15px, 9999px, 30px, 0); transform: translateX(-1px); }
    50% { clip: rect(20px, 9999px, 40px, 0); transform: translateX(2px); }
    70% { clip: rect(10px, 9999px, 50px, 0); transform: translateX(-2px); }
}

.aft-view-count.style-cyberpunk a {
    color: #00ffff !important;
    text-decoration: none !important;
}

/* Style 9: Retro 80s Neon */
.aft-view-count.style-retro-neon {
    background: linear-gradient(90deg, #FF006E, #8338EC, #3A86FF) !important;
    padding: 8px 18px !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: 'Arial Black', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-shadow: 2px 2px 0px #000,
                 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 40px rgba(255, 0, 110, 0.5) !important;
    transform: skew(-5deg) !important;
    display: inline-flex !important;
    position: relative !important;
}

.aft-view-count.style-retro-neon::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg,
        #FF006E 0px, #FF006E 5px,
        transparent 5px, transparent 10px);
    animation: scan-line 1s linear infinite;
}

@keyframes scan-line {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
}

.aft-view-count.style-retro-neon a {
    color: #fff !important;
    text-decoration: none !important;
}

/* Style 10: Brutalist Bold */
.aft-view-count.style-brutalist {
    background: #000 !important;
    color: #fff !important;
    padding: 10px 5px !important;
    border: 5px solid #000 !important;
    outline: 2px dashed #ff0000 !important;
    outline-offset: -8px !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
    display: inline-flex !important;
    position: relative !important;
}

.aft-view-count.style-brutalist:hover {
    background: #ff0000 !important;
    color: #000 !important;
    outline-color: #000 !important;
}

.aft-view-count.style-brutalist a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Style 11: Terminal/Matrix */
.aft-view-count.style-terminal {
    background: #0a0a0a !important;
    color: #00ff00 !important;
    padding: 6px 12px !important;
    font-family: 'Consolas', 'Monaco', monospace !important;
    border: 1px solid #00ff00 !important;
    border-radius: 0 !important;
    position: relative !important;
    display: inline-flex !important;
}

.aft-view-count.style-terminal::before {
    content: '> ';
    color: #00ff00 !important;
    animation: terminal-blink 1s infinite;
}

.aft-view-count.style-terminal::after {
    content: '_';
    animation: terminal-blink 1s infinite;
    margin-left: 2px;
}

@keyframes terminal-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.aft-view-count.style-terminal a {
    color: #00ff00 !important;
    text-decoration: none !important;
}

/* Style 12: Instagram Gradient */
.aft-view-count.style-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    padding: 5px 14px !important;
    border-radius: 12px !important;
    color: white !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3) !important;
}

.aft-view-count.style-instagram i {
    font-size: 14px !important;
    margin-right: 6px !important;
}

.aft-view-count.style-instagram::after {
    content: '❤️';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.aft-view-count.style-instagram a {
    color: white !important;
    text-decoration: none !important;
}

/* Style 13: Comic Book / Pop Art */
.aft-view-count.style-comic {
    background: #FFD700 !important;
    color: #000 !important;
    padding: 8px 16px !important;
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    font-family: 'Comic Sans MS', cursive !important;
    font-weight: bold !important;
    font-size: 14px !important;
    transform: rotate(-2deg) !important;
    display: inline-flex !important;
    position: relative !important;
    box-shadow: 3px 3px 0 #000 !important;
}

.aft-view-count.style-comic::before {
    content: 'POW!';
    position: absolute;
    top: -20px;
    right: -10px;
    background: #ff0000;
    color: #fff;
    padding: 2px 5px;
    font-size: 10px;
    transform: rotate(15deg);
    border: 2px solid #000;
    font-weight: bold;
}

.aft-view-count.style-comic:hover {
    transform: rotate(2deg) scale(1.1) !important;
    box-shadow: 5px 5px 0 #000 !important;
}

.aft-view-count.style-comic a {
    color: #000 !important;
    text-decoration: none !important;
}

/* Style 14: Aurora Borealis */
.aft-view-count.style-aurora {
    background: linear-gradient(120deg, #89f7fe 0%, #66a6ff 50%, #8e2de2 100%) !important;
    padding: 7px 16px !important;
    border-radius: 25px !important;
    color: white !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    position: relative !important;
    overflow: hidden !important;
}

.aft-view-count.style-aurora::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%);
    animation: aurora-wave 3s linear infinite;
}

@keyframes aurora-wave {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.aft-view-count.style-aurora a {
    color: white !important;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
}

/* Style 15: Spotify Style */
.aft-view-count.style-spotify {
    background: #1DB954 !important;
    color: #fff !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.aft-view-count.style-spotify::before {
    content: '♪';
    margin-right: 6px;
    font-size: 16px;
    animation: music-note 2s ease-in-out infinite;
}

@keyframes music-note {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-10deg); }
    75% { transform: translateY(-3px) rotate(10deg); }
}

.aft-view-count.style-spotify:hover {
    background: #1ed760 !important;
    transform: scale(1.05) !important;
}

.aft-view-count.style-spotify a {
    color: #fff !important;
    text-decoration: none !important;
}

/* Style 16: Vintage Badge */
.aft-view-count.style-vintage {
    background: linear-gradient(135deg, #8B7355 0%, #6B5D54 100%) !important;
    color: #F5DEB3 !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    border: 2px solid #F5DEB3 !important;
    font-family: 'Georgia', serif !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    display: inline-flex !important;
    position: relative !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2) !important;
}

.aft-view-count.style-vintage::before,
.aft-view-count.style-vintage::after {
    content: '★';
    position: absolute;
    color: #F5DEB3;
    font-size: 10px;
}

.aft-view-count.style-vintage::before {
    left: 8px;
}

.aft-view-count.style-vintage::after {
    right: 8px;
}

.aft-view-count.style-vintage a {
    color: #F5DEB3 !important;
    text-decoration: none !important;
    padding: 0 10px !important;
}

/* Dark mode adjustments for new styles */
body.dark-mode .aft-view-count.style-glassmorphism {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

body.dark-mode .aft-view-count.style-glassmorphism a {
    color: #fff !important;
}

body.dark-mode .aft-view-count.style-brutalist {
    background: #fff !important;
    color: #000 !important;
    outline-color: #00ff00 !important;
}

body.dark-mode .aft-view-count.style-comic {
    background: #FF1493 !important;
    color: #fff !important;
}

/* Special Effects for High View Counts */
.aft-view-count[data-views="high"]::after {
    content: '🔥';
    position: absolute;
    top: -10px;
    right: -10px;
    animation: fire-shake 0.5s ease-in-out infinite;
}

@keyframes fire-shake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-1px) rotate(-5deg); }
    75% { transform: translateX(1px) rotate(5deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .aft-view-count.style-cyberpunk,
    .aft-view-count.style-retro-neon,
    .aft-view-count.style-brutalist {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    .aft-view-count.style-comic::before {
        display: none;
    }

    .aft-view-count.style-vintage::before,
    .aft-view-count.style-vintage::after {
        display: none;
    }
}