A HINT ...
Define q to be the angle between the vertical and the axis of the bottle.
q is uniformly distributed between -p/2 and p/2.
Compute P{X x} and then differentiate with respect to x.
What is the expected value and the variance of X?
Answer: both are +infinity.