/* GYNSec Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(147, 51, 234, 0.8));
    }
}



.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-glitch {
    position: relative;
    z-index: 1;
}

.logo-container {
    position: relative;
    display: inline-block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo-glitch {
    position: relative;
    transition: all 0.3s ease;
}

.logo-container:hover .logo-glitch {
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.8));
    transform: scale(1.02);
}

/* Cyber title effects */
.cyber-title {
    position: relative;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cyber-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #00ffff;
    opacity: 0;
    z-index: -1;
    animation: cyber-glitch 3s infinite;
}

.cyber-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ff00ff;
    opacity: 0;
    z-index: -2;
    animation: cyber-glitch 3s infinite reverse;
}

@keyframes cyber-glitch {
    0%, 90%, 100% { opacity: 0; transform: translate(0); }
    1%, 3% { opacity: 0.8; transform: translate(-2px, 1px); }
    2% { opacity: 0.8; transform: translate(2px, -1px); }
    4%, 6% { opacity: 0; transform: translate(0); }
    5% { opacity: 0.8; transform: translate(-1px, 2px); }
}

/* Terminal cursor effect */
.terminal-cursor::after {
    content: '_';
    color: #00ff00;
    animation: cursor-blink 1s infinite;
    margin-left: 2px;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Matrix background effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, #00ff00 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #00ffff 1px, transparent 1px);
    background-size: 50px 50px;
    animation: matrix-scroll 20s linear infinite;
}

@keyframes matrix-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Scan lines effect */
.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    opacity: 0.02;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    animation: scan-move 0.1s linear infinite;
}

@keyframes scan-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* Social icons styling - Clean and modern */
.social-icon {
    @apply w-12 h-12 rounded-full flex items-center justify-center transition-all duration-300 transform hover:scale-110;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #ffffff;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Specific colors for each platform */
.social-icon.telegram:hover {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.social-icon.discord:hover {
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(255, 77, 77, 0.2));
    box-shadow: 0 8px 32px rgba(225, 48, 108, 0.3);
}

.social-icon.coming-soon {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(107, 114, 128, 0.1);
}

.social-icon.coming-soon:hover {
    transform: none;
    background: rgba(107, 114, 128, 0.1);
    box-shadow: none;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .social-icon {
        @apply w-10 h-10;
    }
    
    .social-icon svg {
        @apply w-4 h-4;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

/* Particles container */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ensure content is above particles */
.relative {
    position: relative;
}

/* Logo effects */
img[src*="logo"] {
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
}

img[src*="logo"]:focus {
    outline: none;
}



/* Future sections placeholders - commented for future expansion */
/*
.about-section {
    @apply py-20 px-4;
}

.events-section {
    @apply py-20 px-4 bg-gray-900;
}

.partners-section {
    @apply py-20 px-4;
}

.blog-section {
    @apply py-20 px-4 bg-gray-900;
}

.newsletter-section {
    @apply py-16 px-4 bg-gradient-to-r from-red-900 to-purple-900;
}
*/

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .animate-pulse-glow {
        animation: none;
    }
    
    .logo-glitch:hover::before,
    .logo-glitch:hover::after {
        animation: none;
    }
    
    .social-icon {
        transition: none;
    }
    
    .social-icon:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-300 {
        @apply text-white;
    }
    
    .text-gray-400 {
        @apply text-gray-200;
    }
    
    .text-gray-500 {
        @apply text-gray-300;
    }
}

/* Language selector styles */
.lang-btn {
    @apply w-10 h-10 rounded-full flex items-center justify-center transition-all duration-300 cursor-pointer;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    font-size: 1.2rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lang-btn.active {
    background: rgba(147, 51, 234, 0.3);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

/* Mobile language selector */
@media (max-width: 640px) {
    .lang-btn {
        @apply w-8 h-8;
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    #tsparticles {
        display: none;
    }
    
    .lang-selector {
        display: none;
    }
    
    .social-icon {
        @apply bg-gray-200 text-black;
    }
    
    body {
        @apply bg-white text-black;
    }
}