/* Base styles */
body, html {
    padding: 0;
    margin: auto;
    height: 100%;
}

*, body, html {
    box-sizing: border-box;
}

body{ font-family: 'Poppins', sans-serif; font-size: 16px; line-height: 24px; font-weight: 500; color: #212112; background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat-back.svg'); background-position: center; background-repeat: repeat; background-size: 7%; background-color: #fff; overflow-x: hidden; transition: all 200ms linear; }

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #B9B9B9;
}

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

/* Header styles */
.site-title a, footer {
    display: block;
}

.tile:active, a:active, a:hover {
    outline: 0;
}

.fixed {
    position: fixed;
    top:0; left:0;
    width: 100%; 
    z-index:99; }
    
a {
    text-decoration: none;
}

.site-branding-text {
    background: #0D0D0D;
    padding: 0;
    color: #FFFFFF;
    text-align: center;
}

p.site-title {
    margin: 0;
    font-weight: 700;
}

.site-title a {
    color: #ffffff;
    padding: 5px;
    font-size: 35px;
    opacity: .9;
}

p.site-description {
    font-size: 15px;
    color: black;
    margin-top: 0;
    padding-bottom: 5px;
}

.navigation-wrap {
  background-color: #222 !important;  /* Dark gray */
}

.navbar-brand img {
  height: 50px;   /* adjust as needed */
  width: auto;    /* keeps aspect ratio */
}

/* Make nav links white */
.navbar-nav .nav-link {
  color: #fff !important;
}

/* Fix dropdown alignment under the correct nav item */
.navbar-nav .dropdown {
  position: relative; /* make each dropdown parent the positioning reference */
}

.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;   /* directly below parent item */
  left: 0;     /* align with parent */
  margin-top: 0; /* no gap */
}

/* Dropdown items (desktop view) */
.navbar-nav .dropdown-menu {
  background-color: #222; /* same as header bg */
  border: none;
}

.navbar-nav .dropdown-menu .dropdown-item {
  color: #fff !important;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #444; /* hover effect */
  color: #ffcc00 !important; /* optional PUBG-style highlight */
}

.navbar-nav .nav-link:hover {
  color: #ffcc00 !important;
}

/* Fix dropdown alignment like reference site */
.nav-item {
  position: relative; /* make parent the reference */
}

.nav-item .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  transform: translate3d(0, 10px, 0);
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  display: block;
  transition: all 200ms linear;
}

.nav-item.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  max-height: 999px;
  transform: translate3d(0, 0, 0);
}

/* Modern styled textarea */
textarea.fancytext {
  width: 50%;
  min-height: 120px;
  background-color: #1c1c1c; /* dark background */
  color: #fff; /* white text */
  border: 2px solid #444;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  resize: vertical; /* allow resizing vertically only */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  
}

/* Placeholder styling */
textarea.fancytext::placeholder {
  color: #020202;
  font-size: 25px;
  font-style: italic;
}

/* Focus effect */
textarea.fancytext:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
  outline: none;
}

button.loadmore {
  background-color: #ffcc00 !important; /* PUBG gold */
  color: #000000 !important;           /* dark text */
  border: none !important;
  font-weight: 700;
  font-size: 20px;
  padding: 10px 40px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

button.loadmore:hover {
  background-color: #e6b800 !important; /* darker gold */
  color: #fff !important;              /* white text on hover */
}

.input-group-text.copybutton {
  background-color: #f0c000 !important; /* gold */
  color: #0d0d0d !important;           /* dark text */
  border: 1px solid #e6b800 !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.input-group-text.copybutton:hover {
  background-color: #e6b800 !important; /* darker gold */
  color: #fff !important;
}

/* Input field modern look */
.input-group .form-control {
  border: 2px solid #444;
  border-radius: 10px 0 0 10px;
  background-color: #1c1c1c;
  color: #222;
  font-size: 16px;
  padding: 10px 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group .form-control:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
  outline: none;
}

/* Copy button */
.input-group-text.copybutton {
  background-color: #ffcc00;
  color: #000;
  border: 2px solid #444;
  border-left: none;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.input-group-text.copybutton:hover {
  background-color: #e6b800;
  color: #111;
}

/* Container and footer */
.container {
    max-width: 1065px;
    margin: 0 auto;
    padding: 8px;
}

.footer, .full-width.text-center {
    clear: both;
}

.footer {
    margin-top: 25px;
    background: #000000;
    color: #fff;
    padding: 5px 0;
    text-align: center;
}

.footer a {
    color: #ffffff;
}

.footer p {
    line-height: 1.5;
    color: #ffffff;
    font-size: 16px;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  background-color: #FFCC00;
  color: #0d0d0d;
  width: 40px;
  height: 40px;
  border-radius: 30%;
  font-size: 25px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  outline: none;
}

.back-to-top:hover {
  background-color: #dfb200;
  transform: scale(1.1);
}

.back-to-top::after {
  content: '↑';
  display: block;
  line-height: 40px;
  text-align: center;
}

/* Form elements */
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

/* Content styles */
.para {
    color: #000000;
    padding-top: 0;
    font-size: 18px;
    font-weight: 400;
    opacity: .9;
}

h2 {
    color: #1d3557;
    font-size: 1.8em;
    margin-top: 30px;
}

h3 {
    color: #457b9d;
    font-size: 1.4em;
}

strong {
    color: #e63946;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

.features-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        
.feature-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
.feature-card:hover {
            transform: translateY(-5px);
        }
        
.feature-icon {
            font-size: 2.5rem;
            color: #e63946;
            margin-bottom: 15px;
        }
        
.feature-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: #1d3557;
        }
        
.feature-desc {
            color: #457b9d;
        }
.faq-question {
    font-weight: bold;
    color: #1d3557;
}

.faq-answer {
    margin-bottom: 20px;
}

.name-examples {
    background-color: #f1faee;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.custom-footer {
  background-color: #222;   /* solid background like header */
  color: #fff;
  padding: 15px 0;
  width: 100%;             /* ensures it stretches full width */
}

.custom-footer p {
  margin: 0;
  font-weight: bold;
}

.custom-footer .footer-link {
  color: #fff;
  text-decoration: none;
}

.custom-footer .footer-link:hover {
  color: #ffcc00; /* match your header hover */
}

/* Responsive styles */
@media only screen and (max-width: 970px) {
    .container {
        margin: 0 12px;
    }
}

@media only screen and (max-width: 600px) {
    header {
        display: none;
    }
    
    p.site-description {
        display: none;
    }

    .site-title a, h1 {
        font-size: 20px;
        padding-top: 0px;
    }
    
    h1 {
        padding: 3px;
    }
/* For larger screens */
@media (min-width: 768px) {
  .back-to-top {
    bottom: 40px;
    right: 30px;
    width: 40px;
    height: 40px;
  }
}

.back-to-top:hover {
  background-color: #f83343;
  transform: scale(1.1);
}

.back-to-top::after {
  content: '↑';
  display: block;
  line-height: 50px; /* Adjusted for new size */
  text-align: center;
}

@media (min-width: 768px) {
  .back-to-top::after {
    line-height: 40px;
  }
}