@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Orbitron', monospace;
            background: radial-gradient(circle at top left, #222, #000);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            /*overflow: hidden;*/
            position: relative;
			
        }
		body::before {
  content: " ";
  display: block;
  background-image: url("img/bg4.jpg");
  /*background-image: url("img/bg.png");*/
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  opacity: 1;
}

        .cyber-grid {
            position: absolute;
            top: 0;
            left: 0;
            /*width: 100%;*/
            height: 100%;
            opacity: 0.3;
            background-image: 
                linear-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: grid-flow 20s linear infinite;
        }

        @keyframes grid-flow {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        .neon-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #ffd700;
            border-radius: 50%;
            opacity: 0.8;
            animation: particle-float 8s linear infinite;
            box-shadow: 0 0 10px #ffd700;
        }

        @keyframes particle-float {
            0% {
                transform: translateY(100vh) translateX(0px);
                opacity: 0;
            }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% {
                transform: translateY(-100px) translateX(100px);
                opacity: 0;
            }
        }

        .login-terminal {
            background:linear-gradient(233deg,rgba(40, 40, 40, 0.4) 10.23%,rgba(79, 79, 79, 0.4) 44.46%,rgba(15, 15, 15, 0.4) 82.02%);
            border-radius: 20px;
            padding: 60px 45px;
            width: 100%;
            max-width: 420px;
            position: relative;
            z-index: 10;
            animation: cyber-entrance 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border: 2px solid transparent;
           box-shadow: 0px 3px 5px 0px #000000cc;
        }

        .login-terminal::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            /*background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 15, 0, 0.92) 25%, rgba(30, 20, 0, 0.90) 50%, rgba(20, 15, 0, 0.92) 75%, rgba(0, 0, 0, 0.95) 100% );*/
            border-radius: 20px;
            z-index: -1;
            /*animation: neon-border 6s ease-in-out infinite;*/
        }

        @keyframes neon-border {
            0%, 100% { 
                /*filter: brightness(1) saturate(1);
                box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);*/
            }
            50% { 
                filter: brightness(1.3) saturate(1.5);
                box-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
            }
        }

        @keyframes cyber-entrance {
            from {
                opacity: 0;
                transform: scale(0.8) rotateX(90deg);
            }
            to {
                opacity: 1;
                transform: scale(1) rotateX(0deg);
            }
        }

        .terminal-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .cyber-logo {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-hexagon {
            width: 80px;
            height: 80px;
            background: 
                linear-gradient(30deg, #ffd700 0%, #ff8c00 50%, #ffd700 100%);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            animation: hexagon-pulse 2s ease-in-out infinite;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .logo-hexagon::before {
            content: '⚡';
            font-size: 35px;
            color: #000;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            animation: lightning-flicker 1.5s ease-in-out infinite;
        }

        .logo-hexagon::after {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: 
                linear-gradient(30deg, transparent 0%, rgba(255, 215, 0, 0.3) 50%, transparent 100%);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            animation: hexagon-glow 3s ease-in-out infinite;
        }

        @keyframes hexagon-pulse {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(180deg); }
        }

        @keyframes lightning-flicker {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        @keyframes hexagon-glow {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .cyber-title .iconnfg-nfg3{
            font-size: 32px;
            /*font-weight: 900;*/
            color: #ffd700;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 8px;
            /*text-shadow: 
                0 0 10px #ffd700,
                0 0 20px #ffd700,
                0 0 30px #ffd700;*/
            animation: neon-flicker 5s ease-in-out infinite;
        }
		.cyber-title .iconnfg-bet3{
            font-size: 32px;
            /*font-weight: 900;*/
            color: #ffd700;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 8px;
            /*text-shadow: 
                0 0 10px #ffd700,
                0 0 20px #ffd700,
                0 0 30px #ffd700;*/
            animation: neon-flicker2 5s ease-in-out infinite;
        }

        @keyframes neon-flicker {
           0%, 100% { 
                /*text-shadow: 
                    0 0 10px #ffd700,
                    0 0 20px #ffd700,
                    0 0 30px #ffd700;*/
            }
            50% { 
                text-shadow: 
					0 0 2px #ffd700,
                    0 0 15px #ffd700;
            }
        }
		        @keyframes neon-flicker2 {
           0%, 100% { 
                /*text-shadow: 
                    0 0 10px #ffd700,
                    0 0 20px #ffd700,
                    0 0 30px #ffd700;*/
            }
            50% { 
                text-shadow: 
					0 0 2px #fff,
                    0 0 15px #fff;
            }
        }

        .cyber-subtitle {
            color: #f8c246;
            font-size: 14px;
            letter-spacing: 2px;
            opacity: 0.9;
            text-transform: uppercase;
            text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
			margin-top: 10px;
        }

        .terminal-line {
            height: 2px;
            background: linear-gradient(90deg, transparent, #f8c246, transparent);
            margin: 30px 0;
            animation: scan-line 2s linear infinite;
        }

        @keyframes scan-line {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .input-field {
            margin-bottom: 25px;
            position: relative;
        }

        .field-label {
            color: #f8c246;
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 8px;
            display: block;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }

        .cyber-input {
            width: 100%;
            padding: 15px 15px 15px 40px;
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid transparent ;
            border-radius: 8px;
            color: #f8c246;
            font-size: 16px;
            font-weight: 500;
            /*font-family: 'Orbitron', monospace;*/
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 215, 0, 0.1);
        }

        .cyber-input:focus {
            outline: none;
            border-color: #f8c246;
            background: 
                linear-gradient(145deg, 
                    rgba(255, 215, 0, 0.1) 0%, 
                    rgba(10, 10, 0, 0.8) 100%
                );
            box-shadow: 
                inset 0 2px 8px rgba(0, 0, 0, 0.5),
                0 0 0 2px rgba(255, 215, 0, 0.3),
                0 0 20px rgba(255, 215, 0, 0.2);
            text-shadow: 0 0 10px #ffd700;
        }

        .cyber-input::placeholder {
            color: rgba(255, 215, 0, 0.5);
            /*font-style: italic;*/
        }
		/*
        .cyber-input:focus::placeholder {
            color: transparent;
        }*/

        .password-eye {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #ff8c00;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease;
            text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
        }

        .password-eye:hover {
            color: #ffd700;
            transform: translateY(-50%) scale(1.2);
            text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
        }

        .access-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 30px 0;
            font-size: 12px;
        }

        .remember-access {
            display: flex;
            align-items: center;
            color: #ff8c00;
        }

        .remember-access input {
            margin-right: 8px;
            accent-color: #ffd700;
        }

        .recovery-link {
            color: #ff8c00;
            text-decoration: none;
            transition: all 0.3s ease;
            text-shadow: 0 0 5px rgba(255, 140, 0, 0.3);
        }

        .recovery-link:hover {
            color: #ffd700;
            text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
        }

        .access-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(45deg, #6e3c1b 0%, #f8be3b 25%, #fce2a6 50%, #f8be3b 75%, #6e3c1b 100% );
            background-size: 300% 300%;
            border: none;
            border-radius: 8px;
            color: #000;
            font-size: 16px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            font-family: 'Orbitron', monospace;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            box-shadow:0px 3px 5px 0px #000000cc;
            /*animation: cyber-button-pulse 3s ease-in-out infinite;*/
        }

        @keyframes cyber-button-pulse {
            0%, 100% { 
                background-position: 0% 50%;
                box-shadow: 
                    0 8px 25px rgba(255, 215, 0, 0.3),
                    0 0 20px rgba(255, 215, 0, 0.2);
            }
            50% { 
                background-position: 100% 50%;
                box-shadow: 
                    0 12px 35px rgba(255, 215, 0, 0.5),
                    0 0 30px rgba(255, 215, 0, 0.4);
            }
        }

        .access-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s ease;
        }

        .access-button:hover::before {
            left: 100%;
        }

        .access-button:hover {
            transform: translateY(-3px);
            box-shadow: 
                0 15px 40px rgba(248, 190, 59, 0.5),
                0 0 30px rgba(255, 215, 0, 0.4);
        }

        .connection-divider {
            text-align: center;
            margin: 35px 0;
            position: relative;
        }

        .connection-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
        }

        .connection-divider span {
            background: rgba(0, 0, 0, 0.9);
            padding: 0 20px;
            color: #ff8c00;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
        }

        .network-connections {
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        .connection-node {
            width: 55px;
            height: 55px;
            border-radius: 8px;
            border: 1px solid rgba(255, 215, 0, 0.3);
            background: 
                linear-gradient(145deg, 
                    rgba(0, 0, 0, 0.8), 
                    rgba(10, 10, 0, 0.6)
                );
            color: #ff8c00;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s ease;
            font-size: 20px;
            text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
            position: relative;
            overflow: hidden;
        }

        .connection-node::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .connection-node:hover::before {
            opacity: 1;
        }

        .connection-node:hover {
            border-color: #ffd700;
            background: 
                linear-gradient(145deg, 
                    rgba(255, 215, 0, 0.2), 
                    rgba(10, 10, 0, 0.8)
                );
            color: #ffd700;
            transform: translateY(-4px) scale(1.1);
            box-shadow: 
                0 10px 25px rgba(255, 215, 0, 0.3),
                0 0 20px rgba(255, 215, 0, 0.2);
        }

        .registration-prompt {
            text-align: center;
            margin-top: 35px;
            color: #ff8c00;
            font-size: 13px;
            font-weight: 500;
        }

        .registration-prompt a {
            color: #ffd700;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }

        .registration-prompt a:hover {
            color: #ffed4a;
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        }

        @media (max-width: 480px) {
            .login-terminal {
               margin: 20px 40px;
                padding: 50px 35px;
            }
            
            .cyber-title {
                font-size: 24px;
            }
        }


.cyber-title .iconnfg-nfg3{
	font-size: 52px !important;

}

.cyber-title .iconnfg-bet3{
	font-size: 31px !important;
	color: #f0efeb;
}

#particleContainer{
	overflow:hidden;
}


@font-face {
  font-family: 'icon-nfg';
  src:  url('fonts/icon-nfg.eot?lftiea');
  src:  url('fonts/icon-nfg.eot?lftiea#iefix') format('embedded-opentype'),
    url('fonts/icon-nfg.ttf?lftiea') format('truetype'),
    url('fonts/icon-nfg.woff?lftiea') format('woff'),
    url('fonts/icon-nfg.svg?lftiea#icon-nfg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="iconnfg-"], [class*=" iconnfg-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icon-nfg' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iconnfg-bet3:before {
  content: "\f8803";
}
.iconnfg-nfg3:before {
  content: "\f8804";
}

       .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #f8c246;
            font-size: 18px;
            z-index: 2;
        }
		 /* Glow animation for icons */
        .input-icon {
            animation: iconGlow 2s ease-in-out infinite alternate;
        }

        @keyframes iconGlow {
            from {
                text-shadow: 0 0 5px #f8c246;
            }
            to {
                text-shadow: 0 0 10px #f8c246, 0 0 13px #f8c246;
            }
        }
		
		
		
		/*Dice Motion*/
		/* Floating dice animations */
@keyframes floatDice1 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(40px, -30px) rotate(90deg) scale(1.2);
        opacity: 0.9;
    }
    50% {
        transform: translate(-30px, -50px) rotate(180deg) scale(0.8);
        opacity: 0.7;
    }
    75% {
        transform: translate(-50px, -20px) rotate(270deg) scale(1.3);
        opacity: 0.85;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes floatDice2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    20% {
        transform: translate(-35px, 25px) rotate(-60deg) scale(0.9);
        opacity: 0.9;
    }
    40% {
        transform: translate(45px, -35px) rotate(-120deg) scale(1.4);
        opacity: 0.6;
    }
    60% {
        transform: translate(25px, 40px) rotate(-180deg) scale(0.8);
        opacity: 0.85;
    }
    80% {
        transform: translate(-40px, -25px) rotate(-300deg) scale(1.1);
        opacity: 0.75;
    }
    100% {
        transform: translate(0, 0) rotate(-360deg) scale(1);
        opacity: 0.7;
    }
}

/* Dice base styles */
.dice {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.dice1 {
    background-image: url("img/dice1.png");
    animation: floatDice1 9s ease-in-out infinite;
}

.dice2 {
    background-image: url("img/dice2.png");
    animation: floatDice2 11s ease-in-out infinite reverse;
}

/* Desktop positioning (PC) */
@media (min-width: 1025px) {
    .dice1 {
        top: 18%;
        left: 24%;
        width: 120px;
        height: 120px;
    }

    .dice2 {
        bottom: 22%;
        right: 28%;
        width: 110px;
        height: 110px;
    }
}

/* Tablet positioning */
@media (min-width: 769px) and (max-width: 1024px) {
    .dice1 {
        top: 15%;
        left: 8%;
        width: 90px;
        height: 90px;
    }

    .dice2 {
        bottom: 18%;
        right: 12%;
        width: 95px;
        height: 95px;
    }

    .dice1 {
        animation-duration: 10s;
    }

    .dice2 {
        animation-duration: 12s;
    }
}

/* Mobile positioning */
@media (max-width: 768px) {
    .container {
        background-attachment: scroll; /* Better performance on mobile */
    }

    .dice1 {
        top: 12%;
        right: 8%;
        width: 70px;
        height: 70px;
    }

    .dice2 {
        bottom: 15%;
        left: 10%;
        width: 75px;
        height: 75px;
    }

    /* Slower animation on mobile for better performance */
    .dice1 {
        animation-duration: 14s;
    }

    .dice2 {
        animation-duration: 16s;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .dice1 {
        top: 9%;
        right: 15%;
        width: 55px;
        height: 55px;
    }

    .dice2 {
        bottom: 12%;
        left: 8%;
        width: 60px;
        height: 60px;
    }
}


/* Performance optimization */
.dice,
.particle {
    will-change: transform, opacity;
}

/* Preload images */
.preload {
display:none;
}
