/*
 Theme Name:   GP Custom Theme
 Theme URI:    https://abhishekdeyroy.com
 Description:  GP Custom Theme for my gaming blog.
 Author:       Abhishek Dey Roy
 Author URI:   https://abhishekdeyroy.com
 Template:     generatepress
 Version:      1.1
*/

/* GeneratePress Site CSS */ /* Link underlines */
.entry-content a:not(.button) {
  display: inline-block;
  position: relative;
  color: #1a73e8;
  text-decoration: none;
}

.entry-content a:not(.button)::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0c47b7;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.entry-content a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

#site-navigation {
border-top: 4px solid #0c47b7;
border-bottom: 3px solid #0c47b7;
}
.main-navigation .main-nav ul li a {
  line-height: 45px;
}

/* Content selection */
::selection {
  color: white; 
  background: black;
}

/* Sub-menu effect */
.main-navigation ul ul {
	left: auto;
	transition: opacity 300ms ease-in-out, transform 200ms ease-in-out, height 200ms ease-in-out;
	transform: translateY(20px);
	height: auto;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 5px;
	padding: 5px 0;
}

.main-navigation:not(.toggled) ul li:hover>ul, .main-navigation:not(.toggled) ul li.sfHover>ul {
	transform: translateY(0);
}

.slideout-navigation.do-overlay .slideout-menu .sub-menu li a {
	display: block;
}

/* Footer widget icons */
.footer-widget-1 {
	text-align: center;
}
.footer-icons  {
background-color:#0c47b7;
}
.footer-icons a {
	padding: 5px;
	display: inline-block;
}

/* Center off canvas close button */
@media (max-width: 768px) {
	.slideout-navigation.do-overlay .slideout-exit {
		text-align: center;
	}
} /* End GeneratePress Site CSS */

/* Spin Section */
.spin-date {
  display: block;
  width: 100%;
  padding: 12px 0;
  color: #fff;
  background: linear-gradient(90deg, #1a73e8, #0c47b7);
  border-radius: 0 0 12px 12px; /* rounded corners only at the bottom */
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  user-select: none;
  box-sizing: border-box;
  padding: 12px 20px;

}

.time-ago {
  display: inline-block;
  background-color: #e9e9e9;
  color: #2c2c2c;
  padding: 3px 10px;       /* Reduced padding for a tighter look */
  margin-top: 2px;         /* Optional: reduce vertical space */
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
  border: 1px double #0c47b7;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1);
  text-align: center;
}
/* Spin item container */
.spin-item {
    max-width: 600px;
    margin: 0 auto; /* centers horizontally */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 3px groove #1a73e8;
    padding: 8px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    gap: 15px;
    flex-wrap: wrap;
}
/* Left side (Image + Details) */
.spin-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px;
    min-width: 0;
}

   .spin-img {
    width: 60px;
    height: 60px;
    vertical-align: middle;
    position: relative;
    top: 4px; 
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
  } 

/* Details center */
.spin-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* <-- Center all child items */
    text-align: center;    /* <-- Center text */
    flex-grow: 1;
    font-weight: bold;
}

.spin-details h3 {
    margin: 0 0 3px;
    font-size: 17px;
    color: #000000;
    text-align: center;
}

.spin-details .date,
.spin-details .expiry {
    margin: 0;
    font-size: 14px;
    color: #ff0000;
}

.spin-details .date {
    color: #1a73e8;
}

/* Right button */
.spin-button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
a {
    color: #1a73e8;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #0c47b7;
}
/* Styling for the button */
.spin-button button {
  background: #1a73e8;
  color: #ffffff;
  padding: 16px 16px; /* Increased top/bottom to 14px and left/right to 20px */
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.spin-button button:hover {
  background: #0c47b7;
  transform: scale(1.05);
}

.spin-button button.collected {
  background: #4caf50;
  color: white;
}

.spin-button button.collected:hover {
  background: #388e3c;
}

.seo-description h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.meta-info {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.meta-info a {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 600;
}

.seo-description hr {
    border: none;
    border-bottom: 1px solid #ddd;
    margin-top: 10px;
}

/* rank math breadcrums */
.rank-math-breadcrumb {
	background-color: white;
}
.rank-math-breadcrumb p {
    color: black;
		font-weight: bold;
    font-size: 12px;

    border-radius: 8px;
}

.rank-math-breadcrumb a {
   	margin-right:5px;
	font-weight: bold;
    color: #3B82F6;
   	
}

#rank-math-faq .rank-math-list-item {
    margin-bottom: 1em;
    margin-top: 1em;
    border-bottom: 2px solid #3B82F6;
}

.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
    padding-right: 1em;
    margin-right: 1em;
    font-weight: 300;
    margin-top: 30px;
}

.rank-math-question:after {
    position: absolute;
    right: 5px;
    top: 0;
    content: "\2715";
    transform: rotate(-45deg);
    transition: all 150ms ease-in-out;
}

.rank-math-question.collapse:after {
    transform: rotate(0deg);
}

.rank-math-question:hover {
    opacity: 0.8;
	color:#3B82F6;
}